Hi, I tried to build 11.0-RC1 from two machines here, my home server and a vm I installed and updated to 10.2 just to test for the real deal on that server. Both failed on the same spot:
c++ -O2 -pipe -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/include -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/include -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen -I. -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src-11.0/tmp\" -MD -MF.depend.CGBlocks.o -MTCGBlocks.o -Qunused-arguments -I/usr/obj/usr/src-11.0/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp -o CGBlocks.o Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd10.2 -emit-obj -disable-free -disable-llvm-verifier -main-file-name CGBlocks.cpp -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -coverage-file /usr/obj/usr/src-11.0/tmp/usr/src-11.0/lib/clang/libclangcodegen/CGBlocks.o -resource-dir /usr/bin/../lib/clang/3.4.1 -dependency-file .depend.CGBlocks.o -sys-header-deps -MT CGBlocks.o -D LLVM_ON_UNIX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D NDEBUG -D LLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd11.0" -D LLVM_HOST_TRIPLE="x86_64-unknown-freebsd11.0" -D DEFAULT_SYSROOT="/usr/obj/usr/src-11.0/tmp" -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/include -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/include -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen -I . -I /usr /src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/../../lib/clang/include -I /usr/obj/usr/src-11.0/tmp/legacy/usr/include -internal-isystem /usr/include/c++/v1 -O2 -Wno-c++11-extensions -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src-11.0/tmp/usr/src-11.0/lib/clang/libclangcodegen -ferror-limit 19 -fmessage-length 237 -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CGBlocks.o -x c++ /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp'. 4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeEEEvRNS0_11CallArgListEPKT_N4llvm14iterator_rangeINS_4Stmt17ConstExprIteratorEEEPKNS_12FunctionDeclEj' c++: error: unable to execute command: Segmentation fault (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.2 Thread model: posix c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/CGBlocks-8d0592.cpp c++: note: diagnostic msg: /tmp/CGBlocks-8d0592.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. bmake[4]: stopped in /usr/src-11.0/lib/clang/libclangcodegen *** Error code 1 Stop. bmake[3]: stopped in /usr/src-11.0/lib/clang *** Error code 1 Stop. bmake[2]: stopped in /usr/src-11.0 *** Error code 1 Stop. bmake[1]: stopped in /usr/src-11.0 *** Error code 1 Stop. make: stopped in /usr/src-11.0 I even followed the hint and opened a bug report: c++ -O2 -pipe -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/include -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/include -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen -I. -I/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src-11.0/tmp\" -MD -MF.depend.CGBlocks.o -MTCGBlocks.o -Qunused-arguments -I/usr/obj/usr/src-11.0/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp -o CGBlocks.o Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd10.2 -emit-obj -disable-free -disable-llvm-verifier -main-file-name CGBlocks.cpp -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -coverage-file /usr/obj/usr/src-11.0/tmp/usr/src-11.0/lib/clang/libclangcodegen/CGBlocks.o -resource-dir /usr/bin/../lib/clang/3.4.1 -dependency-file .depend.CGBlocks.o -sys-header-deps -MT CGBlocks.o -D LLVM_ON_UNIX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D NDEBUG -D LLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-freebsd11.0" -D LLVM_HOST_TRIPLE="x86_64-unknown-freebsd11.0" -D DEFAULT_SYSROOT="/usr/obj/usr/src-11.0/tmp" -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/include -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/include -I /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen -I . -I /usr /src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/../../lib/clang/include -I /usr/obj/usr/src-11.0/tmp/legacy/usr/include -internal-isystem /usr/include/c++/v1 -O2 -Wno-c++11-extensions -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src-11.0/tmp/usr/src-11.0/lib/clang/libclangcodegen -ferror-limit 19 -fmessage-length 237 -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CGBlocks.o -x c++ /usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp'. 4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeEEEvRNS0_11CallArgListEPKT_N4llvm14iterator_rangeINS_4Stmt17ConstExprIteratorEEEPKNS_12FunctionDeclEj' c++: error: unable to execute command: Segmentation fault (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.2 Thread model: posix c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/CGBlocks-8d0592.cpp c++: note: diagnostic msg: /tmp/CGBlocks-8d0592.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. bmake[4]: stopped in /usr/src-11.0/lib/clang/libclangcodegen *** Error code 1 Stop. bmake[3]: stopped in /usr/src-11.0/lib/clang *** Error code 1 Stop. bmake[2]: stopped in /usr/src-11.0 *** Error code 1 Stop. bmake[1]: stopped in /usr/src-11.0 *** Error code 1 Stop. make: stopped in /usr/src-11.0 Is this known? thanks, matheus -- "We will call you Cygnus, the God of balance you shall be." _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"