all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#48327: guix system image uses cross-compiler even on native system
@ 2021-05-10  3:58 Vagrant Cascadian
  2021-05-10  9:22 ` Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Vagrant Cascadian @ 2021-05-10  3:58 UTC (permalink / raw)
  To: 48327

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48327: guix system image uses cross-compiler even on native system
  2021-05-10  3:58 bug#48327: guix system image uses cross-compiler even on native system Vagrant Cascadian
@ 2021-05-10  9:22 ` Mathieu Othacehe
  2021-10-11 15:31   ` Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2021-05-10  9:22 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 48327


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48327: guix system image uses cross-compiler even on native system
  2021-05-10  9:22 ` Mathieu Othacehe
@ 2021-10-11 15:31   ` Mathieu Othacehe
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2021-10-11 15:31 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 48327-done


Hello Vagrant,

This is fixed on master with d5073fd113c621fe0b55382f7dd336ee118e759f.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-11 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  3:58 bug#48327: guix system image uses cross-compiler even on native system Vagrant Cascadian
2021-05-10  9:22 ` Mathieu Othacehe
2021-10-11 15:31   ` Mathieu Othacehe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.