Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 14:53:43 -0700 (PDT)
From:      Alex Zepeda <garbanzo@hooked.net>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Invalid option for compiler...?
Message-ID:  <Pine.BSF.4.00.9810201451160.1139-100000@zippy.dyn.ml.org>
In-Reply-To: <Pine.BSF.4.05.9810201624400.4514-100000@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Oct 1998, Marc G. Fournier wrote:

> 
> Trying to build a new kernel, and I get the following error:
> 
> hub# make depend
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
> -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi -g -nostdinc
> -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h
> ../../i386/i386/genassym.c
> cc1: Invalid option `-fformat-extensions'
> *** Error code 1

-fformat-extensions is used to quash some warnings that might be generated
by the odd format identifiers in the kernel.  As long as you're not using
-Werror, it's safe to remove this (and is the only way to go with a non
stock cc). The "correct" solution would be to rebuild cc1 (a make world
will do this as well as rebuild other parts required for use of a post
3.0-R kernel).

- alex

| "Contrary to popular belief, penguins are not the salvation of modern  |
| technology.  Neither do they throw parties for the urban proletariat." |
| Powered by FreeBSD                            http://www.freebsd.org/  |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9810201451160.1139-100000>