From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 12:57:36 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 BEAE5106564A for ; Thu, 10 Nov 2011 12:57:36 +0000 (UTC) (envelope-from Traiano.Welcome@mtnbusiness.co.za) Received: from smtprelay01.ops.mtnbusiness.co.za (smtprelay01.ops.mtnbusiness.co.za [41.181.93.235]) by mx1.freebsd.org (Postfix) with ESMTP id 09D838FC13 for ; Thu, 10 Nov 2011 12:57:35 +0000 (UTC) Received: from [196.30.97.135] (helo=CPT-EXCH01.int.mtnbusiness.net) by smtprelay01.ops.mtnbusiness.co.za with esmtp (ULTRA Special SMTP Internal Alpha) (envelope-from ) id 1ROUCC-0008Yi-Tp; Thu, 10 Nov 2011 14:57:32 +0200 Received: from CPT-EXCH01.int.mtnbusiness.net ([196.30.97.135]) by cpt-exch01 ([196.7.22.110]) with mapi id 14.01.0218.012; Thu, 10 Nov 2011 14:56:48 +0200 From: Traiano Welcome To: "Denise H. G." Thread-Topic: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1) Thread-Index: AQHMn6g0qUlu8LW7MESFcozt3jVIdw== Date: Thu, 10 Nov 2011 12:56:47 +0000 Message-ID: In-Reply-To: <87fwhwrzbl.fsf@pluton.xbsd.name> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.0.0.100825 x-originating-ip: [196.30.72.139] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 12:57:36 -0000 Hi=20 Thanks for the feedback. On 2011/11/10 1:28 PM, "Denise H. G." wrote: > >On 2011/11/10 at 18:05, Traiano Welcome > wrote: >>=20 >> 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: >>=20 >> 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 >>=20 > >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 ... I'd be happy to try this sequence, however I don't make it past "make buildworld".=20 (of note, the sequence I used above works on all my other boxen though) I've just scrutinised /usr/src/UPDATING (there is no file called UPGRADING ? ) and can't seem to find anything specific to this make fail. File version as follows: $FreeBSD: src/UPDATING,v 1.632.2.19.2.6 2011/10/04 19:07:38 cperciva Exp $ I'm following the process outlined in the FreeBSD manual up until "make buildworld", and can't see where I might be wrecking things: 1) synching the source: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html =20 (... BTW, note to editor: I see nothing in this section of the manual about "csup"? 2) building world: =20 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html BTW: I've just upgraded my binutils (as, ld) as there was a reference in the UPDATING file to an ld bug, but that did not seem to affect anything. > >You'd better take a look at /usr/src/UPGRADING, which contains details >about upgrade steps. > > >>=20 >> My stable-supfile is as follows: >>=20 >> --- >> *default host=3Dcvsup2.za.freebsd.org >> *default base=3D/var/db >> *default prefix=3D/usr >> *default release=3Dcvs tag=3DRELENG_8_2 >> *default delete use-rel-suffix >> src-all >> --- >>=20 >>=20 >> However, I'm not getting past "make buildworld". Below is the tail end >>of >> my make buildworld: >>=20 >> --- >> . >> . >> . >>=20 >> cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H >> -DPREFIX=3D\"/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 >>=20 >>-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/inclu >>de >> =20 >>-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 >>=20 >> Stop in /usr/src/gnu/usr.bin/cc/cc_int. >> *** Error code 1 >>=20 >> Stop in /usr/src/gnu/usr.bin/cc. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> --- >>=20 >>=20 >> My questions are: >>=20 >> - 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 . >>=20 >> 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. >>=20 >> 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. >>=20 >>=20 >> Any advice would be appreciated, >> Traiano >>=20 >>=20 >> ................ > > > >--=20 >History proves nothing.