[Top][All Lists]

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

bug#36882: QEMU 4 fails to build for x86_64-linux

From: Leo Famulari
Subject: bug#36882: QEMU 4 fails to build for x86_64-linux
Date: Wed, 31 Jul 2019 16:03:34 -0400
User-agent: Mutt/1.12.1 (2019-06-15)

While testing the upgrade of our QEMU package to 4.0.0 or 4.1.0-rc3 on
x86_64-linux, the build fails when the header 'gnu/stubs-32.h' can't be

In file included from 
                 from linuxboot_dma.c:65:
 fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[1]: *** [/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/rules.mak:69: 
linuxboot_dma.o] Error 1
make[1]: Leaving directory 
make: *** [Makefile:519: pc-bios/optionrom/all] Error 2

And of course, this header is not installed by glibc when it is built
for 64-bit systems.

The header in question, 'stubs.h', looks like this:

#if !defined __x86_64__
# include <gnu/stubs-32.h>
#if defined __x86_64__ && defined __LP64__
# include <gnu/stubs-64.h>
#if defined __x86_64__ && defined __ILP32__
# include <gnu/stubs-x32.h>

When I build for i686-linux, it works as expected.

Any advice? I'm not really sure what's going on here.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]