On Mon, Sep 12, 2005 at 03:04:07PM +0200, [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> 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.conf,
> 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:
> 
> 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
> 
>  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

Attachment: pgpchJqCNeAJ5.pgp
Description: PGP signature

Reply via email to