Link failure after your commit r238201

Diego Novillo dnovillo at google.com
Tue May 26 09:49:46 PDT 2015


Luke,

With your commit at r238201, I'm getting the following link error on Linux:

lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ISelDAGToDAG.cpp.o:
In function `(anonymous
namespace)::AArch64DAGToDAGISel::SelectReadRegister(llvm::SDNode*)':
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2169: undefined reference to
`llvm::AArch64SysReg::MRSMapper::MRSMapper()'
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2171: undefined reference to
`llvm::AArch64SysReg::SysRegMapper::fromString(llvm::StringRef,
llvm::FeatureBitset const&, bool&) const'
lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ISelDAGToDAG.cpp.o:
In function `(anonymous
namespace)::AArch64DAGToDAGISel::SelectWriteRegister(llvm::SDNode*)':
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2203: undefined reference to
`llvm::AArch64PState::PStateMapper::PStateMapper()'
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2205: undefined reference to
`llvm::AArch64NamedImmMapper::fromString(llvm::StringRef,
llvm::FeatureBitset const&, bool&) const'
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2221: undefined reference to
`llvm::AArch64SysReg::MSRMapper::MSRMapper()'
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:2222: undefined reference to
`llvm::AArch64SysReg::SysRegMapper::fromString(llvm::StringRef,
llvm::FeatureBitset const&, bool&) const'
clang-3.7: error: linker command failed with exit code 1 (use -v to see
invocation)

The build works fine with that commit reverted in my tree.  Maybe there's a
new bit you did not include in it?


Thanks.  Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150526/3e05a69e/attachment.html>


More information about the llvm-commits mailing list