From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 12:30:36 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47A6A16A418 for ; Wed, 25 Jul 2007 12:30:36 +0000 (UTC) (envelope-from luca@lavabit.com) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 2379313C469 for ; Wed, 25 Jul 2007 12:30:35 +0000 (UTC) (envelope-from luca@lavabit.com) Received: from dispatchd.nerdshack.com (julie.lavabit.com [72.249.41.31]) by karen.lavabit.com (Postfix) with SMTP id 22902C86ED for ; Wed, 25 Jul 2007 07:09:57 -0500 (CDT) Received: from linux.site (jastpc1.epfl.ch [128.179.67.50]) by mail.nerdshack.com with ESMTP Wed, 25 Jul 2007 07:09:57 -0500 Date: Wed, 25 Jul 2007 14:04:52 +0200 From: luca To: freebsd-current@freebsd.org Message-ID: <20070725140452.261d8046@linux.site> In-Reply-To: <46A72DBC.1080400@zyxel.com.tw> References: <46A72DBC.1080400@zyxel.com.tw> X-Mailer: Sylpheed-Claws 1.0.3 (GTK+ 1.2.10; i686-suse-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Error while upgrading FreeBSD-Release6.1 to CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 12:30:36 -0000 When you install a new version of gcc from ports, the gcc command still point to the version used to build the release. What's the output of "gcc -v" ? To build with the newvest gcc, you have something like gcc42. Hope it helps luca On Wed, 25 Jul 2007 19:02:20 +0800 blue wrote: > Dear all: > > I have a problem while upgrading FreeBSD-6.1 to CURRENT. First of all, I > encountered config version mismatch. So I re-buildworld, and that error > disappeared. However, gcc version for FreeBSD-6.1 seems old since > CURRENT needs version 4.x. So I went to ports tree and install latest > gcc4.2. But after buildkernel, there was still error message: cc1: > error: unrecognized command line option "-mno-align-long-strings" > cc1: error: unrecognized command > line option "-fformat-extensions" > > I don't know what else I could do. Please help me out. > > Thanks. > > blue > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"