Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] "dyld: Library not loaded" llvm-gcc error"
2008 Aug 21
1
[LLVMdev] "dyld: Library not loaded" llvm-gcc error
After installing llvm and llvm-gcc 4.2 on Mac OS X I tried
running
"An Example Using the LLVM Tool Chain" at
http://llvm.org/docs/GettingStarted.html .
In step 4, the command
./hello
fails with the message:
dyld: Library not loaded:
/Users/tonic/2.3/llvm-gcc/install/lib/libgcc_s.1.dylib
Referenced from: /Users/Username/Path/./hello
Reason: image not found
Trace/BPT trap
2007 Oct 02
1
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
On Tue, 2007-10-02 at 14:38 -0700, Tanya M. Lattner wrote:
> > I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> > Front End source, but got the following error when compiling:
> >
> > configure: error: You must specify valid path to your LLVM tree with
> > --enable-llvm=DIR
> > make: *** [configure-gcc] Error 1
> >
> >
2010 Apr 01
3
[LLVMdev] Help with building LLVM 2.6 GCC
I'm running into the same error.
Correct me if I'm wrong. To build llvm, you'd need llvm-gcc front-end.
You're saying we'd need llvm in order to build llvm-gcc.
So how should we kick start the process?
Thanks.
Duncan Sands wrote:
>
> Hi Eliseu,
>
>> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
>> directory. I've also
2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
Dear Anton,
you can add your register allocator strait iin the
"lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the
top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The
problem is that it only add to llc the changes on the lib/CodeGen
directory. If you change other parts, a make from LLVMOBJDIR will
synchronize it.
Try adding
2010 Mar 17
2
[LLVMdev] Help with building LLVM 2.6 GCC
Greetings
I'm trying to build LLVM 2.6 GCC from the source files, but I am
having problems during the make step.
Here is the information:
1. My machine is:
Linux firefly 2.6.9-89.0.9.ELsmp #1 SMP Wed Aug 19 08:06:10 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux
my gcc version is 4.2.1
2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
directory. I've also created two
2007 Oct 02
0
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
> I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> Front End source, but got the following error when compiling:
>
> configure: error: You must specify valid path to your LLVM tree with
> --enable-llvm=DIR
> make: *** [configure-gcc] Error 1
>
> I've done the following in csh before hand:
> $ setenv LLVMOBJDIR
2010 Mar 17
0
[LLVMdev] Help with building LLVM 2.6 GCC
Hi Eliseu,
> 2. I've unpacked llvm-gcc-4.2-2.6.source.tar.gz under the llvm-gcc
> directory. I've also created two subdirectories
> called "install" and "obj" under the same llvm-gcc.
>
> 3. Then I did the following, based on README.LLVM :
>
> %setenv LLVMOBJDIR /home/eliseuf/llvm/llvm-gcc/obj
first you need to build llvm itself. LLVMOBJDIR
2007 Oct 02
2
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
Front End source, but got the following error when compiling:
configure: error: You must specify valid path to your LLVM tree with
--enable-llvm=DIR
make: *** [configure-gcc] Error 1
I've done the following in csh before hand:
$ setenv LLVMOBJDIR /home/napi/proj/c2jvm/llvm/llvm-gcc/obj
Where did I go wrong?
2006 Aug 20
0
[LLVMdev] Adding register allocator to LLVM
Hi!
I've did what Jim Laskey wrote but llc didn't reckognize my regalloc option.
So I moved my allocator implementation into seperate folder within CodeGen
and wrote separate makefile for it (like in "Writing an LLVM pass"
tutorial). But when I run "make" from LLVMOBJDIR it doesn't enter the
RegAlloc directory and when linking llc an error like
2006 Apr 20
1
[LLVMdev] $(LLVMOBJDIR)/include should be added to the serch path
If llvm is build with srcdir != objdir, building gcc will fail with
../../llvm-gcc4-1.7.source/gcc/llvm-internal.h:36:36: error:
llvm/Support/DataTypes.h: No such file or directory
This happens because DataTypes.h is a generated header.
Adding -I$(LLVMOBJDIR)/include to INCLUDES in Makefile.in:878 solves
the problem.
One more thing, is the modified GCC available in some svn or cvs repository?
2006 May 01
1
[LLVMdev] successfully bootstraped on a i686-linux-gnu
Hi,
I recently bootstrapped gcc4 frontend on a i686-linux-gnu too.
As I notice, if the llvm "tools-only " was build with srcdir != objdir ,
the building of llvm-gcc4-1.7.source encountered mistakes of unable to find some header files.
So I just edited llvm-gcc4-1.7.source/gcc/Makefile.in and a line like this:
INCLUDES += -I$(LLVMOBJDIR)/include
With this change, the building errors
2006 Jul 07
1
[LLVMdev] Problem Compiling llvm-gcc4 r12 and r13
A clean build of revisions 12 or 13 of llvm-gcc4 produces:
make[1]: *** No rule to make target `llvm-backend.c', needed by `llvm-backend.o'. Stop.
While the gcc/Makefile.in has:
llvm-backend.o : llvm-backend.cpp $(ALL_HEADERS) #line 2440
it also has:
# APPLE LOCAL begin LLVM #line 1018
ifneq ($(LLVMOBJDIR),)
OBJS-common += llvm-backend.o llvm-convert.o
2006 Aug 20
1
[LLVMdev] make builds Release configuration by default
Hi!
I'm installing LLVM under Debian Linux.
I've installed llvm-gcc3 binaries and am trying to build LLVM.
I run make command from llvmobjdir and it builds Release configuration. I
didn't set ENABLE_OPTIMIZED variable to 1 and I didn't configure LLVM with
--enable-optimized switch. What can cause building Release configuration and
how can I switch to Debug one?
Thanks.
Tony.
2007 Oct 02
0
[LLVMdev] Problem building LLVM-GCC 4.0 Front End
On 10/2/07, Mohd-Hanafiah Abdullah <napi at axiomsol.com> wrote:
> I've read and followed the README.LLVM file that comes with LLVM-GCC 4.0
> Front End source, but got the following error when compiling:
>
> configure: error: You must specify valid path to your LLVM tree with
> --enable-llvm=DIR
> make: *** [configure-gcc] Error 1
>
> I've done the following
2006 Sep 09
0
dovecot LDA w/ exim: "dyld: Library not loaded" & "trace trap" errors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
i've Dovecot 10branch head built on on OSX 10.4.7.
i've also exim 4.63 configured for use with dovecot's AUTH.
on local delivery via exim -> dovecot LDA, i see two errors:
(1) dovecot_lda transport output: dyld: Library not loaded:
/usr/local/ssl/lib/libssl.0.9.8.dylib
(2) Child process of dovecot_lda transport (running
2006 Sep 28
2
[LLVMdev] GCC_4.2.0 problem
Hi,
I have seen the bug
http://llvm.org/bugs/show_bug.cgi?id=896
Maybe it is a non-issue but I had some trouble with this.
I am running Debian sid and were no longer able to compile llvm.
/home/fred/llvm/build/gcc/xgcc: /home/fred/llvm/build/gcc/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
The installed version have this symbol.
strings
2007 Aug 24
1
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
> Well, it depends on the configure parameter used while building llvm-
> gcc.
Hmm, there are other pages on the the website that tell you how you
should configure gcc, e.g. you're led from "How to build the C/C++
Frontend" at http://llvm.org/docs/CFEBuildInstrs.html to Subversion
HEAD (by virtue of an "svn co"). Then you're supposed to look at
README.LLVM. And
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
On Thu, 3 Aug 2006, Jim Laskey wrote:
> To force the load/linking of your register allocator into the llc/lli tools,
> add your create function's global declaration to "Passes.h" and add a
> "pseudo" call line to "llvm/Codegen/LinkAllCodegenComponents.h" .
Another note: with this new functionality you should be able to
dynamically load register
2007 May 12
5
[LLVMdev] C back-end differences
On Fri, 11 May 2007, me22 wrote:
> I'm not exactly sure how llvm-g++ works. I think it goes through the
> standard gcc sequence (gimple, rtl, and such) but then outputs LLVM
> (http://llvm.org/docs/LangRef.html), which is the intermediate
> representation used by the rest of the chain. To make an LLVM backend
> you would not need to deal with RTL and such at all.
llvm-g++
2007 Jul 14
0
[LLVMdev] what is LLVMOBJDIR?
In http://llvm.org/svn/llvm-project/llvm-gcc-4-2/trunk/README.LLVM I can
read "Below we assume the LLVM OBJDIR is $LLVMOBJDIR".
But in http://llvm.org/docs/GettingStarted.html#terminology I read about
OBJ_ROOT. Is this the same? Then terminology is inconsistent. But
actually I don't think so, because the text says "These are not
environment variables". Still it's