Skip to content

Instantly share code, notes, and snippets.

@roxlu

roxlu/compile.sh Secret

Created October 20, 2014 19:45
Show Gist options
  • Save roxlu/0aed9c86c74ce015f6f5 to your computer and use it in GitHub Desktop.
Save roxlu/0aed9c86c74ce015f6f5 to your computer and use it in GitHub Desktop.
I've build binutils and a bootstrapped gcc. Now I'm trying to install the glibc headers which fails. The init_array error I'm getting is not specifically related to the error in config.log
cd ${OBJ_DIR}/glibc-headers
PATH=${TOOLS_DIR}/bin:${PATH} \
BUILD_CC=gcc \
CC=${TOOLS_DIR}/bin/${TARGET}-gcc \
AR=${TOOLS_DIR}/bin/${TARGET}-ar \
RANLIB=${TOOLS_DIR}/bin/${TARGET}-ranlib \
${SRC_DIR}/${GLIBC_VERSION}/configure \
--prefix=/usr \
--build=${BUILD} \
--host=${TARGET} \
--with-headers=${SYSROOT_DIR}/usr/include \
--with-binutils=${TOOLS_DIR}/${TARGET}/bin \
--enable-kernel=${LINUX_VERSION_NUM} \
--disable-profile \
--with-tls \
--without-cvs \
--without-gd \
--enable-add-ons \
--enable-obsolute-rpc \
--cache-file=config.cache \
libc_cv_forced_unwind=yes \
libc_cv_gcc_builtin_expect=yes \
libc_cv_mips_tls=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes \
make install-headers install_root=${SYSROOT_DIR} \
install-bootstrap-headers=yes
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.68. Invocation command line was
$ /home/roxlu/Documents/programming/tests/cross_compiler/cross/src/glibc-2.17/configure --prefix=/usr --build=x86_64-unknown-linux-gnu --host=armv6l-unknown-linux-gnueabihf --with-headers=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot/usr/include --with-binutils=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin --enable-kernel=3.6.11 --disable-profile --with-tls --without-cvs --without-gd --enable-add-ons --enable-obsolute-rpc --cache-file=config.cache libc_cv_forced_unwind=yes libc_cv_gcc_builtin_expect=yes libc_cv_mips_tls=yes libc_cv_ctors_header=yes libc_cv_c_cleanup=yes
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost
uname -m = x86_64
uname -r = 3.14.4-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /opt/cuda/bin
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /home/roxlu/.cabal/bin
PATH: /home/roxlu/.xmonad/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2190: creating cache config.cache
configure:2366: checking build system type
configure:2380: result: x86_64-unknown-linux-gnu
configure:2400: checking host system type
configure:2413: result: armv6l-unknown-linux-gnueabihf
configure:2442: checking for armv6l-unknown-linux-gnueabihf-gcc
configure:2458: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-gcc
configure:2469: result: armv6l-unknown-linux-gnueabihf-gcc
configure:2738: checking for C compiler version
configure:2747: armv6l-unknown-linux-gnueabihf-gcc --version >&5
armv6l-unknown-linux-gnueabihf-gcc (GCC) 4.7.2
Copyright (C) 2012 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:2758: $? = 0
configure:2747: armv6l-unknown-linux-gnueabihf-gcc -v >&5
Using built-in specs.
COLLECT_GCC=armv6l-unknown-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/libexec/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/lto-wrapper
Target: armv6l-unknown-linux-gnueabihf
Configured with: /home/roxlu/Documents/programming/tests/cross_compiler/cross/src/gcc-4.7.2/configure --target=armv6l-unknown-linux-gnueabihf --prefix=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools --with-sysroot=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot --without-headers --with-newlib --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-quadmath --enable-bootstrap --enable-languages=c
Thread model: single
gcc version 4.7.2 (GCC)
configure:2758: $? = 0
configure:2747: armv6l-unknown-linux-gnueabihf-gcc -V >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-V'
armv6l-unknown-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:2758: $? = 1
configure:2747: armv6l-unknown-linux-gnueabihf-gcc -qversion >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-qversion'
armv6l-unknown-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:2758: $? = 1
configure:2763: checking for suffix of object files
configure:2785: armv6l-unknown-linux-gnueabihf-gcc -c conftest.c >&5
configure:2789: $? = 0
configure:2810: result: o
configure:2814: checking whether we are using the GNU C compiler
configure:2833: armv6l-unknown-linux-gnueabihf-gcc -c conftest.c >&5
configure:2833: $? = 0
configure:2842: result: yes
configure:2851: checking whether armv6l-unknown-linux-gnueabihf-gcc accepts -g
configure:2871: armv6l-unknown-linux-gnueabihf-gcc -c -g conftest.c >&5
configure:2871: $? = 0
configure:2912: result: yes
configure:2929: checking for armv6l-unknown-linux-gnueabihf-gcc option to accept ISO C89
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -c -g -O2 conftest.c >&5
conftest.c:12:19: fatal error: stdio.h: No such file or directory
compilation terminated.
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -qlanglvl=extc89 -c -g -O2 conftest.c >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-qlanglvl=extc89'
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -qlanglvl=ansi -c -g -O2 conftest.c >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-qlanglvl=ansi'
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -std -c -g -O2 conftest.c >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-std'
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -Ae -c -g -O2 conftest.c >&5
<command-line>:0:1: error: missing '(' after predicate
conftest.c:12:19: fatal error: stdio.h: No such file or directory
compilation terminated.
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -Aa -D_HPUX_SOURCE -c -g -O2 conftest.c >&5
<command-line>:0:1: error: missing '(' after predicate
conftest.c:12:19: fatal error: stdio.h: No such file or directory
compilation terminated.
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2993: armv6l-unknown-linux-gnueabihf-gcc -Xc -D__EXTENSIONS__ -c -g -O2 conftest.c >&5
armv6l-unknown-linux-gnueabihf-gcc: error: unrecognized command line option '-Xc'
configure:2993: $? = 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 <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
| array size at least. It's necessary to write '\x00'==0 to get something
| that's true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:3009: result: unsupported
configure:3031: checking for gcc
configure:3047: found /usr/bin/gcc
configure:3058: result: gcc
configure:3076: checking how to run the C preprocessor
configure:3107: armv6l-unknown-linux-gnueabihf-gcc -E conftest.c
configure:3107: $? = 0
configure:3121: armv6l-unknown-linux-gnueabihf-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3121: $? = 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 <ac_nonexistent.h>
configure:3146: result: armv6l-unknown-linux-gnueabihf-gcc -E
configure:3166: armv6l-unknown-linux-gnueabihf-gcc -E conftest.c
configure:3166: $? = 0
configure:3180: armv6l-unknown-linux-gnueabihf-gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3180: $? = 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 <ac_nonexistent.h>
configure:3223: checking for armv6l-unknown-linux-gnueabihf-g++
configure:3239: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-g++
configure:3250: result: armv6l-unknown-linux-gnueabihf-g++
configure:3321: checking for C++ compiler version
configure:3330: armv6l-unknown-linux-gnueabihf-g++ --version >&5
armv6l-unknown-linux-gnueabihf-g++ (GCC) 4.7.2
Copyright (C) 2012 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:3341: $? = 0
configure:3330: armv6l-unknown-linux-gnueabihf-g++ -v >&5
Using built-in specs.
COLLECT_GCC=armv6l-unknown-linux-gnueabihf-g++
COLLECT_LTO_WRAPPER=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/libexec/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/lto-wrapper
Target: armv6l-unknown-linux-gnueabihf
Configured with: /home/roxlu/Documents/programming/tests/cross_compiler/cross/src/gcc-4.7.2/configure --target=armv6l-unknown-linux-gnueabihf --prefix=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools --with-sysroot=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot --without-headers --with-newlib --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-quadmath --enable-bootstrap --enable-languages=c
Thread model: single
gcc version 4.7.2 (GCC)
configure:3341: $? = 0
configure:3330: armv6l-unknown-linux-gnueabihf-g++ -V >&5
armv6l-unknown-linux-gnueabihf-g++: error: unrecognized command line option '-V'
armv6l-unknown-linux-gnueabihf-g++: fatal error: no input files
compilation terminated.
configure:3341: $? = 1
configure:3330: armv6l-unknown-linux-gnueabihf-g++ -qversion >&5
armv6l-unknown-linux-gnueabihf-g++: error: unrecognized command line option '-qversion'
armv6l-unknown-linux-gnueabihf-g++: fatal error: no input files
compilation terminated.
configure:3341: $? = 1
configure:3345: checking whether we are using the GNU C++ compiler
configure:3364: armv6l-unknown-linux-gnueabihf-g++ -c conftest.cpp >&5
configure:3364: $? = 0
configure:3373: result: yes
configure:3382: checking whether armv6l-unknown-linux-gnueabihf-g++ accepts -g
configure:3402: armv6l-unknown-linux-gnueabihf-g++ -c -g conftest.cpp >&5
configure:3402: $? = 0
configure:3443: result: yes
configure:3469: checking for armv6l-unknown-linux-gnueabihf-readelf
configure:3485: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-readelf
configure:3496: result: armv6l-unknown-linux-gnueabihf-readelf
configure:3998: checking for sysdeps preconfigure fragments
configure:4005: result:
configure:4079: running configure fragment for add-on libidn
configure:4079: running configure fragment for add-on nptl
configure:4127: checking add-on ports for preconfigure fragments
configure:4134: result:
configure:4215: checking for assembler and linker STT_GNU_IFUNC support
/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: error: ld returned 1 exit status
configure:4246: result: no
configure:4249: checking whether .text pseudo-op must be used
configure:4259: armv6l-unknown-linux-gnueabihf-gcc -c conftest.s 1>&5
configure:4262: $? = 0
configure:4273: result: yes
configure:4291: checking sysdep dirs
configure:4505: result: sysdeps/generic
configure:4582: checking for a BSD-compatible install
configure:4650: result: /usr/bin/install -c
configure:4665: checking whether ln -s works
configure:4669: result: yes
configure:4693: checking whether /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as is GNU as
configure:4707: result: yes
configure:4712: checking whether /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld is GNU ld
configure:4726: result: yes
configure:4736: checking for /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as
configure:4763: result: /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as
configure:4778: checking version of /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as
configure:4788: result: 2.23.1, ok
configure:4799: checking for /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld
configure:4826: result: /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld
configure:4841: checking version of /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld
configure:4851: result: 2.23.1, ok
configure:4865: checking for armv6l-unknown-linux-gnueabihf-gcc
configure:4892: result: armv6l-unknown-linux-gnueabihf-gcc
configure:4907: checking version of armv6l-unknown-linux-gnueabihf-gcc
configure:4917: result: 4.7.2, ok
configure:4928: checking for gnumake
configure:4958: result: no
configure:4928: checking for gmake
configure:4958: result: no
configure:4928: checking for make
configure:4944: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/make
configure:4955: result: make
configure:4970: checking version of make
configure:4980: result: 3.82, ok
configure:4992: checking for gnumsgfmt
configure:5022: result: no
configure:4992: checking for gmsgfmt
configure:5022: result: no
configure:4992: checking for msgfmt
configure:5008: found /usr/bin/msgfmt
configure:5019: result: msgfmt
configure:5034: checking version of msgfmt
configure:5044: result: 0.18.3, ok
configure:5055: checking for makeinfo
configure:5071: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/makeinfo
configure:5082: result: makeinfo
configure:5097: checking version of makeinfo
configure:5107: result: 4.13, ok
configure:5118: checking for sed
configure:5134: found /usr/bin/sed
configure:5145: result: sed
configure:5160: checking version of sed
configure:5170: result: 4.2.2, ok
configure:5181: checking for gawk
configure:5197: found /usr/bin/gawk
configure:5208: result: gawk
configure:5223: checking version of gawk
configure:5233: result: 4.1.1, ok
configure:5244: checking for armv6l-unknown-linux-gnueabihf-nm
configure:5260: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-nm
configure:5271: result: armv6l-unknown-linux-gnueabihf-nm
configure:5338: checking for autoconf
configure:5354: found /usr/bin/autoconf
configure:5365: result: autoconf
configure:5380: checking whether autoconf works
configure:5391: result: no
configure:5407: WARNING:
*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:5443: checking LD_LIBRARY_PATH variable
configure:5453: result: ok
configure:5462: checking whether GCC supports -static-libgcc
configure:5473: result: -static-libgcc
configure:5479: checking for bash
configure:5497: found /usr/bin/bash
configure:5510: result: /usr/bin/bash
configure:5583: checking for perl
configure:5601: found /usr/bin/perl
configure:5614: result: /usr/bin/perl
configure:5628: checking for install-info
configure:5647: found /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/install-info
configure:5660: result: /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/install-info
configure:5670: checking for bison
configure:5689: found /usr/bin/bison
configure:5702: result: /usr/bin/bison
configure:5711: checking for libc-friendly stddef.h
configure:5735: armv6l-unknown-linux-gnueabihf-gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
conftest.c: In function 'main':
conftest.c:24:38: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default]
configure:5735: $? = 0
configure:5742: result: yes
configure:5749: checking whether we need to use -P to assemble .S files
configure:5759: armv6l-unknown-linux-gnueabihf-gcc -c conftest.S 1>&5
configure:5762: $? = 0
configure:5770: result: no
configure:5777: checking for .set assembler directive
/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: error: ld returned 1 exit status
configure:5803: result: no
configure:5810: checking for assembler gnu_unique_object symbol type
configure:5827: result: yes
configure:5834: checking for .symver assembler directive
configure:5851: result: yes
configure:5853: checking for ld --version-script
configure:5879: armv6l-unknown-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables -shared
-o conftest.so conftest.o
-nostartfiles -nostdlib
-Wl,--version-script,conftest.map
1>&5
/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: error: ld returned 1 exit status
configure:5882: $? = 1
configure:5897: result: no
configure:5918: checking for .previous assembler directive
configure:5928: armv6l-unknown-linux-gnueabihf-gcc -c conftest.s 1>&5
configure:5931: $? = 0
configure:5939: result: yes
configure:5973: checking for .protected and .hidden assembler directive
configure:5985: armv6l-unknown-linux-gnueabihf-gcc -c conftest.s 1>&5
configure:5988: $? = 0
configure:5996: result: yes
configure:6000: checking whether __attribute__((visibility())) is supported
configure:6011: armv6l-unknown-linux-gnueabihf-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:6014: $? = 0
configure:6025: result: yes
configure:6033: checking for broken __attribute__((visibility()))
configure:6045: armv6l-unknown-linux-gnueabihf-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:6048: $? = 0
configure:6057: result: no
configure:6064: checking for broken __attribute__((alias()))
configure:6079: armv6l-unknown-linux-gnueabihf-gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:6082: $? = 0
configure:6092: result: no
configure:6099: checking whether to put _rtld_local into .sdata section
configure:6113: result: no
configure:6121: checking for .preinit_array/.init_array/.fini_array support
configure:6137: armv6l-unknown-linux-gnueabihf-gcc -g -O2 -fno-unwind-tables -o conftest
conftest.c -static -nostartfiles -nostdlib
1>&5
/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../../armv6l-unknown-linux-gnueabihf/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: error: ld returned 1 exit status
configure:6140: $? = 1
configure:6153: result: no
configure:6156: error: Need linker with .init_array/.fini_array support.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=armv6l-unknown-linux-gnueabihf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=armv6l-unknown-linux-gnueabihf
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/usr/bin/bash
ac_cv_path_BISON=/usr/bin/bison
ac_cv_path_INSTALL_INFO=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/install-info
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AS=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as
ac_cv_prog_AUTOCONF=autoconf
ac_cv_prog_AWK=gawk
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_CC=armv6l-unknown-linux-gnueabihf-gcc
ac_cv_prog_CPP='armv6l-unknown-linux-gnueabihf-gcc -E'
ac_cv_prog_CXX=armv6l-unknown-linux-gnueabihf-g++
ac_cv_prog_LD=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_NM=armv6l-unknown-linux-gnueabihf-nm
ac_cv_prog_READELF=armv6l-unknown-linux-gnueabihf-readelf
ac_cv_prog_SED=sed
ac_cv_prog_cc_c89=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=no
libc_cv_asm_symver_directive=yes
libc_cv_asm_unique_object=yes
libc_cv_autoconf_works=no
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_c_cleanup=yes
libc_cv_ctors_header=yes
libc_cv_dot_text=.text
libc_cv_forced_unwind=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc_builtin_expect=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_have_bash2=yes
libc_cv_have_ksh=yes
libc_cv_have_sdata_section=no
libc_cv_initfini_array=no
libc_cv_ld_gnu_indirect_function=no
libc_cv_ld_version_script_option=no
libc_cv_mips_tls=yes
libc_cv_need_minus_P=no
libc_cv_nss_crypt=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_visibility_attribute=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ar'
AS='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as'
ASFLAGS_config=''
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/usr/bin/bash'
BISON='/usr/bin/bison'
BUILD_CC='gcc'
CC='armv6l-unknown-linux-gnueabihf-gcc'
CFLAGS='-g -O2 -fno-unwind-tables'
CPP='armv6l-unknown-linux-gnueabihf-gcc -E'
CPPFLAGS=''
CPPUNDEFS=''
CXX='armv6l-unknown-linux-gnueabihf-g++'
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES=''
DEFINES=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH='/usr/bin/bash'
LD='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld'
LDFLAGS=''
LIBGD=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MIG=''
MSGFMT='msgfmt'
NM='armv6l-unknown-linux-gnueabihf-nm'
OBJCOPY='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/objcopy'
OBJDUMP='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/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='/usr/bin/perl'
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
READELF='armv6l-unknown-linux-gnueabihf-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='/bin/sh'
SYSINCLUDES='-nostdinc -isystem /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/include -isystem /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/include-fixed -isystem /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot/usr/include'
VERSION=''
VERSIONING='no'
ac_ct_CC=''
ac_ct_CXX=''
add_on_subdirs=' libidn'
add_ons='libidn nptl ports'
all_warnings=''
base_machine='arm'
bindir='${exec_prefix}/bin'
bindnow='no'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_nscd='default'
build_os='linux-gnu'
build_vendor='unknown'
cross_compiling='yes'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exceptions=''
exec_prefix='NONE'
fno_unit_at_a_time=''
force_install='yes'
gnu89_inline=''
have_libaudit=''
have_libcap=''
have_selinux=''
host='armv6l-unknown-linux-gnueabihf'
host_alias='armv6l-unknown-linux-gnueabihf'
host_cpu='armv6l'
host_os='linux-gnueabihf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script=''
libc_cv_Bgroup=''
libc_cv_as_i686=''
libc_cv_cc_avx=''
libc_cv_cc_fma4=''
libc_cv_cc_nofma=''
libc_cv_cc_novzeroupper=''
libc_cv_cc_sse2avx=''
libc_cv_cc_sse4=''
libc_cv_cc_submachine=''
libc_cv_cc_with_libunwind=''
libc_cv_forced_unwind='yes'
libc_cv_fpie=''
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde=''
libc_cv_hashstyle=''
libc_cv_have_bash2='yes'
libc_cv_have_ksh='yes'
libc_cv_localedir=''
libc_cv_localstatedir=''
libc_cv_nss_crypt='no'
libc_cv_output_format=''
libc_cv_pic_default=''
libc_cv_rootsbindir=''
libc_cv_slibdir=''
libc_cv_sparc_as_vis3=''
libc_cv_ssp=''
libc_cv_sysconfdir=''
libc_cv_z_combreloc=''
libc_cv_z_execstack=''
libc_extra_cflags=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
link_obsolete_rpc='no'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='no'
old_glibc_headers=''
oldest_abi='default'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
sizeof_long_double=''
static=''
static_nss='no'
subdirs=' '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=' nptl ports'
sysheaders='/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot/usr/include'
sysnames=' ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic'
target_alias=''
use_default_link='default'
use_ldconfig=''
use_nscd='yes'
with_fp='yes'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_TARNAME "glibc"
#define PACKAGE_VERSION "(see version.h)"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
#define PACKAGE_URL "http://www.gnu.org/software/glibc/"
#define PKGVERSION "(GNU libc) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
#define HAVE_LIBIDN 1
#define HAVE_ASM_UNIQUE_OBJECT 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
configure: exit 1
++ remove_dir /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ dir=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ '[' -d /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers ']'
++ rm -rf /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ create_dir /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ dir=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ '[' '!' -d /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers ']'
++ mkdir -p /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ cd /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/obj/glibc-headers
++ PATH=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/roxlu/.cabal/bin:/home/roxlu/.xmonad/bin
++ BUILD_CC=gcc
++ CC=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-gcc
++ AR=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-ar
++ RANLIB=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/armv6l-unknown-linux-gnueabihf-ranlib
++ /home/roxlu/Documents/programming/tests/cross_compiler/cross/src/glibc-2.17/configure --prefix=/usr --build=x86_64-unknown-linux-gnu --host=armv6l-unknown-linux-gnueabihf --with-headers=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/sysroot/usr/include --with-binutils=/home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin --enable-kernel=3.6.11 --disable-profile --with-tls --without-cvs --without-gd --enable-add-ons --enable-obsolute-rpc --cache-file=config.cache libc_cv_forced_unwind=yes libc_cv_gcc_builtin_expect=yes libc_cv_mips_tls=yes libc_cv_ctors_header=yes libc_cv_c_cleanup=yes
configure: creating cache config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... armv6l-unknown-linux-gnueabihf
checking for armv6l-unknown-linux-gnueabihf-gcc... armv6l-unknown-linux-gnueabihf-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armv6l-unknown-linux-gnueabihf-gcc accepts -g... yes
checking for armv6l-unknown-linux-gnueabihf-gcc option to accept ISO C89... unsupported
checking for gcc... gcc
checking how to run the C preprocessor... armv6l-unknown-linux-gnueabihf-gcc -E
checking for armv6l-unknown-linux-gnueabihf-g++... armv6l-unknown-linux-gnueabihf-g++
checking whether we are using the GNU C++ compiler... yes
checking whether armv6l-unknown-linux-gnueabihf-g++ accepts -g... yes
checking for armv6l-unknown-linux-gnueabihf-readelf... armv6l-unknown-linux-gnueabihf-readelf
checking for sysdeps preconfigure fragments... x86_64
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm arm/preconfigure: Did not find ARM architecture type; using default
hppa ia64 m68k mips tile
checking for assembler and linker STT_GNU_IFUNC support... no
checking whether .text pseudo-op must be used... yes
checking sysdep dirs... ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as is GNU as... yes
checking whether /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld is GNU ld... yes
checking for /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as... /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as
checking version of /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/as... 2.23.1, ok
checking for /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld... /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld
checking version of /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/armv6l-unknown-linux-gnueabihf/bin/ld... 2.23.1, ok
checking for armv6l-unknown-linux-gnueabihf-gcc... (cached) armv6l-unknown-linux-gnueabihf-gcc
checking version of armv6l-unknown-linux-gnueabihf-gcc... 4.7.2, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.82, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.18.3, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.13, ok
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... gawk
checking version of gawk... 4.1.1, ok
checking for armv6l-unknown-linux-gnueabihf-nm... armv6l-unknown-linux-gnueabihf-nm
checking for autoconf... autoconf
checking whether autoconf works... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /usr/bin/bash
checking for perl... /usr/bin/perl
checking for install-info... /home/roxlu/Documents/programming/tests/cross_compiler/cross/arm/tools/bin/install-info
checking for bison... /usr/bin/bison
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking for .set assembler directive... no
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment