[LLVMdev] LLVM-gcc for Ada

Duncan Sands baldrick at free.fr
Wed Jun 3 00:00:28 PDT 2009


Hi Eric,

> llvm-main.o: In function `__static_initialization_and_destruction_0':
> /usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iostream:77: 
> undefi\
> ned reference to `std::ios_base::Init::Init()'
> /usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iostream:77: 
> undefi\
> ned reference to `std::ios_base::Init::~Init()'
> llvm-main.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'

there's something very wrong with your C++ compiler.  Rather than
exporting CC and CXX like in Andre's instructions, I suggest you
just export the PATH like in Andre's instructions before configuring/
make.  Also, are you aware of this page:
   http://llvm.org/docs/GCCFEBuildInstrs.html
?


Ciao,

Duncan.



More information about the llvm-dev mailing list