[LLVMbugs] [Bug 14199] New: r166836 broke the builld
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Oct 28 09:54:34 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14199
Bug #: 14199
Summary: r166836 broke the builld
Product: Build scripts
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: release blocker
Priority: P
Component: cmake
AssignedTo: unassignedbugs at nondot.org
ReportedBy: likan_999.student at sina.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Not sure if LLVM has a continuous build system that notifies developers of such
broken build, but the revision has been checked in for 2 days but I haven't
seen any fix for that.
Basically the previous version is good, but this version is broken and latest
version is still broken with the same error.
The error message I got by using CMake is:
../../lib/libLLVMTarget.so: undefined reference to
`llvm::TargetLowering::getVectorTypeBreakdown(llvm::LLVMContext&, llvm::EVT,
llvm::EVT&, unsigned int&, llvm::EVT&) const'
I looked into the code, it is all because of the line
return TLI->getNumRegisters(Tp->getContext(), TLI->getValueType(Tp));
which makes LLVMTarget depends on LLVMSelectionDAG. I tried simply adding
target_link_libraries(LLVMTarget LLVMSelectionDAG)
to the CMake, but it doesn't work since it causes circular dependencies. Not
sure how LLVM deals with such issue.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list