Displaying 20 results from an estimated 100 matches similar to: "R-loadable dll with minGW-compiled linked library"
2013 Apr 11
1
Cannot find ldfortran (R on Cygwin)
Hi
I am new to Cygwin and Linux.
I installed R under Cygwin as part of the setup
I chose "All" during installation, for all packages. So I have the FULL
installlation of cygwin up and running, including gfortran.
*Under Cygwin, how do I check and configure the path to the various
libraries?*
I am trying below command and it says, cannot find "lgfortran"
But I have installed
2010 Apr 27
0
[LLVMdev] "clang -v" shows a GCC call
llvm (and clang) do not include binutils. You're seeing clang invoking the gcc shell to assemble the .s file that clang generated, then again to link the object file into an executable.
On Apr 27, 2010, at 8:31 AM, Swiss Guy wrote:
>
> Hi everyone,
>
> I'm very new to the world of compilation and I've got to spend some time
> time on LLVM.
> As I have to produce
2005 Jun 01
1
[LLVMdev] [Cygwin] 'make tools-only' configuration error
Reid,
Getting the same error again :-(
/usr/gcc/gcc-3.4.3/libexec/gcc/i686-pc-cygwin/3.4.3/collect2.exe -Bdynamic --dl
l-search-prefix=cyg -o /usr/build/llvm-2/Debug/bin/llc.exe /lib/crt0.o -L/usr/bu
ild/llvm-2/Debug/lib -L/usr/build/llvm-2/Debug/bin -L/usr/gcc/gcc-3.4.3/lib/gcc/
i686-pc-cygwin/3.4.3 -L/usr/gcc/gcc-3.4.3/lib/gcc/i686-pc-cygwin/3.4.3/../../..
2010 Apr 27
3
[LLVMdev] "clang -v" shows a GCC call
Hi everyone,
I'm very new to the world of compilation and I've got to spend some time
time on LLVM.
As I have to produce a cross compiler for a completely new target and I
don't want to cross-build the binutils, I choose Clang as a replacement
frontend for llvm instead of llvm-gcc.
But first, I just would like to compile something on my Linux platform in
order to test the software,
2005 Jun 01
0
[LLVMdev] [Cygwin] 'make tools-only' configuration error
'collect2.exe' is an internal version of 'ld' called by GCC
The GCC command line is :-
g++ -I/usr/build/llvm-2/tools/llc -I/usr/src/llvm/tools/llc -I/usr/build/llvm-2/
include -I/usr/src/llvm/include -I/usr/build/llvm-2/include -I/usr/src/llvm/incl
ude -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall -W -Wwrite-strings -Wno-unused -g
-D_DEBUG -v -o /usr/build/llvm-2/Debug/bin/llc.exe
2010 Apr 27
6
[LLVMdev] "clang -v" shows a GCC call
Thanks for your really fast answer.
I understood that, but this means that the llvm+Clang suite is not able to
create a machine binary file without any intervention of GCC ?
I thought it could.
This means too that I must port GCC+Binutils in order to have a LLVM port
for my architecture ?
That sound like a huge work, I've chosen LLVM at the beginnig because I
thought it could avoid me
2018 Mar 09
0
Externally loadable Alias Analysis pass
I am currectly experimenting with -Xclang option.. I have a simple pass (to
just print function names).
I ran: clang -Xclang -load -Xclang LLVMHello.so t.c
but nothing was printed, no output from the pass.
when I run: opt -load LLVMHello.so -hello t.ll
I get the output from pass (i.e. list of function names)
Part of the source ode of the Hello pass:
struct Hello : public FunctionPass {
2008 May 29
1
[LLVMdev] data exchange between loadable pass and backend
Hello,
I have an analysis pass and a target machine class, both in different
dynamically loadable libraries (plugins). There is no problem to use
the analysis pass (opt -load=libanalysis.dylib -barpass foo.bc), but
is it possible to get data from the analysis pass (by getAnalysis)
while using the backend?
AFAIK it is only allowed to have one plugin argument for llc (like:
llc
2008 Jul 23
0
[LLVMdev] loadable backend versus analysis pass
Hi,
is there a problem with loadable backends and some analysis passes?
An example: If I put the C backend in my project directory, compile a
library form the code, and try to load it into lli I get the following
message:
-------------------------------------------------------
lli -load /path/CBackend.dylib
Error opening '/path/CBackend.dylib': dlopen(/path/CBackend.dylib, 1):
2010 Nov 15
1
[LLVMdev] --enable-optimized breaks pass registration for dynamically loadable passes?
Hello all,
Is it well known that building LLVM with --enable-optimized causes
RegisterPass calls to be removed from dynamically loadable libraries
(i.e., those built with LOADABLE_MODULE=1)?
For example, here's what happens to the Hello pass (ToT on Darwin,
both with and without --enable-optimized):
$ pwd
/Users/ransford/llvm/lib/Transforms/Hello
$ nm -j Release+Asserts/Hello.o | c++filt -p
2011 Nov 08
0
[LLVMdev] loadable passes with dependencies?
On 11/08/2011 07:33 PM, ret val wrote:
> Sorry to keep dragging this out on you. Im now getting: Assertion
> failed: (ResultPass&& "getAnalysis*() called on an analysis that was
> not " "'required' by pass!"), function getAnalysisID
>
> But I already have:
> void getAnalysisUsage(AnalysisUsage&AU) const {
>
2011 Nov 08
0
[LLVMdev] loadable passes with dependencies?
On 11/08/2011 08:50 PM, ret val wrote:
> Just shows me what I expect
> void getAnalysisUsage(AnalysisUsage&AU) const {
> DominatorTree *dt =&getAnalysis<DominatorTree>();
>
> So I'm only using it for DominatorTree(so I can use PromoteMemToReg).
Interesting. Is the same assert triggered when you use RegisterPass to
register the pass? Is getAnalysisUsage()
2013 Feb 28
0
[LLVMdev] Problem linking class to a pass in a loadable module
Dear LLVMers,
I have a class X that represents a set of Value* in a specific way.
That class is stored in two files: X.cpp and X.h
The class X works perfectly in a pass that I already have.
However, I need to use that class in some other passes, but I don't
want to have a copy of X.cpp and X.h in every pass folder.
I've tried to do the following:
- put X.h in the folder
2013 Feb 28
0
[LLVMdev] Problem linking class to a pass in a loadable module
Check out the bug report at http://llvm.org/bugs/show_bug.cgi?id=13144 and try adding KEEP_SYMBOLS := 1 to tools/opt/Makefile like the OP suggests.
Good luck.
----- Original Message -----
From: Raphael Ernani Rodrigues
Sent: 02/28/13 05:59 PM
To: LLVM Developers Mailing List
Subject: Problem linking class to a pass in a loadable module
Dear LLVMers, I have a class X that represents a set of
1998 May 30
1
R-beta: loadable modules
I want to write a C function that should return
an object of unknown structure at the time of the
invocation.
In particular, I'd like to
1- return a string of unknown length
2- a vector or a matrix of unknown dims and of
unknown element type
3- a data frame
Is any of that possible? Are there examples?
Which R functions should I call to create such
objects?
Any help would be appreciated.
2010 May 26
0
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
On Tue, May 25, 2010 at 5:53 PM, Will Dietz <willdtz at gmail.com> wrote:
> Hi all,
>
> First time posting to llvmdev, be gentle :).
>
> I'm working on an AliasAnalysis implementation and running into an
> issue on 2.7, that doesn't exist in 2.6 as far as I can tell.
>
> Short version: has anyone been able to load an AliasAnalysis module
> into 2.7's
2013 Apr 05
0
[LLVMdev] Z3 and loadable optimization
On 4/5/13 3:16 PM, Giacomo Tagliabue wrote:
> I created a loadable optimization following the tutorial at
> http://llvm.org/docs/WritingAnLLVMPass.html. I want to use the Z3
> library, installed in my system, in my optimization. When I include
> z3++.h (the name of the library) in the code and use its classes, it
> compiles well, but when I try to run it it says:
>
>
2011 Nov 08
0
[LLVMdev] loadable passes with dependencies?
On 11/08/2011 03:20 AM, ret val wrote:
> I'm writing a Pass that I would like to remain loadable by opt. The
> pass also requires DominatorTree(for PromoteMemToReg).
>
> Looking for examples the only way I found to require a dependecny is
> by doing something like this:
> char Hello::ID = 0;
> namespace llvm { void
2018 Dec 03
2
workaround to force LLD to make dwarf info sections mappable/loadable?
Context: https://bugs.llvm.org/show_bug.cgi?id=39862
I'm trying to enable stack traces in an OS kernel. To do that the kernel
needs access to its own debug info. I have this in my linker script:
.debug_info : {
__debug_info_start = .;
KEEP(*(.debug_info))
__debug_info_end = .;
}
.debug_abbrev : {
__debug_abbrev_start = .;
2006 Jun 22
0
[LLVMdev] Heads Up: libLLVMCore.a and loadable modules
Reid Spencer wrote:
>There are some bugs against it that state the current progress. The
>problem is that it depends on how the libraries are being used. Even if
>you get past the linking problems, you will end up with re-registration
>of passes and options, etc., which causes asserts. So, for now, there
>aren't many good solutions.
>
>
Is it possible to link opt and