From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8318 invoked by uid 1002); 15 Apr 2003 03:56:24 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 32642 invoked from network); 15 Apr 2003 03:56:24 -0000 From: Cliff Free Reply-To: brd@alumni.clemson.edu To: Peter Fein Cc: Daniel Armyr , gentoo-dev@gentoo.org In-Reply-To: <20030414103724.1e485f4f.pfein@pobox.com> References: <3E9AD163.308@home.se> <20030414103724.1e485f4f.pfein@pobox.com> Content-Type: text/plain Organization: Message-Id: <1050379062.23405.23.camel@Jester.poody.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3- Date: 14 Apr 2003 23:57:42 -0400 Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Kernel compiling respecting CFLAGS X-Archives-Salt: 86bdb470-e12e-4a45-b2e7-a0f6b9a8ab22 X-Archives-Hash: e7502364ed75ed4f1b44339e0446daee 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 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 -- gentoo-dev@gentoo.org mailing list