Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9
Hi Frank
On 2011/11/10 5:53 PM, "Frank Shute" <frank@shute.org.uk> wrote:
>On Thu, Nov 10, 2011 at 10:05:27AM +0000, Traiano Welcome wrote:
>>
>> Hi All
>>=20
>> 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
>>=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 <URL:http://gcc.gnu.org/bugs.html> 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
>
>Can you supply us with:
>
>$ uname -a
>$ cc -v
>$ cat /etc/make.conf
As follows:
[root@snmp-proxy02 /usr/src]# uname -a
FreeBSD snmp-proxy02 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21
15:02:08 UTC 2009 =20
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
[root@snmp-proxy02 /usr/src]# cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
My original make.conf:
ENABLE_SUID_K5SU=3DYES
# added by use.perl 2011-11-09 12:33:48
PERL_VERSION=3D5.10.1
Most recent suggestions from Damien Fleuriot:
[root@snmp-proxy02 /usr/src]# cat /etc/make.conf
SUP_UPDATE=3D yes
SUP=3D /usr/bin/csup
SUPFLAGS=3D -zgL 2
SUPHOST=3D cvsup2.za.freebsd.org
SUPFILE=3D /etc/cvsup/stable-supfile
PORTSSUPFILE=3D /etc/cvsup/ports-supfile
DOCSUPFILE=3D /etc/cvsup/doc-supfile
ENABLE_SUID_K5SU=3DYES
# added by use.perl 2011-11-09 12:33:48
PERL_VERSION=3D5.10.1
I see the same compile issue with both variants of my make.conf.
>
>
>Regards,
>
>--=20
>
> Frank
>
> Contact info: http://www.shute.org.uk/misc/contact.html
>
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 9 之 17 篇):