From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 16:35:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6970B16A563; Wed, 28 Jul 2004 16:35:22 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF8943D1D; Wed, 28 Jul 2004 16:35:21 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) i6SGZ11a089721; Wed, 28 Jul 2004 18:35:02 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id i6SGYtRt089720; Wed, 28 Jul 2004 18:34:55 +0200 (CEST) (envelope-from marius) Date: Wed, 28 Jul 2004 18:34:55 +0200 From: Marius Strobl To: Maxime Henrion Message-ID: <20040728183455.B57988@newtrinity.zeist.de> References: <41078B9E.2030603@mcsi.pp.ru> <20040728113014.GV82302@elvis.mu.org> <4107BE27.6050003@mcsi.pp.ru> <4107C519.5040101@mcsi.pp.ru> <20040728160619.GA13608@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040728160619.GA13608@elvis.mu.org>; from mux@freebsd.org on Wed, Jul 28, 2004 at 06:06:19PM +0200 X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.10; VDF 6.26.0.48 (host: newtrinity.zeist.de) cc: kan@freebsd.org cc: Maxim Maximov cc: current@freebsd.org Subject: Re: build is broken after gcc import X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 28 Jul 2004 16:35:22 -0000 On Wed, Jul 28, 2004 at 06:06:19PM +0200, Maxime Henrion wrote: > Maxim Maximov wrote: > > Maxim Maximov wrote: > > >cc1: error: unrecognized command line option "-fformat-extensions" > > >*** Error code 1 > > It seems you have cvsup'ed at a bad time. The -fformat-extensions > option is a FreeBSD-specific (and NetBSD, I've been told) option, and > is not in GCC baseline. It has been merged back in revision 1.24 of > src/contrib/gcc/toplev.c. Can you check that you have the latest > version of this file? If you don't just re-cvsup and try again. > Looks rather like Alexander forgot to commit the patch below, taken from his http://people.freebsd.org/~kan/gcc341.tar.gz. Index: c.opt =================================================================== RCS file: /mnt/futile/usr/data/bsd/cvs/fbsd/src/contrib/gcc/c.opt,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 c.opt --- c.opt 28 Jul 2004 03:11:34 -0000 1.1.1.1 +++ c.opt 5 Jun 2004 01:00:19 -0000 @@ -822,4 +822,8 @@ C ObjC C++ ObjC++ ; Documented in common.opt +fformat-extensions +C ObjC C++ ObjC++ +Enable FreeBSD format extensions + ; This comment is to ensure we retain the blank line above.