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

Re: [Xen-devel] [PATCH OSSTEST RFC 3/5] Debian: install libc6-dev-i386 for Wheezy amd64



On Thu, 2013-09-19 at 20:12 +0100, Wei Liu wrote:
> On Thu, Sep 19, 2013 at 08:03:17PM +0100, Ian Campbell wrote:
> > On Thu, 2013-09-19 at 19:31 +0100, Wei Liu wrote:
> > > On Thu, Sep 19, 2013 at 06:16:15PM +0100, Ian Campbell wrote:
> > > > On Thu, 2013-09-19 at 17:02 +0100, Wei Liu wrote:
> > > > > Otherwise build-amd64 fails with missing header predefs.h.
> > > > 
> > > > This package exists in Squeeze too, it might simplify things to make it
> > > > unconditional?
> > > > 
> > > 
> > > No, it doesn't exist in Lenny -- I see there's branches conditional on
> > > Lenny, do we still use that?
> > 
> > I think it is all Squeeze these days.
> > 
> 
> OK.
> 
> > > > I wonder why it apparently isn't need for a Squeeze build though. What
> > > > 32-bit stuff is getting built? 
> > > > 
> > > 
> > > I guess that's because Wheezy introduces multiarch? The thing being
> > > built is QEMU.
> > 
> > We're building 64-bit qemu and failing because of a missing 32-bit
> > header? That sounds like a bug somewhere, perhaps in the compiler/libc
> > packaging or maybe in some part of our build system. How does the actual
> > error look?
> > 
> 
> Oh sorrrry, it's not QEMU, -j32 and interleaving output fooled me. :-(
> 
> XEN_TARGET_ARCH=x86_32 make -f blowfish.mk all
> make[5]: Entering directory `/local/scratch/xen.git/tools/tests/x86_emulator'
> gcc  -O1 -fno-omit-frame-pointer -m32 -march=i686 -g -fno-strict-aliasing 
> -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement 
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -D__XEN_TOOLS__ 
> -MMD -MF .blowfish.bin.d -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -mno-tls-direct-seg-refs  
> -fno-stack-protector -fno-exceptions -fno-builtin -msoft-float -c blowfish.c
> In file included from /usr/include/stdint.h:26:0,
>                  from /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdint.h:3,
>                  from blowfish.c:19:
> /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or 
> directory
> compilation terminated.

Ah, OK, this is test code for the 32-bit instruction decoder/emulator.
In principal this probably shouldn't be built if the compiler is not
available, but in the meantime your fix looks sensible.

Ian


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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