From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 17:02:05 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 855C716A400 for ; Mon, 12 Mar 2007 17:02:05 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 6102E13C44C for ; Mon, 12 Mar 2007 17:02:05 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 79B2F1F779A for ; Mon, 12 Mar 2007 13:02:05 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Mon, 12 Mar 2007 13:02:05 -0400 X-Sasl-enc: jmaiFYopdHuFLKnnZkQV9WFJvc5J3B05WU49HfqX8zMe 1173718925 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 32F6C70D5 for ; Mon, 12 Mar 2007 13:02:05 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <719F520B-B7F4-4A01-B294-534393953AED@goldmark.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: questions@freebsd.org From: Jeffrey Goldberg Date: Mon, 12 Mar 2007 12:02:01 -0500 X-Mailer: Apple Mail (2.752.2) Cc: Subject: How to reinstall gcc 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 Mar 2007 17:02:05 -0000 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/