> (This is libpthread's config.log, right?) It's the config.log generated in the build folder of glibc. There is no config.log file generated from libpthread.
Manolis >
starting phase `configure' source directory: "/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-4/source" (relative from build: "../source") build directory: "/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-4/build" configure flags: ("CONFIG_SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash" "SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash" "--prefix=/gnu/store/38sz5a5r2mimzg31jg2wdvk1f173iphx-glibc-hurd-cross-i686-pc-gnu-2.18" "--enable-fast-install" "--target=i686-pc-gnu" "--without-cvs" "--enable-add-ons=libpthread" "--build=i686-pc-gnu" "--disable-profile" "--disable-multi-arch" "--disable-sanity-checks" "libc_cv_localedir=/gnu/store/17kg9lw4laxglif9kdcgy6vc2yz366yx-glibc-hurd-cross-i686-pc-gnu-2.18-locales/share/locale" "BASH_SHELL=/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash") checking build system type... i686-pc-gnu checking host system type... i686-pc-gnu checking for gcc... gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for readelf... readelf checking for sysdeps preconfigure fragments... x86_64 configure: running configure fragment for add-on libpthread configure: WARNING: you should use --build, --host, --target configure: WARNING: you should use --build, --host, --target checking build system type... Invalid configuration `dummy': machine `dummy' not recognized configure: error: /gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash ../source/scripts/config.sub dummy failed phase `configure' failed after 0 seconds
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. 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 dummy readelf ## --------- ## ## Platform. ## ## --------- ## hostname = localhost uname -m = x86_64 uname -r = 3.13.6-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/bin PATH: /gnu/store/nkrr16lw55p75483z2an0c67nnqdm4l5-binutils-cross-i686-pc-gnu-2.23.2/bin PATH: /gnu/store/m2qn6kv6n00ris4l9mwfl7wadxrbll6g-mig-cross-1.4/bin PATH: /gnu/store/qdd0hz0sclms1rz3ss01f75r3ys8r58z-perl-5.16.1/bin PATH: /gnu/store/bvw355kwjr21kcfckzlm22ag03xamj27-autoconf-wrapper-2.69/bin PATH: /gnu/store/yvfsm45m5g8m2ikj8gvnq6260azwbrbk-automake-1.14.1/bin PATH: /gnu/store/nr4xwiv2v7n97ib29dpf8gi2562y5294-libtool-2.4.2-bin/bin PATH: /gnu/store/x26nnlh6azmnd0ibdyfwafdc6rkzx17w-bash-light-4.2/bin PATH: /gnu/store/f4v605p9fva9kjragznh3l28nfpzmcqp-tar-1.27.1/bin PATH: /gnu/store/7267cq3clzcbgd1k7s5rg0i0vp2yklpl-gzip-1.6/bin PATH: /gnu/store/a1ir9y0bgaazp6n58y3qbhmfymjq3yxq-bzip2-1.0.6/bin PATH: /gnu/store/1zs7xnaby6vl49195sid1klx3gk03mwd-xz-5.0.4/bin PATH: /gnu/store/2ly72pfnmg28ps7jdj83516gvbn6371j-diffutils-3.3/bin PATH: /gnu/store/1qdk13ly4c5iqqz7nay0x4fn6ls5r1b9-patch-2.7.1/bin PATH: /gnu/store/gjl05yl9lvgjhznz5v985mys861svp34-coreutils-8.21/bin PATH: /gnu/store/sj5ivydxwm1943y2g06vhwfwpn9hc1a1-sed-4.2.2/bin PATH: /gnu/store/v2q2595q6n4gs32j15ga65bgy0yqg76g-grep-2.15/bin PATH: /gnu/store/r534qbhj6jni2x30q4rgl8ry8rilarak-findutils-4.4.2/bin PATH: /gnu/store/3j4pxqg9rskk9365m6jqi59pvcyq1d82-gawk-4.1.0/bin PATH: /gnu/store/pwm61di9kpfks4acn0k6kp2rwa0wjl5j-make-4.0/bin PATH: /gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin PATH: /gnu/store/r7lpkp8d2df74rw24ndcivxvjzdgxn8d-ld-wrapper-0/bin PATH: /gnu/store/xbryfykc21adgrq3z56g4c6xvv2lb645-binutils-2.23.2/bin PATH: /gnu/store/z8qifq9172ad17a7mxg9w8jq51axwwqr-gcc-4.8.2/bin PATH: /gnu/store/5v11czsqd9x9xqvsww9dk7h5i47laym0-glibc-2.18/bin PATH: /gnu/store/5v11czsqd9x9xqvsww9dk7h5i47laym0-glibc-2.18/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2338: checking build system type configure:2349: error: /gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash ../source/scripts/config.sub dummy failed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=dummy ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=dummy ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=dummy libc_cv_localedir=/gnu/store/17kg9lw4laxglif9kdcgy6vc2yz366yx-glibc-hurd-cross-i686-pc-gnu-2.18-locales/share/locale ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AS='' ASFLAGS_config='' AUTOCONF='' AWK='' BASH_SHELL='/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash' BISON='' BUILD_CC='' CC='' CFLAGS='' CPP='' CPPFLAGS='' CPPUNDEFS='' CXX='' CXXFLAGS='' CXX_SYSINCLUDES='' DEFINES='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' INSTALL_DATA='' INSTALL_INFO='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' KSH='' LD='' LDFLAGS='' LIBGD='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' MAKE='' MAKEINFO='' MSGFMT='' NM='' OBJCOPY='' OBJDUMP='' OBJEXT='' PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/' PACKAGE_NAME='GNU C Library' PACKAGE_STRING='GNU C Library (see version.h)' PACKAGE_TARNAME='glibc' PACKAGE_URL='http://www.gnu.org/software/glibc/' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' PERL='' PKGVERSION='(GNU libc) ' PKGVERSION_TEXI='(GNU libc) ' READELF='' RELEASE='' REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}' REPORT_BUGS_TO='<http://www.gnu.org/software/libc/bugs.html>' SED='' SHELL='/gnu/store/281n6ma5jxy9sb3nwc09mzpqx43vczr6-bash-4.2/bin/bash' SYSINCLUDES='' VERSION='' VERSIONING='' ac_ct_CC='' ac_ct_CXX='' add_on_subdirs='' add_ons='' all_warnings='' base_machine='' bindir='${exec_prefix}/bin' bindnow='' build='dummy' build_alias='dummy' build_cpu='' build_nscd='' build_os='' build_vendor='' cross_compiling='no' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exceptions='' exec_prefix='NONE' fno_unit_at_a_time='' force_install='' gnu89_inline='' hardcoded_path_in_tests='' have_libaudit='' have_libcap='' have_selinux='' host='dummy' host_alias='dummy' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' ldd_rewrite_script='' libc_cv_Bgroup='' libc_cv_cc_nofma='' libc_cv_cc_submachine='' libc_cv_cc_with_libunwind='' libc_cv_forced_unwind='' libc_cv_fpie='' libc_cv_gcc_static_libgcc='' libc_cv_gcc_unwind_find_fde='' libc_cv_hashstyle='' libc_cv_have_bash2='' libc_cv_have_ksh='' libc_cv_localedir='/gnu/store/17kg9lw4laxglif9kdcgy6vc2yz366yx-glibc-hurd-cross-i686-pc-gnu-2.18-locales/share/locale' libc_cv_localstatedir='' libc_cv_nss_crypt='' libc_cv_output_format='' libc_cv_pic_default='' libc_cv_rootsbindir='' libc_cv_rtlddir='' libc_cv_slibdir='' libc_cv_ssp='' libc_cv_sysconfdir='' libc_cv_z_combreloc='' libc_cv_z_execstack='' libc_extra_cflags='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' link_obsolete_rpc='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mach_interface_list='' mandir='${datarootdir}/man' multi_arch='' old_glibc_headers='' oldest_abi='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' profile='' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' shared='' sharedstatedir='${prefix}/com' sizeof_long_double='' static='' static_nss='' subdirs=' ' submachine='' sysconfdir='${prefix}/etc' sysdeps_add_ons='' sysheaders='' sysnames='' target_alias='dummy' use_default_link='' use_ldconfig='' use_nscd='' with_fp='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Library" #define PACKAGE_TARNAME "glibc" #define PACKAGE_VERSION "(see version.h)" #define PACKAGE_STRING "GNU C Library (see version.h)" #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/" #define PACKAGE_URL "http://www.gnu.org/software/glibc/" #define PKGVERSION "(GNU libc) " #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>" configure: exit 1