From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#36882: QEMU 4 fails to build for x86_64-linux Date: Wed, 31 Jul 2019 16:03:34 -0400 Message-ID: <20190731200334.GA29724@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51724) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsupP-0001Dv-6r for bug-guix@gnu.org; Wed, 31 Jul 2019 16:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsupO-0004Py-8W for bug-guix@gnu.org; Wed, 31 Jul 2019 16:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsupO-0004Po-50 for bug-guix@gnu.org; Wed, 31 Jul 2019 16:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsupN-0002BG-VF for bug-guix@gnu.org; Wed, 31 Jul 2019 16:04:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51667) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsup5-00016T-M8 for bug-guix@gnu.org; Wed, 31 Jul 2019 16:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsup4-0004J2-Ng for bug-guix@gnu.org; Wed, 31 Jul 2019 16:03:43 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33285) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsup4-0004IT-HF for bug-guix@gnu.org; Wed, 31 Jul 2019 16:03:42 -0400 Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F89580064 for ; Wed, 31 Jul 2019 16:03:39 -0400 (EDT) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36882@debbugs.gnu.org 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 found: ------ In file included from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/features.h:452:0, from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/bits/libc-header-start.h:33, from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/stdint.h:26, from linuxboot_dma.c:65: /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/gnu/stubs.h:7:27: 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 '/tmp/guix-build-qemu-4.1.0-rc3.drv-0/qemu-4.1.0-rc3/pc-bios/optionrom' 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 #endif #if defined __x86_64__ && defined __LP64__ # include #endif #if defined __x86_64__ && defined __ILP32__ # include #endif ------ When I build for i686-linux, it works as expected. Any advice? I'm not really sure what's going on here.