Messages in this thread | | | Date | Tue, 9 Sep 2008 19:04:52 +0300 | From | Adrian Bunk <> | Subject | Re: Building Kernel with -O0 |
| |
On Thu, Sep 04, 2008 at 10:50:53AM -0700, Keith A. Prickett wrote: >... > It seems building with optimization > level 0 should be a natural thing for kernel driver developers to do for > debugging purposes. > > In summary: I want to compile with optimizations off and the compile is > failing now when I try this. How can this be resolved? >...
There are several places in the kernel where we e.g. rely on gcc removing dead code, and otherwise the linking of the kernel fails.
Compiling with -O0 never worked, and is not likely to ever work.
> Thanks in advance, > Keith Prickett
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
| |