From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 18:52:53 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 572C0106564A for ; Thu, 25 Aug 2011 18:52:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 19CD38FC1C for ; Thu, 25 Aug 2011 18:52:53 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b536:379a:a51e:eaad] (unknown [IPv6:2001:7b8:3a7:0:b536:379a:a51e:eaad]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9D38A5C59; Thu, 25 Aug 2011 20:52:50 +0200 (CEST) Message-ID: <4E569A02.30206@FreeBSD.org> Date: Thu, 25 Aug 2011 20:52:50 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: Beach Geek References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: buildworld failure r223619 to 225128 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 18:52:53 -0000 On 2011-08-25 17:12, Beach Geek wrote: > 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) .... > /usr/include/c++/4.2/bits/stringfwd.h:56: internal compiler error: > Segmentation fault: 11 > Please submit full report, That is most likely a hardware problem. Please run a full memtest, and/or any other hardware diagnostics you can find. It could also be running out of memory, but that is less likely, and you usually get another signal then. But who knows what might happen if you choke a compiler. :) > 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. It dies on exactly the same file? > Reverted to old/original kernel and tried "make depend" in /usr/src. You can't do that, you must run buildworld. > 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. Yes, this is expected. When you do not use the buildworld target, the tblgen used above will be run from /usr/bin, which is too old. This is why buildworld first builds an up-to-date tblgen under /usr/obj, and uses that to generate the needed files.