From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 16:47:50 2019 Received: (at submit) by debbugs.gnu.org; 2 Oct 2019 20:47:50 +0000 Received: from localhost ([127.0.0.1]:38420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFlXI-0000Jo-MD for submit@debbugs.gnu.org; Wed, 02 Oct 2019 16:47:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:34084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFlXF-0000Jb-3N for submit@debbugs.gnu.org; Wed, 02 Oct 2019 16:47:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34279) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFlXC-0002yK-SA for bug-guix@gnu.org; Wed, 02 Oct 2019 16:47:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFlXA-0003lg-HK for bug-guix@gnu.org; Wed, 02 Oct 2019 16:47:42 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52663) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iFlXA-0003jv-0p for bug-guix@gnu.org; Wed, 02 Oct 2019 16:47:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C233F22129 for ; Wed, 2 Oct 2019 16:47:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 02 Oct 2019 16:47:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=qIrBv98RB1PxU8TYgfW9c4TWJWzc5mmCq6QpowBz9T8=; b=pRUj7Bo4 Y6rDQtvdjZYPmiNpb8QoyzOWz89wm+ocTfybnSlL2jK2Cfn8Okdlpx1UnDsP3V62 iwPcPedknb1kK2ITr27AZxXlvBFHDvmU3F6wvoO6DDF7xqluuNwqMk7zqnYGA/a/ q/m8Fse2DYAWymh0EI3YR4em3eTdRK40y+uAUxoPqDhT0WDi7adFYmlkF/G5MvZg O+TUZX3wElaFUODeC2Lypn8Jxm8mi27+KFj0e/3nTAmoIvdbEPqnXUsdsOmhCAMl 1Wz6Du3rixxremy5GiWx4KrQwKh/n5Xv+as5TeL43M+QUDPM+KlWxiLm3stiOegy IywbWAPyNcUG9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=qIrBv98RB1PxU8TYgfW9c4TWJWzc5 mmCq6QpowBz9T8=; b=jAEgDuBVsogayYhVFDdV5oH0U1mgif48Jt74mDHiviRB4 U5Cx83aeeKiYhmQOtIBls+z4kr90sdB6b4uyHXjRiydfFAdxRElW/GuLbqwBrCkD 4iQFtbXjAa60zMf62eGHvbe+YH2mf8aYHKRMmd5fDWJIEFxPeTjJNWYI035ozidd qxajjo630Fj553D36Kqnr3luALbDXWRzEJb2WKxL/w8GuHIjBoEgymfjZ/exsgFb SwChBWzDOW0j59YyZOUyuTPecR/gGeBPssZ2gPZtW+Dgl7eVfJ0cNDd38MAYYHJn toS6cx6yGZKuWxufvGWskNGq6fSCeudzR8J4IJ1Ng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrgeeigdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesghdtreertd ertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhm rghilhdrtghomheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeeivddrudeird duledvrdduhedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E84E80062 for ; Wed, 2 Oct 2019 16:47:34 -0400 (EDT) From: Marius Bakke To: bug-guix@gnu.org Subject: [core-updates] Linux-Libre fails to build on aarch64-linux User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Wed, 02 Oct 2019 22:47:32 +0200 Message-ID: <877e5m98nv.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.26 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit 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: -2.6 (--) --=-=-= Content-Type: text/plain Berlin fails to build "linux-libre" for AArch64 on the 'core-updates' branch. Here is a recent attempt: https://ci.guix.gnu.org/build/1758844/details Log file for the latest build: https://ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre-5.2.17.drv This seems to be the salient bit: CC [M] arch/arm64/lib/xor-neon.o In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:34:0, from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, from ./arch/arm64/include/asm/neon-intrinsics.h:33, from arch/arm64/lib/xor-neon.c:11: /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-intn.h:27:19: error: conflicting types for 'int64_t' typedef __int64_t int64_t; ^~~~~~~ In file included from ./include/linux/list.h:5:0, from ./include/linux/module.h:9, from arch/arm64/lib/xor-neon.c:10: ./include/linux/types.h:114:15: note: previous declaration of 'int64_t' was here typedef s64 int64_t; ^~~~~~~ In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:37:0, from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, from ./arch/arm64/include/asm/neon-intrinsics.h:33, from arch/arm64/lib/xor-neon.c:11: /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-uintn.h:27:20: error: conflicting types for 'uint64_t' typedef __uint64_t uint64_t; ^~~~~~~~ In file included from ./include/linux/list.h:5:0, from ./include/linux/module.h:9, from arch/arm64/lib/xor-neon.c:10: ./include/linux/types.h:112:15: note: previous declaration of 'uint64_t' was here typedef u64 uint64_t; ^~~~~~~~ make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.o] Error 1 make: *** [Makefile:1073: arch/arm64/lib] Error 2 make: *** Waiting for unfinished jobs.... Not sure what's going on here. Ideas? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2VDOQACgkQoqBt8qM6 VPo5Iwf+NT64RFJy+Nw8uGQb5+ay0SqeK8gSmfVjWjmo/bazZp5xq8O71QTrMhmn ggKOdot6xYxsJ2o2fTcLYW99yeF2CAEymomdBNijYi7b0SHxNnOI++8CL2XEGzeV tBTZX85vPAdxbta0fWs80DxH1sbAynNbB5bOd/rOx09kGzajXhZWTw6zmM5QRw// 5txtOovC6xY4LmiNzscpmKD9/bJr4Gp3uUDzjfa43MNJ96LduzEcEF70iX0laiOb qHTDQwyZf03xCFRQHk2JY6h1AOQbj3vlGWejJhRchdQBbuA56MNEglyIEp+DjBU5 ckkTJKgZLgox0q1k3tYohDyl87kTCA== =OYIl -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 18:10:20 2019 Received: (at submit) by debbugs.gnu.org; 2 Oct 2019 22:10:20 +0000 Received: from localhost ([127.0.0.1]:38471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFmp7-0002Hs-K2 for submit@debbugs.gnu.org; Wed, 02 Oct 2019 18:10:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:50498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFmp5-0002Hl-S0 for submit@debbugs.gnu.org; Wed, 02 Oct 2019 18:10:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42435) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFmp4-0005VD-0b for bug-guix@gnu.org; Wed, 02 Oct 2019 18:10:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFmp2-0001ed-RV for bug-guix@gnu.org; Wed, 02 Oct 2019 18:10:13 -0400 Received: from mout.gmx.net ([212.227.15.18]:34403) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFmp2-0001d7-Du for bug-guix@gnu.org; Wed, 02 Oct 2019 18:10:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570054191; bh=7BNvhPTgxwZ0mVKpaDsdOYVsuly3Rw+ltANLibk5Aak=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=UpKreUFqxz09NJCIVoPHSx274AIblqN6KmZ8Yasuru0GnuRvjw/LY1ynrdW+dyRC3 pk3OB8At+Iy+MTr7PDZcvEbm6DRsmatpVeIJldr1xHYW4BzEBwQyns38+s4XalcftS z7oxZIOFBLri5KqYUacFTYStwAZJOeHklbWpW1+c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([2.99.192.73]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N1fn0-1i9Ms322zg-0121iE; Thu, 03 Oct 2019 00:09:51 +0200 References: <877e5m98nv.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: Pierre Langlois To: bug-guix@gnu.org Subject: Re: bug#37593: [core-updates] Linux-Libre fails to build on aarch64-linux In-reply-to: <877e5m98nv.fsf@devup.no> Date: Wed, 02 Oct 2019 23:09:48 +0100 Message-ID: <87a7ain6j7.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:bg5a/t7cQzY1N3Y8Nu0NYslwO8ZKlB0osV8nK4M8pZfeSbZJW8C Dk1whXwnZ40cZieMnSgMMEqjdaPvYrapuiXRkB5xfreHS0zkADs1gIdmEe5xP3ub2RapqGq OKzBBR4W3iMN3DyfzKIm+hNTJdjKSTTWzGP9QpNaCGm4gccnK51U1wM3/x4FtrUNGvEM8/S IvvxGc7+P82e/D2Ubdo5g== X-UI-Out-Filterresults: notjunk:1;V03:K0:5hsBnkDqqeA=:tgfxZFbzPepRUJwomTm88I kobFwYhuVWz2tvUN/drlS8xGro79Y4jQVu5D/KCfXzbYOqY+ovTunwclKXd5whYtI1q4+Pzg1 YD5SDdJpWEGR78RNNr8dyhaGUyt4tL2EGOXGAW9KKL/mgTXwysnmJZ6WPBzplKMoZz7ARLQfY BQzjuBsg/XVgzk98Esw08ZpqrFqe10dI1HNxfRiES7oAGXipYF15alvhHl0cHyzOn9aNnhEMT k0SaDRUACBNhxIW5IkjEHmc4uchPULdVh53HaQwHm22+8rTP5FDF5xEBXusnLJL9K6/f65dM9 OelkOufIe4tbqw03h3yvsVPxVyPJ9BaqEiV+X5YNzEjOlDzAf3JfxEW5h0h4vXObSVNcIwB1L JDLcrAqA14awkero9zZzKgHMBhR4GE63bOhuxShEGeU0k3JGhQI/3mLunJFYbkXCro+35UXjC r2VSzkwLE2B+gvf4BFIWUJH+ILJ8brXoO0cd184Y7LiVxNrl0Kho2bYm5snthJj3fI4dNnXDz o4CecKwwnQ95IZPNi3n1yu9uKbndqqdStQixQhDtbdHGCc7R6TLyps/F2KrBpSA9cwk7aHOVp PePOwd5YdjH9nESJ29f86F4NM9SRJEmFMcrtXJmLzjy4YtWRtHZOy/i0KCmoiPGAnAJnHeGDq DySVJAxVqhdZdTEjRSuNOr2Dyt3jrYHa9Uw273zOz9QWIMXM/fkwGavBVkm6P7MigbY7ibZdE Hp3Q7rqnmw4rqTpRGCig4ambb+YRU5WyNgJiIo6Ys9iAwirYDB0ejDXMZlinHgkWgzyiYEs5L B07tsyD6xZd6+MB6diY9yXg+Opp/DKldj52N71S/GJ73rMuln7iAiF1UjBshv73BmiEv/I6o3 Lzom4F37K0VwdKFWEjMw3X9tJ3ljUwhfEnZYzJyfHy/LnhoBJlRimTwUE9FGR8Nvzb8oqNF3h EDfDrc/NL93+YZQ7w/o2ZPFSaIW7epm6D9fj2tdaA8Ilp50VtHeg8wMRtjWYqLWQbDXDWI05E 8IukMct0tRSx69KhjjNLQwelfDXJJ2GPVuZO93Y3CEhGOBseFHze7CpLeMTeQMkPWcwdgWfbe A7JMJnimC8xjVwC9EXKQUBFNs6T4QY1hJgDz629rCvgy2Il6mrNj//Lh3Izn6Q2XBRcY5qMsG 32rFcTHihjGviUZ11aEtL9HSPwTtB1b1xIgteN9rpFSFcoxiIdqbCOOCNbR4W0DGqcfv9WLuR GOH9qECEr38hs9PJjFatc6Sn17jb5NxkjCrX42J0dMaf/mZyRn/IHA4AugRM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 37593@debbugs.gnu.org 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: -2.4 (--) Hi Marius, Marius Bakke writes: > Berlin fails to build "linux-libre" for AArch64 on the 'core-updates' > branch. Here is a recent attempt: > > https://ci.guix.gnu.org/build/1758844/details > > Log file for the latest build: > > https://ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre-5.2.17.drv > > This seems to be the salient bit: > > CC [M] arch/arm64/lib/xor-neon.o > In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:34:0, > from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, > from ./arch/arm64/include/asm/neon-intrinsics.h:33, > from arch/arm64/lib/xor-neon.c:11: > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-intn.h:27:19: error: conflicting types for 'int64_t' > typedef __int64_t int64_t; > ^~~~~~~ > In file included from ./include/linux/list.h:5:0, > from ./include/linux/module.h:9, > from arch/arm64/lib/xor-neon.c:10: > ./include/linux/types.h:114:15: note: previous declaration of 'int64_t' was here > typedef s64 int64_t; > ^~~~~~~ > In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:37:0, > from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, > from ./arch/arm64/include/asm/neon-intrinsics.h:33, > from arch/arm64/lib/xor-neon.c:11: > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-uintn.h:27:20: error: conflicting types for 'uint64_t' > typedef __uint64_t uint64_t; > ^~~~~~~~ > In file included from ./include/linux/list.h:5:0, > from ./include/linux/module.h:9, > from arch/arm64/lib/xor-neon.c:10: > ./include/linux/types.h:112:15: note: previous declaration of 'uint64_t' was here > typedef u64 uint64_t; > ^~~~~~~~ > make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.o] Error 1 > make: *** [Makefile:1073: arch/arm64/lib] Error 2 > make: *** Waiting for unfinished jobs.... > > Not sure what's going on here. Ideas? Ha, that looks familiar, the same issue happened back in July: https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00175.html I don't think we worked out what was the problem exactly though :-/ Thanks, Pierre From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 05 08:39:12 2019 Received: (at 37593) by debbugs.gnu.org; 5 Oct 2019 12:39:12 +0000 Received: from localhost ([127.0.0.1]:43881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGjL1-0002sa-Jl for submit@debbugs.gnu.org; Sat, 05 Oct 2019 08:39:11 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:40273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGjKz-0002rz-De for 37593@debbugs.gnu.org; Sat, 05 Oct 2019 08:39:06 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 22FD942E; Sat, 5 Oct 2019 08:38:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 05 Oct 2019 08:38: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=fm1; bh=dRhlRp54Ac9OOoMijIROAA2sYp OP1G4qWIp0ObF/0IA=; b=I7gMNcgEQlXHuT9rJkWf8p70bm6PJVc9HkRlwvKeJw nyvtDSxwgP4W/nzlEzByXUbdfrVKudiUcySU7phfdpuJEn4TmFMvDivjW9kzoGEY aCSsOgkx3dniKQh1nI6SCvfYbljjOg7bp5dZyzdf6W2rmos8Pam/EZgQ38/KuJ/Z Yt/Woa6mphy0zk/Ocz+JAjiGvRv/Hm+HWmkuxHDAjh+lLguVLC+3PzThsS6CvmKv G/8LqlXcX8p72/m60MMbfv2UONQQNJGL+peabXfNvEGNrtNanIUweucJ/3n97isw EaT06eaLIM9AP2jXhhk3cZhG25iAK4BCmudyaxEVkxyg== 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=dRhlRp 54Ac9OOoMijIROAA2sYpOP1G4qWIp0ObF/0IA=; b=aZ12PLfJleX5KdKnIdwKqd cITZSdSD/KDrIwz6I5GrKD9vD6wC8mzy4HeVh4GURF47NCkW8qQpWDcQJZfIj0iu V9m4BbEG5BDb7w1q8v1EbJmUSIGExFvEVoj5mtyOPFr1eNp+HQHeSUhL9F6KcJWp Q6UnV71zDH4SUt7Tn9ahBSy4IleMzymD4O9/K3IBBFjdDW03sdK/v+pZ1PZYFZEU QeYnQRfv2Z5xHqJYceDxYPG9Ct6zshEp1Mc1/KJzQM/rLFMQPv4mUZ9jz7zU3gCz zPkmZh+3RlA5F+3huceFTdaBj76M8hqk9EvQ0N5eBM9pTRm88854ZOSokzpm9ytw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrheefgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrih hnpehgnhhurdhorhhgnecukfhppeeivddrudeirdduledvrdduhedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 06BCED6005E; Sat, 5 Oct 2019 08:38:56 -0400 (EDT) From: Marius Bakke To: Pierre Langlois , 37593@debbugs.gnu.org Subject: Re: bug#37593: [core-updates] Linux-Libre fails to build on aarch64-linux In-Reply-To: <87a7ain6j7.fsf@gmx.com> References: <877e5m98nv.fsf@devup.no> <87a7ain6j7.fsf@gmx.com> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 05 Oct 2019 14:38:55 +0200 Message-ID: <87tv8n74f4.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: 37593 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.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Pierre Langlois writes: > Hi Marius, > > Marius Bakke writes: > >> Berlin fails to build "linux-libre" for AArch64 on the 'core-updates' >> branch. Here is a recent attempt: >> >> https://ci.guix.gnu.org/build/1758844/details >> >> Log file for the latest build: >> >> https://ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre-5.2.17.drv >> >> This seems to be the salient bit: >> >> CC [M] arch/arm64/lib/xor-neon.o >> In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:34:0, >> from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, >> from arch/arm64/lib/xor-neon.c:11: >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-intn.h:27:19: error: conflicting types for 'int64_t' >> typedef __int64_t int64_t; >> ^~~~~~~ >> In file included from ./include/linux/list.h:5:0, >> from ./include/linux/module.h:9, >> from arch/arm64/lib/xor-neon.c:10: >> ./include/linux/types.h:114:15: note: previous declaration of 'int64_t' was here >> typedef s64 int64_t; >> ^~~~~~~ >> In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:37:0, >> from /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, >> from arch/arm64/lib/xor-neon.c:11: >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdint-uintn.h:27:20: error: conflicting types for 'uint64_t' >> typedef __uint64_t uint64_t; >> ^~~~~~~~ >> In file included from ./include/linux/list.h:5:0, >> from ./include/linux/module.h:9, >> from arch/arm64/lib/xor-neon.c:10: >> ./include/linux/types.h:112:15: note: previous declaration of 'uint64_t' was here >> typedef u64 uint64_t; >> ^~~~~~~~ >> make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.o] Error 1 >> make: *** [Makefile:1073: arch/arm64/lib] Error 2 >> make: *** Waiting for unfinished jobs.... >> >> Not sure what's going on here. Ideas? > > Ha, that looks familiar, the same issue happened back in July: > https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00175.html > > I don't think we worked out what was the problem exactly though :-/ So I was able to build it with this patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-linux-libre-Hide-glibc-from-CPATH-during-build.patch Content-Transfer-Encoding: quoted-printable From=2043d2ab5a046e5da378f062cb2885c1345278d378 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 4 Oct 2019 21:36:42 +0200 Subject: [PATCH] gnu: linux-libre: Hide glibc from CPATH during build. Fixes . * gnu/packages/linux.scm (make-linux-libre*)[arguments]: Drop "libc" from C= PATH. =2D-- gnu/packages/linux.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index dda95c29ac..525b18d1e2 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -663,6 +663,7 @@ for ARCH and optionally VARIANT, or #f if there is no s= uch configuration." `(#:modules ((guix build gnu-build-system) (guix build utils) (srfi srfi-1) + (srfi srfi-26) (ice-9 match)) #:phases (modify-phases %standard-phases @@ -679,6 +680,18 @@ for ARCH and optionally VARIANT, or #f if there is no = such configuration." ,@(if (%current-target-system) '((unsetenv "CROSS_CPATH")) '()) + + ;; On AArch64 (at least), we need to remove glibc headers fro= m CPATH + ;; (they are still available as "system headers"), so that th= e kernel + ;; can override uint64_t. See . + (setenv "CPATH" + (string-join + (remove (cut string-prefix? (assoc-ref inputs "libc"= ) <>) + (string-split (getenv "CPATH") #\:)) + ":")) + (format #t "environment variable `CPATH' changed to `~a'~%" + (getenv "CPATH")) + ;; Avoid introducing timestamps (setenv "KCONFIG_NOTIMESTAMP" "1") (setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH")) =2D-=20 2.23.0 --=-=-= Content-Type: text/plain It's not very pretty though. Thoughts? --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2Yjt8ACgkQoqBt8qM6 VPqnKAf+JpnAjOG2HU56tP3+UbG+HMwocCSAiYHwqGqz4TUZQtnOkisx55PaUwJo SB9kSPYBxe+kPE6mOZV1pHTTPMDak/s3NYKT0+wMycYd5P3Z5JPufPaD1YG/INe6 6umRmDyPMwzvr7NeMJ1vsnPusGysv6ugPuCZaLCuc6lWSBoDV1fPzBjzbLPfwMVo GCAZmQV81TzHu5ZlqrA25cS8TYn5VVyV9dEpnTvJfurMWDtQb90RzF0Rmih0yJdR a5mWqHJnyKKQWASuvMviVsz9fmRr04wIdxAhCEkA1lL4fwLaUlGBdB3kG+WSmVTc +LESTX/88+pY1RaZod7OIXbx1geDlA== =2iWP -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 05 12:01:35 2019 Received: (at 37593) by debbugs.gnu.org; 5 Oct 2019 16:01:35 +0000 Received: from localhost ([127.0.0.1]:45050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGmUw-0001dR-I4 for submit@debbugs.gnu.org; Sat, 05 Oct 2019 12:01:34 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:37801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGmUu-0001d1-7p for 37593@debbugs.gnu.org; Sat, 05 Oct 2019 12:01:32 -0400 Received: by mail-ed1-f65.google.com with SMTP id r4so8673307edy.4 for <37593@debbugs.gnu.org>; Sat, 05 Oct 2019 09:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j7EjWBYsoMjVzOS1ROI84t98AK8A/1RvYhnxKvyBTxI=; b=i5EIBDGh1WOjN9z5IfN1SH+64rK8QMaC1J5v208+BQoA0WTGzDYlyAxS+Hik79/+3A /r0She+eLOVeu0pnFsySL+qt8OiOPkBm1a6uPSAi/K9nd8Acz9PGzzsQPW0lok55c/kF Ivm3yXsNYrm7amIdsW2Se7J26WWNfhrZm8Gv4iwN7wVt8ULyOl/egrJJ47s1TQl5hpka a3amap3Zi26vCX/FKMLbWujXtItz+IjVGu/khVBXMcEhI44ZOVRe+1Wv8UX5ywPhekou JEYELpwoiZDpJK3nsdO3ne6SVEJM+dSoxeuRCKIEOrqhG2mM/Ul3/8VDtmWmCnNVSCDY rVoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j7EjWBYsoMjVzOS1ROI84t98AK8A/1RvYhnxKvyBTxI=; b=aCNzjHEUCXyIRtn3y36aRXGOZs+io2SCyQEC5OaJ0/J3CXfvAiVmoiU4BPQWbxqywK HmBquBapuTgWrYh1+JiE0lz83HnbQv+KOfh6eQdkGsgDbpkll/3OUdCLEz2jPjDc/ptL EJWApxwa+3lekNYARQCEfwuD8TyRU6BReALkdtbE7JYyxUGnfFv9X5Zd3WXNAHUPOuWJ YUt17gIR5cETH1qCeROmtdHZ61ZGxmYVsTEMCdp4fLXVFhCf8/HtEK2XqUAxcx254hYH ouQZm17Gn3Z16Zl8Uyx/eiDILnV9lLSjWomC1xeTb84hv4tSHnH3ZjVbAgKngHAuOtJV ytPA== X-Gm-Message-State: APjAAAU4glUflu80PSRWDg7NtKRuqr+O6ecPGxtXedacj+l0imheMqCo I5BJ5rJPHC63hjZX4ARCoifBAoAl5U3YYoUJ1g== X-Google-Smtp-Source: APXvYqwM8W1gVhIYnfGcc/kkIBOzdO/YbvVCfh5K/vqe06Wr3cdhTryVu0hyQdwivSDvGO+7/NiUiF06XiP6ORdlmJI= X-Received: by 2002:a50:d6db:: with SMTP id l27mr21341207edj.164.1570291286355; Sat, 05 Oct 2019 09:01:26 -0700 (PDT) MIME-Version: 1.0 References: <877e5m98nv.fsf@devup.no> <87a7ain6j7.fsf@gmx.com> <87tv8n74f4.fsf@devup.no> In-Reply-To: <87tv8n74f4.fsf@devup.no> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Sat, 5 Oct 2019 18:01:14 +0200 Message-ID: Subject: Re: bug#37593: [core-updates] Linux-Libre fails to build on aarch64-linux To: Marius Bakke Content-Type: multipart/alternative; boundary="00000000000051363a05942beeb1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37593 Cc: 37593@debbugs.gnu.org, Pierre Langlois 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.0 (-) --00000000000051363a05942beeb1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Marius, Marius Bakke ezt =C3=ADrta (id=C5=91pont: 2019. okt. = 5., Szo, 14:40): > Pierre Langlois writes: > > > Hi Marius, > > > > Marius Bakke writes: > > > >> Berlin fails to build "linux-libre" for AArch64 on the 'core-updates' > >> branch. Here is a recent attempt: > >> > >> https://ci.guix.gnu.org/build/1758844/details > >> > >> Log file for the latest build: > >> > >> > https://ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre-= 5.2.17.drv > >> > >> This seems to be the salient bit: > >> > >> CC [M] arch/arm64/lib/xor-neon.o > >> In file included from > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:3= 4:0, > >> from > /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64= -unknown-linux-gnu/7.4.0/include/arm_neon.h:33, > >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, > >> from arch/arm64/lib/xor-neon.c:11: > >> > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdin= t-intn.h:27:19: > error: conflicting types for 'int64_t' > >> typedef __int64_t int64_t; > >> ^~~~~~~ > >> In file included from ./include/linux/list.h:5:0, > >> from ./include/linux/module.h:9, > >> from arch/arm64/lib/xor-neon.c:10: > >> ./include/linux/types.h:114:15: note: previous declaration of 'int64_t= ' > was here > >> typedef s64 int64_t; > >> ^~~~~~~ > >> In file included from > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:3= 7:0, > >> from > /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64= -unknown-linux-gnu/7.4.0/include/arm_neon.h:33, > >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, > >> from arch/arm64/lib/xor-neon.c:11: > >> > /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdin= t-uintn.h:27:20: > error: conflicting types for 'uint64_t' > >> typedef __uint64_t uint64_t; > >> ^~~~~~~~ > >> In file included from ./include/linux/list.h:5:0, > >> from ./include/linux/module.h:9, > >> from arch/arm64/lib/xor-neon.c:10: > >> ./include/linux/types.h:112:15: note: previous declaration of > 'uint64_t' was here > >> typedef u64 uint64_t; > >> ^~~~~~~~ > >> make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.o] > Error 1 > >> make: *** [Makefile:1073: arch/arm64/lib] Error 2 > >> make: *** Waiting for unfinished jobs.... > >> > >> Not sure what's going on here. Ideas? > > > > Ha, that looks familiar, the same issue happened back in July: > > https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00175.html > > > > I don't think we worked out what was the problem exactly though :-/ > > So I was able to build it with this patch: > > > It's not very pretty though. Thoughts? > I believe that we encountered similar CPATH related problems earlier, which were fixed by pathes like this, so it looks good to me. Maybe it would worth investigating the pattern though, and create some generic mechanism to deal with it. Wdyt? Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 --00000000000051363a05942beeb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Marius,

