[LLVMdev] llvm-mc build failure

Dawie Joubert djjoubert at csir.co.za
Wed Jul 27 04:12:16 PDT 2011


Dear llvm,

Recently (approximately a week ago) Clang and LLVM started to failed at
building. Assuming it was my incompetence, I cleared everything and
started witha  fresh checkout (not that I changed it though). I am on
Ubuntu 10.04 LTS 64-Bit. And I configure and compile with CMake.

The error message I get at approximatley 66% is as follows:

Linking CXX executable ../../bin/llvm-mc
../../lib/libLLVMMSP430Desc.a(MSP430MCTargetDesc.cpp.o): In function
`llvm::MSP430InstPrinter::MSP430InstPrinter(llvm::MCAsmInfo const&)':
MSP430MCTargetDesc.cpp:(.text._ZN4llvm17MSP430InstPrinterC1ERKNS_9MCAsmInfoE[llvm::MSP430InstPrinter::MSP430InstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::MSP430InstPrinter'
../../lib/libLLVMMipsDesc.a(MipsMCTargetDesc.cpp.o): In function
`llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo const&)':
MipsMCTargetDesc.cpp:(.text._ZN4llvm15MipsInstPrinterC1ERKNS_9MCAsmInfoE[llvm::MipsInstPrinter::MipsInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::MipsInstPrinter'
../../lib/libLLVMPowerPCDesc.a(PPCMCTargetDesc.cpp.o): In function
`llvm::PPCInstPrinter::PPCInstPrinter(llvm::MCAsmInfo const&, unsigned
int)':
PPCMCTargetDesc.cpp:(.text._ZN4llvm14PPCInstPrinterC1ERKNS_9MCAsmInfoEj[llvm::PPCInstPrinter::PPCInstPrinter(llvm::MCAsmInfo const&, unsigned int)]+0x2d): undefined reference to `vtable for llvm::PPCInstPrinter'
../../lib/libLLVMARMDesc.a(ARMMCTargetDesc.cpp.o): In function
`llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)':
ARMMCTargetDesc.cpp:(.text._ZN4llvm14ARMInstPrinterC1ERKNS_9MCAsmInfoE[llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::ARMInstPrinter'
../../lib/libLLVMMBlazeDesc.a(MBlazeMCTargetDesc.cpp.o): In function
`llvm::MBlazeInstPrinter::MBlazeInstPrinter(llvm::MCAsmInfo const&)':
MBlazeMCTargetDesc.cpp:(.text._ZN4llvm17MBlazeInstPrinterC1ERKNS_9MCAsmInfoE[llvm::MBlazeInstPrinter::MBlazeInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::MBlazeInstPrinter'
collect2: ld returned 1 exit status
make[2]: *** [bin/llvm-mc] Error 1
make[1]: *** [tools/llvm-mc/CMakeFiles/llvm-mc.dir/all] Error 2
make: *** [all] Error 2


Best regards,

Dawie Joubert
Senior Researcher: Information Security, Modelling and Digital Science,
CSIR

Tel: +27 12 841 3379
Fax: +27 12 841 4939
Mobile: +27 84 589 2078
E-Mail: djjoubert at csir.co.za



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110727/a950da8d/attachment.sig>


More information about the llvm-dev mailing list