Hi All, I've trying to build gcc-9.2.0 on a host with gcc-4.5.1, matching versions of mpfr, gmp and mpc are symlinked into the top-level of the tree. This is my configure: $ mkdir build $ cd build $ ../configure --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++ $ make This fails with: Configuring stage 2 in ./gcc ... checking size of long long... configure: error: in `/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/gcc': configure: error: cannot compute sizeof (long long) See `config.log' for more details make[2]: *** [configure-stage2-gcc] Error 77 make[2]: Leaving directory `/tmp/sources/gcc-9.2.0/gcc-9.2.0/build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/tmp/sources/gcc-9.2.0/gcc-9.2.0/build' make: *** [all] Error 2 Looking at gcc/config.log (attached), the attempt to check the existence of type long long succeeds: checking for long long... yes config.log section: configure:6188: checking for long long configure:6188: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:6188: $? = 0 Then, the first attempt for sizeof( long long) fails with a compilation error: configure:6188: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:63:14: error: expected primary-expression before 'long' conftest.cpp:63:14: error: expected ')' before 'long' conftest.cpp:64:14: error: expected ')' before ';' token conftest.cpp:64:14: error: expected ')' before ';' token configure:6188: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | #define SIZEOF_SHORT 0 | #define SIZEOF_INT 0 | #define SIZEOF_LONG 0 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:6188: result: yes I strace'd this make invocation a bit and found that it is using /usr/bin/g++ here (which I suspect is too old to know about sizeof( long long )?). Given that this is stage 2, shouldn't it use the g++ from stage 1? The second attempt fails with a linker error: configure:6199: checking size of long long configure:6204: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6204: $? = 1 The tests for sizeof other data types had the same linker error, but configure continued (and printed 0 as sizeof for these data types). E.g. int: checking size of int... 0 config.log section: configure:6126: checking size of int configure:6131: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6131: $? = 1 In summary, my questions are: - Why does it use g++ from the host instead from stage 1 in stage 2 when I explicitly tell it to bootstrap? - Is gcc 4.5.1 too old to build gcc-9.2.0? If so, what's the minimum version that can build gcc 9.2.0? Or, in reverse, that's the maximum version gcc-4.5.1 can build? - Are these linker errors (and assumptions the data type size is 0) correct? configure continues, but it seems wrong. I have libstdc++ 4.5.1 installed, but do I need to activate libstdcxx in the configure script? Thanks in advance. Regards, Winston
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ /tmp/sources/gcc-9.2.0/gcc-9.2.0/gcc/configure --srcdir=../../gcc --cache-file=./config.cache --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++,lto --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-build-libsubdir=. ## --------- ## ## Platform. ## ## --------- ## hostname = naru uname -m = x86_64 uname -r = 4.2.3 uname -s = Linux uname -v = #1 SMP Tue Apr 25 22:53:53 EST 2017 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/local/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3188: loading cache ./config.cache configure:3312: checking build system type configure:3326: result: x86_64-pc-linux-gnu configure:3346: checking host system type configure:3359: result: x86_64-pc-linux-gnu configure:3379: checking target system type configure:3392: result: x86_64-pc-linux-gnu configure:3498: checking LIBRARY_PATH variable configure:3508: result: ok configure:3524: checking GCC_EXEC_PREFIX variable configure:3534: result: ok configure:3699: checking whether to place generated files in the source directory configure:3709: result: no configure:3760: checking whether a default linker was specified configure:3771: result: no configure:3818: checking whether a default assembler was specified configure:3829: result: no configure:3855: checking for x86_64-pc-linux-gnu-gcc configure:3882: result: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking configure:4151: checking for C compiler version configure:4160: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking --version >&5 xgcc (GCC) 9.2.0 Copyright (C) 2019 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:4171: $? = 0 configure:4160: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -v >&5 Reading specs from /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/specs COLLECT_GCC=/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc COLLECT_LTO_WRAPPER=/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++ Thread model: single gcc version 9.2.0 (GCC) configure:4171: $? = 0 configure:4160: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -V >&5 xgcc: error: unrecognized command line option '-V' xgcc: fatal error: no input files compilation terminated. configure:4171: $? = 1 configure:4160: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -qversion >&5 xgcc: error: unrecognized command line option '-qversion'; did you mean '--version'? xgcc: fatal error: no input files compilation terminated. configure:4171: $? = 1 configure:4191: checking whether the C compiler works configure:4213: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -g -O2 -fno-checking -gtoggle -static-libstdc++ -static-libgcc conftest.c >&5 configure:4217: $? = 0 configure:4265: result: yes configure:4268: checking for C compiler default output file name configure:4270: result: a.out configure:4276: checking for suffix of executables configure:4283: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -o conftest -g -O2 -fno-checking -gtoggle -static-libstdc++ -static-libgcc conftest.c >&5 configure:4287: $? = 0 configure:4309: result: configure:4331: checking whether we are cross compiling configure:4339: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -o conftest -g -O2 -fno-checking -gtoggle -static-libstdc++ -static-libgcc conftest.c >&5 configure:4343: $? = 0 configure:4350: ./conftest configure:4354: $? = 0 configure:4369: result: no configure:4374: checking for suffix of object files configure:4396: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -c -g -O2 -fno-checking -gtoggle conftest.c >&5 configure:4400: $? = 0 configure:4421: result: o configure:4425: checking whether we are using the GNU C compiler configure:4444: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -c -g -O2 -fno-checking -gtoggle conftest.c >&5 configure:4444: $? = 0 configure:4453: result: yes configure:4462: checking whether /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking accepts -g configure:4482: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -c -g conftest.c >&5 configure:4482: $? = 0 configure:4523: result: yes configure:4540: checking for /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking option to accept ISO C89 configure:4603: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -c -g -O2 -fno-checking -gtoggle conftest.c >&5 configure:4603: $? = 0 configure:4616: result: none needed configure:4748: checking for C++ compiler version configure:4757: g++ -std=gnu++98 --version >&5 g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) Copyright (C) 2010 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:4768: $? = 0 configure:4757: g++ -std=gnu++98 -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) configure:4768: $? = 0 configure:4757: g++ -std=gnu++98 -V >&5 g++: argument to '-V' missing configure:4768: $? = 1 configure:4757: g++ -std=gnu++98 -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:4768: $? = 1 configure:4772: checking whether we are using the GNU C++ compiler configure:4791: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:4791: $? = 0 configure:4800: result: yes configure:4809: checking whether g++ -std=gnu++98 accepts -g configure:4829: g++ -std=gnu++98 -c -g conftest.cpp >&5 configure:4829: $? = 0 configure:4870: result: yes configure:4899: checking for x86_64-pc-linux-gnu-gnatbind configure:4926: result: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/gnatbind configure:4991: checking for x86_64-pc-linux-gnu-gnatmake configure:5018: result: no configure:5080: checking whether compiler driver understands Ada configure:5103: result: no configure:5225: checking how to run the C++ preprocessor configure:5252: g++ -std=gnu++98 -E conftest.cpp configure:5252: $? = 0 configure:5266: g++ -std=gnu++98 -E conftest.cpp conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5266: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5291: result: g++ -std=gnu++98 -E configure:5311: g++ -std=gnu++98 -E conftest.cpp configure:5311: $? = 0 configure:5325: g++ -std=gnu++98 -E conftest.cpp conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5325: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5354: checking for grep that handles long lines and -e configure:5412: result: /bin/grep configure:5417: checking for egrep configure:5479: result: /bin/grep -E configure:5484: checking for ANSI C header files configure:5504: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5504: $? = 0 configure:5577: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:5577: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include <ctype.h> | #include <stdlib.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)) | return 2; | return 0; | } configure:5588: result: no configure:5601: checking for sys/types.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for sys/stat.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for stdlib.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for string.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for memory.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for strings.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for inttypes.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for stdint.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5601: checking for unistd.h configure:5601: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5601: $? = 0 configure:5601: result: yes configure:5614: checking minix/config.h usability configure:5614: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 conftest.cpp:51:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:5614: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <minix/config.h> configure:5614: result: no configure:5614: checking minix/config.h presence configure:5614: g++ -std=gnu++98 -E conftest.cpp conftest.cpp:18:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:5614: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 <minix/config.h> configure:5614: result: no configure:5614: checking for minix/config.h configure:5614: result: no configure:5635: checking whether it is safe to define __EXTENSIONS__ configure:5653: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5653: $? = 0 configure:5660: result: yes configure:5679: checking how to run the C preprocessor configure:5710: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E conftest.c configure:5710: $? = 0 configure:5724: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E conftest.c conftest.c:23:10: fatal error: ac_nonexistent.h: No such file or directory 23 | #include <ac_nonexistent.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5749: result: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E configure:5769: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E conftest.c configure:5769: $? = 0 configure:5783: /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E conftest.c conftest.c:23:10: fatal error: ac_nonexistent.h: No such file or directory 23 | #include <ac_nonexistent.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5783: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5811: checking for inline configure:5827: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5827: $? = 0 configure:5835: result: inline configure:5861: checking for special C compiler options needed for large files configure:5906: result: no configure:5912: checking for _FILE_OFFSET_BITS value needed for large files configure:5937: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:5937: $? = 0 configure:5969: result: no configure:6060: checking size of void * configure:6065: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6065: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (void *)); } | static unsigned long int ulongval () { return (long int) (sizeof (void *)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (void *))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (void *)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (void *)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:6079: result: 0 configure:6093: checking size of short configure:6098: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6098: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (short)); } | static unsigned long int ulongval () { return (long int) (sizeof (short)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (short))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (short)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (short)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:6112: result: 0 configure:6126: checking size of int configure:6131: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6131: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | #define SIZEOF_SHORT 0 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (int)); } | static unsigned long int ulongval () { return (long int) (sizeof (int)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (int))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (int)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (int)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:6145: result: 0 configure:6159: checking size of long configure:6164: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6164: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | #define SIZEOF_SHORT 0 | #define SIZEOF_INT 0 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (long)); } | static unsigned long int ulongval () { return (long int) (sizeof (long)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (long))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (long)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (long)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:6178: result: 0 configure:6188: checking for long long configure:6188: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 configure:6188: $? = 0 configure:6188: g++ -std=gnu++98 -c -g -O2 conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:63:14: error: expected primary-expression before 'long' conftest.cpp:63:14: error: expected ')' before 'long' conftest.cpp:64:14: error: expected ')' before ';' token conftest.cpp:64:14: error: expected ')' before ';' token configure:6188: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | #define SIZEOF_SHORT 0 | #define SIZEOF_INT 0 | #define SIZEOF_LONG 0 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:6188: result: yes configure:6199: checking size of long long configure:6204: g++ -std=gnu++98 -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5 /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status configure:6204: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #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 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 0 | #define SIZEOF_SHORT 0 | #define SIZEOF_INT 0 | #define SIZEOF_LONG 0 | #define HAVE_LONG_LONG 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | static long int longval () { return (long int) (sizeof (long long)); } | static unsigned long int ulongval () { return (long int) (sizeof (long long)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if (((long int) (sizeof (long long))) < 0) | { | long int i = longval (); | if (i != ((long int) (sizeof (long long)))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != ((long int) (sizeof (long long)))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:6208: error: in `/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/gcc': configure:6210: error: cannot compute sizeof (long long) See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_inline=inline ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 -fno-checking -gtoggle' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-g -O2' ac_cv_env_CXX_set=set ac_cv_env_CXX_value='g++ -std=gnu++98' ac_cv_env_GMPINC_set=set ac_cv_env_GMPINC_value='-I/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./gmp -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/gmp -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpfr/src -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/mpfr/src -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/mpc/src ' ac_cv_env_GMPLIBS_set=set ac_cv_env_GMPLIBS_value='-L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./gmp/.libs -L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpfr/src/.libs -L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpc/src/.libs -lmpc -lmpfr -lgmp' ac_cv_env_ISLINC_set=set ac_cv_env_ISLINC_value= ac_cv_env_ISLLIBS_set=set ac_cv_env_ISLLIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc ' 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-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-pc-linux-gnu ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no 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-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_CC=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking' ac_cv_prog_CPP=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E' ac_cv_prog_CXXCPP='g++ -std=gnu++98 -E' ac_cv_prog_GNATBIND=/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/gnatbind ac_cv_prog_GNATMAKE=no ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_safe_to_define___extensions__=yes ac_cv_sizeof_int=0 ac_cv_sizeof_long=0 ac_cv_sizeof_short=0 ac_cv_sizeof_void_p=0 ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=x86_64-pc-linux-gnu ac_cv_type_long_long=yes acx_cv_cc_gcc_supports_ada=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ALL='' AR='ar' AWK='gawk' BISON='bison' BUILD_CFLAGS='' BUILD_CXXFLAGS='' BUILD_INFO='' BUILD_LDFLAGS='' BUILD_NO_PIE_CFLAGS='' BUILD_NO_PIE_FLAG='' BUILD_SYSTEM_HEADER_DIR='' CATALOGS='' CATOBJEXT='' CC=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking' CC_FOR_BUILD=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking' CFLAGS='-g -O2 -fno-checking -gtoggle' COLLECT2_LIBS='' CONFIGURE_SPECS='' CPP=' /tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/xgcc -B/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/bin/ -B/tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/lib/ -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/include -isystem /tmp/chroot-gcc/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -E' CPPFLAGS='' CROSS='' CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include' CXX='g++ -std=gnu++98' CXXCPP='g++ -std=gnu++98 -E' CXXDEPMODE='' CXXFLAGS='-g -O2' CXX_FOR_BUILD='g++ -std=gnu++98' DATADIRNAME='' DEFS='' DEPDIR='' DL_LIB='' DO_LINK_MUTEX='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' EXTRA_GCC_LIBS='' FGREP='' FLEX='flex' GENCAT='' GENERATED_MANPAGES='' GENINSRC='#' GMPINC='-I/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./gmp -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/gmp -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpfr/src -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/mpfr/src -I/tmp/sources/gcc-9.2.0/gcc-9.2.0/mpc/src ' GMPLIBS='-L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./gmp/.libs -L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpfr/src/.libs -L/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./mpc/src/.libs -lmpc -lmpfr -lgmp' GMSGFMT='' GNATBIND='/tmp/sources/gcc-9.2.0/gcc-9.2.0/build/./prev-gcc/gnatbind' GNATMAKE='no' GNAT_LIBEXC='' GREP='/bin/grep' HOST_LIBS='' INCINTL='' INSTALL='/usr/bin/install -c' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTOBJEXT='' ISLINC='' ISLLIBS='' LD='ld' LDEXP_LIB='' LDFLAGS='-static-libstdc++ -static-libgcc ' LIBICONV='' LIBICONV_DEP='' LIBINTL='' LIBINTL_DEP='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN='' LN_S='' LTLIBICONV='' LTLIBOBJS='' MAINT='' MAKEINFO='makeinfo --split-size=5000000 --split-size=5000000' NATIVE_SYSTEM_HEADER_DIR='' NM='nm' NMEDIT='' NO_PIE_CFLAGS='' NO_PIE_CFLAGS_FOR_BUILD='' NO_PIE_FLAG='' NO_PIE_FLAG_FOR_BUILD='' OBJDUMP='objdump' OBJEXT='o' ORIGINAL_AS_FOR_TARGET='' ORIGINAL_LD_BFD_FOR_TARGET='' ORIGINAL_LD_FOR_TARGET='' ORIGINAL_LD_GOLD_FOR_TARGET='' ORIGINAL_NM_FOR_TARGET='' ORIGINAL_PLUGIN_LD_FOR_TARGET='' OTOOL64='' OTOOL='otool' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PICFLAG='' PICFLAG_FOR_TARGET='-fpic' PKGVERSION='' POSUB='' RANLIB='ranlib' REPORT_BUGS_TEXI='' REPORT_BUGS_TO='' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STMP_FIXINC='' STRIP='' SYSROOT_CFLAGS_FOR_TARGET='' SYSTEM_HEADER_DIR='' TARGET_SYSTEM_ROOT='' TARGET_SYSTEM_ROOT_DEFINE='' TM_ENDIAN_CONFIG='' TM_MULTILIB_CONFIG='' TM_MULTILIB_EXCEPTIONS_CONFIG='' TREECHECKING='' USE_NLS='' XGETTEXT='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' accel_dir_suffix='' aliasing_flags='' all_compilers='' all_gtfiles='' all_lang_makefrags='' all_languages='' all_selected_languages='' am__leading_dot='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_exeext='' build_file_translate='' build_install_headers_dir='' build_libsubdir='.' build_os='linux-gnu' build_subdir='build-x86_64-pc-linux-gnu' build_vendor='pc' build_xm_defines='' build_xm_file_list='' build_xm_include_list='' c_loose_warn='' c_strict_warn='' c_target_objs='' check_languages='' collect2='' common_out_file='' common_out_object_file='' coverage_flags='' cpp_install_dir='' cxx_target_objs='' d_target_objs='' datadir='${datarootdir}' datarootdir='${prefix}/share' doc_build_sys='' docdir='${datarootdir}/doc/${PACKAGE}' dollar='' dvidir='${docdir}' enable_as_accelerator='' enable_decimal_float='no' enable_default_pie='' enable_default_ssp='' enable_fast_install='' enable_fixed_point='' enable_gcov='' enable_host_shared='' enable_lto='' enable_multiarch='' enable_multilib='no' enable_plugin='' enable_shared='no' exec_prefix='NONE' extra_gcc_objs='' extra_headers_list='' extra_modes_file='' extra_objs='' extra_opt_files='' extra_programs='' float_h_file='' fortran_target_objs='' gcc_config_arguments='' gcc_cv_as='' gcc_cv_ld='' gcc_cv_nm='' gcc_cv_objdump='' gcc_cv_otool='' gcc_cv_readelf='' gcc_gxx_include_dir='$(libsubdir)/$(libsubdir_to_prefix)include/c++/$(version)' gcc_gxx_include_dir_add_sysroot='0' gcc_tooldir='' get_gcc_base_ver='' have_mktemp_command='' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_exeext='' host_noncanonical='x86_64-pc-linux-gnu' host_os='linux-gnu' host_subdir='.' host_vendor='pc' host_xm_defines='' host_xm_file_list='' host_xm_include_list='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' inhibit_libc='' install='' lang_opt_files='' lang_specs_files='' lang_tree_files='' ld_soname_option='' ld_version_script_option='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libgcc_visibility='' local_prefix='/usr/local' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' loose_warn='' make_compare_target='' mandir='${datarootdir}/man' manext='' md_file='' nocommon_flag='' noexception_flags='' objc_boehm_gc='' objdir='' objext='' oldincludedir='/usr/include' out_file='' out_host_hook_obj='' out_object_file='' pdfdir='${docdir}' pluginlibs='' prefix='/tmp/chroot-gcc/usr' program_transform_name='s,y,y,' psdir='${docdir}' ranlib_flags='' real_target_noncanonical='x86_64-pc-linux-gnu' sbindir='${exec_prefix}/sbin' selftest_languages='' sharedstatedir='${prefix}/com' srcdir='../../gcc' strict_warn='' subdirs='' sysconfdir='${prefix}/etc' target='x86_64-pc-linux-gnu' target_alias='x86_64-pc-linux-gnu' target_cpu='x86_64' target_cpu_default='' target_noncanonical='x86_64-pc-linux-gnu' target_os='linux-gnu' target_subdir='x86_64-pc-linux-gnu' target_vendor='pc' thin_archive_support='' tm_d_file_list='' tm_d_include_list='' tm_defines='' tm_file_list='' tm_include_list='' tm_p_file_list='' tm_p_include_list='' tmake_file='' use_gcc_stdint='' user_headers_inc_next_post='' user_headers_inc_next_pre='' valgrind_command='' valgrind_path='' valgrind_path_defines='' warn_cflags='' warn_cxxflags='' with_cpu='' with_float='' xm_defines='' xm_file_list='' xm_include_list='' xmake_file='' zlibdir='' zlibinc='' ## ------------------- ## ## File substitutions. ## ## ------------------- ## language_hooks='' option_includes='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #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 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define SIZEOF_VOID_P 0 #define SIZEOF_SHORT 0 #define SIZEOF_INT 0 #define SIZEOF_LONG 0 #define HAVE_LONG_LONG 1 configure: exit 77