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

Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc

  • To: Christoph Egger <Christoph.Egger@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Fri, 27 May 2011 14:13:34 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 27 May 2011 06:15:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type; b=XVxxwaT+OQGbEL+TFsa+2suEs7jvfCsrJ2NvHxDUcT3AtLKLnG50PORR06rYwnlVUS yvKXmACetz/oLuWsJbQevywsNCfnpCUhQHmU3918Dm/HVMoJvRbMbP0Ea1egt12fxE0G jTD+J0TcG4MlkFqvdAR/goE3mhq3bHkt5cj8I=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acwcb+GsN05v69Kd9Uy4Pn/cqcvOSw==
  • Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc

On 27/05/2011 10:48, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> Finally, rather than referencing a hardcoded /usr/include path or including
>> gcc intrinsics in xen/stdarg.h, would *BSD prefer a -isystem command-line
>> option to include the gcc headers in the search path? Then we could perhaps
>> even get rid of xen/stdarg.h completely.
> NetBSD is about to add clang/llvm support. If -isystem works for both
> gcc and clang then this should be fine.

Something like the attached patch? I don't know whether this would work for
clang too -- cc'ing Tim who will know or can try it out.

I wouldn't backport this one to 4.1, but my first patch was a cleanup plus
BSD-specific changes, so a variant on that would be suitable for 4.0/4.1,
with (if it works) this new one in unstable.

 -- Keir

Attachment: 01-stdarg-fixes
Description: Binary data

Xen-devel mailing list



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