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
1 According to one of the "Linux Core Kernel Commentary" books, compiling
2 the kernel with the -O3 flag is a BAD idea. The kernel expects some
3 functions to be in certain places and using -O3 could cause them to be
4 inlined when they shouldn't, makeing the kernel unstable or broken.
5
6 On Mon, 2003-04-14 at 11:37, Peter Fein wrote:
7 > On Mon, 14 Apr 2003 23:18:59 +0800
8 > Daniel Armyr <daniel.armyr@××××.se> wrote:
9 >
10 > > After quite a few compiles, It seems to me that the compilation of
11 > > kernels does not respect CFPAGS or CXXFLAGS settings. Is this true? If
12 > > so, is there a reason besides "If people compile the kernel with the
13 > > optimizations they want, their kernel will be mangled into oblivion."?
14 >
15 > La la la ....
16 >
17 > http://forums.gentoo.org/viewtopic.php?t=24849
18 --
19 Cliff Free <anaranjado@×××××××××.net>
20
21
22 --
23 gentoo-dev@g.o mailing list