Gentoo Archives: gentoo-dev

From: Cliff Free <anaranjado@×××××××××.net>
To: Peter Fein <pfein@×××××.com>
Cc: Daniel Armyr <daniel.armyr@××××.se>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] Kernel compiling respecting CFLAGS
Date: Tue, 15 Apr 2003 03:56:24
Message-Id: 1050379062.23405.23.camel@Jester.poody.net
In Reply to: Re: [gentoo-dev] Kernel compiling respecting CFLAGS by Peter Fein
According to one of the "Linux Core Kernel Commentary" books, compiling
the kernel with the -O3 flag is a BAD idea.  The kernel expects some
functions to be in certain places and using -O3 could cause them to be
inlined when they shouldn't, makeing the kernel unstable or broken.

On Mon, 2003-04-14 at 11:37, Peter Fein wrote:
> On Mon, 14 Apr 2003 23:18:59 +0800 > Daniel Armyr <daniel.armyr@××××.se> wrote: > > > After quite a few compiles, It seems to me that the compilation of > > kernels does not respect CFPAGS or CXXFLAGS settings. Is this true? If > > so, is there a reason besides "If people compile the kernel with the > > optimizations they want, their kernel will be mangled into oblivion."? > > La la la .... > > http://forums.gentoo.org/viewtopic.php?t=24849
-- Cliff Free <anaranjado@×××××××××.net> -- gentoo-dev@g.o mailing list