lkml.org 
[lkml]   [2008]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2008-09-09 18:09    [W:0.120 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site