[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to built xtools for i686 / 14.1



Hi.

  I am trying to build ttylinux 14.1 for i686 platform, but I have primary problem to build xtools.

  I had to modify CFLAGS for cloog library in file scripts/gcc/gcc-methods.sh - CFLAGS="-I${XBT_XHOST_DIR}/usr/include -L${XBT_XHOST_DIR}/usr/lib -fexceptions". Cloog library reguire gmp library and I had to add -L option.

  But now is problem to "Building gcc-4.6.3 Stage 1". I have got many hundreds undefined symbols:

ppl_c_implementation_common.cc:(.text+0xc496): undefined reference to `operator new(unsigned long)'
ppl_c_implementation_common.cc:(.text+0xc4da): undefined reference to `operator delete(void*)'
ppl_c_implementation_common.cc:(.text+0xc4ed): undefined reference to `__cxa_end_catch'
ppl_c_implementation_common.cc:(.text+0xc500): undefined reference to `__cxa_end_catch'
ppl_c_implementation_common.cc:(.text+0xc513): undefined reference to `__cxa_end_catch'
ppl_c_implementation_common.cc:(.text+0xc526): undefined reference to `__cxa_end_catch'
ppl_c_implementation_common.cc:(.text+0xc539): undefined reference to `__cxa_end_catch'
....
ppl_c_implementation_common.cc:(.text+0xf9ca): undefined reference to `operator new(unsigned long)'
ppl_c_implementation_common.cc:(.text+0xf9f9): undefined reference to `operator new(unsigned long)'
ppl_c_implementation_common.cc:(.text+0xfa28): undefined reference to `operator new(unsigned long)'
ppl_c_implementation_common.cc:(.text+0xfa53): undefined reference to `operator new(unsigned long)'
ppl_c_implementation_common.cc:(.text+0xfa7b): undefined reference to `__cxa_allocate_exception'
ppl_c_implementation_common.cc:(.text+0xfa8a): undefined reference to `std::allocator<char>::allocator()'
ppl_c_implementation_common.cc:(.text+0xfaa2): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
ppl_c_implementation_common.cc:(.text+0xfab4): undefined reference to `std::invalid_argument::invalid_argument(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ppl_c_implementation_common.cc:(.text+0xfac3): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ppl_c_implementation_common.cc:(.text+0xfacf): undefined reference to `std::allocator<char>::~allocator()'
ppl_c_implementation_common.cc:(.text+0xfad4): undefined reference to `std::invalid_argument::~invalid_argument()'
ppl_c_implementation_common.cc:(.text+0xfadc): undefined reference to `typeinfo for std::invalid_argument'
ppl_c_implementation_common.cc:(.text+0xfae4): undefined reference to `__cxa_throw'
ppl_c_implementation_common.cc:(.text+0xfb20): undefined reference to `operator delete(void*)'
ppl_c_implementation_common.cc:(.text+0xfb39): undefined reference to `operator delete(void*)'
ppl_c_implementation_common.cc:(.text+0xfb52): undefined reference to `operator delete(void*)'
ppl_c_implementation_common.cc:(.text+0xfb6b): undefined reference to `operator delete(void*)'
ppl_c_implementation_common.cc:(.text+0xfb8b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ppl_c_implementation_common.cc:(.text+0xfb9f): undefined reference to `std::allocator<char>::~allocator()'

....

  May anybody help me or send advice, how to compile xtools?

  How I can remove cloog and ppl from build?

  Thanks very much.

  Reg.