From owner-freebsd-current@FreeBSD.ORG Sun Oct 16 16:46:17 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 C1F44106564A for ; Sun, 16 Oct 2011 16:46:17 +0000 (UTC) (envelope-from labeachgeek@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 890B38FC13 for ; Sun, 16 Oct 2011 16:46:17 +0000 (UTC) Received: by iaky10 with SMTP id y10so6374599iak.13 for ; Sun, 16 Oct 2011 09:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9qJR81ntVZu/mBDqc1jdi1NUjKOQFBZdHljoTuLi0pA=; b=sCqGgn1sG9SH/BQgursTn4VBY5B2WJvu3GceWIeTh+IACWkYTzRD5/8XsUbdNhPsun GghrR83elHyXjhOskh10tJcnqd1BnLg8PMl2k40kKGVf9SAdPQqE2udVrmsEKCd9126W iZ0/lOSnJ8M75xS8PdQR5dLnDBl8hzGJVsbus= Received: by 10.42.153.6 with SMTP id k6mr31725122icw.30.1318781988168; Sun, 16 Oct 2011 09:19:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.15.5 with HTTP; Sun, 16 Oct 2011 09:19:18 -0700 (PDT) In-Reply-To: References: <4E569A02.30206@FreeBSD.org> From: Beach Geek Date: Sun, 16 Oct 2011 11:19:18 -0500 Message-ID: To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sun, 16 Oct 2011 16:46:17 -0000 On Thu, Sep 1, 2011 at 6:49 PM, Beach Geek wrote: > On 8/27/11, Matt Thyer wrote: > > Have you tried moving aside your existing /usr/src and checking it out > > afresh? > > On Aug 28, 2011 12:47 AM, "Beach Geek" wrote: > >> On 8/25/11, Dimitry Andric wrote: > >>> 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. > >>> > >> > >> This laptop also runs MS Win 7/64 and FreeBSD 9 amd. The FBSD amd > upgraded > > ok. > >> > >> The buildworld always fails in same place, with same message (5 tries). > >> I'm running diags on it right now just to make sure the hardware's good. > >> > >> The reason I tried "make depend" was because of a reference to r221543 > >> that said it required "make depend" before buildworld. (a shot in the > >> dark before posting to mail list). > >> > >> I will post if I find any hardware problems. > >> > >> Thanks, > >> Beach Geek > >> > >> PS. Option on updating to a version inbetween, then to latest??? > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > > Just an update: > 1) Hardware diagnostics showed no problems. > 2) Backed up and deleted contents of /usr/src and copied it from a box > that upgraded ok. Still fails same place. > 3) Deleted contents of /usr/src again, loaded seed, and "svn up > /usr/src". Failed and rebooted. I'll be running buildworld again and > try to catch msg before reboot. > > Thanks, > Beach Geek > Just to close this thread out... After quite a few more svn upgrades and buildworlds, and try the suggestions in this thread and sent directly to me.... I gave up. :( Final solution, boot from memstick image, use DESTDIR= with buildworld/buildkernel/etc, upgrade to 9-beta3 went fine. Then "svn up /usr/src to lastest, and buildworld/buildkernel/etc again... life is good. ;) Would have been nice to know why buildworld was failing before, but using the memstick got me current with all my data intacted. Thanks for all the suggestions and help. Beach Geek PS. A side note, we got a native driver working for the RTL8188CE wireless card, but it's still really buggy, but it's a start.