Marius Bakke <mbakke@fastmail.com> ezt =C3=AD= rta (id=C5=91pont: 2019. okt. 5., Szo, 14:40):
Pierre Langlois <pierre.langlois@gmx.com> writ= es:

> Hi Marius,
>
> Marius Bakke writes:
>
>> Berlin fails to build "linux-libre" for AArch64 on the &= #39;core-updates'
>> branch.=C2=A0 Here is a recent attempt:
>>
>> https://ci.guix.gnu.org/build/1758844/details<= /a>
>>
>> Log file for the latest build:
>>
>>
https://= ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre-5.2.17.drv=
>>
>> This seems to be the salient bit:
>>
>> CC [M]=C2=A0 arch/arm64/lib/xor-neon.o
>> In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-= glibc-2.29/include/stdint.h:34:0,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-= unknown-linux-gnu/7.4.0/include/arm_neon.h:33,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= ./arch/arm64/include/asm/neon-intrinsics.h:33,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= arch/arm64/lib/xor-neon.c:11:
>> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bit= s/stdint-intn.h:27:19: error: conflicting types for 'int64_t'
>>=C2=A0 typedef __int64_t int64_t;
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^~~~~~~
>> In file included from ./include/linux/list.h:5:0,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= ./include/linux/module.h:9,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= arch/arm64/lib/xor-neon.c:10:
>> ./include/linux/types.h:114:15: note: previous declaration of '= ;int64_t' was here
>>=C2=A0 typedef s64=C2=A0 =C2=A0int64_t;
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~
>> In file included from /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-= glibc-2.29/include/stdint.h:37:0,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch64-= unknown-linux-gnu/7.4.0/include/arm_neon.h:33,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= ./arch/arm64/include/asm/neon-intrinsics.h:33,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= arch/arm64/lib/xor-neon.c:11:
>> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bit= s/stdint-uintn.h:27:20: error: conflicting types for 'uint64_t'
>>=C2=A0 typedef __uint64_t uint64_t;
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^~~~~~~~
>> In file included from ./include/linux/list.h:5:0,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= ./include/linux/module.h:9,
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from= arch/arm64/lib/xor-neon.c:10:
>> ./include/linux/types.h:112:15: note: previous declaration of '= ;uint64_t' was here
>>=C2=A0 typedef u64=C2=A0 =C2=A0uint64_t;
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~ >> make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.= o] Error 1
>> make: *** [Makefile:1073: arch/arm64/lib] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>> Not sure what's going on here.=C2=A0 Ideas?
>
> Ha, that looks familiar, the same issue happened back in July:
> https://lists.gnu.org/archiv= e/html/guix-devel/2019-07/msg00175.html
>
> I don't think we worked out what was the problem exactly though :-= /

