gcc broken in my userland

Kris Kennaway kris at obsecurity.org
Mon Sep 12 10:08:51 PDT 2005


On Mon, Sep 12, 2005 at 03:04:07PM +0200, Axel.Gruner at suedfactoring.de 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050912/3c325e08/attachment.bin


More information about the freebsd-questions mailing list