From owner-freebsd-questions@FreeBSD.ORG Mon Sep 12 17:08:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB6F216A41F for ; Mon, 12 Sep 2005 17:08:50 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CE243D48 for ; Mon, 12 Sep 2005 17:08:50 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8CH8n0r014710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2005 13:08:49 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8CH8n6P028694; Mon, 12 Sep 2005 13:08:49 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 974B6514DA; Mon, 12 Sep 2005 13:08:48 -0400 (EDT) Date: Mon, 12 Sep 2005 13:08:48 -0400 From: Kris Kennaway To: Axel.Gruner@suedfactoring.de Message-ID: <20050912170848.GB18713@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: gcc broken in my userland 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: Mon, 12 Sep 2005 17:08:51 -0000 --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 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--