Hi there, I'm having a hard time building libgcc for a new architecture port I wrote. I configured gcc with: > $ ../gcc-4.6.3/configure --prefix=/homes/jtlatlik/coreva-gcc/instdir > --target=mxm-elf --enable-languages=c --without-headers --disable-multilib Building the gcc for the new target itself works (make all-gcc). But when it comes to libgcc (all-target-libgcc) it fails during target configuration: > *** Configuration mxm-unknown-elf not supported > make: *** [configure-target-libgcc] Error 1 I checked config.gcc for that, but there is an entry for the target (otherwise building gcc wouldn't work): > mxm-*-elf) > gas=yes > gnu_ld=yes > tmake_file="${tmake_file} mxm/t-mxm" > ;; I looked through the libgcc config.log (attached file) and it seems, there are some really odd log entries. Also I don't get why some checks try to compile a C program with libc includes, when there is no libc port for the target architecture yet?! I'd appreciate some help with that a lot! Jan Tlatlik
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 Runtime Library configure 1.0, which was generated by GNU Autoconf 2.64. Invocation command line was $ /homes/jtlatlik/coreva-gcc/gcc-4.6.3/libgcc/configure --cache-file=./config.cache --with-cross-host=x86_64-unknown-linux-gnu --prefix=/homes/jtlatlik/coreva-gcc/instdir --without-headers --disable-multilib --enable-languages=c,lto --program-transform-name=s&^&mxm-elf-& --disable-option-checking --with-target-subdir=mxm-elf --build=x86_64-unknown-linux-gnu --host=mxm-elf --target=mxm-elf --srcdir=../../../gcc-4.6.3/libgcc ## --------- ## ## Platform. ## ## --------- ## hostname = hanuta uname -m = x86_64 uname -r = 2.6.35-32-generic uname -s = Linux uname -v = #68~lucid1-Ubuntu SMP Wed Mar 28 17:12:29 UTC 2012 /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: /vol/tdpe/share/netbeans-7.1.1/bin PATH: /homes/jtlatlik/opt/play-2.0.1 PATH: /homes/jtlatlik/opt/javacc-5.0/bin PATH: /vol/eclipse-3.6/bin PATH: /vol/jdk-1.7/bin PATH: /vol/acrobat/bin PATH: /vol/jdk-1.6.7/bin PATH: /vol/local/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1742: creating cache ./config.cache configure:1903: checking for --enable-version-specific-runtime-libs configure:1916: result: no configure:1964: checking for a BSD-compatible install configure:2032: result: /usr/bin/install -c configure:2048: checking for gawk configure:2075: result: gawk configure:2095: checking build system type configure:2109: result: x86_64-unknown-linux-gnu configure:2129: checking host system type configure:2142: result: mxm-unknown-elf configure:2245: checking for mxm-elf-ar configure:2272: result: /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ar configure:2337: checking for mxm-elf-lipo configure:2364: result: mxm-elf-lipo configure:2429: checking for mxm-elf-nm configure:2456: result: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/nm configure:2521: checking for mxm-elf-ranlib configure:2548: result: /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ranlib configure:2613: checking for mxm-elf-strip configure:2640: result: /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/strip configure:2702: checking whether ln -s works configure:2706: result: yes configure:2723: checking for mxm-elf-gcc configure:2750: result: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include configure:3019: checking for C compiler version configure:3028: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include --version >&5 xgcc (GCC) 4.6.3 Copyright (C) 2011 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:3039: $? = 0 configure:3028: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -v >&5 Reading specs from /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/specs COLLECT_GCC=/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc COLLECT_LTO_WRAPPER=/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/lto-wrapper Target: mxm-elf Configured with: ../gcc-4.6.3/configure --prefix=/homes/jtlatlik/coreva-gcc/instdir --target=mxm-elf --enable-languages=c --without-headers --disable-multilib Thread model: single gcc version 4.6.3 (GCC) configure:3039: $? = 0 configure:3028: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -V >&5 xgcc: error: unrecognized option '-V' xgcc: fatal error: no input files compilation terminated. configure:3039: $? = 1 configure:3028: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -qversion >&5 xgcc: error: unrecognized option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3039: $? = 1 configure:3055: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -o conftest -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ld: cannot find -lgcc /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ld: cannot find -lg /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ld: cannot find -lc /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status configure:3058: $? = 1 configure:3246: checking for suffix of object files configure:3268: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] configure:3272: $? = 0 configure:3293: result: o configure:3297: checking whether we are using the GNU C compiler configure:3316: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] configure:3316: $? = 0 configure:3325: result: yes configure:3334: checking whether /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include accepts -g configure:3354: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] configure:3354: $? = 0 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3369: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c conftest.c >&5 configure:3369: $? = 0 configure:3395: result: no configure:3412: checking for /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include option to accept ISO C89 configure:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] conftest.c:10:19: fatal error: stdio.h: No such file or directory compilation terminated. configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -qlanglvl=extc89 -c -g -O2 conftest.c >&5 xgcc: error: unrecognized option '-qlanglvl=extc89' configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -qlanglvl=ansi -c -g -O2 conftest.c >&5 xgcc: error: unrecognized option '-qlanglvl=ansi' configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -std -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] cc1: error: unrecognized command line option '-std' configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -Ae -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] <command-line>:0:1: error: missing '(' after predicate conftest.c:10:19: fatal error: stdio.h: No such file or directory compilation terminated. configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -Aa -D_HPUX_SOURCE -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] <command-line>:0:1: error: missing '(' after predicate conftest.c:10:19: fatal error: stdio.h: No such file or directory compilation terminated. configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3476: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -Xc -D__EXTENSIONS__ -c -g -O2 conftest.c >&5 xgcc: error: unrecognized option '-Xc' configure:3476: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* 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:3492: result: unsupported configure:3514: checking how to run the C preprocessor configure:3545: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E conftest.c configure:3545: $? = 0 configure:3559: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3559: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3584: result: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E configure:3604: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E conftest.c configure:3604: $? = 0 configure:3618: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3618: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3651: checking whether decimal floating point is supported configure:3660: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] conftest.c:9:1: error: decimal floating point not supported for this target configure:3660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | _Decimal32 x; configure:3667: result: no configure:3691: WARNING: decimal float is not supported for this target, ignored configure:3724: checking whether fixed-point is supported configure:3733: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] conftest.c:9:6: error: fixed-point types not supported for this target configure:3733: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | _Sat _Fract x; configure:3740: result: no configure:3746: checking whether assembler supports CFI directives configure:3759: /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -c -g -O2 conftest.c >&5 cc1: warning: target system does not support debug output [enabled by default] /tmp/ccsP7Bbg.s: Assembler messages: /tmp/ccsP7Bbg.s:4: Error: CFI is not supported for this target /tmp/ccsP7Bbg.s:5: Error: CFI is not supported for this target /tmp/ccsP7Bbg.s:6: Error: CFI is not supported for this target configure:3759: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | asm("\n .text\n .cfi_startproc\n .cfi_personality 0, symbol\n .cfi_endproc"); configure:3766: result: no ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=' /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include ' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=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=mxm-elf ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=mxm-elf ac_cv_host=mxm-unknown-elf ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=' /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include ' ac_cv_prog_CPP=' /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E' ac_cv_prog_LIPO=mxm-elf-lipo ac_cv_prog_NM=/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/nm ac_cv_prog_RANLIB=/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ranlib ac_cv_prog_STRIP=/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/strip ac_cv_prog_cc_c89=no ac_cv_prog_cc_g=no libgcc_cv_cfi=no libgcc_cv_dfp=no libgcc_cv_fixed_point=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ar' AWK='gawk' CC=' /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include ' CFLAGS='-g -O2' CPP=' /homes/jtlatlik/coreva-gcc/build-gcc/./gcc/xgcc -B/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ -B/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/lib/ -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/include -isystem /homes/jtlatlik/coreva-gcc/instdir/mxm-elf/sys-include -E' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LIPO='mxm-elf-lipo' LN_S='ln -s' LTLIBOBJS='' MAINT='#' NM='/homes/jtlatlik/coreva-gcc/build-gcc/./gcc/nm' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='GNU C Runtime Library' PACKAGE_STRING='GNU C Runtime Library 1.0' PACKAGE_TARNAME='libgcc' PACKAGE_URL='http://www.gnu.org/software/libgcc/' PACKAGE_VERSION='1.0' PATH_SEPARATOR=':' RANLIB='/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/ranlib' SHELL='/bin/sh' STRIP='/homes/jtlatlik/coreva-gcc/instdir/mxm-elf/bin/strip' ac_ct_CC='' asm_hidden_op='.hidden' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='x86_64-unknown-linux-gnu' build_cpu='x86_64' build_libsubdir='build-x86_64-unknown-linux-gnu' build_os='linux-gnu' build_subdir='build-x86_64-unknown-linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' decimal_float='no' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_decimal_float='no' enable_shared='yes' exec_prefix='NONE' extra_parts='' fixed_point='no' host='mxm-unknown-elf' host_alias='mxm-elf' host_cpu='mxm' host_noncanonical='mxm-elf' host_os='elf' host_subdir='.' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libgcc_topdir='../../../gcc-4.6.3/libgcc/..' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/homes/jtlatlik/coreva-gcc/instdir' program_transform_name='s&^&mxm-elf-&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' set_have_cc_tls='' set_use_emutls='' sharedstatedir='${prefix}/com' slibdir='$(exec_prefix)/$(host_noncanonical)/lib' sysconfdir='${prefix}/etc' target_alias='mxm-elf' target_noncanonical='mxm-elf' target_subdir='mxm-elf' tmake_file='' toolexecdir='$(exec_prefix)/$(target_noncanonical)' toolexeclibdir='$(toolexecdir)/lib' vis_hide='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Runtime Library" #define PACKAGE_TARNAME "libgcc" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "GNU C Runtime Library 1.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" configure: exit 1