[lldb-dev] lldb 3.4 rc1 is failing with gcc 4.6

Ted Woodward ted.woodward at codeaurora.org
Tue Nov 26 10:50:31 PST 2013

I went and built gcc 4.8.2 on Ubuntu 12.04. I had to jump through several
hoops - missing packages, and
I had to set C_INCLUDE_PATH for it to find things like bits.h.

Once that was done I build llvm/clang/compiler-rt/lldb. I had to unset
C_INCLUDE_PATH so it could find features.h.

Finally I ran lldb. It failed with this message:
Debug+Asserts/bin/lldb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.18' not found

I was able to get lldb to run by setting LD_LIBRARY_PATH to point to the gcc
4.8.2 install/lib64 directory.
Any thoughts on how I can build with the system's GLIBCXX? I'd rather not
have to ship a gcc library with
my product.


-----Original Message-----
From: lldb-dev-bounces at cs.uiuc.edu [mailto:lldb-dev-bounces at cs.uiuc.edu] On
Behalf Of Sylvestre Ledru
Sent: Tuesday, November 26, 2013 8:04 AM
To: lldb-dev at cs.uiuc.edu
Subject: Re: [lldb-dev] lldb 3.4 rc1 is failing with gcc 4.6

Le 26/11/2013 03:30, Todd Fiala a écrit :
> I should point out a few more things about that script:
> By this:
> > ... and if so, downloads gcc 4.8.2 and installs it in the tot tree ...
> I mean it will download the source and build the c and c++ compilers 
> from source, not a prebuilt bundle.
Well, I am doing the packaging. So, I have to rely on the packages provided
by the system...
Rebuilding gcc itself is no solution I am considering ;)


lldb-dev mailing list
lldb-dev at cs.uiuc.edu

More information about the lldb-dev mailing list