Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 19:32:43 +0100
From:      mouss <usebsd@free.fr>
To:        clefevre@poboxes.com, "Julian Stacey" <jhs@jhs.muc.de>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: COPTFLAGS without -O in /etc/make.conf breaks kernel make
Message-ID:  <4.3.0.20010220192849.059a49a0@pop.free.fr>
In-Reply-To: <elwuot23.fsf@gits.dyndns.org>
References:  <"Julian Stacey"'s message of "Mon, 19 Feb 2001 22:17:09 GMT"> <200102192217.f1JMH9C16878@jhs.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:51 20/02/01 +0100, Cyrille Lefevre wrote:
>"Julian Stacey" <jhs@jhs.muc.de> 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
-O.

cheers,
mouss


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.0.20010220192849.059a49a0>