buildworld failure r223619 to 225128

From: Beach Geek <labeachgeek_at_gmail.com>
Date: Thu, 25 Aug 2011 10:12:25 -0500
make buildworld failed trying to upgrade from r223619 to r225128.
(Note: Updating other boxes from r224774 to r225119 went flawless)

On failing laptop (Toshibs Sat C655D)

uname -v
FreeBSD 9.0-CURRENT #0 r223619 Tue Jun 28 CDT 2011 ...

svn info /usr/src
URL: svn.freebsd.org/base/head
...
Revision: 225128
...
Last changed Rev:225125
Last changed Date: 2011-08-23


// Begin last part of "make buildworld"  ouput (by hand)

In file included from /usr/include/c++/4.2/string:50,
                     from /usr/src/lib/clang/libllvmsupport/../

../../contrib/llvm/include/llvm/Support/DOTGraphTraits.h:20,
                     from /usr/src/lib/clang/libllvmsupport/../
                                   ../../contrib/llvm/Support/GraphWriter.h:26,
                     from /usr/src/lib/clang/libllvmsupport/../

../../contrib/llvm/lib/Support/GraphWriter.cpp:14:
/usr/include/c++/4.2/bits/basic_string.tcc:979: instantiated from here
/usr/include/c++/4.2/bits/stringfwd.h:56: internal compiler error:
Segmentation fault: 11
Please submit full report,
...
...
*** Error code 1
Stop in /usr/src/lib/clang/libllvmsupport.
*** Error code 1
Stop in /usr/src.
*** Error code 1
(above 2 lines repeated twice)

// End of output.

I do "rm -r /usr/obj/*" and make clean (in /usr/src)  before doing
buildworld on all boxes.
I also tried compiling new GENERIC kernel then doing buildworld.  It
failed with same message.

Reverted to old/original kernel and tried "make depend" in /usr/src.
It failed with... (by hand again)

===> lib/clang/libllvmarmasmparser (depend)
tblgen -l /usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target/ARM
-I /usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/include
-I /usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target
-gen-asm-matcher -o ARMGenAsm Matcher.inc.h
/usr/src/lib/clang/libllvmarmasmparser/../../../contrib/llvm/lib/Target/ARM/ARM.td

tblgen: Record 'CCR', field 'MemberList' does not have a list initializer!
*** Error code 1
Stop in /usr/src/lib/clang/libllvmarmasmparser.


I tried my best to make sure there are no typos.

Any suggestions?

I thought of 3 options...
1) update to r224774 first, then to r225119 (or r225128).  To mimic other boxes.
2) build/install new kernel then "make depend" and then try buildworld.
3) find help from mailing list to fix this buildworld error.  ;-))

Number 1 .... might work.  Shot in the dark.
Number 2 ... I'm already past r221543, so "make depend" shouldn't be
required, and I'm not in that small version window that requires
installing new kernel before buildworld.
Number 3 .... email mailing list for help....tada!!!

Any help or suggestions will be appreciated.
Thanks,
Beach Geek

PS. If I missed a relevant post or link, please post link (and I'll
sit in corner with hat)
Received on Thu Aug 25 2011 - 13:41:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC