unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About GCC-5.5.0
@ 2018-05-24  2:57 Rene
  2018-05-24 23:41 ` Samuel Thibault
  0 siblings, 1 reply; 6+ messages in thread
From: Rene @ 2018-05-24  2:57 UTC (permalink / raw)
  To: bug-hurd@gnu.org, guix-devel@gnu.org, Manolis Ragkousis


[-- Attachment #1.1: Type: text/plain, Size: 733 bytes --]

Hello,

I am updating my Guix repository on Debian/Hurd and I have the following error in the 'configure' phase of glibc(glibc-intermediate-2.23).
We have tried to add the flag '-fno-stack-protector' to glibc, however the error remains.

Any idea of how we can approach it?

---

          checking if i586-pc-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __at

          tribute__ ((__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... configu

          re: error: unexpected symbols in test:

---

Thank you

Rene

[-- Attachment #1.2: Type: text/html, Size: 6028 bytes --]

[-- Attachment #2: ikjy1spij14bjhxx30nmh14n076hb8-glibc-intermediate-2.23.drv.bz2 --]
[-- Type: application/x-bzip, Size: 64116 bytes --]

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

* Re: About GCC-5.5.0
  2018-05-24  2:57 About GCC-5.5.0 Rene
@ 2018-05-24 23:41 ` Samuel Thibault
  2018-05-25  2:28   ` Rene
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Thibault @ 2018-05-24 23:41 UTC (permalink / raw)
  To: Rene; +Cc: guix-devel@gnu.org, bug-hurd@gnu.org, Manolis Ragkousis

Hello,

Rene, le mer. 23 mai 2018 22:57:21 -0400, a ecrit:
> I am updating my Guix repository on Debian/Hurd and I have the following error
> in the 'configure' phase of glibc(glibc-intermediate-2.23).
> We have tried to add the flag '-fno-stack-protector' to glibc, however the
> error remains.
> 
> Any idea of how we can approach it?

Getting the config.log would allow to have more ideas :)

> ---
>           checking if i586-pc-gnu-gcc accepts
> -fno-tree-loop-distribute-patterns with __at
>           tribute__ ((__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... configu
>           re: error: unexpected symbols in test:    
> ---
> 
> 
> Thank you
> Rene

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

* Re: About GCC-5.5.0
  2018-05-24 23:41 ` Samuel Thibault
@ 2018-05-25  2:28   ` Rene
  2018-05-25  4:03     ` Rene
  2018-05-28  9:48     ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Rene @ 2018-05-25  2:28 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: guix-devel@gnu.org, bug-hurd@gnu.org

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

Hello Samuel,

yes, I attach the log file.


​Thank you
Rene

