search for: llvmprefix

Displaying 12 results from an estimated 12 matches for "llvmprefix".

2010 Jul 20
4
[LLVMdev] gold and debug information
...he mainline llvm, and I ported it back to 2.7. The same error happened for both of them: the modified 2.7, and a mainline I checked out three weeks ago. This problem is reproducible while compiling flex-2.5.35.tar.gz and many others (mysql and cherokee). I set the following: export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" export RANLIB=/bin/true export CFLAGS="-O4 -g" then configure, make, and then hit the error....
2010 Jul 20
3
[LLVMdev] gold and debug information
On Tue, Jul 20, 2010 at 6:49 AM, Rafael Espindola <espindola at google.com> wrote: >> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" >> export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" >> export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" >> export RANLIB=/bin/true >> export CFLAGS="-O4 -g" >> &gt...
2010 Jul 20
0
[LLVMdev] gold and debug information
> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" > export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export RANLIB=/bin/true > export CFLAGS="-O4 -g" > > then configure, ma...
2010 Jun 25
2
[LLVMdev] libLLVMgold.so: could not load plugin library
...6_64-unknown-linux-gnu/4.2.1/ and $PREFIX/lib/bfd-plugins/, should I rename it to libLLVMgold.so? Any other copies I should make? > Copying it should cause no problems. just make sure libLTO.so is in a > place it can find. What happens if you run ldd on LLVMgold.so? Here is the result: ldd $LLVMPREFIX/lib/LLVMgold.so linux-gate.so.1 => (0x006fa000) libLTO.so => $LLVMPREFI/lib/libLTO.so (0x00f24000) libpthread.so.0 => /lib/libpthread.so.0 (0x00570000) libdl.so.2 => /lib/libdl.so.2 (0x00c4c000) libstdc++.so.6 => /s/gcc-4.3.1/i386_rhel5/lib/libstdc++.so.6 (...
2010 Jun 25
0
[LLVMdev] libLLVMgold.so: could not load plugin library
...at that is the copy that nm and ar will use. The linker (gold) requires you to pass -plugin to it. >> >> Copying it should cause no problems. just make sure libLTO.so is in a >> place it can find. What happens if you run ldd on LLVMgold.so? > > Here is the result: > ldd $LLVMPREFIX/lib/LLVMgold.so >    linux-gate.so.1 =>  (0x006fa000) >    libLTO.so => $LLVMPREFI/lib/libLTO.so (0x00f24000) >    libpthread.so.0 => /lib/libpthread.so.0 (0x00570000) >    libdl.so.2 => /lib/libdl.so.2 (0x00c4c000) >    libstdc++.so.6 => /s/gcc-4.3.1/i386_rhel5/lib/li...
2010 Jul 20
3
[LLVMdev] gold and debug information
On Tue, Jul 20, 2010 at 8:49 AM, Rafael Espindola <espindola at google.com>wrote: > > export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" > > export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > > export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > > export RANLIB=/bin/true > > export CFLAGS="-O4 -g" > &gt...
2010 Jun 25
0
[LLVMdev] libLLVMgold.so: could not load plugin library
On 25 June 2010 03:17, Guoliang Jin <jingl1345 at gmail.com> wrote: >  Hi there, > > I checked out the latest code from the repository, and wanna use the gold > plugin, but I got the following: > > libLLVMgold.so: could not load plugin library > > Do you know why this is happening? > > Also I noticed the name of the library is changed to LLVMgold.so, and I just
2010 Jul 20
0
[LLVMdev] gold and debug information
On Mon, Jul 19, 2010 at 11:06 PM, Guoliang Jin <jingl1345 at gmail.com> wrote: >  Hi, > > I would like to get the whole program bitcode with debug information in it. > > I tried to use CFLAGS = "-O4 -g", but it ends with the following error: > collect2: ld terminated with signal 6 [Aborted] > Unknown constant! > UNREACHABLE executed at >
2010 Jul 21
0
[LLVMdev] gold and debug information
On Tue, Jul 20, 2010 at 10:39 AM, Devang Patel <devang.patel at gmail.com> wrote: > On Tue, Jul 20, 2010 at 6:49 AM, Rafael Espindola <espindola at google.com> wrote: >>> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" >>> export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" >>> export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" >>> export RANLIB=/bin/true >>> export CFLAGS="-O4 -g&qu...
2010 Jul 20
2
[LLVMdev] gold and debug information
Hi, I would like to get the whole program bitcode with debug information in it. I tried to use CFLAGS = "-O4 -g", but it ends with the following error: collect2: ld terminated with signal 6 [Aborted] Unknown constant! UNREACHABLE executed at /local.toadette/aliang/fixing/llvm-2.7/llvm-2.7/lib/Bitcode/Writer/BitcodeWriter.cpp:895! What is the right way to get a whole program bitcode
2010 Jun 25
2
[LLVMdev] libLLVMgold.so: could not load plugin library
Hi there, I checked out the latest code from the repository, and wanna use the gold plugin, but I got the following: libLLVMgold.so: could not load plugin library Do you know why this is happening? Also I noticed the name of the library is changed to LLVMgold.so, and I just renamed it to libLLVMgold.so when I copied it. Is this the right thing to do? Thanks, Guoliang
2010 Jun 26
2
[LLVMdev] libLLVMgold.so: could not load plugin library
...G.o: not an object or archive $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld: /usr/lib/crt1.o:(.text+0x18): error: undefined reference to 'main' collect2: ld returned 1 exit status Did I use the wrong options? >> Here is the result: >> ldd $LLVMPREFIX/lib/LLVMgold.so >> linux-gate.so.1 => (0x006fa000) >> libLTO.so => $LLVMPREFI/lib/libLTO.so (0x00f24000) >> libpthread.so.0 => /lib/libpthread.so.0 (0x00570000) >> libdl.so.2 => /lib/libdl.so.2 (0x00c4c000) >> libstdc++.so.6 =>...