WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Add support for OpenBSD
From: John Clemens <jclemens@xxxxxxxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 13:08:11 -0400
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Anil Madhavapeddy <anil@xxxxxxxxxxxxx>
Delivery-date: Wed, 18 Oct 2006 10:08:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15C146D.2BEB%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C15C146D.2BEB%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.c 

-- 
John Clemens           Revive Systems, www.revivesystems.com


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel