This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build error on Ubuntu 12.04.1, not Arch


I'm using CT-NG as a backend for Buildroot. It has been and still is working fine on Arch, and it had been working in Ubuntu, but it recently started giving errors. I've attached two different configs that both cause similar but slightly different errors (lots of undefined methods), both in the same stage. There are two sets because I updated the config to use newer GCC and libraries to see if the problem went away (it didn't).

The logs are too long to post, even if I remove everything except this stage, so here is a sample of the output. There are about 50000 lines with "undefined reference" and about 1000 of "[ERROR]".

[ALL ] /home/shawn/projects/fx/buildroot/output/build/build-toolchain/.build/arm-buildroot-linux-gnueabi/buildtools/lib/libpwl.a(Watchdog.o): In function `Parma_Watchdog_Library::Watchdog::set_timer(Parma_Watchdog_Library::Time const&)':
[ALL ] Watchdog.cc:(.text+0x198): undefined reference to `__cxa_allocate_exception'
[ALL ] Watchdog.cc:(.text+0x1b2): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
[ERROR] Watchdog.cc:(.text+0x1be): undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
[ALL ] Watchdog.cc:(.text+0x1c6): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
[ERROR] Watchdog.cc:(.text+0x1ce): undefined reference to `std::runtime_error::~runtime_error()'
[ALL ] Watchdog.cc:(.text+0x1d6): undefined reference to `typeinfo for std::runtime_error'
[ALL ] Watchdog.cc:(.text+0x1de): undefined reference to `__cxa_throw'
[ALL ] Watchdog.cc:(.text+0x245): undefined reference to `__cxa_free_exception'
[ALL ] Watchdog.cc:(.text+0x259): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'


Attachment: ct-ng.old.config
Description: Text document

Attachment: ct-ng.new.config
Description: Text document

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]