From owner-freebsd-current Tue Oct 20 17:30:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22453 for freebsd-current-outgoing; Tue, 20 Oct 1998 17:30:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (pm3-25.ppp.wenet.net [206.15.85.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22448 for ; Tue, 20 Oct 1998 17:30:22 -0700 (PDT) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.9.1/8.8.8) with SMTP id OAA01173; Tue, 20 Oct 1998 14:53:48 -0700 (PDT) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Tue, 20 Oct 1998 14:53:43 -0700 (PDT) From: Alex Zepeda X-Sender: garbanzo@zippy.dyn.ml.org To: "Marc G. Fournier" cc: freebsd-current@FreeBSD.ORG Subject: Re: Invalid option for compiler...? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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