Displaying 4 results from an estimated 4 matches for "ccnyauaa".
2010 Jun 28
2
[LLVMdev] libLLVMgold.so: could not load plugin library
...LLVMgold.so
-plugin-opt=as=as --eh-frame-hdr -m elf_i386 -dynamic-linker
/lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o
$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbegin.o
-L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1
-L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../..
/tmp/ccnyauaa.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o /usr/lib/crtn.o
$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld:
error:
$LLVMGCCPREFIX/libexec/gcc/i686-pc-linux-gn...
2010 Jun 28
0
[LLVMdev] libLLVMgold.so: could not load plugin library
...lugin-opt=as=as --eh-frame-hdr -m elf_i386 -dynamic-linker
> /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o
> $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtbegin.o
> -L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1
> -L$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../.. /tmp/ccnyauaa.o
> -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
> --no-as-needed $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o
> /usr/lib/crtn.o
> $LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld:
> error: $LLVMGCCPREFIX/libexec...
2010 Jun 26
0
[LLVMdev] libLLVMgold.so: could not load plugin library
> Did I use the wrong options?
That looks correct, the issues is really why gold is failing to load the plugin.
> So the gold and the LLVMgold are linked against the same libstdc++. I am
> using the gcc at /s/gcc-4.3.1/i386_rhel5/bin to compile the LLVM chain.
Can you run llvm-gcc again with -Wl,-debug? This will show the linker
line being used. You can then run gdb on it. Try to find
2010 Jun 26
2
[LLVMdev] libLLVMgold.so: could not load plugin library
On 6/25/2010 2:37 PM, Rafael Espindola wrote:
> The linker (gold) requires you to pass -plugin to it.
I am using the command:
llvm-gcc a.c -emit-llvm -use-gold-plugin
and here is the output:
$LLVMGCCPREFIX/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld:
error:
$LLVMGCCPREFIX/libexec/gcc/i686-pc-linux-gnu/4.2.1/libLLVMgold.so: could
not load plugin library