From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 2 06:34:40 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DB2316A52A; Tue, 2 Mar 2004 06:34:40 -0800 (PST) Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 500D643D1D; Tue, 2 Mar 2004 06:34:40 -0800 (PST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from sj-core-5.cisco.com (171.71.177.238) by sj-iport-3.cisco.com with ESMTP; 02 Mar 2004 06:46:48 +0000 Received: from flask.cisco.com (IDENT:mirapoint@flask.cisco.com [161.44.122.62]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id i22EYXiS021199; Tue, 2 Mar 2004 06:34:36 -0800 (PST) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [161.44.65.27]) by flask.cisco.com (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id AGL28812; Tue, 2 Mar 2004 09:34:32 -0500 (EST) Received: from bmcgover-pc.cisco.com (localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.12.9/8.12.9) with ESMTP id i22EYWgx000366; Tue, 2 Mar 2004 09:34:32 -0500 (EST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <200403021434.i22EYWgx000366@bmcgover-pc.cisco.com> To: Kirill Ponomarew In-reply-to: Your message of "Tue, 02 Mar 2004 15:25:12 +0100." <20040302142512.GG41765@voodoo.oberon.net> Date: Tue, 02 Mar 2004 09:34:32 -0500 From: "Brian J. McGovern" cc: bmcgover@bmcgover-pc.cisco.com cc: sparc64@freebsd.org Subject: Re: buildkernel fails X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 14:34:40 -0000 I'm no expert on Sparc, but this has a classic symptom of bad memory or the supporting hardware. For chuckles, try rerunning the command w/o cleaning up in between. If you eventually make it through, odds are, its RAM. Depending on how bad the ram is, you may have to do this alot (had a bad x86 box, recently, where a buildworld took some 30 attempts, but made it). If it was dying in the same place repeatedly, I'd suspect bad code, and then bad tools, in that order. :) > > --MrRUTeZlqqNo1jQ9 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > Hi, > > I tried to recompile the kernel today, without updating and > buildworld, and it failed 3 times, everytime in different > places: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc > -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h > -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float > -ffreestanding -Werror /usr/src/sys/kern/vfs_subr.c > cc: Internal error: Segmentation fault (program as) > Please submit a full bug report. > See for instructions. > *** Error code 1 > > ===> kue > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/sys/VIKING > /usr/src/sys/modules/kue/../../dev/usb/if_kue.c > Segmentation fault (core dumped) > *** Error code 139 > > ===> bridge > cc -O -pipe -D_KERNEL -DKLD_MODULE -nostdinc -I--include > /usr/obj/usr/src/sys/VIKING/opt_global.h -I. -I@ -I@/../include -fi nline-limit=15000 > -fno-common -g -I/usr/obj/usr/src/sys/VIKING -mcmodel=medlow -msoft -float > -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr ototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat -extensions -std=c99 > -c /usr/src/sys/net/bridge.c > machine/atomic.h: In function `atomic_cmpset_ptr': > machine/atomic.h:278: internal compiler error: Segmentation fault > Please submit a full bug report, with preprocessed source if appropriate. > > Before every build I cleaned up /usr/obj > > Is that known problem ? > > -Kirill > > --MrRUTeZlqqNo1jQ9 > Content-Type: application/pgp-signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (FreeBSD) > > iD8DBQFARJlIQC1G6a60JuURAjgLAKDw4230SJUa0knURqm6ZMA+YzZHoQCgzVQS > TJeUw8xRz1ActkBO2jNWo+U= > =/8LC > -----END PGP SIGNATURE----- > > --MrRUTeZlqqNo1jQ9--