unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Gmp test failure on armhf
Date: Sat, 04 Jul 2015 03:08:14 -0400	[thread overview]
Message-ID: <87ioa04cyp.fsf@netris.org> (raw)
In-Reply-To: <20150703201207.GB26201@debian> (Andreas Enge's message of "Fri, 3 Jul 2015 22:12:07 +0200")

Andreas Enge <andreas@enge.fr> writes:

> On Sun, Jun 28, 2015 at 10:39:32PM +0200, Ludovic Courtès wrote:
>> Could you post the relevant excerpt of the build log, or
>> ‘test-suite.log’?
>
> Well, I tried to build it by hand, and it worked; then I tried again with
> a recent git version, and it also worked.
>
> Since I noticed a "FIXME" in the gmp package, I worked on that. The
> attached patch backports a fix to config.guess in the gmp trunk that 
> correctly detects the neon architecture on multicore arm machines, instead
> of explicitly passing the build triplet.

We shouldn't be using config.guess anyway, because we shouldn't be
compiling packages specialized for the build machine, at least not by
default.

A while back on IRC, Ludovic agreed to my proposal to pass --build to
configure by default in gnu-build-system, a change to be made hopefully
in the next core-updates cycle.  After that, config.guess will not be
used.

As for NEON, I had originally followed Debian's armhf decision to
compile code that doesn't require NEON support, but have since changed
my mind about that.  It seems that the Debian porters made that decision
to support a couple of hardware devices that may have been important at
the time, but that time has passed.  I've since learned that NEON is a
common target for modern highly optimized ARM assembly code, and that we
should assume it as a baseline.  This is another change that I think we
should make in the next core-updates cycle.  To give credit where credit
is due: John Darrington chose to target NEON in his initial patches for
Guix armhf.

If we make these changes, then I think this patch is superfluous, right?

     Mark

  reply	other threads:[~2015-07-04  7:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26  9:32 Gmp test failure on armhf Andreas Enge
2015-06-28 20:39 ` Ludovic Courtès
2015-07-03 20:12   ` Andreas Enge
2015-07-04  7:08     ` Mark H Weaver [this message]
2015-07-04  8:15       ` 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=87ioa04cyp.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=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).