Date: Mon, 12 Sep 2005 13:08:48 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Axel.Gruner@suedfactoring.de Cc: freebsd-questions@freebsd.org Subject: Re: gcc broken in my userland Message-ID: <20050912170848.GB18713@xor.obsecurity.org> In-Reply-To: <OF0D53F75E.F4B07B4D-ONC125707A.0047C9C3-C125707A.0047C9C7@suedfac.com> References: <OF0D53F75E.F4B07B4D-ONC125707A.0047C9C3-C125707A.0047C9C7@suedfac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 12, 2005 at 03:04:07PM +0200, Axel.Gruner@suedfactoring.de wrot= e: >=20 > Hi, >=20 > i am running FreeBSD 5.4-RELEASE-p6. If i try ro upgrade a port, i receive > a bus error from gcc. > So i installed the gcc34 from the ports, did the changes in /etc/make.con= f, > and upgrading of the ports works fine. > The problem is, how to build the world if the gcc in the base system is > broken? > I get this error: >=20 > cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c > /usr/src/games/fortune/strfile/strfile.c > /usr/src/games/fortune/strfile/strfile.c: In function `main': > /usr/src/games/fortune/strfile/strfile.c:260: internal compiler error: Bus > error > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://gcc.gnu.org/bugs.html> for instructions. > *** Error code 1 >=20 > So, how to fix the gcc in the basesystem? Reinstall from backup or install media, or you may be able to repair it by setting CC to point to the gcc34 binary and CXX to the g++34, and doing a buildworld. This is unsupported though and may not work, and may make things worse. Kris --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDJbYfWry0BWjoQKURAgxKAJwMjjDTdpr38lnRu0TNx47GdIoiAgCbBOMq rvI7soonMX2HtfGniJUww8s= =y24g -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050912170848.GB18713>