From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2LWjBUTO4mHYtwAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 14:38:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SIGYAkTO4mEQlQAAauVa8A (envelope-from ) for ; Sat, 15 Jan 2022 14:38:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 903BE3CF67 for ; Sat, 15 Jan 2022 14:38:11 +0100 (CET) Received: from localhost ([::1]:60294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8jFy-0007sy-Jd for larch@yhetil.org; Sat, 15 Jan 2022 08:38:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8jDv-0007pk-50 for bug-guix@gnu.org; Sat, 15 Jan 2022 08:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8jDu-0007lC-Qw for bug-guix@gnu.org; Sat, 15 Jan 2022 08:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8jDu-0001NF-Pe for bug-guix@gnu.org; Sat, 15 Jan 2022 08:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52943: Cannot build guix as part of guix system reconfigure after commit 224d437fb4 on aarch64 Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 15 Jan 2022 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52943 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich X-Debbugs-Original-Cc: Aiko Kyle , bug-guix@gnu.org, 52943@debbugs.gnu.org Received: via spool by 52943-submit@debbugs.gnu.org id=B52943.16422537205207 (code B ref 52943); Sat, 15 Jan 2022 13:36:02 +0000 Received: (at 52943) by debbugs.gnu.org; 15 Jan 2022 13:35:20 +0000 Received: from localhost ([127.0.0.1]:39439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8jD8-0001Lj-PU for submit@debbugs.gnu.org; Sat, 15 Jan 2022 08:35:20 -0500 Received: from mout.gmx.net ([212.227.17.20]:44897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8jD2-0001LI-TU for 52943@debbugs.gnu.org; Sat, 15 Jan 2022 08:35:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642253701; bh=gJCqbRXH3Lp+FXvFsbRYlxx0vZfa8H7LAXHi2P5EyQo=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=Ihh4myAwA+LIUepMHW9ixcrxAcYY96oQAebY1hlRSX/FXcWY6M/yQ6Jefykp8J4fg M29xquL1rQShGUsbu4ZoqzQ9gOWFJNSOXsOU/XwbRQRHuZzXINUqv/GrS0dN3ildaY 7jDm0677MKtM8+FyRzctl4jVm4W0vGP2kKoklTlk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MtOGU-1mKSq32owA-00urri; Sat, 15 Jan 2022 14:35:01 +0100 References: <87o84lcyk1.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois Date: Sat, 15 Jan 2022 13:27:51 +0000 In-reply-to: <87o84lcyk1.fsf@gmail.com> Message-ID: <874k65rukb.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:dLXwdTVF0X7+ZlxCG8zz32A8JFgYAb8+0HH/84URizoE5cyhO+G 8TRpV1CPzgzmXgTSCeRiOr095cYUqpEeY2/SNS2r0/olPl/IJKJ6vpjLgY6fNShXGM86xLh o8jAPpCo52cbbtgoyhuE27YNJOY7EuQ8wXslwMBz3jT9VNfXBW6i2m6GFKcOGUpofhL1h5N b+S5VUr6AfXp7noprlVNw== X-UI-Out-Filterresults: notjunk:1;V03:K0:V917pe73qHU=:X0bsb5YKKauJiSd0OWoDBL SEr6v6jOe8SULJl6ICpb5ps/tn/HARoYViKaEltqSLpyD1O6R/XEKX5QOowS5o4rc5sLEBXsc FlbC66ypFecApej4GaRBZYykiTJSo31k/tMaDznhdBZaLUpONL1j7L+YcJvdFd+A630vVqrUA Aet/8cZ4yqzbF9DZpkJBHAfuUJ+2JeKHLtEzOyQuJOElQrfOctjHoAB0Dyk9ut3YH1IKOUopE LrVMn3wXkoqTxQHuLxRQQqE2i45P1JtLjGTJfT6iDjZE8emmFXoeJydYpkbwziUoiG6duagA2 kSwx3IHeukHCX16XNAcIHKq133wG3urgv7XEnHOelc9oW0SSWwQ0werQeEi8/wJW/mrgudBz1 JvTKO8UrlGc9DOY+VfrDhVuz2FXltpTuS+LIRiT4JarjwQ17k0ANfkVwIVUx4NW9Pv2Ir3iFr 9KQ+N6hkhbo1hI/v8j5Zk28D35sgZuwTy/2+V7XywUhWCjkfy506ldXOK1bArPQiXlh6XvvBv aKuzro/PaaXbfP/3mxG2M1n1foZPW651M0yV76ImiWPne0M/XBxRHlbh97JgPlgiE5eTCLDyA PFcFt+75/VU5mc4gbwTwCdat/qfqkqmGDHyH0vWgDssx9dBalAUpqtnkHgqKNsasNW1+dd2rc QoEMGPjxCEAotmzrPd0G5UnY/heNImobdW3QA/miAoQH0o4nQFCby7T5L1D9cN/LlF5U0MPrw EYd10XSX3dsB3FS0VKqZaEEQRNNCaWOqIHvX4Ul/hDxdnx7+1JHR8PSieoJPBzvy3I7Is9r7m cAPK0iZ2LUzhygRYqenHj4F7upoO9xOOOv923EJGe4KHecPL177chatHkngj/wOX4ZiYgB8lx HVlwRarWQbuXvAWsV76yQgHScWZQwQZlDDcFnzksOatws2q69cMYA9VWVPlLh0rdeONlQ3/4S ydiokZodJdXqVQBpvViMvvEUWIzLAC095CqEZXF+Zs12ca31yQaKV2i/4/4QQtNP0Wq13l+8J CznQLrXTaLohXEcjGFKJ/NnEuyqFzOLLvrJpbw03X5K6ybL/UU/zhvzqjgAc820AHM4QhUK1O KpRfaU14dQEz88= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aikokyle@gmail.com, 52943@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642253891; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=BnFu/xhMGp5qOmjfX+nw3Z26DGB34VpJE7I/7YEPFII=; b=VSoA6kccqmFD1Y8CscwKDpTmP1LmjzzftC1iDWBUSKwJDbxoNTOcQcmyLJjyFHakL7jpch g+mR1ozDd4gSUAW8QTrd3yrdm2rXh+85UM0nFLaYef0vT42yIcz5is5JQo5nLhc13FSdHc svdDNUhrT4Zz7r2CbiAt9+Ncg+ZQiJ+MfQ/TlMcBoKelN9c+aO6l8qQKSk/V8dUyKH0G8O KhPUANrE+AXc/rntUUQhpe3VlOlYXT4mzi3Sj7MpfOJJ7rEyicOU8cPUHUyzrtveeX81zs aXiZqa8YMhzPnCdJR9sCyDzs6qDZ7rYuBhTm12ymAZckeGjKpFtPIbJizhExsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642253891; a=rsa-sha256; cv=none; b=MYw/tgEdCOvqWhmTje1SRROJXuhjl2FBG6/x2nKaXdQC2WcUdwTc70AREHVvTYXVd0LvQ5 UUniygXN8ZGUfDqRaswf1KIcYqcFmVA+nNmLnDl0ztwfQWV2AU/dS+S5xOtxLnScKc3ghC RptwOnqAPQqIMbgy16Xm1eCt5KPxeECBLvWpS1UNp7TLumLXu8CiWBvM0yZ0G778sP7mc4 SgCcW3PX04Om+zhSF9NB8px37vAG6tj+gI4lmnm96BO2xn8EVtDugNSAfavL1clH/WVZ0Y JXpExObwxjilF0/xWlk6uI/wmkAPLXoN8AcEt1ouOZn0mr1UeqHj4RaybYru6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=Ihh4myAw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=Ihh4myAw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 903BE3CF67 X-Spam-Score: -5.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7mn3soM/tCUp --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Chris, Chris Marusich writes: (snip) > It seems fishy that on aarch64-linux, there is no NEEDED entry for > ld-linux-aarch64.so.1 in the ELF files under consideration. As shown > above, a similar entry DOES exist on both x86_64-linux and > powerpc64le-linux. For this reason, it seems plausible that maybe the > missing NEEDED entry is bad. However, I don't really know enough to say > whether it's indicative of a problem with our aarch64-linux port. Is > there an aarch64-linux or ELF expert in the room who can help? :-) > > It also seems fishy that, on powerpc64le-linux, file-needed/recursive > apparently resolves ld64.so.2 successfully, even though it > simultaneously includes it in the "failed to resolve" list. Confusing > as that is to me, I don't know if that's really related to the > aarch64-linux issue. > > More investigation is needed... I'm afraid I don't have any new insight if this is an issue or just working as intended. Given we have a limited bandwidth to address this thoroughly, would it make sense to apply a temporary work-around in the mean time? I'd be good for at least guix to build on aarch64 in the 1.4 release. I have the attached patch in my tree for instance (along with an update of the guix package), and I've not noticed any issues on a rockpro64, running cgit, DHCP and dnsmasq. That's just anecdotal :-), but I'm also thinking if we unblock the guix package then the farm might catch other issues that could help getting to the bottom of this. WDYT? Thanks, Pierre --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmHizYQYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31URx4IAKl2cp3u2nYF30zh8XXKZkrh j1rQA3UtxxD4bOIy/PKh3OAlxMDjw0GtRkfwYD1LKZsJenASIVuZFoVARS8eJ+ID HVX2evHA7KR+uFBRY2cmGPgACHlcbP3H1a5Ol7f8ixqF6Vwxhnf1YSf7fPvXzQgF /Z9g1wy1oqC3z3T0Kae5NsMmS0IBw1QFUeDTZQUFqvMhUz+Y+bb6P8iYRG7ncrdy cIOF7dHlnk49sFOV34mwiMhm1vMCVApL2vi6jHK17N6vFEWPU3m919XZMxqfxasK vqEKlgqYtDe84etrV3BCpu+/zstzRlDQ4T2JyFQErlXd/NHYnigWgd4bv/Bg48E= =YxyK -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gremlin-Adjust-test-for-aarch64.patch Content-Transfer-Encoding: quoted-printable =46rom cdd2c995b7c03400a9702a6b354655b0584b727c Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Wed, 22 Dec 2021 22:02:08 +0000 Subject: [PATCH] gremlin: Adjust test for aarch64. =2D-- tests/gremlin.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/gremlin.scm b/tests/gremlin.scm index 9e0017337a..c9b05ae21a 100644 =2D-- a/tests/gremlin.scm +++ b/tests/gremlin.scm @@ -20,9 +20,11 @@ (define-module (test-gremlin) #:use-module (guix elf) #:use-module (guix tests) - #:use-module ((guix utils) #:select (call-with-temporary-directory)) + #:use-module ((guix utils) #:select (call-with-temporary-directory + target-aarch64?)) #:use-module (guix build utils) #:use-module (guix build gremlin) + #:use-module (gnu packages bootstrap) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) @@ -99,7 +101,12 @@ (define ground-truth (or (string-prefix? "linux-vdso.so" entry) (string-prefix? "linux-vdso32.so" entry) ;32-bit powe= rpc (string-prefix? "linux-vdso64.so" entry) ;64-bit powe= rpc - (string-prefix? "linux-gate.so" entry))) ;i386 + (string-prefix? "linux-gate.so" entry) ;i386 + ;; FIXME: Binaries on aarch64 do not always include t= he + ;; dynamic linker in their NEEDED section, it's uncle= ar if that's OK, see + ;; ttps://bugs.gnu.org/52943. + (and (target-aarch64?) + (string-contains entry (glibc-dynamic-linker))))= ) (read-ldd-output pipe))) (and (zero? (close-pipe pipe)) =2D- 2.34.0 --=-=-=--