Created attachment 173878 [details] script After updating sources to 11.0-RC1, when making buildworld, I get: 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src/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-5b9c86.cpp c++: note: diagnostic msg: /tmp/CGBlocks-5b9c86.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. bmake[4]: stopped in /usr/src/lib/clang/libclangcodegen *** Error code 1 Stop. bmake[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. bmake[2]: stopped in /usr/src *** Error code 1 Stop. bmake[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src
Cant add the cpp file that the message says to. I get the error: 413 Request Entity Too Large
Created attachment 173879 [details] compressed code part 1
Created attachment 173880 [details] compressed code part 2
Created attachment 173881 [details] compressed code part 3
I'm seeing something similar. I beleieve the bug is that we run 10.2 and want to get to 11.0. Building 11.0 on 10.3 works fine. include -internal-isystem /usr/include/c++/v1 -O2 -Wno-c++11-extensions -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src/tmp/usr/src/lib/clang/libclangcodegen -ferror-limit 19 -fmessage-length 178 -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CGBlocks.o -x c++ /usr/src/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/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-38123e.cpp c++: note: diagnostic msg: /tmp/CGBlocks-38123e.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. bmake[4]: stopped in /usr/src/lib/clang/libclangcodegen *** Error code 1 Stop. bmake[3]: stopped in /usr/src/lib/clang *** Error code 1 Stop. bmake[2]: stopped in /usr/src *** Error code 1 Stop. bmake[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src
Close this as 11.0 and 10.2 are not supported anymore, please report if there is still a building issue in supported versions or -CURRENT. Thanks!