[LLVMdev] Error while compiling mysql using LLVM-gold

Rafael Espindola espindola at google.com
Sun Jun 6 06:05:11 PDT 2010


Some things to check:

Run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug

This will print the link command line. What is it? Do you get the same error
messages if you run just that?

Are gold and the plugin linked with the same libstdc++?

Cheers

On Jun 5, 2010 11:50 PM, "Guoliang Jin" <jingl1345 at gmail.com> wrote:

The errors are
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
/lib/libc.so.6: version `GLIBC_2.7' not found

I can not use it in the command line...



Rafael Espindola wrote:
>>
>> However, I got
>> "...
>> checking for gcc... llvm-gcc -use-gold-plu...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100606/774959a3/attachment.html>


More information about the llvm-dev mailing list