another llvm-gcc-4.2 compilation problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

another llvm-gcc-4.2 compilation problem

Christoph Straehle
hi,

i also have problems compiling llvm-gcc (current svn version).
llvm is current llvm svn.
i tried to use every gcc version from 4.0 to 4.3 to compile llvm-gcc.
i configured llvm-gcc like this (and tried every other combination of disable-shared, disable-multilib and bootstrap)  :

../llvm-gcc/configure --prefix=/usr --enable-llvm=/usr --enable-languages=c,c++ --disable-shared --disable-multilib --disable-bootstrap


this error occurs during link time :

libbackend.a(llvm-backend.o):(.rodata._ZTC11oFILEstream0_So[vtable for oFILEstream]+0xc): undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
libbackend.a(llvm-backend.o):(.rodata._ZTC11oFILEstream0_So[vtable for oFILEstream]+0x10): undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
libbackend.a(llvm-backend.o):(.rodata._ZTC11oFILEstream0_So[vtable for oFILEstream]+0x20): undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
libbackend.a(llvm-backend.o):(.rodata._ZTC11oFILEstream0_So[vtable for oFILEstream]+0x24): undefined reference to `virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()'
libbackend.a(llvm-backend.o):(.rodata._ZTVN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEE[vtable for __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >]+0x30): undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::uflow()'
libbackend.a(llvm-convert.o): In function `TreeToLLVM::CreateTemporary(llvm::Type const*)':
llvm-convert.cpp:(.text+0x427): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
llvm-convert.cpp:(.text+0x491): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
llvm-convert.cpp:(.text+0x532): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
llvm-convert.cpp:(.text+0x548): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
libbackend.a(llvm-convert.o): In function `TreeToLLVM::getIndirectGotoBlock()':
..............

is the current llvm-gcc broken on linux or am i missing something here ?

greetings

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev