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

xen-users

[Top] [All Lists]

Re: [Xen-users] xen tools compile failed - missing gnu/stubs-32.h

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] xen tools compile failed - missing gnu/stubs-32.h
From: Tim Post <echo@xxxxxxxxxxxx>
Date: 2008年8月19日 11:46:18 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Aaron Peterson <lloyd.peterson@xxxxxxxxx>
Delivery-date: 2008年8月18日 20:47:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0808180559s74a9fb93i34caf42b44b14ef0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: echoreply.us
References: <95550eab0808171457k765ad35ds2cf299dd760ce046@xxxxxxxxxxxxxx> <1219059805.8732.395.camel@xxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0808180559s74a9fb93i34caf42b44b14ef0@xxxxxxxxxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Todd,
On Mon, 2008年08月18日 at 08:59 -0400, Todd Deshane wrote:
> I just did a apt-get install libc6-dev-i386
> The ln might not be so harmless necessarily
Its more or less a work around for setting __WORDSIZE (32 or 64) by just
including stubs.h , which in turn includes stubs-$(__WORDSIZE).h.
So if __WORDSIZE is 64, stubs-64.h is included, else stubs32, each one
defines respective stub functions that just fail (and set errno) which
are slightly different. If you follow the spaghetti trail through bits/
you'll see what I mean.
stubs-32 is included, but stuff is linked against whatever arch your
building on, which means stubs-64 should be used if compiling on a 64
bit machine.
> Whose bug is it? If it is Xen's then shouldn't it be fixed before the release?
Not really a bug, just a quirk.
> Although a dependency on the i386 libc devel package isn't that big of a
> deal really.
That's where I get confused, as i386 libc doesn't appear to be being
used, but checks are done against its stubs. That means certain stubs
might not actually fail that should? 
I could be wrong, however :)
Cheers,
--Tim
-- 
Monkey + Typewriter = Echoreply ( http://echoreply.us )
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] Re: [DRBD-user] Re: DRBD VBD's with Xen status , Jerry Amundson
Next by Date: [Xen-users] Xen Networking options... , J Newbie
Previous by Thread: Re: [Xen-users] xen tools compile failed - missing gnu/stubs-32.h , Todd Deshane
Next by Thread: [Xen-users] network configuration für domU , Temper Klaus
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /