Bug 212006

Summary: Error building 11.0-RC1 from 10.2-Release
Product: Base System Reporter: lojas
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: girgen, lwhsu
Priority: ---    
Version: 11.0-RC1   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
script
none
compressed code part 1
none
compressed code part 2
none
compressed code part 3 none

Description lojas 2016-08-20 03:09:25 UTC
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
Comment 1 lojas 2016-08-20 03:14:07 UTC
Cant add the cpp file that the message says to. I get the error:

413 Request Entity Too Large
Comment 2 lojas 2016-08-20 03:20:41 UTC
Created attachment 173879 [details]
compressed code part 1
Comment 3 lojas 2016-08-20 03:21:01 UTC
Created attachment 173880 [details]
compressed code part 2
Comment 4 lojas 2016-08-20 03:21:16 UTC
Created attachment 173881 [details]
compressed code part 3
Comment 5 Palle Girgensohn freebsd_committer freebsd_triage 2016-09-01 23:04:52 UTC
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
Comment 6 Li-Wen Hsu freebsd_committer freebsd_triage 2020-10-28 05:29:20 UTC
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!