all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: rfh: mingw guile.exe stalled by impact of 28dc10a4
Date: Sun, 05 Jun 2016 22:13:06 +0200	[thread overview]
Message-ID: <87oa7fpf71.fsf@gnu.org> (raw)
In-Reply-To: <87eg8bu9gu.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 05 Jun 2016 14:05:37 +0200")

Hello!

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> Since then I got somewhat closer but still do not understand what's
> going on.  When I revert
>
>     commit 28dc10a455689c807abc9241ed1094d902a9d9fa
>     Author: Ludovic Courtès <ludo@gnu.org>
>     Date:   Sun May 29 23:15:14 2016 +0200
>
>         gnu: glibc: Refer to the target kernel headers when cross-compiling.
>
>     ...
>
>     diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
>     index beb689e..b5e229e 100644
>     --- a/gnu/packages/base.scm
>     +++ b/gnu/packages/base.scm
>     @@ -532,7 +532,10 @@ store.")
>                                 ,version)
>
>                  (string-append "--with-headers="
>     -                           (assoc-ref %build-inputs "linux-headers")
>     +                           (assoc-ref ,(if (%current-target-system)
>     +                                           '%build-target-inputs
>     +                                           '%build-inputs)
>     +                                      "linux-headers")
>                                 "/include")
>
>                  ;; This is the default for most architectures as of GNU libc 2.21,
>
> then readline (and guile) can be cross-built for mingw.
>
> However, with this commit present, when cross building readline on my v9
> branch (https://gitlab.com/janneke/guix) like so:
>
>     ./pre-inst-env guix build --target=i686-w64-mingw32 readline
>
> this now triggers the build of gcc-cross-sans-libc-x86_64-linux-gnu
> and gcc-x86_64-linux-gnu.

Hmm the above commit normally cannot trigger anything since it simply
modifies “build-side” code (that is, it does not change the inputs of
packages; it just changes the content of the build program.)

Are you sure that reverting this commit solves the problem?

Maybe we’re entering a cross-build context with ‘%current-target-system’
set to ‘x86_64-linux-gnu’ at some point?

Ludo’.

  reply	other threads:[~2016-06-05 20:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-05 12:05 rfh: mingw guile.exe stalled by impact of 28dc10a4 Jan Nieuwenhuizen
2016-06-05 20:13 ` Ludovic Courtès [this message]
2016-06-05 20:26   ` Jan Nieuwenhuizen
2016-06-11  9:02     ` Jan Nieuwenhuizen

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=87oa7fpf71.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=janneke@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.