From: John Levon Subject: Re: [PATCH] Partial fix for compat build non-portability Date: Wed, 17 Jan 2007 15:42:39 +0000 Message-ID: <20070117154239.GA3318@totally.trollied.org.uk> References: <20070111162959.GA25963@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jan 17, 2007 at 03:07:11PM +0000, Keir Fraser wrote: > >> We only care about it working for the x86/64 target since that's the only > >> one that asserts CONFIG_COMPAT. Why would wrapping structs individually be > >> better than wrapping whole header files? > > > > I've been building with the below, but haven't verified it's correct. > > I'm confused about the purpose of changing this. Does pragma push/pop not > work properly for some reason, or break the build? For some reason it's target specific in gcc, and specifically not enabled for sysv targets like Solaris. regards john