So I was able to build it with this patch:


It's not very pretty though.=C2=A0 Thoughts?

<= /div>
I believe that we encountered similar CPATH related problems earl= ier, which were fixed by pathes like this, so it looks good to me. Maybe it= would worth investigating the pattern though, and create some generic mech= anism to deal with it. Wdyt?


<= /div>
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988= :3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
--00000000000051363a05942beeb1-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 06 12:13:21 2019 Received: (at 37593-done) by debbugs.gnu.org; 6 Oct 2019 16:13:21 +0000 Received: from localhost ([127.0.0.1]:46736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH99t-0005rn-32 for submit@debbugs.gnu.org; Sun, 06 Oct 2019 12:13:21 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH99r-0005rV-O5 for 37593-done@debbugs.gnu.org; Sun, 06 Oct 2019 12:13:20 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5793220AD9; Sun, 6 Oct 2019 12:13:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 06 Oct 2019 12:13:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=W5KzezWwkm4ZqtZJRENxOfvGjF sRaDcUDwM3mTZZNfc=; b=G6kyng9GWy7QBccTMUTJoInEwoykshSspDbAXxuyow X5ulrEi5kXFqQOl0rA2UliUf3Jd2vly8inmy/TykUgjgxqqI+dn8HnDtTOjPSAAZ 53vQqt5MDVIziDrZ1lo/7j7p200Z/hykQ+lLYy5apETYvdrVfIqMJMARxWSXi6tG tXaQsbTJaRfNsxPibJdkmMmDxgqz+R39dNrjXzykljSL/DqRuL+bV22cVMim55qR FwtZGjv5i/fOUxvjgEFNWjCkEsukN/ktlupfVEv2HEUQtt0yqkgj3ohs4P7j16EX JsYHrewZutkgNIO6xINSfquwtV6BOb9HUhWc78tdCnOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=W5Kzez Wwkm4ZqtZJRENxOfvGjFsRaDcUDwM3mTZZNfc=; b=kFyIn5MiVUdDLhBut6ejd6 o7PXaqCASkxhGk21vSfcD6C2Z5hJNu8B06W1VOlKhL4TdIGSXFzDKj3r8QVa6ar9 yVnUXF1dFjsGg3iMbqEfnTVbZIRPKPaXvr1aX1bQxTk+yLaPzK/vgWBUJyzlUaYh ozqNTDyO9mqExoyFTlJGqb9/FrS7jVQipHwgeJgz4ENtlggH1uIGHof4hY16MXZe bjO7CUmxYExfOEqldSA19T6pgo+scAoavzxyw4lHr/VGQicd5MjbnHxHBQY3NPFW fyp1i65rwQJ/DWSkdq8GwRJzcHVci1ngkwkXMV9qCPHrfxi1ZUfm7XVJxdBJ7B/g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrheehgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrg hinhepghhnuhdrohhrghenucfkphepiedvrdduiedrudelvddrudehtdenucfrrghrrghm pehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhush htvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id AEC628005B; Sun, 6 Oct 2019 12:13:13 -0400 (EDT) From: Marius Bakke To: =?utf-8?Q?G=C3=A1bor?= Boskovits Subject: Re: bug#37593: [core-updates] Linux-Libre fails to build on aarch64-linux In-Reply-To: References: <877e5m98nv.fsf@devup.no> <87a7ain6j7.fsf@gmx.com> <87tv8n74f4.fsf@devup.no> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sun, 06 Oct 2019 18:13:12 +0200 Message-ID: <87a7ad7syv.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: 37593-done Cc: 37593-done@debbugs.gnu.org, Pierre Langlois 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; charset=utf-8 Content-Transfer-Encoding: quoted-printable G=C3=A1bor Boskovits writes: > Hello Marius, > > Marius Bakke ezt =C3=ADrta (id=C5=91pont: 2019. okt= . 5., Szo, > 14:40): > >> Pierre Langlois writes: >> >> > Hi Marius, >> > >> > Marius Bakke writes: >> > >> >> Berlin fails to build "linux-libre" for AArch64 on the 'core-updates' >> >> branch. Here is a recent attempt: >> >> >> >> https://ci.guix.gnu.org/build/1758844/details >> >> >> >> Log file for the latest build: >> >> >> >> >> https://ci.guix.gnu.org/log/aq2rnrmjsgnyk8vmsm7aa3mgdj39dcwh-linux-libre= -5.2.17.drv >> >> >> >> This seems to be the salient bit: >> >> >> >> CC [M] arch/arm64/lib/xor-neon.o >> >> In file included from >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:= 34:0, >> >> from >> /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch6= 4-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, >> >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, >> >> from arch/arm64/lib/xor-neon.c:11: >> >> >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdi= nt-intn.h:27:19: >> error: conflicting types for 'int64_t' >> >> typedef __int64_t int64_t; >> >> ^~~~~~~ >> >> In file included from ./include/linux/list.h:5:0, >> >> from ./include/linux/module.h:9, >> >> from arch/arm64/lib/xor-neon.c:10: >> >> ./include/linux/types.h:114:15: note: previous declaration of 'int64_= t' >> was here >> >> typedef s64 int64_t; >> >> ^~~~~~~ >> >> In file included from >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/stdint.h:= 37:0, >> >> from >> /gnu/store/yckkivhynk4hjcr0iry9vbcyc0lqqnxj-gcc-7.4.0-lib/lib/gcc/aarch6= 4-unknown-linux-gnu/7.4.0/include/arm_neon.h:33, >> >> from ./arch/arm64/include/asm/neon-intrinsics.h:33, >> >> from arch/arm64/lib/xor-neon.c:11: >> >> >> /gnu/store/nr1aw4i32h7rmxwmq7d2da0mwcwg551j-glibc-2.29/include/bits/stdi= nt-uintn.h:27:20: >> error: conflicting types for 'uint64_t' >> >> typedef __uint64_t uint64_t; >> >> ^~~~~~~~ >> >> In file included from ./include/linux/list.h:5:0, >> >> from ./include/linux/module.h:9, >> >> from arch/arm64/lib/xor-neon.c:10: >> >> ./include/linux/types.h:112:15: note: previous declaration of >> 'uint64_t' was here >> >> typedef u64 uint64_t; >> >> ^~~~~~~~ >> >> make[1]: *** [scripts/Makefile.build:285: arch/arm64/lib/xor-neon.o] >> Error 1 >> >> make: *** [Makefile:1073: arch/arm64/lib] Error 2 >> >> make: *** Waiting for unfinished jobs.... >> >> >> >> Not sure what's going on here. Ideas? >> > >> > Ha, that looks familiar, the same issue happened back in July: >> > https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00175.html >> > >> > I don't think we worked out what was the problem exactly though :-/ >> >> So I was able to build it with this patch: >> >> >> It's not very pretty though. Thoughts? >> > > I believe that we encountered similar CPATH related problems earlier, whi= ch > were fixed by pathes like this, so it looks good to me. Maybe it would > worth investigating the pattern though, and create some generic mechanism > to deal with it. Wdyt? I don't think we've had to remove libc from CPATH before. We could do that in gnu-build-system if it becomes a pattern. A more general solution to the CPATH vs C_INCLUDE_PATH problem could be to present GCC a union of all the inputs as C_INCLUDE_PATH, because I suspect the main problem is having multiple entries in arbitrary order. Not sure if that would help this particular issue though. In any case I pushed the fix as c5ceec4150f6a6cdc1b64781afa2d05547cf8542. Thanks for the feedback! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2aEpgACgkQoqBt8qM6 VPoPpQgAuSr3oyysVzHKTqAfwBeRFIE7tNmoud+drZK1e5O2Dt8t2qmzoa6GjIAf 0vzhPMydUjLHqYIw7MzxB3KbkaCOlPMaJC6ZLxzKwepH4DweIoUVGsan5nFW9sVx B8tz/J74DvN9dNfPaYUpzO4m7Boj1ay3Q+P0J9RTybZj68r7/kwEyR892hMmG7di CSdcrytBwzYSJ8XBlpHhtr9yc6T/itMaBRGSvpCmWmVmYgYK5AHmcCKYynRMiRfP o9Br9ka7MjSNHLUlkby64TxmTf9Z743Crio2nK0pVKlXkSaiglgDkNz7aMWzs50e nAdvFCPArOanA4gEbYWegbp8RjXfnw== =uA0L -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 19:24:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Nov 2019 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator