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

Chris Meadors (clubneon@hereintown.net)
Wed, 19 Dec 2001 14:49:18 -0500 (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/