> > 
> > Any idea of how we can approach it?
> 
> Getting the config.log would allow to have more ideas :)
>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: config.log --]
[-- Type: text/x-log; name="config.log", Size: 26887 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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash --prefix=/gnu/store/0h1887n99w6gzng4yfshld33567kak5p-glibc-intermediate-2.23 --enable-fast-install --build=i586-unknown-gnu --host=i586-guix-gnu --build=i586-unknown-gnu --enable-obsolete-rpc --disable-stack-protector --enable-stack-protector=no --disable-stack-protector-all --disable-stack-protector-strong --host=i586-pc-gnu --enable-pt_chown --disable-werror --disable-nscd --enable-add-ons --sysconfdir=/etc libc_cv_complocaledir=/run/current-system/locale/2.26 --with-headers=/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include BASH_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash libc_cv_ssp=no libc_cv_ssp_strong=no

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

hostname = Hurd
uname -m = i686-AT386
uname -r = 0.9
uname -s = GNU
uname -v = GNU-Mach 1.8+git20170609-486/Hurd-0.9

/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/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin
PATH: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin
PATH: /gnu/store/3k8431g54gj3d65k9slbbf6w274zfw6d-gcc-cross-boot0-5.5.0/bin
PATH: /gnu/store/p0w3z8vg8g33azgs14w4zq569k38qn06-ld-wrapper-boot0-0/bin
PATH: /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin
PATH: /gnu/store/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-4.2.1/bin
PATH: /gnu/store/nmx44r1360ikfnrcad62za0d9lbnwwl6-diffutils-boot0-3.6/bin
PATH: /gnu/store/qd300gsh0gd634akszms1x70psmqd3qs-findutils-boot0-4.6.0/bin
PATH: /gnu/store/lhxih6bp4hd85r1h208fmrigm5zi9afx-file-boot0-5.32/bin
PATH: /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin
PATH: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin
PATH: /gnu/store/8zqksqw8miagwcg4cvz3sx0q263f5x2k-mig-1.8/bin
PATH: /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/bin


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

configure:2189: checking build system type
configure:2203: result: i586-unknown-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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-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.4.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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i586-pc-gnu-readelf
configure:2845: result: no
configure:2855: checking for readelf
configure:2871: found /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/readelf
configure:2882: result: readelf
configure:2894: WARNING: using cross tools not prefixed with host triplet
configure:2920: checking for i586-pc-gnu-g++
configure:2936: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-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.4.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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.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
configure:3188: $? = 0
configure:3211: i586-pc-gnu-g++ -o conftest -g -O2   -static conftest.cpp  >&5
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lm
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
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 entries:
 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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/install -c
configure:4308: checking whether ln -s works
configure:4312: result: yes
configure:4336: checking whether as is GNU as
configure:4350: result: yes
configure:4355: checking whether ld is GNU ld
configure:4369: result: yes
configure:4379: checking for as
configure:4406: result: as
configure:4421: checking version of as
configure:4431: result: 2.28.1, ok
configure:4442: checking for ld
configure:4469: result: ld
configure:4484: checking version of ld
configure:4494: result: 2.28.1, 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/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-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:4602: result: no
configure:4635: checking for makeinfo
configure:4651: found /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/sed
configure:4725: result: sed
configure:4740: checking version of sed
configure:4750: result: 4.4, ok
configure:4761: checking for gawk
configure:4777: found /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/gawk
configure:4788: result: gawk
configure:4803: checking version of gawk
configure:4813: result: 4.1.4, 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:4887: result: no
configure:4897: checking for nm
configure:4913: found /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/nm
configure:4924: result: nm
configure:5024: WARNING:
*** These auxiliary programs are missing or incompatible versions: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:5060: checking LD_LIBRARY_PATH variable
configure:5070: result: ok
configure:5081: checking for bash
configure:5112: result: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash
configure:5123: checking for perl
configure:5141: found /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
configure:5154: result: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
configure:5168: checking for install-info
configure:5187: found /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
configure:5200: result: /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
configure:5212: checking for bison
configure:5242: result: no
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
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: warning: cannot find entry symbol _start; defaulting to 080481cc
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
configure:5657: $? = 0
nono from:

HASH .hash
DYNSYM .dynsym
STRTAB .dynstr
VERSYM .gnu.version
VERNEED .gnu.version_r
REL .rel.dyn
PROGBITS .init
PROGBITS .plt
PROGBITS .plt.got
PROGBITS .text
PROGBITS .fini
NOTE .note.a
NOTE .note.b
PROGBITS .eh_frame
PROGBITS .ctors
PROGBITS .dtors
PROGBITS .jcr
DYNAMIC .dynamic
PROGBITS .got
PROGBITS .got.plt
PROGBITS .data
NOBITS .bss
PROGBITS .comment
PROGBITS .debug_aranges
PROGBITS .debug_info
PROGBITS .debug_abbrev
PROGBITS .debug_line
PROGBITS .debug_ranges
SYMTAB .symtab
STRTAB .strtab
STRTAB .shstrtab
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:5793: result: no
configure:5796: checking for -fstack-protector-strong
configure:5813: result: no
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:19: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_PT_CHOWN 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
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lselinux
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_PT_CHOWN 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=''
configure:6263: error: unexpected symbols in test: 

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

ac_cv_build=i586-unknown-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=i586-unknown-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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash
ac_cv_path_INSTALL_INFO=/gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
ac_cv_path_PERL=/gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
ac_cv_path_install='/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/install -c'
ac_cv_prog_AS=as
ac_cv_prog_AWK=gawk
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=ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_NM=nm
ac_cv_prog_ac_ct_READELF=readelf
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_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_complocaledir=/run/current-system/locale/2.26
libc_cv_ctors_header=no
libc_cv_cxx_link_ok=no
libc_cv_fno_toplevel_reorder=yes
libc_cv_fpie=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_has_glob_dat=yes
libc_cv_hashstyle=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_ld_gnu_indirect_function=yes
libc_cv_nss_crypt=no
libc_cv_output_format=elf32-i386
libc_cv_predef_fortify_source=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_protected_data=yes
libc_cv_ssp=no
libc_cv_ssp_strong=no
libc_cv_use_default_link=no
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes

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

AR='ar'
AS='as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash'
BISON='no'
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/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MSGFMT=':'
NM='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/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl'
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
READELF='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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash'
SYSINCLUDES='-nostdinc -isystem /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../lib/gcc/i586-pc-gnu/5.4.0/include -isystem /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../lib/gcc/i586-pc-gnu/5.4.0/include-fixed -isystem /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include'
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='i586-unknown-gnu'
build_alias='i586-unknown-gnu'
build_cpu='i586'
build_nscd='default'
build_os='gnu'
build_pt_chown='yes'
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='no'
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=''
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='/run/current-system/locale/2.26'
libc_cv_cxx_thread_local=''
libc_cv_fpie='yes'
libc_cv_gcc_unwind_find_fde=''
libc_cv_has_glob_dat='yes'
libc_cv_hashstyle='yes'
libc_cv_localstatedir=''
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=''
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/0h1887n99w6gzng4yfshld33567kak5p-glibc-intermediate-2.23'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
stack_protector=''
static='/gnu/store/m20b0vb9iv5ckkshgfpywma5zxpzvm8l-glibc-intermediate-2.23-static'
static_nss='no'
subdirs='  '
submachine=''
sysconfdir='/etc'
sysdeps_add_ons=' libpthread'
sysheaders='/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include'
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=''
use_nscd='no'
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_PT_CHOWN 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

configure: exit 1

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

* Re: About GCC-5.5.0
  2018-05-25  2:28   ` Rene
@ 2018-05-25  4:03     ` Rene
  2018-05-28  9:48     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Rene @ 2018-05-25  4:03 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: guix-devel@gnu.org, bug-hurd@gnu.org, Manolis Ragkousis

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

In this new execution, I have set CFLAGS='-fno-stack-protector', but the variable  stack_protector still with null value (stack_protector='' ).

Attached log files.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: config-cflags.log --]
[-- Type: text/x-log; name="config-cflags.log", Size: 27174 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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash --prefix=/gnu/store/b9rkk630drw4p7bappdb17piz0wibs9k-glibc-intermediate-2.23 --enable-fast-install --build=i586-unknown-gnu --host=i586-guix-gnu --build=i586-unknown-gnu --enable-obsolete-rpc --disable-stack-protector --enable-stack-protector=no --disable-stack-protector-all --disable-stack-protector-strong CFLAGS=-fno-stack-protector --host=i586-pc-gnu --enable-pt_chown --disable-werror --disable-nscd --enable-add-ons --sysconfdir=/etc libc_cv_complocaledir=/run/current-system/locale/2.26 --with-headers=/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include BASH_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash libc_cv_ssp=no libc_cv_ssp_strong=no

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

hostname = Hurd
uname -m = i686-AT386
uname -r = 0.9
uname -s = GNU
uname -v = GNU-Mach 1.8+git20170609-486/Hurd-0.9

/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/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin
PATH: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin
PATH: /gnu/store/3k8431g54gj3d65k9slbbf6w274zfw6d-gcc-cross-boot0-5.5.0/bin
PATH: /gnu/store/p0w3z8vg8g33azgs14w4zq569k38qn06-ld-wrapper-boot0-0/bin
PATH: /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin
PATH: /gnu/store/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-4.2.1/bin
PATH: /gnu/store/nmx44r1360ikfnrcad62za0d9lbnwwl6-diffutils-boot0-3.6/bin
PATH: /gnu/store/qd300gsh0gd634akszms1x70psmqd3qs-findutils-boot0-4.6.0/bin
PATH: /gnu/store/lhxih6bp4hd85r1h208fmrigm5zi9afx-file-boot0-5.32/bin
PATH: /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin
PATH: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin
PATH: /gnu/store/8zqksqw8miagwcg4cvz3sx0q263f5x2k-mig-1.8/bin
PATH: /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/bin


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

configure:2189: checking build system type
configure:2203: result: i586-unknown-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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-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.4.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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.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 -fno-stack-protector  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 -fno-stack-protector  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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i586-pc-gnu-readelf
configure:2845: result: no
configure:2855: checking for readelf
configure:2871: found /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/readelf
configure:2882: result: readelf
configure:2894: WARNING: using cross tools not prefixed with host triplet
configure:2920: checking for i586-pc-gnu-g++
configure:2936: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-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.4.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/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.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
configure:3188: $? = 0
configure:3211: i586-pc-gnu-g++ -o conftest -g -O2   -static conftest.cpp  >&5
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lm
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
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 entries:
 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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/install -c
configure:4308: checking whether ln -s works
configure:4312: result: yes
configure:4336: checking whether as is GNU as
configure:4350: result: yes
configure:4355: checking whether ld is GNU ld
configure:4369: result: yes
configure:4379: checking for as
configure:4406: result: as
configure:4421: checking version of as
configure:4431: result: 2.28.1, ok
configure:4442: checking for ld
configure:4469: result: ld
configure:4484: checking version of ld
configure:4494: result: 2.28.1, 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/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-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:4602: result: no
configure:4635: checking for makeinfo
configure:4651: found /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/sed
configure:4725: result: sed
configure:4740: checking version of sed
configure:4750: result: 4.4, ok
configure:4761: checking for gawk
configure:4777: found /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/gawk
configure:4788: result: gawk
configure:4803: checking version of gawk
configure:4813: result: 4.1.4, ok
configure:4821: checking if i586-pc-gnu-gcc is sufficient to build libc
configure:4841: i586-pc-gnu-gcc -c -fno-stack-protector  conftest.c >&5
configure:4841: $? = 0
configure:4848: result: yes
configure:4857: checking for i586-pc-gnu-nm
configure:4887: result: no
configure:4897: checking for nm
configure:4913: found /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/nm
configure:4924: result: nm
configure:5024: WARNING:
*** These auxiliary programs are missing or incompatible versions: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:5060: checking LD_LIBRARY_PATH variable
configure:5070: result: ok
configure:5081: checking for bash
configure:5112: result: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash
configure:5123: checking for perl
configure:5141: found /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
configure:5154: result: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
configure:5168: checking for install-info
configure:5187: found /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
configure:5200: result: /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
configure:5212: checking for bison
configure:5242: result: no
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
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: warning: cannot find entry symbol _start; defaulting to 080481cc
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 -fno-stack-protector   -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 -fno-stack-protector 
		   -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 -fno-stack-protector  
			-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 -fno-stack-protector  
				-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 -fno-stack-protector  
			    -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
configure:5657: $? = 0
nono from:

HASH .hash
DYNSYM .dynsym
STRTAB .dynstr
VERSYM .gnu.version
VERNEED .gnu.version_r
REL .rel.dyn
PROGBITS .init
PROGBITS .plt
PROGBITS .plt.got
PROGBITS .text
PROGBITS .fini
NOTE .note.a
NOTE .note.b
PROGBITS .eh_frame
PROGBITS .ctors
PROGBITS .dtors
PROGBITS .jcr
DYNAMIC .dynamic
PROGBITS .got
PROGBITS .got.plt
PROGBITS .data
NOBITS .bss
PROGBITS .comment
PROGBITS .debug_aranges
PROGBITS .debug_info
PROGBITS .debug_abbrev
PROGBITS .debug_line
PROGBITS .debug_ranges
SYMTAB .symtab
STRTAB .strtab
STRTAB .shstrtab
configure:5689: result: no
configure:5694: checking for GLOB_DAT reloc
configure:5707: i586-pc-gnu-gcc -fno-stack-protector  
			-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 -fno-stack-protector  -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:5793: result: no
configure:5796: checking for -fstack-protector-strong
configure:5813: result: no
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 -fno-stack-protector  -c conftest.c
configure:5980: $? = 0
configure:5987: result: yes
configure:5995: checking for libgd
configure:6015: i586-pc-gnu-gcc -o conftest -fno-stack-protector     conftest.c  -lgd -lpng -lz -lm >&5
conftest.c:19: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_PT_CHOWN 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 -fno-stack-protector   conftest.c -lselinux   >&5
/gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin/ld: cannot find -lselinux
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_PT_CHOWN 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 -fno-stack-protector  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 -fno-stack-protector  conftest.c >&5
configure:6244: $? = 0
libc_undefs=''
configure:6263: error: unexpected symbols in test: 

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

ac_cv_build=i586-unknown-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=set
ac_cv_env_CFLAGS_value=-fno-stack-protector
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=i586-unknown-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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash
ac_cv_path_INSTALL_INFO=/gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info
ac_cv_path_PERL=/gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl
ac_cv_path_install='/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/install -c'
ac_cv_prog_AS=as
ac_cv_prog_AWK=gawk
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=ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_NM=nm
ac_cv_prog_ac_ct_READELF=readelf
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_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_complocaledir=/run/current-system/locale/2.26
libc_cv_ctors_header=no
libc_cv_cxx_link_ok=no
libc_cv_fno_toplevel_reorder=yes
libc_cv_fpie=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_has_glob_dat=yes
libc_cv_hashstyle=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_ld_gnu_indirect_function=yes
libc_cv_nss_crypt=no
libc_cv_output_format=elf32-i386
libc_cv_predef_fortify_source=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_protected_data=yes
libc_cv_ssp=no
libc_cv_ssp_strong=no
libc_cv_use_default_link=no
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes

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

AR='ar'
AS='as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash'
BISON='no'
BUILD_CC='gcc'
CC='i586-pc-gnu-gcc'
CFLAGS='-fno-stack-protector'
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/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MSGFMT=':'
NM='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/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin/perl'
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
READELF='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/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash'
SYSINCLUDES='-nostdinc -isystem /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../lib/gcc/i586-pc-gnu/5.4.0/include -isystem /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../lib/gcc/i586-pc-gnu/5.4.0/include-fixed -isystem /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include'
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='i586-unknown-gnu'
build_alias='i586-unknown-gnu'
build_cpu='i586'
build_nscd='default'
build_os='gnu'
build_pt_chown='yes'
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='no'
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=''
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='/run/current-system/locale/2.26'
libc_cv_cxx_thread_local=''
libc_cv_fpie='yes'
libc_cv_gcc_unwind_find_fde=''
libc_cv_has_glob_dat='yes'
libc_cv_hashstyle='yes'
libc_cv_localstatedir=''
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=''
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/b9rkk630drw4p7bappdb17piz0wibs9k-glibc-intermediate-2.23'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
stack_protector=''
static='/gnu/store/2cpxp3g2lv3xnsl8ik3i24jd1n9cfy5d-glibc-intermediate-2.23-static'
static_nss='no'
subdirs='  '
submachine=''
sysconfdir='/etc'
sysdeps_add_ons=' libpthread'
sysheaders='/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include'
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=''
use_nscd='no'
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_PT_CHOWN 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

configure: exit 1

[-- Attachment #3: zaiz0pdm929lgs8v3qn2cxhc2rbgf5-glibc-intermediate-2.23.drv.bz2 --]
[-- Type: application/x-bzip, Size: 64066 bytes --]

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

* Re: About GCC-5.5.0
  2018-05-25  2:28   ` Rene
  2018-05-25  4:03     ` Rene
@ 2018-05-28  9:48     ` Ludovic Courtès
  2018-05-29 12:30       ` Rene
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-05-28  9:48 UTC (permalink / raw)
  To: Rene; +Cc: guix-devel@gnu.org, bug-hurd@gnu.org, Samuel Thibault

Hello Rene,

Rene <pacoon@protonmail.com> skribis:

> 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=''
> configure:6263: error: unexpected symbols in test: 

This comes from this code in the configure.ac file of the glibc 2.23ish
package that’s used in Guix for GNU/Hurd (this code is absent in the
2.26ish glibc used for GNU/Linux):

--8<---------------cut here---------------start------------->8---
AC_CACHE_CHECK([whether $CC implicitly enables -fstack-protector],
	       libc_cv_predef_stack_protector, [
AC_TRY_COMPILE([extern void foobar (char *);],
	       [char large_array[2048]; foobar (large_array);], [
libc_undefs=`$NM -u conftest.o |
  LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
    2>&AS_MESSAGE_LOG_FD` || {
  AC_MSG_ERROR([confusing output from $NM -u])
}
echo >&AS_MESSAGE_LOG_FD "libc_undefs='$libc_undefs'"
# On some architectures, there are architecture-specific undefined
# symbols (resolved by the linker), so filter out unknown symbols.
# This will fail to produce the correct result if the compiler
# defaults to -fstack-protector but this produces an undefined symbol
# other than __stack_chk_fail.  However, compilers like that have not
# been encountered in practice.
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
case "$libc_undefs" in
foobar) libc_cv_predef_stack_protector=no ;;
'__stack_chk_fail
foobar') libc_cv_predef_stack_protector=yes ;;
*) AC_MSG_ERROR([unexpected symbols in test: $libc_undefs]) ;;
esac],
	       [AC_MSG_ERROR([test compilation failed])])
])
--8<---------------cut here---------------end--------------->8---

So it looks like the right-hand size of the ‘libc_undefs’ assignment
expands to the empty string.

Could you check the value of $NM in there?  Could it be that it got it
wrong?

HTH,
Ludo’.

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

* Re: About GCC-5.5.0
  2018-05-28  9:48     ` Ludovic Courtès
@ 2018-05-29 12:30       ` Rene
  0 siblings, 0 replies; 6+ messages in thread
From: Rene @ 2018-05-29 12:30 UTC (permalink / raw)
  To: ludo@gnu.org; +Cc: guix-devel\@gnu.org, bug-hurd\@gnu.org, Samuel Thibault

Hello Ludovic,

> 
> So it looks like the right-hand size of the ‘libc_undefs’ assignment
> 
> expands to the empty string.
> 
> Could you check the value of $NM in there? Could it be that it got it
> 
> wrong?
> 

In the config.log file the $NM value is: NM='nm'


Thank you

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

end of thread, other threads:[~2018-05-29 12:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24  2:57 About GCC-5.5.0 Rene
2018-05-24 23:41 ` Samuel Thibault
2018-05-25  2:28   ` Rene
2018-05-25  4:03     ` Rene
2018-05-28  9:48     ` Ludovic Courtès
2018-05-29 12:30       ` Rene

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).