Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 12:02:01 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        questions@freebsd.org
Subject:   How to reinstall gcc
Message-ID:  <719F520B-B7F4-4A01-B294-534393953AED@goldmark.org>

next in thread | raw e-mail | index | archive | help
I seem to have broken gcc on my 6.2-RELEASE p2 system.  I apparently  
did this by adding

CPUTYPE?=c3

to /etc/make.conf and then a make buildworld and make install world.

Everything seems to be working fine (though I haven't tested  
throughly), but now  gcc is definitely broken.  Most compile attempts  
end with something like

  internal compiler error: Illegal instruction: 4

I have been able to successfully compile hello.c, but a buildworld  
fails as described above as does the things I've tested in ports  
(pcre, curl, ispell).

My question is without a functioning gcc, how do a install a  
functioning gcc?

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?719F520B-B7F4-4A01-B294-534393953AED>