Rafael Espindola
2010-Jun-06 13:05 UTC
[LLVMdev] Error while compiling mysql using LLVM-gold
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>
Rafael Espindola
2010-Jun-06 23:41 UTC
[LLVMdev] Error while compiling mysql using LLVM-gold
On 6 June 2010 13:48, Guoliang Jin <jingl1345 at gmail.com> wrote:> Thanks Rafael. > > I compiled llvm-gcc by myself, and I can compile mysql now. > > Right now, when I run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug > I got > ld: error: cannot open debug: No such file or directory > collect2: ld returned 1 exit status > > I do not know why this is happening.It Is -Wl,-debug. Sorry about that. Cheers, -- Rafael Ávila de Espíndola
Reasonably Related Threads
- [LLVMdev] Error while compiling mysql using LLVM-gold
- [LLVMdev] Error while compiling mysql using LLVM-gold
- [LLVMdev] What are the optimizations that gold uses during the final link stage?
- [LLVMdev] Error while compiling mysql using LLVM-gold
- [LLVMdev] Error while compiling mysql using LLVM-gold