From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: Re: [PATCH 10/10] gnu: base: Added glibc-for-target macro.
Date: Mon, 25 May 2015 15:13:38 +0200 [thread overview]
Message-ID: <87vbfg3im5.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzNgsqLj6vwGaqNNQRhEuyFXShUg9mEzkULGCDv181NZ8w@mail.gmail.com> (Manolis Ragkousis's message of "Fri, 22 May 2015 12:02:01 +0300")
Manolis Ragkousis <manolis837@gmail.com> skribis:
> The problem is that when trying to build %gcc-static from
> make-bootstrap.scm I get:
>
> make[2]: Entering directory
> '/tmp/nix-build-gcc-static-4.8.4.drv-0/build/i686-pc-gnu/libgcc'
> # If this is the top-level multilib, build all the other
> DEFINES='' HEADERS='' \
> ../../../gcc-4.8.4/libgcc/mkheader.sh > tmp-libgcc_tm.h
> make[2]: *** No rule to make target
> '../../../gcc-4.8.4/libgcc/../libdecnumber/no/decimal32.c', needed by
> 'decimal32.o'. Stop.
> make[2]: *** Waiting for unfinished jobs....
> # multilibs.
>
> This happens because glibc-for-bootstrap return the wrong glibc, which
> gcc-static is trying to use.
The problem in ‘make-bootstrap.scm’ is that %glibc-stripped and all the
%*-bootstrap-tarball variables are evaluated at the top level, thus
based on the default values of %current-system and
%current-target-system ("x86_64-linux" and #f here, whereas you would
like "i686-gnu" for the latter.)
One solution would be to turn all of these into procedures. That way,
%current-target-system would have the value you expect, and so
‘glibc-for-bootstrap’ & co. would use ‘glibc/hurd’.
Does that make sense?
Let me know how that works.
Thanks,
Ludo’.
next prev parent reply other threads:[~2015-05-25 13:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 22:25 [PATCH 10/10] gnu: base: Added glibc-for-target macro Manolis Ragkousis
[not found] ` <CAFtzXzOyWRnrzdwZJse3CUZmXJa6TnGSg7KR5c5wNSstKeE3cQ@mail.gmail.com>
2015-05-18 22:53 ` Manolis Ragkousis
2015-05-20 12:47 ` Ludovic Courtès
2015-05-22 9:02 ` Manolis Ragkousis
2015-05-25 13:13 ` Ludovic Courtès [this message]
2015-06-08 22:11 ` Manolis Ragkousis
2015-06-09 15:52 ` Ludovic Courtès
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=87vbfg3im5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=Guix-devel@gnu.org \
--cc=manolis837@gmail.com \
/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.