https://llvm.org/bugs/show_bug.cgi?id=28835
Bug ID: 28835 Summary: LLVM_ENABLE_OBJLIB broken on trunk. Breaks a full build on macOS Sierra 10.12 Product: tools Version: trunk Hardware: Macintosh OS: MacOS X Status: NEW Severity: release blocker Priority: P Component: TableGen Assignee: unassignedb...@nondot.org Reporter: pkou...@mac.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16872 --> https://llvm.org/bugs/attachment.cgi?id=16872&action=edit Output of $ >| nakedryrun.1.txt && make -n >> nakedryrun.1.txt 2>&1 & System: - macOS Sierra 10.12 public beta 3 - Xcode 8 beta 4: Apple LLVM version 8.0.0 (clang-800.0.35) Target: x86_64-apple-darwin16.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Description: Downloaded the latest trunk (Update to HEAD: . at revision 277660) And a "make -n" after a fairly standard "cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -G "Unix Makefiles" ../llvm" errors out like this... /Applications/CMake.app/Contents/bin/cmake -E cmake_echo_color --switch= --progress-dir=/Users/Me/Dev/build/CMakeFiles --progress-num=99 "Built target obj.llvm-tblgen" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/llvm-tblgen.dir/depend cd /Users/Me/Dev/build && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/Me/Dev/llvm /Users/Me/Dev/llvm/utils/TableGen /Users/Me/Dev/build /Users/Me/Dev/build/utils/TableGen /Users/Me/Dev/build/utils/TableGen/CMakeFiles/llvm-tblgen.dir/DependInfo.cmake --color= /Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/llvm-tblgen.dir/build make[2]: *** No rule to make target `utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o', needed by `bin/llvm-tblgen'. Stop. make[1]: *** [utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2 make: *** [all] Error 2 Looking at the file history for both cmake/modules/AddLLVM.cmake and cmake/modules/TableGen.cmake, I found a dubious Fix Me and some past breakage. See https://smlnj-gitlab.cs.uchicago.edu/manticore/llvm/commit/68027c4618270e93bc8627e78a82557fca9a7bab Is it safe to proceed (seems like not) disabling this feature? From a cursory review looks like this flag is attempting to set up a shared object lib for two targets LLVMTableGen and LLVMSupport. Will try doing without. I've added the full output of my configure and build. Thanks in advance. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs