unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Lars-Dominik Braun <lars@6xq.net>
Cc: guix-devel@gnu.org
Subject: Re: Commit ‘gnu: ghc-8.10: Disable failing test on i686.’ has a cross-compilation bug
Date: Sat, 06 Nov 2021 12:42:50 +0000	[thread overview]
Message-ID: <00b631a90d8cad2f85387fffe874d1390b295c30.camel@telenet.be> (raw)
In-Reply-To: <YYZh5Sowo8OilLnW@noor.fritz.box>

Lars-Dominik Braun schreef op za 06-11-2021 om 12:07 [+0100]:
> Hi Maxime,
> 
> > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=89de1924cb535fc2c97d3654e21badaebd43518e
> > 
> > > +           ,@(if (string=? "i686-linux" (%current-system))
> > […]
> > 
> > Barring any reports of the contrary, I'd presume the same would
> > apply for the Hurd. Also, %current-target-system seems more
> > appropriate, though here it doesn't matter because it's only
> > for tests.
> the GHC package declares support for x86 and x86-64 on Linux only,
> because we don’t have a bootstrap path for the Hurd (there are
> no prebuilt binaries) and the Hurd is not officially supported by
> upstream. Unless someone puts some effort into that I doubt it’ll
> ever
> run on that platform.

Currently, non-Linux is not supported by the GHC package.  However,
people learn how to package things by example (and by reading
documentation, etc.), so I'd prefer to avoid (accidentally) teaching
people to make their package definitions Linux-specific.

> 
> > I suggest: ,@(if (target-x86-64?) '(...) '())
> I don’t see `target-x86-64?` being defined on master and I assume you
> meant `target-x86-32?`, right?

Yes, I meant target-x86-32?. I don't think it is defined on master,
but it could be ‘back-ported’ from core-updates.

Greetings,
Maxime.
-- 
not hacking on guix for a while, only occassionally looking at IRC logs
and bug reports.  E-mails are unsigned until backup is located.



  reply	other threads:[~2021-11-06 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05 20:19 Commit ‘gnu: ghc-8.10: Disable failing test on i686.’ has a cross-compilation bug Maxime Devos
2021-11-06 11:07 ` Lars-Dominik Braun
2021-11-06 12:42   ` Maxime Devos [this message]
2021-11-07 10:17     ` Lars-Dominik Braun
2021-11-07 10:29       ` Maxime Devos

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=00b631a90d8cad2f85387fffe874d1390b295c30.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=lars@6xq.net \
    /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).