From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Cross-building GuixSD (and maybe using pre-built toolchains) Date: Tue, 5 Jul 2016 11:10:42 +0300 Message-ID: <20160705081042.GC6523@debian-netbook> References: <201607031651.28051.paul@boddie.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0vzXIDBeUiKkjNJl" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKLRU-0007ko-2b for guix-devel@gnu.org; Tue, 05 Jul 2016 04:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKLRO-0007Gi-TF for guix-devel@gnu.org; Tue, 05 Jul 2016 04:10:50 -0400 Received: from flashner.co.il ([178.62.234.194]:39882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKLRO-0007Ge-Ld for guix-devel@gnu.org; Tue, 05 Jul 2016 04:10:46 -0400 Content-Disposition: inline In-Reply-To: <201607031651.28051.paul@boddie.org.uk> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Paul Boddie Cc: guix-devel@gnu.org --0vzXIDBeUiKkjNJl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 03, 2016 at 04:51:27PM +0200, Paul Boddie wrote: > Hello, >=20 =2E.. > > One thing that looks very promising is the ability to cross-bootstrap the= =20 > system, and I did manage to get that started for a new architecture (mips= el)=20 > by performing some modifications suggested in the documentation [1], runn= ing=20 > guix-daemon with the --disable-chroot flag, and then running this: >=20 > guix build --target=3Dmipsel-linux-gnu bootstrap-tarballs >=20 > However, not wanting to leave my computer switched on all night, I stoppe= d the=20 > build after a while. I can understand the need to bootstrap things like= =20 > toolchains, but given that I am running Debian which has cross-toolchains= for=20 > mipsel, I wondered if I could short-circuit this process by employing pre- > built toolchains. Would this be possible? I built a set of bootstrap-tarballs on my very underpowered laptop which took about 15 hours. The longest single package was gcc-4.9, which took me about 5 hours. On a more powerful machine it should go much faster. > Finally, it seems to be the case that the workflow involves building a=20 > bootstrapped minimal system and then natively building packages. Or have = I=20 > misunderstood the process? Is it possible to cross-build all of the packa= ges=20 > in the distribution? >=20 > I hope I haven't missed anything that tells me the answers to all of thes= e=20 > questions. >=20 > Thanks in advance for any answers you may have! >=20 > Paul >=20 > [1] https://www.gnu.org/software/guix/manual/html_node/Porting.html#Porti= ng >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --0vzXIDBeUiKkjNJl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXe2t/AAoJEPTB05F+rO6T2G8QAJ1GZP09pX4ziB4k9ZGmug2r Gowr3BcvqNnX/PghaAK0YZQIi4nxpIEo2h05fKZ5xjzYOOvk5nYGOBAXTRuPhToJ zvHhe34JnKTjKgp28uRZLluHuQ/rP3gqGraXaRHw73HTCMjOY1Q6VdkrD3W1oMg5 3Ej5tP9LDfnmIP7T1DNBAxDhWCDSHeqBQnexKFe2zwHQCF8Ms2mLTd5FewwaCjlC o1embmviL8VP0FUrGF/zcVs4Fdb0HG5JTuuyPEXefdfJx/B7Aa4R11zXMt5TSf6H QTeiEtPB8lEE8Yds9gtdM42HfxW7OfvQYL1uAE0ZJB8T4zY5ggjfkj/0PqF8kiAy ZD/Hzt5PX/wT0H3TEMLdizgu7a5drzNo3ACg+VA2UfRkrwdY9K6UYx9dmYQPYCvh 9zdQOGIPhZXslxllS/6TtrDCZUrkIg4FT1kmsV2NuIecMTw1z2MMSxqsYkCYuqNW QmwUuL8W/zuijq46wW0BGdzKJa+ZOm1ltnMWtWYodFAa2QzUCf+g8c4X+iiTDuwR vVoJFG3Q39VePzRBfHDMbszDz16J/XeaRE16L22FLQF7GbwITeQgBrW8ypr1oLyU otsN5WNdqA3avc9ZGLUbPdui57WJboeuBOnzqdxaOovkUC0jbmiB7ej2BAighZDh 7VgratXGY/EpOEzBdBbZ =Mb3P -----END PGP SIGNATURE----- --0vzXIDBeUiKkjNJl--