guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-building bootstrap binaries fail in current master


From: Ludovic Courtès
Subject: Re: Cross-building bootstrap binaries fail in current master
Date: Thu, 20 Oct 2016 15:50:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello!

address@hidden (Carlos Sánchez de La Lama) skribis:

> with current master (1dc30f92320c5e1b528a7eec2b0a4ce529f70c56), trying
>
> guix build --target=i686-linux bootstrap-tarballs

As discussed on IRC, --target expect a “GNU triplet” such as
“i686-linux-gnu”, so the above thing cannot work.

Note that cross-building from anything to i686 is untested, so it’s not
a good choice.

Regardless, cross-building ‘bootstrap-tarballs’ to one of the supported
target triplets works on master:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build bootstrap-tarballs --target=mips64el-linux-gnu -n
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
The following files would be downloaded:
   /gnu/store/lwn9v9jhsllffpc3d4kii8bldw4hfppa-bootstrap-tarballs-0
   
/gnu/store/6cm18hfwbp8c1mf6wha28f0b0axlcm8k-guile-static-stripped-tarball-2.0.11
   /gnu/store/f790i196x1ms2ym13pvbazldzicqv4k9-glibc-stripped-tarball-2.23
   /gnu/store/jj007dw6gc31hnn1qq3yz7rz1ai1z0fa-gcc-stripped-tarball-4.9.3
   /gnu/store/niqxni4hhjr2wvlabn92z1asqb7xcnsx-static-binaries-tarball-0
   
/gnu/store/pskf0y5q3j5a3k30c0czd2xymwp4224i-binutils-static-stripped-tarball-2.25.1
$ git describe
v0.11.0-1764-g3ad7dce
--8<---------------cut here---------------end--------------->8---

See:

  
https://hydra.gnu.org/job/gnu/master/mips64el-linux-gnu.bootstrap-tarballs-0.x86_64-linux
  
https://hydra.gnu.org/job/gnu/master/mips64el-linux-gnuabi64.bootstrap-tarballs-0.x86_64-linux

So normally, if you pass “--target=powerpc-linux-gnu” (or whichever
triplet is appropriate), that should work too.

HTH!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]