lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 9 Sep 2008 19:04:52 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	"Keith A. Prickett" <keithp@...vell.com>
Cc:	linux-kernel@...r.kernel.org
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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