[Bug admin/3816] New: configure fails on long double on cross-compile to x86_64

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug admin/3816] New: configure fails on long double on cross-compile to x86_64

fweimer at redhat dot com
I have a working cross-compiler {I built the running kernel with it}.
x86_64-unknown-linux-gnu-gcc 4.1.0, which was built against the same sources
that I am now trying to compile. {glibc-2.3.6}

I'm trying to make a native glibc for a 64-bit environment:
ARCH=x86_64
CROSS_COMPILE=x86_64-unknown-linux-gnu-
TARGET=x86_64-linux
PREFIX=/usr/x86_64
CC=x86_64-unknown-linux-gnu-gcc

uname -a:
Linux meteorite 2.6.19.1 #1 Thu Dec 28 13:43:59 CST 2006 x86_64 x86_64 x86_64
GNU/Linux

configure dies with this:
checking size of long double... configure: error: cannot compute sizeof (long
double), 77

config.log:
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.59.  Invocation command line was

  $ ../glibc-2.3.6/configure

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

hostname = meteorite
uname -m = x86_64
uname -r = 2.6.19.1
uname -s = Linux
uname -v = #1 Thu Dec 28 13:43:59 CST 2006

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt/bin
PATH: /usr/share/texmf/bin


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

configure:1706: checking build system type
configure:1724: result: x86_64-unknown-linux-gnu
configure:1732: checking host system type
configure:1746: result: x86_64-unknown-linux-gnu
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf sysdeps/generic
configure:2233: checking for a BSD-compatible install
configure:2288: result: /usr/bin/ginstall -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2361: checking for gcc
configure:2387: result: x86_64-unknown-linux-gnu-gcc
configure:2631: checking for C compiler version
configure:2634: x86_64-unknown-linux-gnu-gcc --version </dev/null >&5
x86_64-unknown-linux-gnu-gcc (GCC) 4.1.0
Copyright (C) 2006 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:2637: $? = 0
configure:2639: x86_64-unknown-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with:
/usr/src/crosstool-0.43/build/x86_64-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/gcc-4.1.0/configure
--target=x86_64-unknown-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu
--disable-multilib
--with-sysroot=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root
--with-local-prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.1.0
configure:2642: $? = 0
configure:2644: x86_64-unknown-linux-gnu-gcc -V </dev/null >&5
x86_64-unknown-linux-gnu-gcc: '-V' option must have argument
configure:2647: $? = 1
configure:2651: checking for suffix of object files
configure:2672: x86_64-unknown-linux-gnu-gcc -c   conftest.c >&5
configure:2675: $? = 0
configure:2697: result: o
configure:2701: checking whether we are using the GNU C compiler
configure:2725: x86_64-unknown-linux-gnu-gcc -c   conftest.c >&5
configure:2731: $? = 0
configure:2735: test -z
                         || test ! -s conftest.err
configure:2738: $? = 0
configure:2741: test -s conftest.o
configure:2744: $? = 0
configure:2757: result: yes
configure:2763: checking whether x86_64-unknown-linux-gnu-gcc accepts -g
configure:2784: x86_64-unknown-linux-gnu-gcc -c -g  conftest.c >&5
configure:2790: $? = 0
configure:2794: test -z
                         || test ! -s conftest.err
configure:2797: $? = 0
configure:2800: test -s conftest.o
configure:2803: $? = 0
configure:2814: result: yes
configure:2831: checking for x86_64-unknown-linux-gnu-gcc option to accept ANSI C
configure:2901: x86_64-unknown-linux-gnu-gcc  -c -g -O2  conftest.c >&5
configure:2907: $? = 0
configure:2911: test -z
                         || test ! -s conftest.err
configure:2914: $? = 0
configure:2917: test -s conftest.o
configure:2920: $? = 0
configure:2938: result: none needed
configure:2956: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2962: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3143: checking how to run the C preprocessor
configure:3178: x86_64-unknown-linux-gnu-gcc -E  conftest.c
configure:3184: $? = 0
configure:3216: x86_64-unknown-linux-gnu-gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3222: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3261: result: x86_64-unknown-linux-gnu-gcc -E
configure:3285: x86_64-unknown-linux-gnu-gcc -E  conftest.c
configure:3291: $? = 0
configure:3323: x86_64-unknown-linux-gnu-gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3329: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3425: checking for g++
configure:3441: found /usr/bin/g++
configure:3451: result: g++
configure:3467: checking for C++ compiler version
configure:3470: g++ --version </dev/null >&5
g++ (GCC) 3.4.6
Copyright (C) 2006 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:3473: $? = 0
configure:3475: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.6/specs
Configured with: ../gcc-3.4.6/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.6
configure:3478: $? = 0
configure:3480: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:3483: $? = 1
configure:3486: checking whether we are using the GNU C++ compiler
configure:3510: g++ -c   conftest.cc >&5
configure:3516: $? = 0
configure:3520: test -z
                         || test ! -s conftest.err
