This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU MP configure 6.2.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --enable-cxx ## --------- ## ## Platform. ## ## --------- ## hostname = denver001 uname -m = x86_64 uname -r = 5.15.60-2-pve uname -s = Linux uname -v = #1 SMP PVE 5.15.60-2 (Tue, 04 Oct 2022 16:52:28 +0200) /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: /tmp/instance-14/output-1/per-package/gmp/host/bin PATH: /tmp/instance-14/output-1/per-package/gmp/host/sbin PATH: /home/autobuild/make PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3056: checking build system type configure:3070: result: x86_64-pc-linux-gnu configure:3090: checking host system type configure:3103: result: riscv64-buildroot-linux-uclibc configure:3140: checking for a BSD-compatible install configure:3208: result: /usr/bin/install -c configure:3219: checking whether build environment is sane configure:3274: result: yes configure:3333: checking for riscv64-buildroot-linux-uclibc-strip configure:3360: result: /bin/true configure:3425: checking for a thread-safe mkdir -p configure:3464: result: /usr/bin/mkdir -p configure:3471: checking for gawk configure:3501: result: no configure:3471: checking for mawk configure:3487: found /usr/bin/mawk configure:3498: result: mawk configure:3509: checking whether make sets $(MAKE) configure:3531: result: yes configure:3560: checking whether make supports nested variables configure:3577: result: yes configure:3706: checking whether to enable maintainer-specific portions of Makefiles configure:3715: result: no User: ABI= CC=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 MPN_PATH= GMP: abilist=standard cclist=gcc configure:5847: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c conftest.c >&5 configure:5850: $? = 0 configure:5853: checking whether /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc is gcc configure:5855: result: yes configure:5869: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc 2>&1 | grep xlc >/dev/null configure:5872: $? = 1 configure:5926: checking compiler /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 Test compile: configure:5940: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5943: $? = 0 Test compile: function pointer return configure:5994: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5997: $? = 0 Test compile: cmov instruction configure:6050: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6053: $? = 0 Test compile: double -> ulong conversion configure:6107: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6110: $? = 0 Test compile: double negation configure:6162: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6165: $? = 0 Test compile: double -> float conversion configure:6218: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6221: $? = 0 Test compile: gnupro alpha ev6 char spilling configure:6303: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6306: $? = 0 Test compile: __builtin_alloca availability configure:6354: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'foo': conftest.c:1:21: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 1 | int k; int foo () { __builtin_alloca (k); } | ^~~~~~~~~~~~~~~~~~~~ /tmp/instance-14/output-1/per-package/gmp/host/riscv64-buildroot-linux-uclibc/bin/ld.real: /tmp/instance-14/output-1/per-package/gmp/host/riscv64-buildroot-linux-uclibc/sysroot/usr/lib/crt1.o: in function `_start': (.text+0x8): undefined reference to `main' collect2: error: ld returned 1 exit status configure:6357: $? = 1 failed program was: int k; int foo () { __builtin_alloca (k); } Test compile: abs int -> double conversion configure:6478: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6481: $? = 0 Test compile: long long reliability test 1 configure:6543: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6546: $? = 0 Test compile: long long reliability test 2 configure:6604: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6607: $? = 0 Test compile: freebsd hacked gcc configure:6665: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6668: $? = 0 Test compile: mpn_lshift_com optimization configure:6764: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6767: $? = 0 Test compile: mpn_lshift_com optimization 2 configure:6873: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6876: $? = 0 configure:7030: result: yes configure:8762: checking for riscv64-buildroot-linux-uclibc-gcc configure:8789: result: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc configure:9058: checking for C compiler version configure:9067: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc --version >&5 riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.08-513-ge451f1a578) 12.2.0 Copyright (C) 2022 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:9078: $? = 0 configure:9067: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-14/output-1/per-package/gmp/host/bin/../libexec/gcc/riscv64-buildroot-linux-uclibc/12.2.0/lto-wrapper Target: riscv64-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-14/output-1/per-package/host-gcc-final/host --sysconfdir=/tmp/instance-14/output-1/per-package/host-gcc-final/host/etc --enable-static --target=riscv64-buildroot-linux-uclibc --with-sysroot=/tmp/instance-14/output-1/per-package/host-gcc-final/host/riscv64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-mpc=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-mpfr=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-pkgversion='Buildroot 2022.08-513-ge451f1a578' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --disable-threads --disable-libitm --disable-libatomic --without-isl --without-cloog --with-arch=rv64ia_zicsr_zifencei --with-abi=lp64 --enable-languages=c,c++ --with-build-time-tools=/tmp/instance-14/output-1/per-package/host-gcc-final/host/riscv64-buildroot-linux-uclibc/bin --disable-shared --disable-libgomp Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (Buildroot 2022.08-513-ge451f1a578) configure:9078: $? = 0 configure:9067: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -V >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-V' riscv64-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:9078: $? = 1 configure:9067: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -qversion >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:9078: $? = 1 configure:9098: checking whether the C compiler works configure:9120: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-elf2flt=-r -static conftest.c >&5 configure:9124: $? = 0 configure:9172: result: yes configure:9175: checking for C compiler default output file name configure:9177: result: a.out configure:9183: checking for suffix of executables configure:9190: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-elf2flt=-r -static conftest.c >&5 configure:9194: $? = 0 configure:9216: result: configure:9238: checking whether we are cross compiling configure:9276: result: yes configure:9281: checking for suffix of object files configure:9303: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9307: $? = 0 configure:9328: result: o configure:9332: checking whether we are using the GNU C compiler configure:9351: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9351: $? = 0 configure:9360: result: yes configure:9369: checking whether /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g configure:9389: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9389: $? = 0 configure:9430: result: yes configure:9447: checking for /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:9510: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9510: $? = 0 configure:9523: result: none needed configure:9548: checking whether /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc understands -c and -o together configure:9570: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:9573: $? = 0 configure:9570: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:9573: $? = 0 configure:9585: result: yes configure:9602: checking for /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C99 configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:56:9: error: unknown type name 'wchar_t' 56 | const wchar_t *name; | ^~~~~~~ configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:56:9: error: unknown type name 'wchar_t' 56 | const wchar_t *name; | ^~~~~~~ configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:56:9: error: unknown type name 'wchar_t' 56 | const wchar_t *name; | ^~~~~~~ configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-c99' configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 : error: missing '(' after predicate conftest.c:56:9: error: unknown type name 'wchar_t' 56 | const wchar_t *name; | ^~~~~~~ configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:56:9: error: unknown type name 'wchar_t' 56 | const wchar_t *name; | ^~~~~~~ configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9751: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qlanglvl=extc99' configure:9751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:9767: result: unsupported configure:9784: checking how to run the C preprocessor configure:9854: result: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp configure:9874: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:9874: $? = 0 configure:9888: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:13:10: fatal error: ac_nonexistent.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:9888: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "6.2.1" | #define PACKAGE_STRING "GNU MP 6.2.1" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" | #define PACKAGE "gmp" | #define VERSION "6.2.1" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_riscv64 1 | /* end confdefs.h. */ | #include configure:9924: checking build system compiler /usr/bin/gcc configure:9937: /usr/bin/gcc conftest.c configure:9940: $? = 0 configure:9947: result: yes configure:10031: checking for build system preprocessor configure:10042: /usr/bin/gcc -E conftest.c # 1 "conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "conftest.c" configure:10045: $? = 0 configure:10060: result: /usr/bin/gcc -E configure:10067: checking for build system executable suffix configure:10081: /usr/bin/gcc conftest.c -o conftest.exe configure:10084: $? = 0 ./configure: line 10086: ./conftest: No such file or directory configure:10081: /usr/bin/gcc conftest.c -o conftest,ff8 configure:10084: $? = 0 ./configure: line 10086: ./conftest: No such file or directory configure:10081: /usr/bin/gcc conftest.c -o conftest configure:10084: $? = 0 configure:10098: result: configure:10104: checking whether build system compiler is ANSI configure:10117: /usr/bin/gcc conftest.c configure:10120: $? = 0 configure:10129: result: yes configure:10139: checking for build system compiler math library configure:10159: /usr/bin/gcc conftest.c -lm configure:10162: $? = 0 configure:10171: result: -lm configure:10306: checking for C++ compiler version configure:10315: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ --version >&5 riscv64-buildroot-linux-uclibc-g++.br_real (Buildroot 2022.08-513-ge451f1a578) 12.2.0 Copyright (C) 2022 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:10326: $? = 0 configure:10315: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++.br_real COLLECT_LTO_WRAPPER=/tmp/instance-14/output-1/per-package/gmp/host/bin/../libexec/gcc/riscv64-buildroot-linux-uclibc/12.2.0/lto-wrapper Target: riscv64-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-14/output-1/per-package/host-gcc-final/host --sysconfdir=/tmp/instance-14/output-1/per-package/host-gcc-final/host/etc --enable-static --target=riscv64-buildroot-linux-uclibc --with-sysroot=/tmp/instance-14/output-1/per-package/host-gcc-final/host/riscv64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-mpc=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-mpfr=/tmp/instance-14/output-1/per-package/host-gcc-final/host --with-pkgversion='Buildroot 2022.08-513-ge451f1a578' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-tls --disable-threads --disable-libitm --disable-libatomic --without-isl --without-cloog --with-arch=rv64ia_zicsr_zifencei --with-abi=lp64 --enable-languages=c,c++ --with-build-time-tools=/tmp/instance-14/output-1/per-package/host-gcc-final/host/riscv64-buildroot-linux-uclibc/bin --disable-shared --disable-libgomp Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (Buildroot 2022.08-513-ge451f1a578) configure:10326: $? = 0 configure:10315: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -V >&5 riscv64-buildroot-linux-uclibc-g++.br_real: error: unrecognized command-line option '-V' riscv64-buildroot-linux-uclibc-g++.br_real: fatal error: no input files compilation terminated. configure:10326: $? = 1 configure:10315: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -qversion >&5 riscv64-buildroot-linux-uclibc-g++.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-uclibc-g++.br_real: fatal error: no input files compilation terminated. configure:10326: $? = 1 configure:10330: checking whether we are using the GNU C++ compiler configure:10349: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:10349: $? = 0 configure:10358: result: yes configure:10367: checking whether /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ accepts -g configure:10387: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:10387: $? = 0 configure:10428: result: yes CXXFLAGS chosen by autoconf: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static configure:10478: checking C++ compiler /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static Test compile: configure:10492: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static conftest.cc >&5 configure:10495: $? = 0 Test compile: namespace configure:10532: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static conftest.cc >&5 configure:10535: $? = 0 Test compile: std iostream configure:10578: /tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static conftest.cc >&5 /tmp/instance-14/output-1/per-package/gmp/host/riscv64-buildroot-linux-uclibc/bin/elf2flt: ERROR: text=0x76a4d overlaps data=0x55f40 ? collect2: error: ld returned 1 exit status configure:10581: $? = 1 failed program was: /* This test rejects g++ 2.7.2 which doesn't have , only a pre-standard iostream.h. */ #include /* This test rejects OSF 5.1 Compaq C++ in its default pre-standard iostream mode, since that mode puts cout in the global namespace, not "std". */ void someoutput (void) { std::cout << 123; } int main (void) { return 0; } configure:10607: result: no, std iostream configure:10623: error: C++ compiler not available, see config.log for details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_ABI_set= ac_cv_env_ABI_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_FOR_BUILD_set=set ac_cv_env_CC_FOR_BUILD_value=/usr/bin/gcc ac_cv_env_CC_set=set ac_cv_env_CC_value=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_FOR_BUILD_set= ac_cv_env_CPP_FOR_BUILD_value= ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -Wl,-elf2flt=-r -static' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_M4_set= ac_cv_env_M4_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_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=riscv64-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-uclibc ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_host=riscv64-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CC=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc ac_cv_prog_CPP=/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp ac_cv_prog_STRIP=/bin/true ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gl_cv_func_malloc_0_nonnull=yes gmp_cv_c_for_build_ansi=yes gmp_cv_check_libm_for_build=-lm gmp_cv_prog_cpp_for_build='/usr/bin/gcc -E' gmp_cv_prog_exeext_for_build= lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ABI='standard' ACLOCAL='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/missing aclocal-1.15' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar' AS='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-as' ASMFLAGS='' AUTOCONF='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/missing autoconf' AUTOHEADER='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/missing autoheader' AUTOMAKE='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/missing automake-1.15' AWK='mawk' CALLING_CONVENTIONS_OBJS='' CC='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc' CCAS='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc -c' CC_FOR_BUILD='/usr/bin/gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static' CPP='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPP_FOR_BUILD='/usr/bin/gcc -E' CXX='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-g++' CXXCPP='' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' CYGPATH_W='echo' DEFN_LONG_LONG_LIMB='/* #undef _LONG_LONG_LIMB */' DEFS='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_STATIC_FALSE='' ENABLE_STATIC_TRUE='' EXEEXT='' EXEEXT_FOR_BUILD='' FGREP='' GMP_LDFLAGS='' GMP_LIMB_BITS='' GMP_NAIL_BITS='0' GREP='' HAVE_CLOCK_01='' HAVE_CPUTIME_01='' HAVE_GETRUSAGE_01='' HAVE_GETTIMEOFDAY_01='' HAVE_HOST_CPU_FAMILY_power='0' HAVE_HOST_CPU_FAMILY_powerpc='0' HAVE_SIGACTION_01='' HAVE_SIGALTSTACK_01='' HAVE_SIGSTACK_01='' HAVE_STACK_T_01='' HAVE_SYS_RESOURCE_H_01='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-ld' LDFLAGS=' -Wl,-elf2flt=-r -static' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBCURSES='' LIBGMPXX_LDFLAGS='' LIBGMP_DLL='' LIBGMP_LDFLAGS='' LIBM='' LIBM_FOR_BUILD='-lm' LIBOBJS='' LIBREADLINE='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' M4='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' NM='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm' NMEDIT='' OBJDUMP='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='gmp' PACKAGE_BUGREPORT='gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html' PACKAGE_NAME='GNU MP' PACKAGE_STRING='GNU MP 6.2.1' PACKAGE_TARNAME='gmp' PACKAGE_URL='http://www.gnu.org/software/gmp/' PACKAGE_VERSION='6.2.1' PATH_SEPARATOR=':' RANLIB='/tmp/instance-14/output-1/per-package/gmp/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib' SED='' SET_MAKE='' SHELL='/bin/bash' SPEED_CYCLECOUNTER_OBJ='' STRIP='/bin/true' TAL_OBJECT='' TUNE_LIBS='' TUNE_SQR_OBJ='' U_FOR_BUILD='' VERSION='6.2.1' WANT_CXX_FALSE='' WANT_CXX_TRUE='' WITH_READLINE_01='' YACC='' YFLAGS='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__isrc='' am__leading_dot='.' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' gmp_srclinks='' host='riscv64-buildroot-linux-uclibc' host_alias='riscv64-buildroot-linux-uclibc' host_cpu='riscv64' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /tmp/instance-14/output-1/build/gmp-6.2.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' mpn_objects='' mpn_objs_in_libgmp='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-uclibc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU MP" #define PACKAGE_TARNAME "gmp" #define PACKAGE_VERSION "6.2.1" #define PACKAGE_STRING "GNU MP 6.2.1" #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html" #define PACKAGE_URL "http://www.gnu.org/software/gmp/" #define PACKAGE "gmp" #define VERSION "6.2.1" #define WANT_FFT 1 #define HAVE_HOST_CPU_riscv64 1 configure: exit 1