[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/3] Add support for OpenBSD

On Wed, 2006-10-18 at 17:27 +0100, Keir Fraser wrote:
> On 18/10/06 17:17, "Anil Madhavapeddy" <anil@xxxxxxxxxxxxx> wrote:

> > 
> > It's enabled by default in OpenBSD's modified gcc-3.3.5, turn it off
> > with CFLAGS+= -fno-stack-protector
> We have that already in arch/x86/Rules.mk. If that was working, I doubt
> Christoph would have gone to the trouble of hacking up the SSP goop.
>  -- Keir

I can tell you for a fact that that check doesn't work on Ubuntu edgy.

'test-gcc-flag' greps the gcc --help output, which doesn't do the right
thing, at least on Ubuntu.  I believe the linux kernel equivalent tries
to actually use the option and checks the gcc return code. 

I was in the midst of tracking this down a few weeks ago when I
discovered other HVM bugs that apparently only show up with gcc v4 (bad
EFER values), so I moved back to compiling with gcc-3.4 and dropped it.
I'll see if I can finish it up and submit a patch unless someone beats
me to it.


John Clemens           Revive Systems, www.revivesystems.com

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.