[LLVMdev] libstdc++.so.6 problem

Samuel Crow samuraileumas at yahoo.com
Fri Sep 24 12:10:47 PDT 2010


Hello Bin,

It looks like GCC 4.1.2 is on the broken list:

http://llvm.org/docs/GettingStarted.html#brokengcc

You may have to specify no optimization in GCC to get it to work at all.

--Sam

>
>From: Bin Zeng <ezengbin at gmail.com>
>To: llvmdev at cs.uiuc.edu
>Sent: Fri, September 24, 2010 11:03:50 AM
>Subject: [LLVMdev] libstdc++.so.6 problem
>
>Hi all, 
>
>I am really stumped on this problem. I googled and could not find     any 
>solution. Here is the problem. I compiled and installed 
>glibc-2.5-20090518 in a local directory with gcc version 4.1.2.  I 
>compiled glibc-2.5 because I wanted to test glibc-2.5 on gcc first 
>llvm-gcc. However, after I installed glibc, llvm-gcc does not work 
>any more. It reported this error message: 
>
>/root/tools/llvm/llvm-gcc/install/bin/../libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1:
> 
>/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required 
>by 
>/root/tools/llvm/llvm-gcc/install/bin/../libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1)
>
>
>It says that the GLIBCXX_3.4.9 does not work with libstdc++.so.6. I     did not 
>install glibc in /usr/lib.  /usr/lib/libstdc++.so.6 should     not be affected. 
>
>Also rpm shows that the version is: 
>
>[root at localhost gold]# rpm -q glibc 
>glibc-2.5-34.el5_3.1 
>
>Any advice will be appreciated. Thanks a lot in advance. 
>
>Bin 
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100924/156e2276/attachment.html>


More information about the llvm-dev mailing list