Displaying 3 results from an estimated 3 matches for "a54f956d".
2012 Jun 28
0
[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table
> Does anyone have some clue on what's going on ?
You don't need to pass command line options to ar and nm if the plugin
is installed in the correct directories. A guess is that the build
system is running ranlib on the .a files and that is destroying the
index created by nm.
If you put the plugins in the bfd-plugins directory nm, ar and ranlib
will use them.
> Thanks very much!
2012 Jun 28
2
[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table
...ns directory nm, ar and ranlib
> will use them.
>
> > Thanks very much!
> >
> > Ryan
> >
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120628/a54f956d/attachment.html>
2012 Jun 28
2
[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table
Hi,
I build llvm with gold plugin, clang and the binutils(and it's put into the
PATH) with plugins support.
ld.gold is renamed to ld. A quick test of clang -flto -O0 hello.c can
succeed.
But when I try to export CC="clang -v -flto" and compile MySQL, it failed
in the linking with the following error message:
"/home/ryan/binutils/bin/ld" -export-dynamic -z relro