Re: build is broken after gcc import

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Wed, 28 Jul 2004 18:34:55 +0200
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
_at__at_ -822,4 +822,8 _at__at_
 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.
Received on Wed Jul 28 2004 - 14:35:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC