From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 10:15:06 2019 Received: (at 36882) by debbugs.gnu.org; 1 Aug 2019 14:15:06 +0000 Received: from localhost ([127.0.0.1]:54827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htBrG-0004QC-Ad for submit@debbugs.gnu.org; Thu, 01 Aug 2019 10:15:06 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htBrE-0004PO-D2 for 36882@debbugs.gnu.org; Thu, 01 Aug 2019 10:15:05 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 7C8D23A8; Thu, 1 Aug 2019 10:14:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 01 Aug 2019 10:14:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=i5wyLBB/PHo4c0g1LWZIHns30R wqp/2GWplRDrXcOjU=; b=e+Lti7/ZGUPBEs4hlhfDFA8HoQS6dFqWY/55951gFs 0tyg7/tYg+8wAbAWEJ+ilg1s4mcRAHdggZjqKF0JdY9VMdpjGsmb86e7AHLJProh rtLX4ThQLweNXr7+WGOw8oTkiAfPhHoiXK5RCKF3w6VEjBqA7xImgV18FcCg4Z+q q+VLKvwASGlGq0WDWyeCkZAYLmboFa0bAP1QKTiquKHxwneQmZKSkpwOL1MU1fGi ciXjp58IigEa5L0+9LCMalNp/UNHgGqcFENkcKPazKdUredYYPr1WJnatJHbDJ5/ NkEHEA0JK5y1/1wIJpfC4eWTrA5pMzUTS9+YlXNuInEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=i5wyLB B/PHo4c0g1LWZIHns30Rwqp/2GWplRDrXcOjU=; b=m48mtzfzPvb9xmWGPeZZmD sZ+Gu3X0zwKfLdqyQ35cXQyCASlWME8z7y9tL5GkRrxZnmZaU32srf4y4Yc5gNUR WqDrWm2IUJUUj4wsJ0MlMac+bKFx00QolrEF17hNks7qYLTdRhDJUdG+iLpgUGEw fqe2bEcgihGa/DxehSXbIQU5NbzxK9LwBMv8dNAPIYpGTbWJebr3bGJpSTLihH/A 3vQQIl7L0s+t1zWKyM57kPval4b9voaP6Z0F+TQICyOnxM85XoJuB+3GpKDdT5lL n+TYjwxCgbK8L5+9333AwG0hV/oeqRZtfMADd9kYPDJeGow0nFdcpfYgeEkdLiMQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhgffffkgggtsehgtderre dtredtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhmqeenucfkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpe hmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 5738D80064; Thu, 1 Aug 2019 10:14:57 -0400 (EDT) From: Marius Bakke To: Leo Famulari , 36882@debbugs.gnu.org Subject: Re: bug#36882: QEMU 4 fails to build for x86_64-linux In-Reply-To: <20190731200334.GA29724@jasmine.lan> References: <20190731200334.GA29724@jasmine.lan> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Thu, 01 Aug 2019 16:14:55 +0200 Message-ID: <87h8712crk.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36882 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Famulari writes: > 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. I don't know why it fails, but it works if you give it a newer GCC such as the one on 'core-updates'. I tried it with 4.0.0, but got stuck on two test failures. Hopefully 4.1.0 is easier to debug... :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1C8+AACgkQoqBt8qM6 VPpHIQgAszLRJb5HgNC1JYPLUFqlBD13MNWD43IlTBuRC/cGwvO6EIJcFr/VJRDq I2n/+n+FQ/baejWJzCrEzFlwxksvA4p8awmKQAPND9c2mPYDp8zfZXushXlhSGYl zLcoU7yKJ//YmOa+WksNFj/MTAbWFF2QrLQYaZcCe6FyJSq52CJr5DMJdEGNIfcN InfMemQif2TXR3l/CeLmani61e9Q1wzrUMt+YgfzzPcD0xd6vsqxSFvPlmWaFXAY YHhs9U3SlCRESDMaDHQo+fz6VuHGyZhwtitAH5hI99RxDdecEq5kDVoDfJMMnSy2 GuZBczFbJaNH7eHirc6XgGO35VV89A== =17Hx -----END PGP SIGNATURE----- --=-=-=--