configure:3523: $? = 0
configure:3526: test -s conftest.o
configure:3529: $? = 0
configure:3542: result: yes
configure:3548: checking whether g++ accepts -g
configure:3569: g++ -c -g  conftest.cc >&5
configure:3575: $? = 0
configure:3579: test -z
                         || test ! -s conftest.err
configure:3582: $? = 0
configure:3585: test -s conftest.o
configure:3588: $? = 0
configure:3599: result: yes
configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                         || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:13: error: `exit' was not declared in this scope
configure:3692: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                         || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
configure:3692: $? = 0
configure:3696: test -z
                         || test ! -s conftest.err
configure:3699: $? = 0
configure:3702: test -s conftest.o
configure:3705: $? = 0
configure:3832: checking whether
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as
is GNU as
configure:3846: result: yes
configure:3851: checking whether
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld
is GNU ld
configure:3865: result: yes
configure:3875: checking for
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as
configure:3901: result:
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as
configure:3915: checking version of
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as
configure:3925: result: 2.16.1, ok
configure:3936: checking for
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld
configure:3962: result:
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld
configure:3976: checking version of
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld
configure:3986: result: 2.16.1, ok
configure:4001: checking for pwd
configure:4019: found /usr/bin/pwd
configure:4032: result: /usr/bin/pwd
configure:4051: checking for gcc
configure:4077: result: x86_64-unknown-linux-gnu-gcc
configure:4091: checking version of x86_64-unknown-linux-gnu-gcc
configure:4101: result: 4.1.0, ok
configure:4112: checking for gnumake
configure:4141: result: no
configure:4112: checking for gmake
configure:4128: found /usr/bin/gmake
configure:4138: result: gmake
configure:4152: checking version of gmake
configure:4162: result: 3.81, ok
configure:4174: checking for gnumsgfmt
configure:4203: result: no
configure:4174: checking for gmsgfmt
configure:4203: result: no
configure:4174: checking for msgfmt
configure:4190: found /usr/bin/msgfmt
configure:4200: result: msgfmt
configure:4214: checking version of msgfmt
configure:4224: result: 0.15, ok
configure:4235: checking for makeinfo
configure:4251: found /usr/bin/makeinfo
configure:4261: result: makeinfo
configure:4275: checking version of makeinfo
configure:4285: result: 4.8, ok
configure:4296: checking for sed
configure:4312: found /usr/bin/sed
configure:4322: result: sed
configure:4336: checking version of sed
configure:4346: result: 4.1.5, ok
configure:4358: checking for autoconf
configure:4374: found /usr/bin/autoconf
configure:4384: result: autoconf
configure:4398: checking whether autoconf works
configure:4409: result: yes
configure:4447: checking whether ranlib is necessary
configure:4468: result: no
configure:4481: checking LD_LIBRARY_PATH variable
configure:4491: result: ok
configure:4505: checking whether GCC supports -static-libgcc
configure:4516: result: -static-libgcc
configure:4522: checking for bash
configure:4553: result: /bin/sh
configure:4626: checking for gawk
configure:4642: found /usr/bin/gawk
configure:4652: result: gawk
configure:4664: checking for perl
configure:4682: found /usr/bin/perl
configure:4695: result: /usr/bin/perl
configure:4708: checking for install-info
configure:4727: found /usr/bin/install-info
configure:4740: result: /usr/bin/install-info
configure:4749: checking for bison
configure:4768: found /usr/bin/bison
configure:4781: result: /usr/bin/bison
configure:4789: checking for signed size_t type
configure:4804: result: no
configure:4814: checking for libc-friendly stddef.h
configure:4843: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:24: warning: incompatible implicit declaration of built-in function
'abort'
configure:4849: $? = 0
configure:4853: test -z
                         || test ! -s conftest.err
configure:4856: $? = 0
configure:4859: test -s conftest.o
configure:4862: $? = 0
configure:4873: result: yes
configure:4880: checking whether we need to use -P to assemble .S files
configure:4890: x86_64-unknown-linux-gnu-gcc   -c conftest.S 1>&5
configure:4893: $? = 0
configure:4901: result: no
configure:4908: checking whether .text pseudo-op must be used
configure:4918: x86_64-unknown-linux-gnu-gcc  -c conftest.s 1>&5
configure:4921: $? = 0
configure:4932: result: yes
configure:4936: checking for assembler global-symbol directive
configure:4949: x86_64-unknown-linux-gnu-gcc  -c conftest.s 1>&5
configure:4952: $? = 0
configure:4960: result: .globl
configure:4973: checking for .set assembler directive
configure:4999: result: yes
configure:5008: checking for assembler .type directive prefix
configure:5024: x86_64-unknown-linux-gnu-gcc  -c conftest.s 1>&5
configure:5027: $? = 0
configure:5035: result: @
configure:5044: checking for .symver assembler directive
configure:5061: result: yes
configure:5063: checking for ld --version-script
configure:5089: x86_64-unknown-linux-gnu-gcc -g -O2  -shared
                                -o conftest.so conftest.o
                                -nostartfiles -nostdlib
                                -Wl,--version-script,conftest.map
                       1>&5
configure:5092: $? = 0
configure:5107: result: yes
configure:5131: checking for .previous assembler directive
configure:5141: x86_64-unknown-linux-gnu-gcc -c  conftest.s 1>&5
configure:5144: $? = 0
configure:5152: result: yes
configure:5190: checking for .protected and .hidden assembler directive
configure:5202: x86_64-unknown-linux-gnu-gcc -c  conftest.s 1>&5
configure:5205: $? = 0
configure:5213: result: yes
configure:5226: checking whether __attribute__((visibility())) is supported
configure:5237: x86_64-unknown-linux-gnu-gcc -Werror -S conftest.c -o conftest.s
1>&5
configure:5240: $? = 0
configure:5251: result: yes
configure:5262: checking for broken __attribute__((visibility()))
configure:5274: x86_64-unknown-linux-gnu-gcc -Werror -S conftest.c -o conftest.s1>&5
configure:5277: $? = 0
configure:5286: result: no
configure:5296: checking for broken __attribute__((alias()))
configure:5311: x86_64-unknown-linux-gnu-gcc -Werror -S conftest.c -o conftest.s
1>&5
configure:5314: $? = 0
configure:5324: result: no
configure:5334: checking whether to put _rtld_local into .sdata section
configure:5348: result: no
configure:5358: checking for .preinit_array/.init_array/.fini_array support
configure:5371: x86_64-unknown-linux-gnu-gcc -g -O2   -o conftest conftest.c
                     -static -nostartfiles -nostdlib 1>&5
configure:5374: $? = 0
configure:5387: result: yes
configure:5397: checking for libunwind-support in compiler
configure:5414: result: no
configure:5424: checking for -z nodelete option
configure:5436: x86_64-unknown-linux-gnu-gcc -g -O2  
                     -shared -o conftest.so conftest.c
                     -nostartfiles -nostdlib
                     -Wl,--enable-new-dtags,-z,nodelete 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccEqwOaN.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccEqwOaN.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5439: $? = 1
configure:5448: result: no
configure:5452: checking for -z nodlopen option
configure:5464: x86_64-unknown-linux-gnu-gcc -g -O2  
                        -shared -o conftest.so conftest.c
                        -nostartfiles -nostdlib
                        -Wl,--enable-new-dtags,-z,nodlopen 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccMwKHwR.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccMwKHwR.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5467: $? = 1
configure:5476: result: no
configure:5480: checking for -z initfirst option
configure:5492: x86_64-unknown-linux-gnu-gcc -g -O2  
                        -shared -o conftest.so conftest.c
                        -nostartfiles -nostdlib
                        -Wl,--enable-new-dtags,-z,initfirst 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccOLmA1V.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccOLmA1V.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5495: $? = 1
configure:5504: result: no
configure:5508: checking for -z relro option
configure:5515: x86_64-unknown-linux-gnu-gcc -v --help 2>&1|grep z relro 1>&5
  -z relro Create RELRO program header
  -z relro Create RELRO program header
configure:5518: $? = 0
configure:5522: x86_64-unknown-linux-gnu-gcc -Wl,--verbose 2>&1|grep
DATA_SEGMENT_RELRO_END 1>&5
  . = DATA_SEGMENT_RELRO_END (24, .);
configure:5525: $? = 0
configure:5532: result: yes
configure:5542: checking for -Bgroup option
configure:5553: x86_64-unknown-linux-gnu-gcc -g -O2  
                              -shared -o conftest.so conftest.c
                              -Wl,-Bgroup -nostdlib 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/cc4Cnqw6.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/cc4Cnqw6.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5556: $? = 1
configure:5565: result: no
configure:5569: checking for libgcc_s suffix
configure:5583: result:
configure:5587: checking for --as-needed option
configure:5599: x86_64-unknown-linux-gnu-gcc -g -O2  
                              -shared -o conftest.so conftest.c
                              -lgcc_s -Wl,--as-needed
                              -nostdlib 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccyZ2BAf.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccyZ2BAf.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5602: $? = 1
configure:5611: result: no
configure:5616: checking whether --noexecstack is desirable for .S files
configure:5626: x86_64-unknown-linux-gnu-gcc -g -O2
                     -S -o conftest.s conftest.c 1>&5
configure:5629: $? = 0
configure:5634: x86_64-unknown-linux-gnu-gcc -g -O2  -Wa,--noexecstack
                       -c -o conftest.o conftest.s 1>&5
configure:5637: $? = 0
configure:5646: result: yes
configure:5653: checking for -z combreloc
configure:5667: x86_64-unknown-linux-gnu-gcc -g -O2  
                        -shared -o conftest.so conftest.c
                        -nostdlib -nostartfiles
                        -Wl,-z,combreloc 1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccgxE6Ao.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccgxE6Ao.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5670: $? = 1
configure:5683: result: no
configure:5693: checking for -z execstack
configure:5705: x86_64-unknown-linux-gnu-gcc -g -O2  
                              -shared -o conftest.so conftest.c
                              -Wl,-z,execstack -nostdlib
                              1>&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccnqi84l.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/tmp/ccnqi84l.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5708: $? = 1
configure:5717: result: no
configure:5721: checking for -fpie
configure:5732: x86_64-unknown-linux-gnu-gcc -g -O2   -pie -fpie
                              -o conftest conftest.c 1>&5
configure:5735: $? = 0
configure:5744: result: yes
configure:5750: checking for -fno-unit-at-a-time
configure:5760: x86_64-unknown-linux-gnu-gcc -g -O2  -S -fno-unit-at-a-time
                            conftest.c 1>&5
configure:5763: $? = 0
configure:5772: result: yes
configure:5844: checking whether cc puts quotes around section names
configure:5865: result: no
configure:5982: checking for assembler .weak directive
configure:5995: x86_64-unknown-linux-gnu-gcc  -c conftest.s 1>&5
configure:5998: $? = 0
configure:6006: result: yes
configure:6053: checking whether CFI directives are supported
configure:6068: x86_64-unknown-linux-gnu-gcc  -c conftest.s 1>&5
configure:6071: $? = 0
configure:6079: result: yes
configure:6088: checking if -g produces usable source locations for
assembler-with-cpp
configure:6111: x86_64-unknown-linux-gnu-gcc   -g -c conftest.S 1>&5
configure:6114: $? = 0
configure:6119: readelf --debug-dump=line conftest.o |
                   grep conftest\.S 1>&5
  1 0 0 0 conftest.S
configure:6122: $? = 0
configure:6131: result: yes
configure:6140: checking for ld --no-whole-archive
configure:6153: x86_64-unknown-linux-gnu-gcc -g -O2  
                            -nostdlib -nostartfiles -Wl,--no-whole-archive
                            -o conftest conftest.c 1>&5
configure:6156: $? = 0
configure:6164: result: yes
configure:6170: checking for gcc -fexceptions
configure:6183: x86_64-unknown-linux-gnu-gcc -g -O2  
                            -nostdlib -nostartfiles -fexceptions
                            -o conftest conftest.c 1>&5
configure:6186: $? = 0
configure:6194: result: yes
configure:6264: checking for DWARF2 unwind info support
configure:6302: x86_64-unknown-linux-gnu-gcc -g -O2
-DCHECK__register_frame_info        -nostdlib -nostartfiles -o conftest
conftest.c    -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure: In function 'strcmp':
configure:6285: warning: number of arguments doesn't match built-in prototype
configure: At top level:
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
/tmp/ccusoqAF.o: In function `_start':
/usr/src/build/configure:6277: undefined reference to `__register_frame_info'
/usr/src/build/configure:6278: undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:6305: $? = 1
configure:6308: x86_64-unknown-linux-gnu-gcc -g -O2
-DCHECK__register_frame_info        -nostdlib -nostartfiles -o conftest
conftest.c    -lgcc -lgcc_eh -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure: In function 'strcmp':
configure:6285: warning: number of arguments doesn't match built-in prototype
configure: At top level:
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
configure:6311: $? = 0
configure:6339: result: no_registry_needed
configure:6360: checking for __builtin_expect
configure:6375: x86_64-unknown-linux-gnu-gcc -g -O2   -nostdlib -nostartfiles
                            -o conftest conftest.c -lgcc >&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
warning: cannot find entry symbol _start; defaulting to 00000000004000f0
configure:6378: $? = 0
configure:6386: result: yes
configure:6395: checking for __builtin_memset
configure:6407: x86_64-unknown-linux-gnu-gcc -O3 -S conftest.c -o - | fgrep
memset > /dev/null
configure:6410: $? = 0
configure:6419: result: no
configure:6428: checking for redirection of built-in functions
configure:6441: x86_64-unknown-linux-gnu-gcc -O3 -S conftest.c -o - | fgrep
my_strstr > /dev/null
configure:6444: $? = 0
configure:6453: result: yes
configure:6462: checking for local label subtraction
configure:6482: x86_64-unknown-linux-gnu-gcc -g -O2   -nostdlib -nostartfiles
                            -o conftest conftest.c -lgcc >&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
warning: cannot find entry symbol _start; defaulting to 00000000004000f0
configure:6485: $? = 0
configure:6493: result: yes
configure:6503: checking for __thread
configure:6512: x86_64-unknown-linux-gnu-gcc -g -O2  -c conftest.c >&5
configure:6515: $? = 0
configure:6523: result: yes
configure:6536: checking for tls_model attribute
configure:6545: x86_64-unknown-linux-gnu-gcc -g -O2  -S -Werror conftest.c >&5
configure:6548: $? = 0
configure:6556: result: yes
configure:6566: checking for libgd
configure:6591: x86_64-unknown-linux-gnu-gcc -o conftest -g -O2     conftest.c
-lgd -lpng -lz -lm >&5
conftest.c:31:16: error: gd.h: No such file or directory
configure:6597: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
| #include <gd.h>
| int
| main ()
| {
| gdImagePng (0, 0)
|   ;
|   return 0;
| }
configure:6627: result: no
configure:6636: checking for is_selinux_enabled in -lselinux
configure:6666: x86_64-unknown-linux-gnu-gcc -o conftest -g -O2   conftest.c
-lselinux   >&5
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
cannot find -lselinux
collect2: ld returned 1 exit status
configure:6672: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char is_selinux_enabled ();
| int
| main ()
| {
| is_selinux_enabled ();
|   ;
|   return 0;
| }
configure:6698: result: no
configure:6862: checking for egrep
configure:6872: result: grep -E
configure:6877: checking for ANSI C header files
configure:6902: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:6908: $? = 0
configure:6912: test -z
                         || test ! -s conftest.err
configure:6915: $? = 0
configure:6918: test -s conftest.o
configure:6921: $? = 0
configure:7010: x86_64-unknown-linux-gnu-gcc -o conftest -g -O2   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:48: warning: incompatible implicit declaration of built-in function
'exit'
configure:7013: $? = 0
configure:7015: ./conftest
../glibc-2.3.6/configure: line 7016: ./conftest: No such file or directory
configure:7018: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
| #include <ctype.h>
| #if ((' ' & 0x0FF) == 0x020)
| # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
| #else
| # define ISLOWER(c)   (('a' <= (c) && (c) <= 'i')     || ('j' <= (c) &&
(c) <= 'r')     || ('s' <= (c) && (c) <= 'z'))
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
| #endif
|
| #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
| int
| main ()
| {
|   int i;
|   for (i = 0; i < 256; i++)
|     if (XOR (islower (i), ISLOWER (i))
| || toupper (i) != TOUPPER (i))
|       exit(2);
|   exit (0);
| }
configure:7033: result: no
configure:7057: checking for sys/types.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for sys/stat.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for stdlib.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for string.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for memory.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for strings.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for inttypes.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for stdint.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7057: checking for unistd.h
configure:7073: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7079: $? = 0
configure:7083: test -z
                         || test ! -s conftest.err
configure:7086: $? = 0
configure:7089: test -s conftest.o
configure:7092: $? = 0
configure:7103: result: yes
configure:7115: checking for long double
configure:7139: x86_64-unknown-linux-gnu-gcc -c -g -O2  conftest.c >&5
configure:7145: $? = 0
configure:7149: test -z
                         || test ! -s conftest.err
configure:7152: $? = 0
configure:7155: test -s conftest.o
configure:7158: $? = 0
configure:7169: result: yes
configure:7172: checking size of long double
configure:7491: x86_64-unknown-linux-gnu-gcc -o conftest -g -O2   conftest.c  >&5
configure:7494: $? = 0
configure:7496: ./conftest
../glibc-2.3.6/configure: line 7497: ./conftest: No such file or directory
configure:7499: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| long longval () { return (long) (sizeof (long double)); }
| unsigned long ulongval () { return (long) (sizeof (long double)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (long double))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (long double))))
| exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (long double))))
| exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
|
|   ;
|   return 0;
| }
configure:7509: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

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

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=x86_64-unknown-linux-gnu-gcc
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_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=no
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_lib_selinux_is_selinux_enabled=no
ac_cv_objext=o
ac_cv_path_BASH=/bin/sh
ac_cv_path_BISON=/usr/bin/bison
ac_cv_path_INSTALL_INFO=/usr/bin/install-info
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_PWD_P=/usr/bin/pwd
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AS=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as
ac_cv_prog_AUTOCONF=autoconf
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-unknown-linux-gnu-gcc
ac_cv_prog_CPP='x86_64-unknown-linux-gnu-gcc -E'
ac_cv_prog_LD=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld
ac_cv_prog_MAKE=gmake
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_CC=x86_64-unknown-linux-gnu-gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_type_long_double=yes
libc_cv_Bgroup=no
libc_cv_as_needed=no
libc_cv_as_noexecstack=yes
libc_cv_asm_cfi_directives=yes
libc_cv_asm_global_directive=.globl
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=yes
libc_cv_asm_symver_directive=yes
libc_cv_asm_type_prefix=@
libc_cv_asm_underscores=no
libc_cv_asm_weak_directive=yes
libc_cv_autoconf_works=yes
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_cc_with_libunwind=no
libc_cv_cpp_asm_debuginfo=yes
libc_cv_dot_text=.text
libc_cv_fno_unit_at_a_time=yes
libc_cv_fpie=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc___thread=yes
libc_cv_gcc_builtin_expect=yes
libc_cv_gcc_builtin_memset=no
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_dwarf2_unwind_info=no_registry_needed
libc_cv_gcc_exceptions=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_gcc_subtract_local_labels=yes
libc_cv_gcc_tls_model_attr=yes
libc_cv_have_bash2=yes
libc_cv_have_ksh=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_initfinit_array=yes
libc_cv_ld_no_whole_archive=yes
libc_cv_ld_version_script_option=yes
libc_cv_libgcc_s_suffix=
libc_cv_need_minus_P=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_ranlib_necessary=no
libc_cv_signed_size_t=no
libc_cv_visibility_attribute=yes
libc_cv_weak_symbols=yes
libc_cv_z_combreloc=no
libc_cv_z_execstack=no
libc_cv_z_initfirst=no
libc_cv_z_nodelete=no
libc_cv_z_nodlopen=no
libc_cv_z_relro=yes

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

AR='/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ar'
AS='/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='autoconf'
AWK='gawk'
BASH='/bin/sh'
BISON='/usr/bin/bison'
BUILD_CC=''
CC='x86_64-unknown-linux-gnu-gcc'
CFLAGS='-g -O2'
CPP='x86_64-unknown-linux-gnu-gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
DEFINES=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/usr/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH='/bin/sh'
LD='/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='gmake'
MAKEINFO='makeinfo'
MIG=''
MSGFMT='msgfmt'
OBJDUMP='/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/bin/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT='glibc'
PACKAGE_NAME='GNU C Library'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_TARNAME='c-library'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
PWD_P='/usr/bin/pwd'
RANLIB=':'
RELEASE=''
SED='sed'
SHELL='/bin/sh'
SYSINCLUDES=''
VERSION=''
VERSIONING='yes'
ac_ct_CC='x86_64-unknown-linux-gnu-gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB=''
add_ons=''
all_warnings=''
base_machine='x86_64'
bindir='${exec_prefix}/bin'
bindnow='no'
bounded='no'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cross_compiling='no'
datadir='${prefix}/share'
elf='yes'
enable_check_abi='no'
exceptions='-fexceptions'
exec_prefix='NONE'
fno_unit_at_a_time='-fno-unit-at-a-time'
force_install='yes'
gnu_as='yes'
gnu_ld='yes'
have_libaudit=''
have_selinux='no'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
ldd_rewrite_script=''
libc_cv_Bgroup='no'
libc_cv_as_needed='no'
libc_cv_asm_protected_directive='yes'
libc_cv_cc_with_libunwind='no'
libc_cv_cpp_asm_debuginfo='yes'
libc_cv_forced_unwind=''
libc_cv_fpie='yes'
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde=''
libc_cv_have_bash2='yes'
libc_cv_have_initfini=''
libc_cv_have_ksh='yes'
libc_cv_initfinit_array='yes'
libc_cv_libgcc_s_suffix=''
libc_cv_localedir=''
libc_cv_rootsbindir=''
libc_cv_slibdir=''
libc_cv_sysconfdir=''
libc_cv_z_combreloc='no'
libc_cv_z_execstack='no'
libc_cv_z_initfirst='no'
libc_cv_z_nodelete='no'
libc_cv_z_nodlopen='no'
libc_cv_z_relro='yes'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
linux_doors=''
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${prefix}/man'
no_whole_archive='-Wl,--no-whole-archive'
nopic_initfini=''
old_glibc_headers=''
oldest_abi='default'
oldincludedir='/usr/include'
omitfp='no'
pic_default=''
prefix='NONE'
profile='yes'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
shared='default'
sharedstatedir='${prefix}/com'
sizeof_long_double=''
static='yes'
static_nss='no'
subdirs=' '
sysconfdir='${prefix}/etc'
sysnames=' sysdeps/x86_64/elf sysdeps/unix/sysv/linux/x86_64
sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv
sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu sysdeps/x86_64
sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'
target_alias=''
uname_release=''
uname_sysname=''
uname_version=''
use_ldconfig=''
with_cvs='yes'
with_fp='yes'
xcoff='no'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define ASM_GLOBAL_DIRECTIVE .globl
#define ASM_TYPE_DIRECTIVE_PREFIX @
#define DO_VERSIONING 1
#define HAVE_ASM_CFI_DIRECTIVES 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
#define HAVE_ASM_SET_DIRECTIVE 1
#define HAVE_ASM_WEAK_DIRECTIVE 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_REDIRECTION 1
#define HAVE_CPP_ASM_DEBUGINFO 1
#define HAVE_HIDDEN 1
#define HAVE_INITFINI_ARRAY 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_PROTECTED 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SUBTRACT_LOCAL_LABELS 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define HAVE_UNISTD_H 1
#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_Z_RELRO 1
#define HAVE___THREAD 1
#define NO_UNDERSCORES 1
#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

--
           Summary: configure fails on long double on cross-compile to
                    x86_64
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: critical
          Priority: P2
         Component: admin
        AssignedTo: roland at gnu dot org
        ReportedBy: greg dot chandler at wellsfargo dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3816

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/3816] configure fails on long double on cross-compile to x86_64

fweimer at redhat dot com

------- Additional Comments From greg dot chandler at wellsfargo dot com  2006-12-29 20:49 -------
This turns out to be my fault, I needed to add --static the the CFLAGS CXXFLAGS
LDFLAGS so that I could actually run the test.. {Found this while
troubleshooting something else}

My problem now is that it isn't finding the linuxthreads.

--


http://sourceware.org/bugzilla/show_bug.cgi?id=3816

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/3816] configure fails on long double on cross-compile to x86_64

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com

------- Additional Comments From greg dot chandler at wellsfargo dot com  2006-12-29 20:58 -------
2.5 Did not have the problem.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=3816

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.