Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 19:32:43 +0100
From:      mouss <>
To:, "Julian Stacey" <>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: COPTFLAGS without -O in /etc/make.conf breaks kernel make
Message-ID:  <>
In-Reply-To: <>
References:  <"Julian Stacey"'s message of "Mon, 19 Feb 2001 22:17:09 GMT"> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
At 05:51 20/02/01 +0100, Cyrille Lefevre wrote:
>"Julian Stacey" <> writes:
> > Here's a weirdness in 4.2-RELEASE kernel generation:
> >   - Compiling a GENERIC kernel _Without -O optimiser causes a broken make !
> >   - Compiling a GENERIC kernel _With_ -O optimiser compiles OK.
>this question is cyclic. and yes, the kernel *have* to be compiled
>w/ -O turned on. sorry, I don't remember why.
>if you want yo put something to COPTFLAGS, try something like this :

As far as I know,  "-O" is necessary because of the "-Wuninitialized" option.
but I'm not sure if removing the latter will make you able to compile without


To Unsubscribe: send mail to
with "unsubscribe freebsd-hackers" in the body of the message

Want to link to this message? Use this URL: <>