[LLVMdev] cross compiling using llvm 1.8

Anton Korobeynikov anton at korobeynikov.info
Mon Nov 3 01:56:53 PST 2008


> AsmWriterEmitter.cpp:(.text+0x78): undefined reference to `__dso_handle'
> AsmWriterEmitter.cpp:(.text+0x8c): undefined reference to `__cxa_atexit'
This is not connected with that warning. Something is wrong with your
compiler / linker. Either it does not provide needed libraries, or
broken in other way.

> AsmWriterEmitter.cpp:(.text+0x25e): undefined reference to `_ZNSsC1ERKSs'
these came from libstdc++

> AsmWriterEmitter.cpp:(.text+0x273): undefined reference to `_ZNSsC1ERKSs'
> AsmWriterEmitter.cpp:(.text+0x28b): undefined reference to `_ZNSsC1ERKSs'
> AsmWriterEmitter.cpp:(.text+0x2a5): undefined reference to `_ZNSsD1Ev'
> AsmWriterEmitter.cpp:(.text+0x2ad): undefined reference to `_Unwind_Resume'
and this from libgcc

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list