From unknown Sun Jun 22 03:59:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48327: guix system image uses cross-compiler even on native system Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 May 2021 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48327@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162061910225549 (code B ref -1); Mon, 10 May 2021 03:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2021 03:58:22 +0000 Received: from localhost ([127.0.0.1]:56915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfx3m-0006e0-9e for submit@debbugs.gnu.org; Sun, 09 May 2021 23:58:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfx3i-0006dq-Jh for submit@debbugs.gnu.org; Sun, 09 May 2021 23:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfx3h-0003VJ-HJ for bug-guix@gnu.org; Sun, 09 May 2021 23:58:18 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:39152) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfx3f-0003Jt-6r for bug-guix@gnu.org; Sun, 09 May 2021 23:58:17 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id BCC341ACAA for ; Sun, 9 May 2021 20:58:12 -0700 (PDT) From: Vagrant Cascadian Date: Sun, 09 May 2021 20:58:09 -0700 Message-ID: <87r1ifqlym.fsf@yucca> 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@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain I tried building a pinebook-pro image on an aarch64-linux Guix System... $ uname -a Linux myhostname 5.12.2-gnu #1 SMP 1 aarch64 GNU/Linux $ guix system image ./gnu/system/images/pinebook-pro.scm substitute: updating substitutes from 'http://mycachingproxy/ci'... 100.0% The following derivations will be built: /gnu/store/n2mmyxi710aqbicq6p4nilma56nbpp3b-net-tools-1.60-0.479bb4a.drv /gnu/store/5f7hz1bbz3m7cxiv529qyw5arqp687j5-gcc-cross-aarch64-linux-gnu-7.5.0.drv /gnu/store/ca3ki1nw3abmx4phg5aqbyvk9pw9v8j4-linux-libre-headers-cross-aarch64-linux-gnu-5.4.20.drv /gnu/store/vdl9l45257m1glbmmqcrwdy2brb96kg4-gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0.drv /gnu/store/jik876a99dvxdky5jv8ghj316knfjfyj-glibc-cross-aarch64-linux-gnu-2.31.drv ... But I'm building this on an aarch64 system; it shouldn't need to use an aarch64-linux-gnu cross-compiler on an aarch64-linux system! It would be nice if it could build images natively, too. :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJivUQAKCRDcUY/If5cW qsw6AQCClPkc2JltkeeLxGBcCG60YU8nRvKiziECmQg4p6ab6gEA5Y0RX1uWhn1b m/cGzcGJKr2Pv1IaqfqWdQTBU3WzHwA= =uabO -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 03:59:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48327: guix system image uses cross-compiler even on native system Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 May 2021 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 48327@debbugs.gnu.org Received: via spool by 48327-submit@debbugs.gnu.org id=B48327.162063856327031 (code B ref 48327); Mon, 10 May 2021 09:23:01 +0000 Received: (at 48327) by debbugs.gnu.org; 10 May 2021 09:22:43 +0000 Received: from localhost ([127.0.0.1]:57404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg27e-00071v-Pg for submit@debbugs.gnu.org; Mon, 10 May 2021 05:22:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg27c-00071h-3A for 48327@debbugs.gnu.org; Mon, 10 May 2021 05:22:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58498) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg27W-0002Tu-4J; Mon, 10 May 2021 05:22:34 -0400 Received: from lfbn-lyo-1-1093-193.w86-248.abo.wanadoo.fr ([86.248.16.193]:59818 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg27V-0003u2-RC; Mon, 10 May 2021 05:22:34 -0400 From: Mathieu Othacehe References: <87r1ifqlym.fsf@yucca> Date: Mon, 10 May 2021 11:22:31 +0200 In-Reply-To: <87r1ifqlym.fsf@yucca> (Vagrant Cascadian's message of "Sun, 09 May 2021 20:58:09 -0700") Message-ID: <87eeefosdk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hello Vagrant, > But I'm building this on an aarch64 system; it shouldn't need to use an > aarch64-linux-gnu cross-compiler on an aarch64-linux system! It would be > nice if it could build images natively, too. :) Yes indeed! It has been discussed here: https://issues.guix.gnu.org/45020 without reaching a proper conclusion. The idea of https://issues.guix.gnu.org/45021 is to add a "system" field to the record, so that we can build the image natively when appropriate or cross-compile otherwise. Thanks, Mathieu From unknown Sun Jun 22 03:59:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vagrant Cascadian Subject: bug#48327: closed (Re: bug#48327: guix system image uses cross-compiler even on native system) Message-ID: References: <871r4rd1ds.fsf@gnu.org> <87r1ifqlym.fsf@yucca> X-Gnu-PR-Message: they-closed 48327 X-Gnu-PR-Package: guix Reply-To: 48327@debbugs.gnu.org Date: Mon, 11 Oct 2021 15:32:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1633966321-8364-1" This is a multi-part message in MIME format... ------------=_1633966321-8364-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48327: guix system image uses cross-compiler even on native system which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48327@debbugs.gnu.org. --=20 48327: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48327 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1633966321-8364-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48327-done) by debbugs.gnu.org; 11 Oct 2021 15:31:21 +0000 Received: from localhost ([127.0.0.1]:60703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZxGr-00029v-9f for submit@debbugs.gnu.org; Mon, 11 Oct 2021 11:31:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZxGp-00029f-HI for 48327-done@debbugs.gnu.org; Mon, 11 Oct 2021 11:31:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58432) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZxGj-0005mE-2W; Mon, 11 Oct 2021 11:31:13 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=44396 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZxGi-0002nk-PH; Mon, 11 Oct 2021 11:31:13 -0400 From: Mathieu Othacehe To: Vagrant Cascadian Subject: Re: bug#48327: guix system image uses cross-compiler even on native system References: <87r1ifqlym.fsf@yucca> <87eeefosdk.fsf@gnu.org> Date: Mon, 11 Oct 2021 15:31:11 +0000 In-Reply-To: <87eeefosdk.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 10 May 2021 11:22:31 +0200") Message-ID: <871r4rd1ds.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48327-done Cc: 48327-done@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: -3.3 (---) Hello Vagrant, This is fixed on master with d5073fd113c621fe0b55382f7dd336ee118e759f. Thanks, Mathieu ------------=_1633966321-8364-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 May 2021 03:58:22 +0000 Received: from localhost ([127.0.0.1]:56915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfx3m-0006e0-9e for submit@debbugs.gnu.org; Sun, 09 May 2021 23:58:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfx3i-0006dq-Jh for submit@debbugs.gnu.org; Sun, 09 May 2021 23:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfx3h-0003VJ-HJ for bug-guix@gnu.org; Sun, 09 May 2021 23:58:18 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:39152) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfx3f-0003Jt-6r for bug-guix@gnu.org; Sun, 09 May 2021 23:58:17 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id BCC341ACAA for ; Sun, 9 May 2021 20:58:12 -0700 (PDT) From: Vagrant Cascadian To: bug-guix@gnu.org Subject: guix system image uses cross-compiler even on native system Date: Sun, 09 May 2021 20:58:09 -0700 Message-ID: <87r1ifqlym.fsf@yucca> 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@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: text/plain I tried building a pinebook-pro image on an aarch64-linux Guix System... $ uname -a Linux myhostname 5.12.2-gnu #1 SMP 1 aarch64 GNU/Linux $ guix system image ./gnu/system/images/pinebook-pro.scm substitute: updating substitutes from 'http://mycachingproxy/ci'... 100.0% The following derivations will be built: /gnu/store/n2mmyxi710aqbicq6p4nilma56nbpp3b-net-tools-1.60-0.479bb4a.drv /gnu/store/5f7hz1bbz3m7cxiv529qyw5arqp687j5-gcc-cross-aarch64-linux-gnu-7.5.0.drv /gnu/store/ca3ki1nw3abmx4phg5aqbyvk9pw9v8j4-linux-libre-headers-cross-aarch64-linux-gnu-5.4.20.drv /gnu/store/vdl9l45257m1glbmmqcrwdy2brb96kg4-gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0.drv /gnu/store/jik876a99dvxdky5jv8ghj316knfjfyj-glibc-cross-aarch64-linux-gnu-2.31.drv ... But I'm building this on an aarch64 system; it shouldn't need to use an aarch64-linux-gnu cross-compiler on an aarch64-linux system! It would be nice if it could build images natively, too. :) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJivUQAKCRDcUY/If5cW qsw6AQCClPkc2JltkeeLxGBcCG60YU8nRvKiziECmQg4p6ab6gEA5Y0RX1uWhn1b m/cGzcGJKr2Pv1IaqfqWdQTBU3WzHwA= =uabO -----END PGP SIGNATURE----- --=-=-=-- ------------=_1633966321-8364-1--