[cfe-dev] libLLVMX86AsmPrinter.so undefined reference error
Ryuta Suzuki
ryuuta at gmail.com
Fri Jul 29 02:28:06 PDT 2011
I posted to the wrong mailing list. Sorry about that.
On Jul 29, 2011, at 6:15 AM, Ryuta Suzuki <ryuuta at gmail.com> wrote:
> 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
More information about the cfe-dev
mailing list