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:	Mon, 29 Nov 2010 12:34:49 -0600
From:	"Steven J. Magnani" <steve@...idescorp.com>
To:	linux-kernel@...r.kernel.org
Cc:	乔崇 <qiaochong@...ngson.cn>,
	hellogcc@...elists.org,
	Américo Wang <xiyou.wangcong@...il.com>,
	gdb@...rceware.org, Valdis.Kletnieks@...edu
Subject: Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option

On Mon, 2010-11-29 at 13:10 -0500, Valdis.Kletnieks@...edu wrote:
> On Mon, 29 Nov 2010 17:45:15 +0800, 乔崇 said:
> 
> > change mycc to this will work,:)
> > 
> > #!/bin/sh
> > gcc "$@" -O0 ||
> >  gcc "$@" -O1 ||
> >  gcc "$@"
> 
> 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.
> 

There may be arch-specific places that cannot be made to run -O0. 
See this thread from a few years ago:

http://www.spinics.net/lists/arm-kernel/msg24836.html

------------------------------------------------------------------------
 Steven J. Magnani               "I claim this network for MARS!
 www.digidescorp.com              Earthling, return my space modulator!"

 #include <standard.disclaimer>


--
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