all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why do we not cross-compile bootstrap binaries?
@ 2017-11-24  0:47 Chris Marusich
  2017-11-26  9:03 ` Efraim Flashner
  2017-11-26 22:03 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Marusich @ 2017-11-24  0:47 UTC (permalink / raw)
  To: guix-devel

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

Hi,

We have bootstrap binaries for various platforms.  For example, commit
3b88f3767d9f3ad2cc64173525cd53d429bfe7e7 adds bootstrap binaries for
aarch64-linux.  Judging by the commit message, my guess is that these
bootstrap binaries were built (cross-compiled, I presume) using Guix at
commit 8f8f250bdca917b3ce38aa0902f01b19081859a4 and then checked into
the Git repository.

My understanding is that we could choose, in theory, to cross-compile
the bootstrap binaries from a "base" platform.  This choice would reduce
the number of bootstrap binaries we need to check into the Git
repository.  However, my guess is that we do not want to treat one
particular platform as special: we would like to be able to bootstrap
everything from any supported architecture.  For example, it would be
unfortunate if bootstrapping an armhf-linux machine required the use of
an x86_64-linux machine.  To avoid this "asymmetry" in the bootstrap
path, we choose to check in the built artifacts instead of
cross-compiling them.

Is my understanding correct?  I couldn't find an explicit explanation of
the motivation for this choice by looking at email archives, source
code, or the manual, so I thought I'd ask here.

-- 
Chris

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

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

end of thread, other threads:[~2017-12-08  2:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24  0:47 Why do we not cross-compile bootstrap binaries? Chris Marusich
2017-11-26  9:03 ` Efraim Flashner
2017-11-26 22:03 ` Ludovic Courtès
2017-12-08  2:04   ` Chris Marusich

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.