Re: gcc 3.0.2/kernel details (-O issue)

From: Chris Meadors (clubneon@hereintown.net)
Date: Wed Dec 19 2001 - 14:49:18 EST


On Wed, 19 Dec 2001, devik wrote:

> Hello,
> just another crash report. But interesting one IMHO.
> When I compile 2.3.16/SMP with gcc 3.0.2 then it works.
> But when I changed -O2 to -O (compile speed reasons)
> the compilation succeeded but kernel crashed during
> boot (in sys_sigreturn).

The kernel relies on features turned on by -O2 and will not function
properly with just -O of any version of gcc.

-Chris

-- 
Two penguins were walking on an iceberg.  The first penguin said to the
second, "you look like you are wearing a tuxedo."  The second penguin
said, "I might be..."                         --David Lynch, Twin Peaks

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:19 EST