[LLVMdev] cross compiling using llvm 1.8

Aviv Peretz aviv.peretz at mobileye.com
Sun Nov 2 23:02:45 PST 2008


Hi Anton,

But if I'm ignoring this warning and continue according to the 
instructions (i.e. copy back the saved tblgen and perform build as 
usual), then I get a LOT of linkage errors regarding undefined symbols. 
For instance,

smWriterEmitter.cpp:(.text+0x21): undefined reference to `_ZNSs6assignERKSs'
AsmWriterEmitter.cpp:(.text+0x39): undefined reference to 
`_ZNSs6assignERKSs'
/homes/aviv/projects/VMP_SDK_llvm1.8_gil/generated-llvm/obj/utils/TableGen/Debug/AsmWriterEmitter.o: 
In function `_Z41__static_initialization_and_destruction_0ii':
AsmWriterEmitter.cpp:(.text+0x70): undefined reference to 
`_ZNSt8ios_base4InitC1Ev'
AsmWriterEmitter.cpp:(.text+0x78): undefined reference to `__dso_handle'
AsmWriterEmitter.cpp:(.text+0x8c): undefined reference to `__cxa_atexit'
AsmWriterEmitter.cpp:(.text+0x94): undefined reference to 
`_ZN4llvm19SupportIsInfLinkVarE'
AsmWriterEmitter.cpp:(.text+0xa0): undefined reference to 
`_ZN4llvm11IncludeFileC1EPv'
AsmWriterEmitter.cpp:(.text+0xa8): undefined reference to 
`_ZN4llvm19SupportIsNANLinkVarE'
AsmWriterEmitter.cpp:(.text+0xb4): undefined reference to 
`_ZN4llvm11IncludeFileC1EPv'
/homes/aviv/projects/VMP_SDK_llvm1.8_gil/generated-llvm/obj/utils/TableGen/Debug/AsmWriterEmitter.o: 
In function 
`_ZNSt4pairISsN138_GLOBAL__N__homes_aviv_projects_VMP_SDK_llvm1.8_gil_generated_llvm_obj_.._.._llvm1.8_utils_TableGen_AsmWriterEmitter.cpp_00000000_4112428B16AsmWriterOperandEEC1ERKS2_':
AsmWriterEmitter.cpp:(.text+0x25e): undefined reference to `_ZNSsC1ERKSs'
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'
AsmWriterEmitter.cpp:(.text+0x2b7): undefined reference to `_ZNSsD1Ev'

Can you tell what lead to it and how I can avoid it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081103/b9289b93/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3265 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081103/b9289b93/attachment.bin>


More information about the llvm-dev mailing list