Displaying 20 results from an estimated 10000 matches similar to: "Can R (without GUI) be compiled with static linking?"
2010 Sep 20
1
support for caron (hacek) symbol
I am creating a Slovak translation of an interactive website (
http://mazamascience.com/OilExport/index_sk.html ) and am running into
problems with R's lack of support for the caron found in the following
letters: Č/č, Š/š and Ž/ž.
I am using R 2.6.1 running on a recent version of CentOS.
Any information about whether these characters are supported or any possible
workarounds would be
2013 Jul 24
1
package compilation on OSX 10.8 -- error compiling Fortran library for architecture i386
I am developing a package for analysis of seismic data that relies on a
Fortran library.
Package compilation works fine on Ubuntu and Red Hat Enterprise but fails
for R 2.15.3 on Mac OSX 10.8.4.
I've included the entire dump below but the relevant error message seems to
be:
ld: warning: ignoring file libmseed/libmseed.a, file was built for archive
> which is not the architecture being
2012 Feb 15
1
Cannot use setClass() in Rscript
Greetings,
I am creating a standalone executable script using Rscript and have run
into problems when I define a new S4 class. Here is a small script that
demonstrates my problem:
#!/usr/bin/env Rscript
#
# toy.Rscript -- testing S4 class creation in an Rscript
setClass("toy",
representation(name = "character",
price = "numeric"),
2005 May 27
1
static linking
Has anyone tried or had success statically linking Asterisk? I'd like
to do this to deploy to smaller boxes that don't have the toolchain
and libraries to build the thing.
I've tried using statifier (at sf.net) which claims to take a dynamic
executable and transform it into a static executable. It seemed to
work on my box, but when I tried it on the target box it did this:
2016 Jan 30
3
DCE in the presence of control flow.
I had assumed you would treat phi nodes differently from other operations in that they don’t need to keep the block alive just to retain the data flow facts but it would be simplest to do that.
Thanks Daniel
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Friday, January 29, 2016 at 10:26 PM
To: David Callahan <dcallahan at
2010 Oct 13
2
adding a named column to a Matrix
Hello all,
I am trying to use cbind to add a named empty column to a Matrix:
outputmatrix <- cbind(outputmatrix,kog_id = seq(0,0,0))
The problem I have is that kog_id is a variable that has a value e.g.
"KOG1234", but I when I try to use this to name the added column, it
is named literally "kog_id" instead of "KOG1234".
How can I name a column by passing in a
2016 Jan 30
4
DCE in the presence of control flow.
I think you can also avoid the RDF computation using a more directed form of control dependence testing such as described in
Keshav Pingali and Gianfranco Bilardi. 1997. Optimal control dependence computation and the Roman chariots problem. ACM Trans. Program. Lang. Syst. 19, 3 (May 1997), 462-491. DOI=http://dx.doi.org/10.1145/256167.256217
However one challenge seems to be fixing the SSA graph
2010 Oct 07
2
using a package function inside another function
Hello all,
I am trying to use the micEcon 'insertRow' function inside a function
I have written. For example:
insert_row_test <- function(m){
insertRow(m,nrow(m)+1,v=0,rName="test")
}
However, when I try to call the 'insert_row_test' function (after
loading the micEcon package), it does not insert a row into the matrix
I pass in. When I call the insertRow
2015 Dec 05
2
LTO on libraries
Thanks for the response.
To clarify in your suggestion, llvm-link will combine the modules but not run the optimization pass, that is still delayed until the final binary is built, correct?
My use case is apply LTO to roughly program subsets; sacrificing effectiveness to avoid scaling problems and to allow the artifacts to be reused like archives and cached like .o’s.
I need to trigger the
2013 Sep 21
2
[LLVMdev] [ASan] static linking on android?
Why does compiler-rt ship a shared object for ASan on Android instead
of a static library? Would statically linking ASan on Android at
least be safe for standalone executables?
And if I'm wanting to use ASan in C++ code that is invoked from an
APK, can I statically link ASan? If not, what is the reason we need
to preload Dalvik with the ASan shared object? I assume static
linking here
2012 Mar 14
2
[LLVMdev] Linking static external library into an LLVM pass library?
This document http://llvm.org/docs/Projects.html says the USEDLIBS should
be used to statically link libraries:
USEDLIBSThis variable holds a space separated list of libraries that should
be linked into the program. These libraries must be libraries that come
from your *lib* directory. The libraries must be specified without their
"lib" prefix. For example, to link libsample.a, you
2016 Jan 30
0
DCE in the presence of control flow.
Maybe I was too quick here. Does gcc record the incoming edge to a phi? If so, won’t those change when you delete blocks in a non-trivial manner? How are those updated?
From: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>
Date: Saturday, January 30, 2016 at 7:02 AM
To: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>, Hal Finkel
2016 Aug 25
4
CFLAA
(and sys::cas_flag that STATISTIC uses is a uint32 ...)
On Thu, Aug 25, 2016 at 9:54 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> Okay, dumb question:
> Are you really getting negative numbers in the second column?
>
> 526,766 -136 mem2reg # PHI nodes inserted
>
> http://llvm.org/docs/doxygen/html/PromoteMemoryToRegister_8cpp_source.html
>
2016 Jan 29
2
DCE in the presence of control flow.
Thanks
Also I found that some cases are also caught by a specialized routine to remove dead loops which is missing the case I noticed.
odavd
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Thursday, January 28, 2016 at 8:45 PM
To: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>, LLVM Dev Mailing list <llvm-dev at
2016 Jan 29
3
DCE in the presence of control flow.
On Thu, Jan 28, 2016 at 10:09 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> ------------------------------
>
> *From: *"David Callahan via llvm-dev" <llvm-dev at lists.llvm.org>
> *To: *"Daniel Berlin" <dberlin at dberlin.org>, "LLVM Dev Mailing list" <
> llvm-dev at lists.llvm.org>
> *Sent: *Thursday, January 28, 2016
2016 Dec 08
6
cross-checking external declarations / debug info for declarations
I am interested in putting together a tool which can verify that an external declaration conforms with the actual definition.
A.c:
extern int32_t foo();
Int bar() { return foo(); }
B.c:
int64_t foo() { ... }
I had thought that I could use the debug information but the debug information in A.o does not include the type of the declaration "foo", just the type of bar.
Is there a way to
2013 Sep 21
0
[LLVMdev] [ASan] static linking on android?
+eugenis@
On Sat, Sep 21, 2013 at 4:58 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> Why does compiler-rt ship a shared object for ASan on Android instead
> of a static library? Would statically linking ASan on Android at
> least be safe for standalone executables?
>
> And if I'm wanting to use ASan in C++ code that is invoked from an
> APK, can I statically
2016 Jan 30
0
DCE in the presence of control flow.
In practice, APT is not faster to build than rdf.
The df calculator we use is linear time and quite fast.
Updating is also pretty trivial since it's only deletes of dead and
unreachable code. So anything it reached can be replaced with undef in
most cases.
Cd-dce is not slower in GCC than dce
On Fri, Jan 29, 2016, 8:31 PM David Callahan <dcallahan at fb.com> wrote:
> I think you
2013 Sep 24
0
[LLVMdev] [ASan] static linking on android?
> Static runtime will only intercept calls from the main executable, but
> not from any libraries. This may work for simple standalone programs,
> but you may run into puzzling failures.
What type of failures do you mean? Does the symbol mismatch break
assumptions in the ASan runtime? It's easy to imagine, for example,
ASan missing use-after-free bugs because the call to free() is
2016 Mar 23
4
RFC: New aggressive dead code elimination pass
Hi,
I have a new variant of Aggressive Dead Code Elimination that also removes dead branching. It is designed to minimize the cost of control-dependence analysis in the common case where almost the entire program is live. It also can optionally remove dead but may-be-infinite loops.
When enabled for –O3 (replacing current ADCE pass) and removing loops, impact on SPEC2006 is in the noise but it