[Buildroot] problem generating c++ compiler for target arch
david at primefarm.co.uk
Wed Nov 29 17:52:18 UTC 2006
On Wed, November 29, 2006 5:45 pm, MikeW wrote:
> <lists at ...> writes:
>> I managed to get buildroot to complete the build at last. Sadly, the
>> c++ compiler is b0rked.
>> Looks like it's missing all sorts of libraries and things. Here is some
>> sample output trying to compile a very simple program (C++ hello
>> david <at> tulip:~/buildroot/build_arm/staging_dir/bin$ ./arm-linux-gcc
>> foo.cpp /tmp/ccNH0d2c.o: In function `std::__verify_grouping(char
>> const*, unsigned int, std::basic_string<char, std::char_traits<char>,
>> foo.cpp:(.text+0x20): undefined reference to `std::basic_string<char,
>> std::char_traits<char>, std::allocator<char> >::size() const'
>> foo.cpp:(.text+0x98): undefined reference to `std::basic_string<char,
>> std::char_traits<char>, std::allocator<char> >::operator(unsigned int)
>> All sorts of things missing there - have I inadvertantly broken lots of
> Did you specify libstdc++ in your menuconfig ?
Yes of course, but it's failing mysteriously. It seems to get built but I
dunno where it breaks down after that, I've not much experience with this
compiler bootstrapping stuff.
More information about the buildroot