[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] libLLVMX86AsmPrinter.so undefined reference error
From:       Ryuta Suzuki <ryuuta () gmail ! com>
Date:       2011-07-29 9:28:06
Message-ID: 974C8F50-3946-48A1-896D-91C247CECAB8 () gmail ! com
[Download RAW message or body]

I posted to the wrong mailing list. Sorry about that.

On Jul 29, 2011, at 6:15 AM, Ryuta Suzuki <ryuuta@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

_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic