From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: [PATCH] xen/x86: hypervisor build fixes for FreeBSD. Date: Mon, 26 Aug 2013 17:38:46 +0100 Message-ID: <20130826163846.GA45371@ocelot.phlegethon.org> References: <1376581489-1776-1-git-send-email-tim@xen.org> <521B6F13.1070405@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <521B6F13.1070405@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: keir@xen.org, jbeulich@suse.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 17:06 +0200 on 26 Aug (1377536819), Roger Pau Monn? wrote: > On 15/08/13 17:44, Tim Deegan wrote: > > These allow an x86_64 hypervisor to build on FreeBSD 9.1/amd64. > > - like OpenBSD, needs a different arch passed to ld. > > - like OpenBSD, sdtarg.h and stdbool.h are in /usr/include > > Just for curiosity, have you tried this with -current FreeBSD (10)? I'm > specifically asking this because -current has switched to clang. No - although I do use FreeBSD for some things I didn't have a v10 image to try. I might give it a go if I get a moment. :) Clang will build the hypervisor (if you use 'make xen clang=y') but IIRC it might not build the tools without some more work. The tools build uses autoconf now so on the one hand it should be possible for ./configure to DTRT, but on the other hand I really don't want to get involved in any autotools wrangling. :) Cheers, Tim.