Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option
From: Hui Zhu
Date: Wed Dec 01 2010 - 08:22:13 EST
On Tue, Nov 30, 2010 at 06:03, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> On Mon, Nov 29, 2010 at 01:10:29PM -0500, Valdis.Kletnieks@xxxxxx wrote:
>> That may result in issues - the problem is that there are places in the kernel
>> where 'gcc -O0' will *compile* cleanly, but not actually *run* correctly.
>
> Since nobody (no-bo-dy) runs kernel with -O0, I'd suggest original
> poster to learn how to debug kernel with constrained information.
>
> I'll be most certainly faster. :^)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Do you know Linux kernel cannot be built with "gcc -O0" now?
I think you should said "Since nobody (no-bo-dy) don't want built
kernel with -O0".
But how you know all the people's idea? :)
Thanks,
Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/