From owner-freebsd-hackers Tue Feb 20 10:32:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.nettoll.com (matrix.nettoll.net [212.155.143.61]) by hub.freebsd.org (Postfix) with ESMTP id 4BBBB37B503 for ; Tue, 20 Feb 2001 10:32:09 -0800 (PST) (envelope-from usebsd@free.fr) Received: by smtp.nettoll.com; Tue, 20 Feb 2001 19:30:41 +0100 (MET) Message-Id: <4.3.0.20010220192849.059a49a0@pop.free.fr> X-Sender: usebsd@pop.free.fr X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Tue, 20 Feb 2001 19:32:43 +0100 To: clefevre@poboxes.com, "Julian Stacey" From: mouss Subject: Re: COPTFLAGS without -O in /etc/make.conf breaks kernel make Cc: hackers@FreeBSD.ORG In-Reply-To: References: <"Julian Stacey"'s message of "Mon, 19 Feb 2001 22:17:09 GMT"> <200102192217.f1JMH9C16878@jhs.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -O. cheers, mouss To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message