unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: Cross-compilation from armhf to mips64el
Date: Mon, 5 Oct 2015 21:08:38 +0200	[thread overview]
Message-ID: <20151005190838.GA5006@debian> (raw)

Hello,

currently, we get lots of failed jobs for armhf coming from cross-compilation,
such as
   http://hydra.gnu.org/job/gnu/master/mips64el-linux-gnu.grep-2.21.armhf-linux

I would think that the problem comes from build-aux/hydra/guix.scm, in this
function:
    (define (from-32-to-64? target)
      ;; Return true if SYSTEM is 32-bit and TARGET is 64-bit.  This hack
      ;; prevents known-to-fail cross-builds from i686-linux or armhf-linux to
      ;; mips64el-linux-gnuabi64.
      (and (or (string-prefix? "i686-" system)
               (string-prefix? "armhf-" system))
           (string-suffix? "64" target)))
since target seems to be mips64el-linux-gnu and not mips64el-linux-gnuabi64.
Then I would replace "string-suffix?" by "string-contains".

But I must have overlooked something, since hydra does not cross-build from
i686 to mips. If someone could have a look...

Andreas

             reply	other threads:[~2015-10-05 19:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 19:08 Andreas Enge [this message]
2015-10-06 19:45 ` Cross-compilation from armhf to mips64el Ludovic Courtès
2015-10-08 18:48   ` Andreas Enge
2015-10-09  0:47     ` Mark H Weaver
2015-10-09  8:33       ` Ludovic Courtès
2015-10-09  9:10       ` Andreas Enge

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20151005190838.GA5006@debian \
    --to=andreas@enge.fr \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).