Guoliang Jin
2010-Jun-28 18:46 UTC
[LLVMdev] libLLVMgold.so: could not load plugin library
On 6/27/2010 10:35 PM, Rafael Espindola wrote:> Try to run just that ld command first. Same error message? Run in in > gdb and set a breakpoint just before gold tries to load the plugin. > Sorry, I am really out of ideas on what is going wrong here...It is the same error message . Can you tell me which gcc version are you using to compile the llvm chain, and also the binutils svn version number? I noticed the dlopen is inside /lib/ld-linux.so.2, and my version of glibc is 2.5, is this too old? Thanks.
Rafael Espindola
2010-Jun-28 19:04 UTC
[LLVMdev] libLLVMgold.so: could not load plugin library
> It is the same error message . > > Can you tell me which gcc version are you using to compile the llvm chain, > and also the binutils svn version number?I have used both gcc 4.2 and 4.4.> I noticed the dlopen is inside /lib/ld-linux.so.2, and my version of glibc > is 2.5, is this too old?I don't think that is the problem. I have just posted a patch to gold http://sourceware.org/ml/binutils/2010-06/msg00310.html That should print more complete error messages. Can you give that a try? That is what I was going to ask you to try with gdb, but it is probably easier to juts apply that patch and build gold.> Thanks. >Cheers, -- Rafael Ávila de Espíndola
Guoliang Jin
2010-Jun-28 20:28 UTC
[LLVMdev] libLLVMgold.so: could not load plugin library
On 6/28/2010 2:04 PM, Rafael Espindola wrote:> I have just posted a patch to gold > http://sourceware.org/ml/binutils/2010-06/msg00310.html > > That should print more complete error messages. Can you give that a > try? That is what I was going to ask you to try with gdb, but it is > probably easier to juts apply that patch and build gold.The error msg is: libLTO.so: cannot open shared object file: No such file or directory I copied one into $PREFIX/libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/ and it now works. Thanks.
Seemingly Similar Threads
- [LLVMdev] libLLVMgold.so: could not load plugin library
- [LLVMdev] libLLVMgold.so: could not load plugin library
- [LLVMdev] libLLVMgold.so: could not load plugin library
- [LLVMdev] libLLVMgold.so: could not load plugin library
- [LLVMdev] libLLVMgold.so: could not load plugin library