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/
Home Products Support Community News


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

To: Christoph Egger <Christoph.Egger@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type; bh=34LSGgC9MN+7DXzr7Mcz9AQf9JeCyoqmq80JjJkoy98=; b=hAdihALMpzFykdBaaCq7IelIunIuhhhVoXJ3YhaPjigjNToRypRPCYenreyVCku0vG 0Y9yTMWigRz3zrvciF7pTUm70MyA+/Ce7VD/DBuKroV/IBHji0dV4IEe5Bpy8wxAY9be K/jmDOHrceW7WN78aEFr6Lh24ADFCKUQrIXkU=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DDF735F.9020706@xxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acwcb+GsN05v69Kd9Uy4Pn/cqcvOSw==
Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
User-agent: Microsoft-Entourage/
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
<Prev in Thread] Current Thread [Next in Thread>