all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "Carlos Sánchez de La Lama" <csanchezdll@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Cross-building bootstrap binaries fail in current master
Date: Thu, 20 Oct 2016 15:50:11 +0200	[thread overview]
Message-ID: <87eg3bb04s.fsf@gnu.org> (raw)
In-Reply-To: <7tmvhzxubh.fsf@gmail.com> ("Carlos Sánchez de La Lama"'s message of "Thu, 20 Oct 2016 11:07:14 +0200")

Hello!

csanchezdll@gmail.com (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’.

  parent reply	other threads:[~2016-10-20 13:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20  9:07 Cross-building bootstrap binaries fail in current master Carlos Sánchez de La Lama
2016-10-20  9:12 ` Efraim Flashner
2016-10-20 13:50 ` Ludovic Courtès [this message]
2016-10-21 12:17   ` Carlos Sánchez de La Lama
2016-10-31 21:59     ` Ludovic Courtès
2017-11-28  4:31       ` bug#24841: " Chris Marusich
2017-11-28  4:31       ` Chris Marusich
2018-02-22  9:47       ` bug#24841: Status: " Chris Marusich
2018-02-27 23:36         ` Ludovic Courtès
2021-07-02  8:47         ` bug#24841: " zimoun
2021-07-06  3:36           ` Chris Marusich
2021-07-06  8:31             ` zimoun
2021-07-30  6:43       ` bug#24841: close 24841 Chris Marusich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg3bb04s.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=csanchezdll@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.