From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 11:53:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D814106564A for ; Thu, 10 Nov 2011 11:53:00 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9B98FC14 for ; Thu, 10 Nov 2011 11:53:00 +0000 (UTC) Received: by pzk33 with SMTP id 33so3584254pzk.3 for ; Thu, 10 Nov 2011 03:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type; bh=OdNWeiUtrFAsVtxB697UQbBIIgsIznBMt2bwcDYWxZs=; b=Qt/tUPS1HweZAenJ5DeHeUkM9mV3UC4PCwjE91HOoyy0ueE2iAlgHFVG5q16/+5d/R LqCqS85G1oOZ++xVeJ73IpGG1JR7cn2TNeNsCNDSfTLALDKkITVPVaZQS4qA6tRNMi/F ZuXQILRKEvbsg49vmnktlOWLEOTR9mjrp3+/w= Received: by 10.68.30.99 with SMTP id r3mr13685485pbh.54.1320924534544; Thu, 10 Nov 2011 03:28:54 -0800 (PST) Received: from localhost ([114.244.163.56]) by mx.google.com with ESMTPS id p10sm20764644pbd.15.2011.11.10.03.28.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Nov 2011 03:28:53 -0800 (PST) From: darcsis@gmail.com (Denise H. G.) To: Traiano Welcome In-Reply-To: (Traiano Welcome's message of "Thu, 10 Nov 2011 10:05:27 +0000") Organization: Pluto The Planet References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) X-Envelope-To: Traiano.Welcome@mtnbusiness.co.za Mail-Followup-To: Traiano Welcome , freebsd questions Date: Thu, 10 Nov 2011 19:28:46 +0800 Message-ID: <87fwhwrzbl.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd questions Subject: Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 11:53:00 -0000 On 2011/11/10 at 18:05, Traiano Welcome wrote: > > Hi All > I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or > better. My upgrade sequence would be as follows: > > 0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/* > and rm -rf /usr/obj) > 1. csup -L 2 stable supfile. > 2. cd /usr/src; make buildworld && make buildkernel && make installkernel > && make installworld && reboot > 3. mergemaster -p && make installworld && mergemaster && reboot > No. your upgrade steps are a little bit wrong. Just follow this: build world -> build kernel -> install kernel -> reboot to singler user -> mergemaster -p -> install world -> mergemaster -> make delete-old ... You'd better take a look at /usr/src/UPGRADING, which contains details about upgrade steps. > > My stable-supfile is as follows: > > --- > *default host=cvsup2.za.freebsd.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_8_2 > *default delete use-rel-suffix > src-all > --- > > > However, I'm not getting past "make buildworld". Below is the tail end of > my make buildworld: > > --- > . > . > . > > cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H > -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" > -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include > -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber > -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c > cc: Internal error: Killed: 9 (program cc1) > Please submit a full bug report. > See for instructions. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc/cc_int. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > --- > > > My questions are: > > - Is this a known issue (can't seem to find much on google) ? > - If not, how would I go about pinpointing the root cause of this compile > error. Upping the make debug level doesn't seem to get my any more > detailed information that I can use . > > I've run csup multiple times (with multiple make clean;make > cleanworld;make cleandir in between) across 48 hours , but each update to > my source tree doesn't seem to get any different result. > > I've also tried upgrading my userland tools before doing the upgrade > (portupgrade -a) in the hope that the my compiler tools might have been > updated to fix this. > > > Any advice would be appreciated, > Traiano > > > ................ -- History proves nothing.