X-Loop: help-debbugs@HIDDEN Subject: bug#76988: Architecture-specific kernels (arm64-generic) built for x86_64 Resent-From: Vagrant Cascadian <vagrant@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 12 Mar 2025 23:19:02 +0000 Resent-Message-ID: <handler.76988.B.174182153421261 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 76988 <at> debbugs.gnu.org Cc: w@HIDDEN, leo@HIDDEN X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174182153421261 (code B ref -1); Wed, 12 Mar 2025 23:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2025 23:18:54 +0000 Received: from localhost ([127.0.0.1]:52250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tsVLi-0005Wr-5Y for submit <at> debbugs.gnu.org; Wed, 12 Mar 2025 19:18:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54022) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <vagrant@HIDDEN>) id 1tsVLg-0005Wc-7C for submit <at> debbugs.gnu.org; Wed, 12 Mar 2025 19:18:52 -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 <vagrant@HIDDEN>) id 1tsVLY-0003w9-B4 for bug-guix@HIDDEN; Wed, 12 Mar 2025 19:18:46 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vagrant@HIDDEN>) id 1tsVLV-00087j-L5 for bug-guix@HIDDEN; Wed, 12 Mar 2025 19:18:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1741821511; bh=2VrfdCFxlxkY6hFDnWl89p/am73K4gsxlAIYpqex0RE=; h=From:To:Cc:Subject:Date:From; b=lNE4JwzOzwGTL+XRt9RBlGpAGGNoGr/fX25oPR9PFSiwZvtyntYmINnShyHUuuY6o lyfNN6CXFHy+WWxO2Sumgfz8ArlZCfKS271UeFaIgt0KbXiVHcdv7lOvbdHeWWCncH zgoWE9jUCaLDSxN0w50fVPvGYmwjtUrHgerKKpczOAhAWiFF5l0MVDIsUYbDl8Xeck oNuDOV/2oBl9+kElh6YG4hb7y1XpcW8LUoSnP5wCzqC0bBPLbzq9rxSvhPAY0rBEhx 7HHCLozjhuAb+gquDE1jt5eUf5EDYYheK6upeNaKA9ALY9ziojHo+boFyWz2BsTrCH h1Md5d0D82Lcg== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 44E54911; Wed, 12 Mar 2025 16:18:31 -0700 (PDT) From: Vagrant Cascadian <vagrant@HIDDEN> Date: Wed, 12 Mar 2025 16:18:26 -0700 Message-ID: <87y0x9zvlp.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@HIDDEN; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable In trying to create an alternate kernel configuration, I noticed that the various kernels on x86_64 that are targeted at various specific architectures (e.g. linux-libre-arm64-generic) ... are actually built for X86_64: $ file $(guix build linux-libre-arm64-generic)/bzImage gnu/packages/linux.scm:989:2: warning: package linux-libre-arm64-generic@= 6.13.6 does not support x86_64-linux /gnu/store/2jj1jxirrgiq972xbfk8cz8b9i642qq5-linux-libre-arm64-generic-6.1= 3.6/bzImage: Linux kernel x86 boot executable bzImage, version 6.13.6-arm64= -generic (guix@guix) #1 SMP PREEMPT_DYNAMIC 1, RO-rootFS, swap_dev 0XF, Nor= mal VGA =20=20 $ grep ^CONFIG_X86_64=3D $(guix build linux-libre-arm64-generic)/.config gnu/packages/linux.scm:989:2: warning: package linux-libre-arm64-generic@= 6.13.6 does not support x86_64-linux CONFIG_X86_64=3Dy Those were downloaded from the substitute servers... and guix even helpfully warns me that something is fishy... so it is not like I was holding it wrong, per se! :) These packages should either refuse to build (e.g. it does not match the architecture, so should not even try to build) or attempt to cross build when building on a non-native architecture. I swear they used to cross-build for the appropriate architecture on x86_64 out-of-the box ages ago, but there have been probably significant changes to how cross-compilation and/or linux-libre packaging is done since then... $ git grep -E 'define-public linux-libre.*(generic|honey|mips|arm)' gnu/p= ackages/linux.scm | nl 1 gnu/packages/linux.scm:(define-public linux-libre-arm-generic 2 gnu/packages/linux.scm:(define-public linux-libre-arm-generic-5.10 3 gnu/packages/linux.scm:(define-public linux-libre-arm-generic-5.4 4 gnu/packages/linux.scm:(define-public linux-libre-arm-omap2plus 5 gnu/packages/linux.scm:(define-public linux-libre-arm64-generic 6 gnu/packages/linux.scm:(define-public linux-libre-lts-arm64-generic 7 gnu/packages/linux.scm:(define-public linux-libre-arm64-generic-5.10 8 gnu/packages/linux.scm:(define-public linux-libre-arm64-generic-5.4 9 gnu/packages/linux.scm:(define-public linux-libre-arm64-honeycomb 10 gnu/packages/linux.scm:(define-public linux-libre-riscv64-generic 11 gnu/packages/linux.scm:(define-public linux-libre-mips64el-fuloong2e Building all those package variants is a waste of build resources when the result is not usable for the intended purpose... Thanks for maintaining linux-libre in Guix! :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ9IWQgAKCRDcUY/If5cW qswHAQCCxbojqzuIGpA2XmfhXIZKG6dTQCxrE4xe3VuQI/3lfgEAoU+TTWj30lO9 PB+nkdFmh4x/UjAYq1pX2B+hQdK7Ngw= =k6tU -----END PGP SIGNATURE----- --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Vagrant Cascadian <vagrant@HIDDEN> Subject: bug#76988: Acknowledgement (Architecture-specific kernels (arm64-generic) built for x86_64) Message-ID: <handler.76988.B.174182153421261.ack <at> debbugs.gnu.org> References: <87y0x9zvlp.fsf@wireframe> X-Gnu-PR-Message: ack 76988 X-Gnu-PR-Package: guix Reply-To: 76988 <at> debbugs.gnu.org Date: Wed, 12 Mar 2025 23:19:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 76988 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76988: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76988 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.