GNU bug report logs - #48327
guix system image uses cross-compiler even on native system

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Mon, 10 May 2021 03:59:01 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48327 in the body.
You can then email your comments to 48327 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48327; Package guix. (Mon, 10 May 2021 03:59:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 May 2021 03:59:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: guix system image uses cross-compiler even on native system
Date: Sun, 09 May 2021 20:58:09 -0700
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#48327; Package guix. (Mon, 10 May 2021 09:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 48327 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 48327 <at> debbugs.gnu.org
Subject: Re: bug#48327: guix system image uses cross-compiler even on native
 system
Date: Mon, 10 May 2021 11:22:31 +0200
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 <image> record, so that we can build the image natively when
appropriate or cross-compile otherwise.

Thanks,

Mathieu




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Mon, 11 Oct 2021 15:32:01 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Mon, 11 Oct 2021 15:32:01 GMT) Full text and rfc822 format available.

Message #13 received at 48327-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 48327-done <at> debbugs.gnu.org
Subject: Re: bug#48327: guix system image uses cross-compiler even on native
 system
Date: Mon, 11 Oct 2021 15:31:11 +0000
Hello Vagrant,

This is fixed on master with d5073fd113c621fe0b55382f7dd336ee118e759f.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.