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: Anil Madhavapeddy <anil@xxxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 17:17:28 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Oct 2006 09:29:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15C10CE.2BE7%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: <C15C10CE.2BE7%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 18 Oct 2006, at 17:11, Keir Fraser wrote:

On 17/10/06 17:02, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

I made the xen kernel buildable on OpenBSD.
The first patch touches the buildsystem.

Why is elf_{i386,x86_64}_obsd needed? Is OpenBSD so very special it needs
its own linkage target architecture?

ld on OpenBSD complains that elf_i386 and elf_x86_64 are not supported.
It expects elf_i386_obsd or elf_x86_64_obsd respectively.

Okay. I applied a modified form of your patch which puts common definitions
in config/StdGNU.mk.

I applied your second patch, but not the third (SSP/ProPolice) one as I don't understand why it's needed. If there's some extra magic in OpenBSD's gcc, I hope there is a flag we can specify to turn it off for the hypervisor
itself.

It's enabled by default in OpenBSD's modified gcc-3.3.5, turn it off with CFLAGS+= -fno-stack-protector

-anil


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