[cfe-dev] libLLVMX86AsmPrinter.so undefined reference error

Ryuta Suzuki ryuuta at gmail.com
Thu Jul 28 14:15:26 PDT 2011


Hi,

I've got the following link error when building LLVM by CMake:

Linking CXX executable ../../bin/llvm-mc
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeUNPCKLPDMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeUNPCKHPMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeMOVLHPSMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeUNPCKLPSMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePUNPCKLWDMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePUNPCKHMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePUNPCKLQDQMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeSHUFPSMask(unsigned int, unsigned int,
llvm::SmallVectorImpl<unsigned int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeVPERMILPSMask(unsigned int, unsigned int,
llvm::SmallVectorImpl<unsigned int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePSHUFMask(unsigned int, unsigned int,
llvm::SmallVectorImpl<unsigned int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePSHUFLWMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePUNPCKLDQMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePSHUFHWMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodePUNPCKLBWMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeINSERTPSMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
../../lib/libLLVMX86AsmPrinter.so: undefined reference to
`llvm::DecodeMOVHLPSMask(unsigned int, llvm::SmallVectorImpl<unsigned
int>&)'
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

Do we need to update CMake-related file(s)?

Regards,

Ryuta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110729/fc4dfa82/attachment.html>


More information about the cfe-dev mailing list