Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 18:44:04 +0200
From:      Jan Gyselinck <freebsd-stable@lists.b0rken.net>
To:        "R.Mahmatkhanov" <cvs-src@yandex.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Fails to build new gcc
Message-ID:  <20080423184404.B305@fire.b0rken.net>
In-Reply-To: <480F5BCB.2000805@yandex.ru>
References:  <480F5BCB.2000805@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
EOUTOFMEMORY

You need more memory, the process gets killed since it used
up all available memory.  Adding more swap usually helps
(with f.e. a swapfile).

Also, changing gcc flags helps.  -O in place of -O2 as the latter
uses more memory.  And remove -pipe helps a bit too.

This topic has been touched several times already, have a look
at the mailinglist archives if you want more information as to
why this happens etc etc...

Regards


Jan Gyselinck

On Wed, Apr 23, 2008 at 07:54:51PM +0400, R.Mahmatkhanov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Good day!
> 
> When trying to migrate one of my freebsd servers to 7.0-RELEASE i hang
> on this while making buildworld (make buildworld && make kernel
> KERNCONF=KERN13):
> 
> cc -O2 -fno-strict-aliasing -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_ols
> - -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/../../../../contr/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/includeI/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 system is:
> 
> FreeBSD puto 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 18 10:02:47 MSD
> 2007     root@puto:/usr/obj/usr/src/sys/PUTO i386
> 
> kern.ostype: FreeBSD
> kern.osrelease: 6.2-STABLE
> kern.osrevision: 199506
> kern.osreldate: 602111
> 
> I csup'ed yesterdays source in RELENG_7_0 branch and it always fail on
> this mashine when building gcc. Can please anybody suggest something on
> this issue?
> 
> PS. i've nothing special in /etc/make.conf - just some perl spam.
> PPS. please cc me when reply - i'm not subscribed on freebsd-stable@.
> 
> Thanks in advance.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (FreeBSD)
> 
> iEYEARECAAYFAkgPW8sACgkQmY+KeAh7t3DahgCfaDHPBvcgjbg6V5qRZpMKMqoj
> hscAniATvBSlKWUqS8FQ8HMNry5DZjzC
> =S9mI
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080423184404.B305>