From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aPx5OvXWRmQtHAEASxT56A (envelope-from ) for ; Mon, 24 Apr 2023 21:22:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CL9xOvXWRmQ0rgAA9RJhRA (envelope-from ) for ; Mon, 24 Apr 2023 21:22:29 +0200 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 679683DAE7 for ; Mon, 24 Apr 2023 21:22:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pr1lE-0000Ho-Ol; Mon, 24 Apr 2023 15:22:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr1lC-0000HT-IE for guix-patches@gnu.org; Mon, 24 Apr 2023 15:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pr1lC-0001aX-9W for guix-patches@gnu.org; Mon, 24 Apr 2023 15:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pr1lC-0006ko-1n for guix-patches@gnu.org; Mon, 24 Apr 2023 15:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63008] gdb on aarch64 Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Apr 2023 19:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63008 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Langlois Cc: andreas@enge.fr, 63008@debbugs.gnu.org X-Debbugs-Original-Cc: Andreas Enge , 63008@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168236410325936 (code B ref -1); Mon, 24 Apr 2023 19:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Apr 2023 19:21:43 +0000 Received: from localhost ([127.0.0.1]:50354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr1kt-0006kG-Cs for submit@debbugs.gnu.org; Mon, 24 Apr 2023 15:21:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:46138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr1kr-0006k6-Kn for submit@debbugs.gnu.org; Mon, 24 Apr 2023 15:21:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr1kq-0000Gq-Sg for guix-patches@gnu.org; Mon, 24 Apr 2023 15:21:41 -0400 Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr1ko-0001Yf-Vm for guix-patches@gnu.org; Mon, 24 Apr 2023 15:21:40 -0400 Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MMGNC-1pXhgV2MjO-00JGrD; Mon, 24 Apr 2023 21:21:29 +0200 References: <87pm7wvq5e.fsf@gmx.com> <87jzy1t7rh.fsf@gmx.com> User-agent: mu4e 1.10.2; emacs 28.2 From: Pierre Langlois Date: Mon, 24 Apr 2023 20:20:26 +0100 In-reply-to: <87jzy1t7rh.fsf@gmx.com> Message-ID: <87fs8pt7bk.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:E+Xb6FK76R7B3dNTfxJcj3LlOu9MkA69SVQf7qqNPsubU8jDr5i Q/JP/+5NnFk7KyGulpb4beIE0+Jog7BKGqsPqImzPKHwqT2ahNp3PO3Dx0JV28RL66SZQRa kEMAMGM10J7bRFjJZ8BtQHYnW7KWhnYdqfrAZZQ+dZirxhuiS8x6rCoGr9GzauUl16Z5VUr ZhH9mqprefxmmrgYXMmUQ== UI-OutboundReport: notjunk:1;M01:P0:e2xVWB5/0lE=;aUptmF8yydXQbTp5WP6gFUBjYbT e5S9KMSRjQ6V4L5TiXnrwuSdCndY+PftDVKT/WnOefy+5+dwZfRBHGrW1YOAPoSxw2Wv6Zj+f TLHJaaOcwEPqjsWDcfO7DYy0aoIeh5VmKKr36AT7ylF8Qe8bMoaR38tctYJCJ7AbTfoj+0eX1 BS8XzeixOMh3rHxJKEy7JzhSP4/N6CjuSmN62jG8xhkJNkePDbnMDGV8yI+/RbNG4SHV9TfaJ ym+mVUx03WaWodQ1KzwukKxqK+GJboWvpC94JaQMgrhbRCjjABIHfPWM2ZDWQDaVcRyBiD9Ab /z9bHZEBWTSrkRVSxPE3kUwfrsu4cUizeA0r61hq6PKwgIj/zLsGRLEDSjkwMTqaYgGO7BX7x RTfO7BOC34g/saQIFHs05K3CJaNzjjAjeKNKY3oxq5T2MHcRn0HSvk4j2nba10xPhK5UTA/GF yXZxcAI7xJUjRI+eM56e6xwohmC8R2B/UZbdoKUH7vfwe33gVCKfrMWNxYA76UkvcG3itKZPt Ka5RhY0jvchpjdFk07DGFP/dnaUB43TsbG3rc+fzKQzlHu1Lb/ZvssmuHeEklbuF28ZgV+zWw uptqBskBxX5aygVmUkIOALq7z4y0igfQv93eAf6507pKo/Q91cujNzDOT/H1M3QF+SyFkyfYZ mpIfVNB3+FDgCuPhqV9u8ZvmoQQTeX5dU5ecCTuPE1cFhtr5jomhLJcyDYPqUFdgvF/rzotYZ RETjkQZGqo1D0Hbv4lMlxMem6ctHu8AFS4zk+tJok5j1K1UB1Om5hx2c+YHNb+NOUD2lsja+R o1c6xtQa1nxgmS8a8QcnNLWaraKiuYuzxFLP2BU4+hhTER0SBBWN1RkaoZKwXORhbFsQCNYui yoj4ASuhPi0D0Xak6wzPd6DUi5/MX2SFTki6B1jwrwsQWlNjZAHFNgpJRDj6N69bZJWcblixo FA75JEoGXfQJNbYCxd0FhkuBlDA= Received-SPF: pass client-ip=212.227.17.22; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682364149; a=rsa-sha256; cv=none; b=Sni1BHBHGvJEA/AsP3sKeAeipcxuSehkuKG+jCmvsIJkmg8JwU2Lt5xhC5T3rzvmyl4tza 7RuFd2RBzm38096J5K0xmZwT8WOMIU5Bl0wgokes4DYBs4ZD3x6D3e1633pyElPKvnrQUK FYeim1L7M+xFnVN0i5ejtCqo+DtDGSnrSQPTp1WAFYtigm5aYYAQ2e0iXFKq0U/gfoD207 k1K5vERTorMGfM2JA1qtSwjaGJABL9Casdga6dEh/p9qbapoUGBohtB45QqUtDuQ/wh6Mt 3daWK0x9X1zAy9j7xM/ZBUuGAPTXckC/6m/wkqNUj5qnNVRc0SrYIrrRho+aeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682364149; 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; bh=hnAWzeoF8zkjC8+eXyOLCVGZvzY4eFL6Mf6ZTFp2jik=; b=YzKTM/yspFA8dhXLOlYd8zXQO6E0BLWiEfEEFtw40muYu2YVe3LSK92OFISUlN0tqC5TT/ B8EclFVbw8rsUB2Zg0gNP9qloUrIMoim94hFNPEcSuGIl95IAoSbdmXIfdr2V6Xcrf2XpS RRf7Vs94MhXKSiOlcL4N03zxzAXzVmzBEq0X/sTEM0rymADcLUUcjtsG8PcUZ4f18sN5er ANETx1sTTyPm5DYWpfGE2Nr0LfPDddE0NNcH/S8tZmlwXgGS2j4zviKBk4UXcQO9+KE0Pv /0g46A6x4tfbwL4D7XQC+v319KBbfZ36xD9W0e70GuOKAaZ0eDdhkx+v9D3REQ== X-Migadu-Spam-Score: -3.01 X-Spam-Score: -3.01 X-Migadu-Queue-Id: 679683DAE7 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: F5mFm1AQtukf --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Pierre Langlois writes: > [[PGP Signed Part:Undecided]] > Hi Andreas, sorry I missed your reply! > > Andreas Enge writes: > >> Hello Pierre, >> >> we also have gdb@12 in core-updates; does this also not build? Right now >> none of the two have been built on aarch64 on CI, so I lack an overview. > > Yup, gdb@12 builds just fine for me! > >> >> On x86_64, both build; @12 has 101 dependents, @11 7563! >> This cannot be accomodated on core-updates any more, I am afraid. >> >> We will need to build it out afterwards. And probably the best course >> of action would be to move the dependents to gdb@12; or drop the >> dependency? Why do so many packages depend on a debugger? > > Yeah gdb is used as a dependency for testing rust, I'm not sure if it > has to be 11, it can probably work with 12 although I haven't tried. > > I think the main reason we still have gdb 11 is to make sure we don't > rebuild the rust world. I'm afraid if we don't do update it know, we'll > have to do it quite soon, can the rust world be rebuilt on a staging > branch soon after the core-updates merge? I'm concerned that these days > a lot relies on rust (via librsvg IIRC), so not having it available > might be an issue, even for simple systems :-/. > > All that being said, it might be possible to add a separate gdb@11.2 > package, and only use it for rust on non-x86, in a way that doesn't > cause a rebuild, could that work? To illustrate what I mean, here's a WIP patch (it needs comments), AFAICT, this would only be a rebuild on non-x86: --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmRG1q8YHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31Uo08H/2V80ADGAJAzd516vqkkCo4I bzuHglmopo58MhWfc+6/wFzW9RA6/wfwUWpflZK3yrk334TqK1/la1O8od28m9zx OF3e1a6S3xzkC1h8DxSOrEDxArbYQpp6EnyLJ2aE2wtMVCBHlQ2QnIdn3z5xs1yt s69KAh98VGUErgRL0XXtTkI3jgORU/A5b8erCSS6dudRDMEo90uxsCEETw0AnLGM FGmgAjVCqKNL0QfqV7tdFyb4kzpIL6yK6VdX2Elgu3xZLzpyYCDHwWvbE2G9ZszY sgOmGNe5Ygsv1TssS3IFE3/FBWp12SZG6lAKnk3HI6iKDJHwR2qqYbWKCpCBeKk= =6lm2 -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gdb.patch diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm index 82050d9ac5..d460f3950c 100644 --- a/gnu/packages/gdb.scm +++ b/gnu/packages/gdb.scm @@ -146,6 +146,18 @@ (define-public gdb-11 ;; RPC stubs). (supported-systems (fold delete %supported-systems %hurd-systems)))) +(define-public gdb-11.2 + (package + (inherit gdb-11) + (version "11.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gdb/gdb-" + version ".tar.xz")) + (sha256 + (base32 + "xvczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf")))))) + (define-public gdb-12 (package (inherit gdb-11) @@ -166,6 +178,11 @@ (define-public gdb/pinned ;; enough to avoid massive rebuilds. gdb-11) +(define-public gdb-11.2/pinned + ;; This is the fixed version that packages depend on. Update it rarely + ;; enough to avoid massive rebuilds. + gdb-11.2) + (define-public gdb ;; The "default" version. gdb-12) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index d07f4ef10c..3cc5a4926b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -788,7 +788,9 @@ (define-public rust (format #f "prefix = ~s" (assoc-ref outputs "rustfmt")))) (invoke "./x.py" "install" "rustfmt"))))))) ;; Add test inputs. - (native-inputs (cons* `("gdb" ,gdb/pinned) + (native-inputs (cons* `("gdb" ,(if (target-x86?) + gdb/pinned + gdb-11.2/pinned)) `("procps" ,procps) (package-native-inputs base-rust)))))) --=-=-=--