Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 10:05:27 +0000
From:      Traiano Welcome <Traiano.Welcome@mtnbusiness.co.za>
To:        freebsd questions <freebsd-questions@freebsd.org>
Subject:   FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)
Message-ID:  <CAE16EAB.338A9%traiano.welcome@mtnbusiness.co.za>

next in thread | raw e-mail | index | archive | help
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


My stable-supfile is as follows:

---
 *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
---


 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=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
-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 <URL:http://gcc.gnu.org/bugs.html>; 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE16EAB.338A9%traiano.welcome>