From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 12:50:01 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 C8C0216A41A for ; Wed, 25 Jul 2007 12:50:01 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by mx1.freebsd.org (Postfix) with ESMTP id 99BE513C459 for ; Wed, 25 Jul 2007 12:50:01 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-3.cisco.com with ESMTP; 25 Jul 2007 05:50:01 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJrjpkarR7MV/2dsb2JhbAA X-IronPort-AV: i="4.16,580,1175497200"; d="scan'208"; a="506838700:sNHT30695428" Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l6PCo1oh029257; Wed, 25 Jul 2007 05:50:01 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l6PCo06C008429; Wed, 25 Jul 2007 12:50:00 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Jul 2007 05:49:59 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Jul 2007 05:49:59 -0700 Message-ID: <46A7471E.6050507@cisco.com> Date: Wed, 25 Jul 2007 08:50:38 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070601 X-Accept-Language: en-us, en MIME-Version: 1.0 To: blue References: <46A72DBC.1080400@zyxel.com.tw> In-Reply-To: <46A72DBC.1080400@zyxel.com.tw> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2007 12:49:59.0621 (UTC) FILETIME=[4F7D7750:01C7CEBA] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1204; t=1185367801; x=1186231801; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20Error=20while=20upgrading=20FreeBSD-Release6.1=20to=2 0CURRENT |Sender:=20; bh=7snGHUZA12wePZaJ2CCY1GQhWnck0ni9xQBJKXyCx2c=; b=VdjxIlVwI1NC76EZgLCzUgyYDraC8B6P/q0KNN+2hWPoqf4kAWgjErFffLM0szzQofeWnWyU QyiNOcpCBD+ch1eUm/MCaIP0A9JCNG5veloOlfDgOSSkZJdqRiGxgqRnBE3Np50Lc9A8Bffy4N klXFM5m5n/15LfSLCrPNR8rF4=; Authentication-Results: sj-dkim-1; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; ); Cc: freebsd-current@freebsd.org 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:50:01 -0000 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" > Hmm... I hit a similar problem a while back and what I did is mv the original gcc to old.gcc and then setup links from gcc and cc to -> gcc.42 (or whatever the name was for it) That worked for me. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)