https://llvm.org/bugs/show_bug.cgi?id=26379
Bug ID: 26379 Summary: -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLINK_POLLY_INTO_TOOLS:BOOL=ON fails to bootstrap Product: Polly Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P Component: Other Assignee: polly-...@googlegroups.com Reporter: howarth.mailing.li...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Bootstrapping current llvm/clang/polly trunk on x86_64 darwin with the cmake options -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLINK_POLLY_INTO_TOOLS:BOOL=ON fails with the error... [ 91%] Performing configure step for 'compiler-rt' cd /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins && /sw/bin/cmake -DCMAKE_C_COMPILER=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang -DCMAKE_CXX_COMPILER=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DLLVM_CONFIG_PATH=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/llvm-config -DCOMPILER_RT_OUTPUT_DIR=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./lib/clang/3.9.0 -DCOMPILER_RT_EXEC_OUTPUT_DIR=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin -DCOMPILER_RT_INSTALL_PATH:STRING=lib/clang/3.9.0 -DCOMPILER_RT_INCLUDE_TESTS=ON -DCMAKE_INSTALL_PREFIX=/sw/opt/llvm-3.9 -DCOMPILER_RT_PREFIX=/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/projects/compiler-rt -DCOMPILER_RT_SRC_ROOT=/sw/src/fink.build/llvm39-3.9.0-1/llvm-3.9.0.src/projects/compiler-rt "-GUnix Makefiles" /sw/src/fink.build/llvm39-3.9.0-1/llvm-3.9.0.src/projects/compiler-rt Re-run cmake no build system arguments -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- The ASM compiler identification is unknown -- Found assembler: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang -- Check for working C compiler: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang -- Check for working C compiler: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang -- broken CMake Error at /sw/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_84afc/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_84afc.dir/build.make CMakeFiles/cmTC_84afc.dir/build Building C object CMakeFiles/cmTC_84afc.dir/testCCompiler.c.o /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin/clang -o CMakeFiles/cmTC_84afc.dir/testCCompiler.c.o -c /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeTmp/testCCompiler.c Two passes with the same argument (-domtree) attempted to be registered! UNREACHABLE executed at /sw/src/fink.build/llvm39-3.9.0-1/llvm-3.9.0.src/include/llvm/IR/LegacyPassNameParser.h:74! 0 libLLVM.dylib 0x000000010e3e089b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43 1 libLLVM.dylib 0x000000010e3dfab6 llvm::sys::RunSignalHandlers() + 70 2 libLLVM.dylib 0x000000010e3e10bf SignalHandler(int) + 575 3 libsystem_platform.dylib 0x00007fff9cc1152a _sigtramp + 26 4 libsystem_malloc.dylib 0x00007fff9867da26 szone_malloc_should_clear + 1093 5 libLLVM.dylib 0x000000010e3e0dd6 abort + 22 6 libLLVM.dylib 0x000000010e382d7d llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 493 7 libLLVM.dylib 0x000000010e4ec58b llvm::PassNameParser::passRegistered(llvm::PassInfo const*) + 475 8 libLLVM.dylib 0x000000010e4ed5ec llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) + 220 9 clang-3.9 0x000000010c846fb1 llvm::initializeDominatorTreeWrapperPassPass(llvm::PassRegistry&) + 161 10 clang-3.9 0x000000010c8308dd llvm::initializeLoopInfoWrapperPassPass(llvm::PassRegistry&) + 61 11 clang-3.9 0x000000010ccc4bad llvm::initializeScopInfoPass(llvm::PassRegistry&) + 77 12 clang-3.9 0x000000010cc9356d llvm::initializeDependenceInfoPass(llvm::PassRegistry&) + 61 13 clang-3.9 0x000000010ccf77dd llvm::initializeCodeGenerationPass(llvm::PassRegistry&) + 61 14 clang-3.9 0x000000010cd0b11e polly::initializePollyPasses(llvm::PassRegistry&) + 14 15 clang-3.9 0x000000010c828734 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 580 16 clang-3.9 0x000000010c827450 main + 11456 17 libdyld.dylib 0x00007fff90c4e5ad start + 1 18 libdyld.dylib 0x0000000000000030 start + 1866144388 Stack dump: 0. Program arguments: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/bin/clang-3.9 -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -main-file-name testCCompiler.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 253.9 -dwarf-column-info -debugger-tuning=lldb -coverage-file /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_84afc.dir/testCCompiler.c.o -resource-dir /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/bin/../lib/clang/3.9.0 -fdebug-compilation-dir /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_84afc.dir/testCCompiler.c.o -x c /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeTmp/testCCompiler.c clang-3.9: error: unable to execute command: Illegal instruction: 4 clang-3.9: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.9.0 (trunk) Target: x86_64-apple-darwin15.4.0 Thread model: posix InstalledDir: /sw/src/fink.build/llvm39-3.9.0-1/build/stage1/./bin clang-3.9: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-3.9: error: unable to execute command: Illegal instruction: 4 clang-3.9: note: diagnostic msg: Error generating preprocessed source(s). make[4]: *** [CMakeFiles/cmTC_84afc.dir/testCCompiler.c.o] Error 254 make[3]: *** [cmTC_84afc/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:12 (project) -- Configuring incomplete, errors occurred! See also "/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeOutput.log". See also "/sw/src/fink.build/llvm39-3.9.0-1/build/stage1/tools/clang/runtime/compiler-rt-bins/CMakeFiles/CMakeError.log". -- 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