unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Problem with cross-toolchain support for Hurd
@ 2018-07-27 15:33 Manolis Ragkousis
  2018-08-28  9:12 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Manolis Ragkousis @ 2018-07-27 15:33 UTC (permalink / raw)
  To: help-guix; +Cc: Rene

[-- Attachment #1: Type: text/plain, Size: 3505 bytes --]

Hello everyone,

On current master I tried running `./pre-inst-env guix build -e '((@@
(gnu packages cross-base) cross-kernel-headers) "i586-pc-gnu")'` and it
fails with

checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... no
running configure fragment for sysdeps/mach/hurd
checking Hurd header version... bad
configure: error: Hurd headers not installed or too old
Backtrace:
           4 (primitive-load "/gnu/store/mydjjawi1vspl5p5i547ny2fz5x?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure a45b00 at /gnu/store/f95ghy8mx00?> ?)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In
/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6:
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
arguments: ("../glibc-2.23-hurd+libpthread-20161218/configure"
"CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash"
"--prefix=/gnu/store/wb4gn1d5prgc9xl8flz5vhl8alhvcdmd-glibc-hurd-headers-cross-i586-pc-gnu-2.23"
"--enable-fast-install" "--build=x86_64-unknown-linux-gnu"
"--enable-add-ons" "--host=i586-pc-gnu" "--enable-obsolete-rpc")
exit-status: 1 term-signal: #f stop-signal: #f] a47740>)'.
note: keeping build directory
`/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-3'
builder for
`/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
@ build-failed
/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv
- 1 builder for
`/gnu/store/8c3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/pc74fikk33drazw249ap3h5a0bz5x7bm-hurd-minimal-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/nmn0gzcds2alakyhdc50ns59azfv2b15-hurd-core-headers-cross-i586-pc-gnu-0.9.drv':
1 dependencies couldn't be built
guix build: error: build failed: build of
`/gnu/store/nmn0gzcds2alakyhdc50ns59azfv2b15-hurd-core-headers-cross-i586-pc-gnu-0.9.drv'
failed

Normally this issue should be solved by this part inside (gnu packages
cross-base)

```
         ((#:phases phases)
          `(modify-phases ,phases
             (add-before 'pre-configure 'set-cross-headers-path
               (lambda* (#:key inputs #:allow-other-keys)
                 (let* ((mach (assoc-ref inputs "gnumach-headers"))
                        (hurd (assoc-ref inputs "hurd-headers"))
                        (cpath (string-append hurd "/include:"
                                              mach "/include"))
                        )
                   (for-each (cut setenv <> cpath)
                             ',%gcc-cross-include-paths)
                   #t)))))))

```

From what I remember, normally in the environment-variables during
cross-building there should be a CROSS_INCLUDE_PATH variable, among
others. But from what you can see in the attached environment file it
doesn't.

Any ideas?

Thank you for your time and help,
Manolis

[-- Attachment #2: 3s6f959aqrpwnglvwz52093hnxd4p1-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv.bz2 --]
[-- Type: application/x-bzip, Size: 66691 bytes --]

[-- Attachment #3: config.log --]
[-- Type: text/x-log, Size: 32484 bytes --]

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.69.  Invocation command line was

  $ ../glibc-2.23-hurd+libpthread-20161218/configure CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash --prefix=/gnu/store/wb4gn1d5prgc9xl8flz5vhl8alhvcdmd-glibc-hurd-headers-cross-i586-pc-gnu-2.23 --enable-fast-install --build=x86_64-unknown-linux-gnu --enable-add-ons --host=i586-pc-gnu --enable-obsolete-rpc

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = x86_64
uname -r = 4.17.8-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Jul 18 09:56:24 UTC 2018

/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/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/bin
PATH: /gnu/store/fsfcfxwqz3acz0bx9c0wicrsrmaz73rw-binutils-cross-i586-pc-gnu-2.30/bin
PATH: /gnu/store/w58n5qrjaskjhd0k0wc52yyp8j574616-mig-cross-1.8/bin
PATH: /gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin
PATH: /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin
PATH: /gnu/store/7qzpx4gyxnwb22jwjjj0dwnibvr93jb1-bison-3.0.4/bin
PATH: /gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/bin
PATH: /gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30/bin
PATH: /gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9/bin
PATH: /gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6/bin
PATH: /gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3/bin
PATH: /gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32/bin
PATH: /gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6/bin
PATH: /gnu/store/q98l02i6wjw3v0x8vbp42ng8wwwxrb4g-patch-2.7.6/bin
PATH: /gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0/bin
PATH: /gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/bin
PATH: /gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5/bin
PATH: /gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1/bin
PATH: /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin
PATH: /gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/bin
PATH: /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin
PATH: /gnu/store/b5x786d3h552j2zp4ppvlz9dkbiqy2ng-ld-wrapper-0/bin
PATH: /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin
PATH: /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin
PATH: /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/bin
PATH: /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/sbin
PATH: /gnu/store/kw3j8ilbzb88j5s2zywhgb7br12jmh1p-m4-1.4.18/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2189: checking build system type
configure:2203: result: x86_64-unknown-linux-gnu
configure:2223: checking host system type
configure:2236: result: i586-pc-gnu
configure:2265: checking for i586-pc-gnu-gcc
configure:2281: found /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/bin/i586-pc-gnu-gcc
configure:2292: result: i586-pc-gnu-gcc
configure:2561: checking for C compiler version
configure:2570: i586-pc-gnu-gcc --version >&5
i586-pc-gnu-gcc (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-gcc
COLLECT_LTO_WRAPPER=/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/5.5.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: single
gcc version 5.5.0 (GCC) 
configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -V >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-V'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2570: i586-pc-gnu-gcc -qversion >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-qversion'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2586: checking for suffix of object files
configure:2608: i586-pc-gnu-gcc -c   conftest.c >&5
configure:2612: $? = 0
configure:2633: result: o
configure:2637: checking whether we are using the GNU C compiler
configure:2656: i586-pc-gnu-gcc -c   conftest.c >&5
configure:2656: $? = 0
configure:2665: result: yes
configure:2674: checking whether i586-pc-gnu-gcc accepts -g
configure:2694: i586-pc-gnu-gcc -c -g  conftest.c >&5
configure:2694: $? = 0
configure:2735: result: yes
configure:2764: checking for gcc
configure:2780: found /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i586-pc-gnu-readelf
configure:2831: found /gnu/store/fsfcfxwqz3acz0bx9c0wicrsrmaz73rw-binutils-cross-i586-pc-gnu-2.30/bin/i586-pc-gnu-readelf
configure:2842: result: i586-pc-gnu-readelf
configure:2920: checking for i586-pc-gnu-g++
configure:2936: found /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/bin/i586-pc-gnu-g++
configure:2947: result: i586-pc-gnu-g++
configure:3018: checking for C++ compiler version
configure:3027: i586-pc-gnu-g++ --version >&5
i586-pc-gnu-g++ (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3038: $? = 0
configure:3027: i586-pc-gnu-g++ -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-g++
COLLECT_LTO_WRAPPER=/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/5.5.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: single
gcc version 5.5.0 (GCC) 
configure:3038: $? = 0
configure:3027: i586-pc-gnu-g++ -V >&5
i586-pc-gnu-g++: error: unrecognized command line option '-V'
i586-pc-gnu-g++: fatal error: no input files
compilation terminated.
configure:3038: $? = 1
configure:3027: i586-pc-gnu-g++ -qversion >&5
i586-pc-gnu-g++: error: unrecognized command line option '-qversion'
i586-pc-gnu-g++: fatal error: no input files
compilation terminated.
configure:3038: $? = 1
configure:3042: checking whether we are using the GNU C++ compiler
configure:3061: i586-pc-gnu-g++ -c   conftest.cpp >&5
configure:3061: $? = 0
configure:3070: result: yes
configure:3079: checking whether i586-pc-gnu-g++ accepts -g
configure:3099: i586-pc-gnu-g++ -c -g  conftest.cpp >&5
configure:3099: $? = 0
configure:3140: result: yes
configure:3165: checking whether i586-pc-gnu-g++ can link programs
configure:3188: i586-pc-gnu-g++ -o conftest -g -O2   conftest.cpp  >&5
i586-pc-gnu-ld: cannot find crt1.o: No such file or directory
i586-pc-gnu-ld: cannot find crti.o: No such file or directory
i586-pc-gnu-ld: cannot find -lstdc++
i586-pc-gnu-ld: cannot find -lm
i586-pc-gnu-ld: cannot find -lc
i586-pc-gnu-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3188: $? = 1
configure: failed program was:
| /* 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>"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3211: i586-pc-gnu-g++ -o conftest -g -O2   -static conftest.cpp  >&5
conftest.cpp:12:20: fatal error: iostream: No such file or directory
compilation terminated.
configure:3211: $? = 1
configure: failed program was:
| /* 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>"
| /* end confdefs.h.  */
| 
| #include <iostream>
| 
| int
| main()
| {
|   std::cout << "Hello, world!";
|   return 0;
| }
| 
configure:3226: result: no
configure:3705: checking for sysdeps preconfigure fragments
configure:3712: result: 
configure:3783: running configure fragment for add-on libidn
configure:3783: running configure fragment for add-on libpthread
configure:3879: checking for assembler and linker STT_GNU_IFUNC support

Relocation section '.rel.plt' at offset 0x74 contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name
0804907c  0000002a R_386_IRELATIVE  
configure:3910: result: yes
configure:3928: checking sysdep dirs
configure:4148: result: sysdeps/generic
configure:4225: checking for a BSD-compatible install
configure:4293: result: /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin/install -c
configure:4308: checking whether ln -s works
configure:4312: result: yes
configure:4336: checking whether /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as is GNU as
configure:4350: result: yes
configure:4355: checking whether /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld is GNU ld
configure:4369: result: yes
configure:4379: checking for /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as
configure:4406: result: /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as
configure:4421: checking version of /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as
configure:4431: result: 2.30, ok
configure:4442: checking for /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld
configure:4469: result: /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld
configure:4484: checking version of /gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld
configure:4494: result: 2.30, ok
configure:4508: checking for gnumake
configure:4538: result: no
configure:4508: checking for gmake
configure:4538: result: no
configure:4508: checking for make
configure:4524: found /gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/bin/make
configure:4535: result: make
configure:4550: checking version of make
configure:4560: result: 4.2.1, ok
configure:4572: checking for gnumsgfmt
configure:4602: result: no
configure:4572: checking for gmsgfmt
configure:4602: result: no
configure:4572: checking for msgfmt
configure:4588: found /gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/bin/msgfmt
configure:4599: result: msgfmt
configure:4614: checking version of msgfmt
configure:4624: result: 0.19.8.1, ok
configure:4635: checking for makeinfo
configure:4651: found /gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin/makeinfo
configure:4662: result: makeinfo
configure:4677: checking version of makeinfo
configure:4687: result: 6.5, ok
configure:4698: checking for sed
configure:4714: found /gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5/bin/sed
configure:4725: result: sed
configure:4740: checking version of sed
configure:4750: result: 4.5, ok
configure:4761: checking for gawk
configure:4777: found /gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/bin/gawk
configure:4788: result: gawk
configure:4803: checking version of gawk
configure:4813: result: 4.2.1, ok
configure:4821: checking if i586-pc-gnu-gcc is sufficient to build libc
configure:4841: i586-pc-gnu-gcc -c -g -O2  conftest.c >&5
configure:4841: $? = 0
configure:4848: result: yes
configure:4857: checking for i586-pc-gnu-nm
configure:4873: found /gnu/store/fsfcfxwqz3acz0bx9c0wicrsrmaz73rw-binutils-cross-i586-pc-gnu-2.30/bin/i586-pc-gnu-nm
configure:4884: result: i586-pc-gnu-nm
configure:5060: checking LD_LIBRARY_PATH variable
configure:5070: result: ok
configure:5081: checking for bash
configure:5099: found /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash
configure:5112: result: /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash
configure:5123: checking for perl
configure:5141: found /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin/perl
configure:5154: result: /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin/perl
configure:5168: checking for install-info
configure:5187: found /gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin/install-info
configure:5200: result: /gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin/install-info
configure:5212: checking for bison
configure:5228: found /gnu/store/7qzpx4gyxnwb22jwjjj0dwnibvr93jb1-bison-3.0.4/bin/bison
configure:5239: result: bison
configure:5254: checking version of bison
configure:5264: result: 3.0.4, ok
configure:5272: checking for .set assembler directive
configure:5298: result: yes
configure:5305: checking linker support for protected data symbol
configure:5315: i586-pc-gnu-gcc -nostdlib -nostartfiles -fPIC -shared conftest.c -o conftest.so
configure:5318: $? = 0
configure:5325: i586-pc-gnu-gcc -nostdlib -nostartfiles conftest.c -o conftest conftest.so
i586-pc-gnu-ld: warning: cannot find entry symbol _start; defaulting to 00000000080481fc
configure:5328: $? = 0
configure:5336: result: yes
configure:5340: checking for broken __attribute__((alias()))
configure:5355: i586-pc-gnu-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:5358: $? = 0
configure:5368: result: no
configure:5374: checking whether to put _rtld_local into .sdata section
configure:5388: result: no
configure:5395: checking whether to use .ctors/.dtors header and trailer
configure:5412: i586-pc-gnu-gcc -g -O2   -o conftest
		       conftest.c -static -nostartfiles -nostdlib
		       1>&5
configure:5415: $? = 0
configure:5441: result: no
configure:5448: checking for libunwind-support in compiler
configure:5465: result: no
configure:5474: checking whether --noexecstack is desirable for .S files
configure:5484: i586-pc-gnu-gcc -g -O2 
		   -S -o conftest.s conftest.c 1>&5
configure:5487: $? = 0
configure:5492: i586-pc-gnu-gcc  -Wa,--noexecstack
		      -c -o conftest.o conftest.s 1>&5
configure:5495: $? = 0
configure:5504: result: yes
configure:5511: checking for -z combreloc
configure:5525: i586-pc-gnu-gcc -g -O2  
			-fPIC -shared -o conftest.so conftest.c
			-nostdlib -nostartfiles
			-Wl,-z,combreloc 1>&5
configure:5528: $? = 0
configure:5541: result: yes
configure:5549: checking for linker that supports -z execstack
configure:5562: i586-pc-gnu-gcc -g -O2  
				-Wl,-z,execstack -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:5565: $? = 0
configure:5578: result: yes
configure:5582: checking for -fpie
configure:5588: i586-pc-gnu-gcc -fpie -xc /dev/null -S -o /dev/null
configure:5591: $? = 0
configure:5599: result: yes
configure:5604: checking for --hash-style option
configure:5615: i586-pc-gnu-gcc -g -O2  
			    -fPIC -shared -o conftest.so conftest.c
			    -Wl,--hash-style=both -nostdlib 1>&5
configure:5618: $? = 0
configure:5627: result: yes
configure:5635: checking for sufficient default -shared layout
configure:5654:   i586-pc-gnu-gcc  -shared -o conftest.so conftest.s 1>&5
i586-pc-gnu-ld: cannot find crti.o: No such file or directory
i586-pc-gnu-ld: cannot find -lc
i586-pc-gnu-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:5657: $? = 1
configure:5689: result: no
configure:5694: checking for GLOB_DAT reloc
configure:5707: i586-pc-gnu-gcc -g -O2  
			-fPIC -shared -o conftest.so conftest.c
			-nostdlib -nostartfiles
			1>&5
configure:5710: $? = 0
configure:5723: result: yes
configure:5727: checking linker output format
configure:5741: result: elf32-i386
configure:5745: checking for -fno-toplevel-reorder -fno-section-anchors
configure:5755: i586-pc-gnu-gcc -g -O2  -S -fno-toplevel-reorder -fno-section-anchors
			    conftest.c 1>&5
configure:5758: $? = 0
configure:5767: result: yes
configure:5776: checking for -fstack-protector
configure:5782: i586-pc-gnu-gcc -g -O2  -Werror -fstack-protector -xc /dev/null -S -o /dev/null
configure:5785: $? = 0
configure:5793: result: yes
configure:5796: checking for -fstack-protector-strong
configure:5802: i586-pc-gnu-gcc -g -O2  -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null
configure:5805: $? = 0
configure:5813: result: yes
configure:5824: checking whether cc puts quotes around section names
configure:5845: result: no
configure:5852: checking for __builtin_memset
configure:5864: i586-pc-gnu-gcc -O3 -S conftest.c -o - | fgrep memset > /dev/null
configure:5867: $? = 1
configure:5876: result: yes
configure:5883: checking for redirection of built-in functions
configure:5896: i586-pc-gnu-gcc -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
configure:5899: $? = 0
configure:5908: result: yes
configure:5914: checking for compiler option to disable generation of FMA instructions
configure:5922: i586-pc-gnu-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null
configure:5925: $? = 0
configure:5931: result: -ffp-contract=off
configure:5964: checking if i586-pc-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))
configure:5977: i586-pc-gnu-gcc -g -O2  -c conftest.c
configure:5980: $? = 0
configure:5987: result: yes
configure:5995: checking for libgd
configure:6015: i586-pc-gnu-gcc -o conftest -g -O2     conftest.c  -lgd -lpng -lz -lm >&5
conftest.c:18:16: fatal error: gd.h: No such file or directory
compilation terminated.
configure:6015: $? = 1
configure: failed program was:
| /* 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>"
| #define LINK_OBSOLETE_RPC 1
| #define HAVE_LIBIDN 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| #include <gd.h>
| int
| main ()
| {
| gdImagePng (0, 0)
|   ;
|   return 0;
| }
configure:6028: result: no
configure:6037: checking for is_selinux_enabled in -lselinux
configure:6062: i586-pc-gnu-gcc -o conftest -g -O2   conftest.c -lselinux   >&5
i586-pc-gnu-ld: cannot find crt1.o: No such file or directory
i586-pc-gnu-ld: cannot find crti.o: No such file or directory
i586-pc-gnu-ld: cannot find -lselinux
i586-pc-gnu-ld: cannot find -lc
i586-pc-gnu-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:6062: $? = 1
configure: failed program was:
| /* 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>"
| #define LINK_OBSOLETE_RPC 1
| #define HAVE_LIBIDN 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char is_selinux_enabled ();
| int
| main ()
| {
| return is_selinux_enabled ();
|   ;
|   return 0;
| }
configure:6071: result: no
configure:6194: checking for _FORTIFY_SOURCE predefine
configure:6213: i586-pc-gnu-gcc -c -g -O2  conftest.c >&5
configure:6213: $? = 0
configure:6220: result: no
configure:6227: checking whether i586-pc-gnu-gcc implicitly enables -fstack-protector
configure:6244: i586-pc-gnu-gcc -c -g -O2  conftest.c >&5
configure:6244: $? = 0
libc_undefs='foobar'
configure:6271: result: no
configure:6282: checking whether the linker provides working __ehdr_start
configure:6305: i586-pc-gnu-gcc -o conftest -g -O2 -fPIC   -nostdlib -nostartfiles -shared conftest.c  >&5
configure:6305: $? = 0
configure:6321: result: yes
configure:6331: checking for __builtin_trap with no external dependencies
configure:6348: i586-pc-gnu-gcc -c -g -O2  conftest.c >&5
configure:6348: $? = 0
libc_undefs=''
configure:6362: result: yes
configure:6376: checking whether the C++ compiler supports thread_local
configure:6404:  -c -g -O2 -std=gnu++11  conftest.cpp >&5
../glibc-2.23-hurd+libpthread-20161218/configure: line 1608: -c: command not found
configure:6404: $? = 127
configure: failed program was:
| /* 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>"
| #define LINK_OBSOLETE_RPC 1
| #define HAVE_LIBIDN 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| #define HAVE_EHDR_START 1
| #define HAVE_BUILTIN_TRAP 1
| /* end confdefs.h.  */
| 
| #include <thread>
| 
| // Compiler support.
| struct S
| {
|   S ();
|   ~S ();
| };
| thread_local S s;
| S * get () { return &s; }
| 
| // libstdc++ support.
| #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
| #error __cxa_thread_atexit_impl not supported
| #endif
| 
configure:6413: result: no
configure:6443: result: running configure fragment for sysdeps/mach/hurd
configure:12: checking Hurd header version
configure:32: i586-pc-gnu-gcc -c -g -O2  conftest.c >&5
conftest.c:21:26: fatal error: hurd/version.h: No such file or directory
compilation terminated.
configure:32: $? = 1
configure: failed program was:
| /* 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>"
| #define LINK_OBSOLETE_RPC 1
| #define HAVE_LIBIDN 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| #define HAVE_EHDR_START 1
| #define HAVE_BUILTIN_TRAP 1
| #define NO_HIDDEN 1
| /* end confdefs.h.  */
| #include <hurd/version.h>
| int
| main ()
| {
| 
| #define NEED_VERSION 20020609
| #if HURD_INTERFACE_VERSION < NEED_VERSION
| # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
| #endif
|   ;
|   return 0;
| }
configure:39: result: bad
configure:42: error: Hurd headers not installed or too old

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
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=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i586-pc-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i586-pc-gnu
ac_cv_lib_selinux_is_selinux_enabled=no
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash
ac_cv_path_INSTALL_INFO=/gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin/install-info
ac_cv_path_PERL=/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin/perl
ac_cv_path_install='/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin/install -c'
ac_cv_prog_AS=/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_CC=i586-pc-gnu-gcc
ac_cv_prog_CXX=i586-pc-gnu-g++
ac_cv_prog_LD=/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_NM=i586-pc-gnu-nm
ac_cv_prog_READELF=i586-pc-gnu-readelf
ac_cv_prog_SED=sed
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_set_directive=yes
libc_cv_broken_alias_attribute=no
libc_cv_builtin_trap=yes
libc_cv_cc_loop_to_function=yes
libc_cv_cc_nofma=-ffp-contract=off
libc_cv_cc_with_libunwind=no
libc_cv_compiler_ok=yes
libc_cv_ctors_header=no
libc_cv_cxx_link_ok=no
libc_cv_cxx_thread_local=no
libc_cv_ehdr_start=yes
libc_cv_fno_toplevel_reorder=yes
libc_cv_fpie=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_unwind_find_fde=no
libc_cv_has_glob_dat=yes
libc_cv_hashstyle=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_hurd_version=bad
libc_cv_idn=no
libc_cv_ld_gnu_indirect_function=yes
libc_cv_localstatedir='${prefix}/var'
libc_cv_nss_crypt=no
libc_cv_output_format=elf32-i386
libc_cv_predef_fortify_source=no
libc_cv_predef_stack_protector=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_protected_data=yes
libc_cv_ssp=yes
libc_cv_ssp_strong=yes
libc_cv_sysconfdir='${prefix}/etc'
libc_cv_use_default_link=no
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AS='/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
BISON='bison'
BUILD_CC='gcc'
CC='i586-pc-gnu-gcc'
CFLAGS='-g -O2'
CPP='i586-pc-gnu-gcc -E'
CPPFLAGS=''
CPPUNDEFS=''
CXX=''
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES=''
DEFINES=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/libexec/gcc/i586-pc-gnu/ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MSGFMT='msgfmt'
NM='i586-pc-gnu-nm'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJEXT='o'
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='/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin/perl'
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
READELF='i586-pc-gnu-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='sed'
SHELL='/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash'
SYSINCLUDES=''
VERSION=''
ac_ct_CC=''
ac_ct_CXX=''
add_on_subdirs=' libidn libpthread'
add_ons='libidn libpthread'
all_warnings=''
base_machine='i386'
bindir='${exec_prefix}/bin'
bindnow='no'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_nscd='default'
build_os='linux-gnu'
build_pt_chown='no'
build_vendor='unknown'
cross_compiling='yes'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_lock_elision='no'
enable_timezone_tools='yes'
enable_werror='yes'
exec_prefix='NONE'
fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
force_install='yes'
hardcoded_path_in_tests='no'
have_libaudit=''
have_libcap=''
have_selinux='no'
host='i586-pc-gnu'
host_alias='i586-pc-gnu'
host_cpu='i586'
host_os='gnu-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script='no'
libc_cv_cc_loop_to_function='yes'
libc_cv_cc_nofma='-ffp-contract=off'
libc_cv_cc_submachine=''
libc_cv_cc_with_libunwind='no'
libc_cv_complocaledir=''
libc_cv_cxx_thread_local='no'
libc_cv_fpie='yes'
libc_cv_gcc_unwind_find_fde='no'
libc_cv_has_glob_dat='yes'
libc_cv_hashstyle='yes'
libc_cv_localstatedir='${prefix}/var'
libc_cv_nss_crypt='no'
libc_cv_output_format='elf32-i386'
libc_cv_pic_default=''
libc_cv_pie_default=''
libc_cv_protected_data='yes'
libc_cv_rootsbindir=''
libc_cv_rtlddir=''
libc_cv_slibdir=''
libc_cv_sysconfdir='${prefix}/etc'
libc_cv_z_combreloc='yes'
libc_cv_z_execstack='yes'
libc_extra_cflags=''
libc_extra_cppflags=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
link_obsolete_rpc='yes'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='no'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/gnu/store/wb4gn1d5prgc9xl8flz5vhl8alhvcdmd-glibc-hurd-headers-cross-i586-pc-gnu-2.23'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
stack_protector='-fstack-protector-strong'
static=''
static_nss='no'
subdirs='  '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=' libpthread'
sysheaders=''
sysnames=' libpthread/sysdeps/mach/hurd/i386 sysdeps/mach/hurd/i386 libpthread/sysdeps/mach/hurd libpthread/sysdeps/hurd libpthread/sysdeps/pthread sysdeps/pthread sysdeps/mach/hurd sysdeps/gnu sysdeps/unix/bsd sysdeps/unix/inet libpthread/sysdeps/mach/i386 sysdeps/mach/i386 libpthread/sysdeps/mach sysdeps/mach sysdeps/i386/i586 sysdeps/i386/fpu sysdeps/x86/fpu libpthread/sysdeps/i386 sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/unix sysdeps/posix libpthread/sysdeps/posix sysdeps/ieee754 sysdeps/generic'
target_alias=''
use_default_link='no'
use_ldconfig='no'
use_nscd='yes'
with_fp='yes'

## ----------- ##
## 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>"
#define LINK_OBSOLETE_RPC 1
#define HAVE_LIBIDN 1
#define HAVE_ASM_SET_DIRECTIVE 1
#define NO_CTORS_DTORS_SECTIONS 1
#define HAVE_Z_COMBRELOC 1
#define HAVE_BUILTIN_MEMSET 1
#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
#define HAVE_EHDR_START 1
#define HAVE_BUILTIN_TRAP 1
#define NO_HIDDEN 1

configure: exit 1

[-- Attachment #4: environment-variables --]
[-- Type: text/plain, Size: 6925 bytes --]

export CPLUS_INCLUDE_PATH="/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/include:/gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/include:/gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6/include:/gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3/include:/gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32/include:/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/include:/gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/include:/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/include:/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/include:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/include:/gnu/store/52sxbd8q9v3sh6w17dz119rqf3izczwg-gnumach-headers-cross-i586-pc-gnu-1.8/include:/gnu/store/6vikicri70kvn7g71kwry4hn916myxa5-hurd-headers-cross-i586-pc-gnu-0.9/include:/gnu/store/6w4x24a4i8ssgf147a7yhp6ppickr2nr-linux-libre-headers-4.14.26/include"
export C_INCLUDE_PATH="/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/include:/gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/include:/gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6/include:/gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3/include:/gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32/include:/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/include:/gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/include:/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/include:/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/include:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/include:/gnu/store/52sxbd8q9v3sh6w17dz119rqf3izczwg-gnumach-headers-cross-i586-pc-gnu-1.8/include:/gnu/store/6vikicri70kvn7g71kwry4hn916myxa5-hurd-headers-cross-i586-pc-gnu-0.9/include:/gnu/store/6w4x24a4i8ssgf147a7yhp6ppickr2nr-linux-libre-headers-4.14.26/include"
export GUIX_LD_WRAPPER_ALLOW_IMPURITIES="no"
export GUIX_LOCPATH="/gnu/store/ki1m42g3s2lav4mr3xjscg1bbdrqd5yz-glibc-utf8-locales-2.27/lib/locale"
export HOME="/homeless-shelter"
export INFOPATH="/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/share/info:/gnu/store/fsfcfxwqz3acz0bx9c0wicrsrmaz73rw-binutils-cross-i586-pc-gnu-2.30/share/info:/gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/share/info:/gnu/store/7qzpx4gyxnwb22jwjjj0dwnibvr93jb1-bison-3.0.4/share/info:/gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/share/info:/gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30/share/info:/gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9/share/info:/gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6/share/info:/gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0/share/info:/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/share/info:/gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5/share/info:/gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1/share/info:/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/share/info:/gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/share/info:/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/share/info:/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/share/info:/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/share/info:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/share/info:/gnu/store/52sxbd8q9v3sh6w17dz119rqf3izczwg-gnumach-headers-cross-i586-pc-gnu-1.8/share/info:/gnu/store/kw3j8ilbzb88j5s2zywhgb7br12jmh1p-m4-1.4.18/share/info"
export LC_ALL="en_US.utf8"
export LIBRARY_PATH="/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/lib:/gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/lib:/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/lib:/gnu/store/7qzpx4gyxnwb22jwjjj0dwnibvr93jb1-bison-3.0.4/lib:/gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/lib:/gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6/lib:/gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3/lib:/gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32/lib:/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/lib:/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/lib:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib:/gnu/store/166hj8p5vnlqs4ghh4y6g745i6qx9dyr-glibc-2.27-static/lib:/gnu/store/ki1m42g3s2lav4mr3xjscg1bbdrqd5yz-glibc-utf8-locales-2.27/lib"
export NIX_BUILD_CORES="0"
export NIX_BUILD_TOP="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0"
export NIX_STORE="/gnu/store"
export OLDPWD
export PATH="/gnu/store/j6742m39kssi82fkwdawq651qkxzg6v1-gcc-cross-sans-libc-i586-pc-gnu-5.5.0/bin:/gnu/store/fsfcfxwqz3acz0bx9c0wicrsrmaz73rw-binutils-cross-i586-pc-gnu-2.30/bin:/gnu/store/w58n5qrjaskjhd0k0wc52yyp8j574616-mig-cross-1.8/bin:/gnu/store/1dfhv8fz9qvsa42rp1qrzcfmhkyb6whg-texinfo-6.5/bin:/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/bin:/gnu/store/7qzpx4gyxnwb22jwjjj0dwnibvr93jb1-bison-3.0.4/bin:/gnu/store/1q7c7id3fg8ikanfwqhxvmigyszrzc1g-gettext-minimal-0.19.8.1/bin:/gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30/bin:/gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9/bin:/gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6/bin:/gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3/bin:/gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32/bin:/gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6/bin:/gnu/store/q98l02i6wjw3v0x8vbp42ng8wwwxrb4g-patch-2.7.6/bin:/gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0/bin:/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1/bin:/gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5/bin:/gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1/bin:/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29/bin:/gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1/bin:/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin:/gnu/store/b5x786d3h552j2zp4ppvlz9dkbiqy2ng-ld-wrapper-0/bin:/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin:/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/bin:/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/sbin:/gnu/store/kw3j8ilbzb88j5s2zywhgb7br12jmh1p-m4-1.4.18/bin"
export PERL5LIB="/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1/lib/perl5/site_perl"
export PWD="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0/glibc-2.23-hurd+libpthread-20161218"
export SHLVL="1"
export SOURCE_DATE_EPOCH="1"
export TEMP="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0"
export TEMPDIR="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0"
export TMP="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0"
export TMPDIR="/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0"
export out="/gnu/store/wb4gn1d5prgc9xl8flz5vhl8alhvcdmd-glibc-hurd-headers-cross-i586-pc-gnu-2.23"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with cross-toolchain support for Hurd
  2018-07-27 15:33 Problem with cross-toolchain support for Hurd Manolis Ragkousis
@ 2018-08-28  9:12 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-08-28  9:12 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: help-guix, Rene

Hi Manolis & Rene!

Manolis Ragkousis <manolis837@gmail.com> skribis:

> On current master I tried running `./pre-inst-env guix build -e '((@@
> (gnu packages cross-base) cross-kernel-headers) "i586-pc-gnu")'` and it
> fails with

Not sure how much of a difference it makes, but I run this command
instead:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build coreutils --target=i586-pc-gnu -K

[...]

checking if i586-pc-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for _FORTIFY_SOURCE predefine... no
checking whether i586-pc-gnu-gcc implicitly enables -fstack-protector... no
checking whether the linker provides working __ehdr_start... yes
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... no
running configure fragment for sysdeps/mach/hurd
checking Hurd header version... bad
configure: error: Hurd headers not installed or too old
Backtrace:
           4 (primitive-load "/gnu/store/vmqv7p9kv7nkpihq708745lghq1…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 843900 at /gnu/store/f95ghy8mx00…> …)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" arguments: ("../glibc-2.23-hurd+libpthread-20161218/configure" "CONFIG_SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "SHELL=/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash" "--prefix=/gnu/store/ba5affambbmg72chssvb13kc18hg4in0-glibc-hurd-headers-cross-i586-pc-gnu-2.23" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-add-ons" "--host=i586-pc-gnu" "--enable-obsolete-rpc") exit-status: 1 term-signal: #f stop-signal: #f] a47740>)'.
note: keeping build directory `/tmp/guix-build-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv-0'
builder for `/gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv' failed with exit code 1
@ build-failed /gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv - 1 builder for `/gnu/store/fhhyd783ax7n697ngymazqn8y2s1g44d-glibc-hurd-headers-cross-i586-pc-gnu-2.23.drv' failed with exit code 1
cannot build derivation `/gnu/store/nqzms08in49xwsxjwamanx04d58dy6in-hurd-minimal-cross-i586-pc-gnu-0.9.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1wpn6zk131ca284zqhvifsgm1mv8ap8v-hurd-core-headers-cross-i586-pc-gnu-0.9.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gncvwffzqcw0khrh53k3q38y6xnbq5qd-perl-5.26.1.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/gncvwffzqcw0khrh53k3q38y6xnbq5qd-perl-5.26.1.drv' failed
$ git describe
v0.15.0-1202-ga0a2c2f16
--8<---------------cut here---------------end--------------->8---

… but as you can see the end result is the same.  :-)

I think we can skip this issue though: since ‘core-updates’ has
glibc 2.28, how about merging ‘glibc/linux’ and ‘glibc/hurd’ on
‘core-updates’, removing the Hurd’s ‘libpthread’, and starting from
there?

(Note that the two glibc packages must be merged in a way that does not
involve a full rebuild because ‘core-updates’ is frozen now.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-28  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-27 15:33 Problem with cross-toolchain support for Hurd Manolis Ragkousis
2018-08-28  9:12 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).