Manolis Ragkousis <manolis...@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’.