all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel@gnu.org
Subject: Re: Glibc/Hurd Building
Date: Fri, 28 Mar 2014 10:02:49 +0100	[thread overview]
Message-ID: <87ppl6snk6.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzP6FaVZ5_8GmPeUEkTHv2WPf7HuzP5TRyc8cez=SBw_bA@mail.gmail.com> (Manolis Ragkousis's message of "Thu, 27 Mar 2014 21:44:37 +0000")

Manolis Ragkousis <manolis837@gmail.com> skribis:

> While building glibc, with ./pre-inst-env guix build -e '((@@ (gnu packages
> cross-base) cross-gcc) "i686-pc-gnu")' I noticed in the config.log file
> this:
>
>>  COLLECT_GCC=gcc
>>
> COLLECT_LTO_WRAPPER=/gnu/store/z8qifq9172ad17a7mxg9w8jq51axwwqr-gcc-4.8.2/libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
>>  Target: x86_64-unknown-linux-gnu

[...]

> It was created by GNU C Library configure (see version.h), which was
> generated by GNU Autoconf 2.68.  Invocation command line was
>
>   $ ../source/configure CONFIG_SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash --prefix=/gnu/store/c4z6ggr03cz9ary8pi8rzdwikrzyn4as-glibc-hurd-cross-i686-pc-gnu-2.18 --enable-fast-install LDFLAGS=-m32 --without-cvs --enable-add-ons --build=i686-pc-gnu --target=i686-pc-gnu --disable-profile --disable-multi-arch --disable-sanity-checks --disable-nscd --enable-obsolete-rpc --enable-stackguard-randomization libc_cv_localedir=/gnu/store/g99nvj3xcncswig8mhmpz6d091pgs6fr-glibc-hurd-cross-i686-pc-gnu-2.18-locales/share/locale BASH_SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash build_alias=i686-pc-gnu target_alias=i686-pc-gnu --no-create --no-recursion

Here glibc is configured with --build=i686-pc-gnu --target=i686-pc-gnu;
thus ./configure thinks it’s a native build on GNU/Hurd.

Instead glibc should be configure with just --host=i686-pc-gnu (and no
need for -m32 either.)  This is what ‘cross-libc’ does.

HTH!

Ludo’.

      reply	other threads:[~2014-03-28  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 21:44 Glibc/Hurd Building Manolis Ragkousis
2014-03-28  9:02 ` Ludovic Courtès [this message]

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=87ppl6snk6.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.