This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by XZ Utils configure 5.2.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=sparc-buildroot-linux-uclibc --host=sparc-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-threads build_alias=x86_64-pc-linux-gnu host_alias=sparc-buildroot-linux-uclibc target_alias=sparc-buildroot-linux-uclibc CC=/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static LDFLAGS= -static CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CPP=/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-cpp --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## hostname = denver001 uname -m = x86_64 uname -r = 5.15.83-1-pve uname -s = Linux uname -v = #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) /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-7/output-1/per-package/xz/host/bin PATH: /tmp/instance-7/output-1/per-package/xz/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:2999: checking build system type configure:3013: result: x86_64-pc-linux-gnu configure:3033: checking host system type configure:3046: result: sparc-buildroot-linux-uclibc configure:3106: checking if debugging code should be compiled configure:3122: result: no configure:3162: checking which encoders to build configure:3253: result: lzma1 lzma2 delta x86 powerpc ia64 arm armthumb sparc configure:3257: checking which decoders to build configure:3348: result: lzma1 lzma2 delta x86 powerpc ia64 arm armthumb sparc configure:3687: checking which match finders to build configure:3742: result: hc3 hc4 bt2 bt3 bt4 configure:3760: checking which integrity checks to build configure:3802: result: crc32 crc64 sha256 configure:3834: checking if external SHA-256 should be used configure:3850: result: no configure:3859: checking if assembler optimizations should be used configure:3883: result: no configure:3914: checking if small size is preferred over speed configure:3932: result: no configure:3948: checking if threading support is wanted configure:3974: result: yes, posix configure:4007: checking how much RAM to assume if the real amount is unknown configure:4022: result: 128 MiB configure:4155: checking if sandboxing should be used configure:4166: result: maybe (autodetect) configure:4223: checking for a shell that conforms to POSIX configure:4264: result: /bin/bash configure:4305: checking for a BSD-compatible install configure:4373: result: /usr/bin/install -c configure:4384: checking whether build environment is sane configure:4439: result: yes configure:4493: checking for sparc-buildroot-linux-uclibc-strip configure:4509: found /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-strip configure:4520: result: sparc-buildroot-linux-uclibc-strip configure:4585: checking for a thread-safe mkdir -p configure:4624: result: /usr/bin/mkdir -p configure:4631: checking for gawk configure:4661: result: no configure:4631: checking for mawk configure:4647: found /usr/bin/mawk configure:4658: result: mawk configure:4669: checking whether make sets $(MAKE) configure:4691: result: yes configure:4720: checking whether make supports nested variables configure:4737: result: yes configure:4863: checking whether ln -s works configure:4867: result: yes configure:4879: checking whether make supports the include directive configure:4894: make -f confmf.GNU && cat confinc.out make[2]: Entering directory '/tmp/instance-7/output-1/build/xz-5.2.10' make[2]: Leaving directory '/tmp/instance-7/output-1/build/xz-5.2.10' this is the am__doit target configure:4897: $? = 0 configure:4916: result: yes (GNU style) configure:4946: checking for sparc-buildroot-linux-uclibc-gcc configure:4973: result: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc configure:5242: checking for C compiler version configure:5251: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc --version >&5 sparc-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.11-1318-gf9a92ea1cb) 10.4.0 Copyright (C) 2020 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:5262: $? = 0 configure:5251: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-7/output-1/per-package/xz/host/bin/../libexec/gcc/sparc-buildroot-linux-uclibc/10.4.0/lto-wrapper Target: sparc-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-7/output-1/per-package/host-gcc-final/host --sysconfdir=/tmp/instance-7/output-1/per-package/host-gcc-final/host/etc --enable-static --target=sparc-buildroot-linux-uclibc --with-sysroot=/tmp/instance-7/output-1/per-package/host-gcc-final/host/sparc-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-7/output-1/per-package/host-gcc-final/host --with-mpc=/tmp/instance-7/output-1/per-package/host-gcc-final/host --with-mpfr=/tmp/instance-7/output-1/per-package/host-gcc-final/host --with-pkgversion='Buildroot 2022.11-1318-gf9a92ea1cb' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libitm --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-cpu=leon3 --enable-languages=c --with-build-time-tools=/tmp/instance-7/output-1/per-package/host-gcc-final/host/sparc-buildroot-linux-uclibc/bin --disable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.4.0 (Buildroot 2022.11-1318-gf9a92ea1cb) configure:5262: $? = 0 configure:5251: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -V >&5 sparc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-V' sparc-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:5262: $? = 1 configure:5251: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -qversion >&5 sparc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? sparc-buildroot-linux-uclibc-gcc.br_real: fatal error: no input files compilation terminated. configure:5262: $? = 1 configure:5282: checking whether the C compiler works configure:5304: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:5308: $? = 0 configure:5356: result: yes configure:5359: checking for C compiler default output file name configure:5361: result: a.out configure:5367: checking for suffix of executables configure:5374: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c >&5 configure:5378: $? = 0 configure:5400: result: configure:5422: checking whether we are cross compiling configure:5460: result: yes configure:5465: checking for suffix of object files configure:5487: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5491: $? = 0 configure:5512: result: o configure:5516: checking whether we are using the GNU C compiler configure:5535: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5535: $? = 0 configure:5544: result: yes configure:5553: checking whether /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc accepts -g configure:5573: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5573: $? = 0 configure:5614: result: yes configure:5631: checking for /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:5694: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5694: $? = 0 configure:5707: result: none needed configure:5732: checking whether /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc understands -c and -o together configure:5754: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:5757: $? = 0 configure:5754: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c conftest.c -o conftest2.o configure:5757: $? = 0 configure:5769: result: yes configure:5788: checking dependency style of /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc configure:5899: result: none configure:5914: checking for /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc option to accept ISO C99 configure:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:84:9: error: unknown type name 'wchar_t' 84 | const wchar_t *name; | ^~~~~~~ configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:84:9: error: unknown type name 'wchar_t' 84 | const wchar_t *name; | ^~~~~~~ configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:84:9: error: unknown type name 'wchar_t' 84 | const wchar_t *name; | ^~~~~~~ configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-c99' configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 : error: missing '(' after predicate conftest.c:84:9: error: unknown type name 'wchar_t' 84 | const wchar_t *name; | ^~~~~~~ configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:84:9: error: unknown type name 'wchar_t' 84 | const wchar_t *name; | ^~~~~~~ configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6063: /tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 sparc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-qlanglvl=extc99' configure:6063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "XZ Utils" | #define PACKAGE_TARNAME "xz" | #define PACKAGE_VERSION "5.2.10" | #define PACKAGE_STRING "XZ Utils 5.2.10" | #define PACKAGE_BUGREPORT "xz@tukaani.org" | #define PACKAGE_URL "https://tukaani.org/xz/" | #define NDEBUG 1 | #define HAVE_ENCODER_LZMA1 1 | #define HAVE_ENCODER_LZMA2 1 | #define HAVE_ENCODER_DELTA 1 | #define HAVE_ENCODER_X86 1 | #define HAVE_ENCODER_POWERPC 1 | #define HAVE_ENCODER_IA64 1 | #define HAVE_ENCODER_ARM 1 | #define HAVE_ENCODER_ARMTHUMB 1 | #define HAVE_ENCODER_SPARC 1 | #define HAVE_ENCODERS 1 | #define HAVE_DECODER_LZMA1 1 | #define HAVE_DECODER_LZMA2 1 | #define HAVE_DECODER_DELTA 1 | #define HAVE_DECODER_X86 1 | #define HAVE_DECODER_POWERPC 1 | #define HAVE_DECODER_IA64 1 | #define HAVE_DECODER_ARM 1 | #define HAVE_DECODER_ARMTHUMB 1 | #define HAVE_DECODER_SPARC 1 | #define HAVE_DECODERS 1 | #define HAVE_MF_HC3 1 | #define HAVE_MF_HC4 1 | #define HAVE_MF_BT2 1 | #define HAVE_MF_BT3 1 | #define HAVE_MF_BT4 1 | #define HAVE_CHECK_CRC32 1 | #define HAVE_CHECK_CRC64 1 | #define HAVE_CHECK_SHA256 1 | #define ASSUME_RAM 128 | #define PACKAGE "xz" | #define VERSION "5.2.10" | /* 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:6079: result: unsupported configure:6092: error: No C99 compiler was found. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-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 -O3 -g0 -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_set=set ac_cv_env_CPP_value=/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -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_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=sparc-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=sparc-buildroot-linux-uclibc ac_cv_host=sparc-buildroot-linux-uclibc 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-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc ac_cv_prog_STRIP=sparc-buildroot-linux-uclibc-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gl_cv_posix_shell=/bin/bash ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/tmp/instance-7/output-1/build/xz-5.2.10/build-aux/missing'\'' aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_CFLAGS='' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='' AS='' AUTOCONF='${SHELL} '\''/tmp/instance-7/output-1/build/xz-5.2.10/build-aux/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/tmp/instance-7/output-1/build/xz-5.2.10/build-aux/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/tmp/instance-7/output-1/build/xz-5.2.10/build-aux/missing'\'' automake-1.16' AWK='mawk' CAPSICUM_LIB='' CC='/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-gcc' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static' CFLAG_VISIBILITY='' COND_ASM_X86_64_FALSE='' COND_ASM_X86_64_TRUE='#' COND_ASM_X86_FALSE='' COND_ASM_X86_TRUE='#' COND_CHECK_CRC32_FALSE='#' COND_CHECK_CRC32_TRUE='' COND_CHECK_CRC64_FALSE='#' COND_CHECK_CRC64_TRUE='' COND_CHECK_SHA256_FALSE='#' COND_CHECK_SHA256_TRUE='' COND_DECODER_ARMTHUMB_FALSE='#' COND_DECODER_ARMTHUMB_TRUE='' COND_DECODER_ARM_FALSE='#' COND_DECODER_ARM_TRUE='' COND_DECODER_DELTA_FALSE='#' COND_DECODER_DELTA_TRUE='' COND_DECODER_IA64_FALSE='#' COND_DECODER_IA64_TRUE='' COND_DECODER_LZMA1_FALSE='#' COND_DECODER_LZMA1_TRUE='' COND_DECODER_LZMA2_FALSE='#' COND_DECODER_LZMA2_TRUE='' COND_DECODER_LZ_FALSE='#' COND_DECODER_LZ_TRUE='' COND_DECODER_POWERPC_FALSE='#' COND_DECODER_POWERPC_TRUE='' COND_DECODER_SIMPLE_FALSE='#' COND_DECODER_SIMPLE_TRUE='' COND_DECODER_SPARC_FALSE='#' COND_DECODER_SPARC_TRUE='' COND_DECODER_X86_FALSE='#' COND_DECODER_X86_TRUE='' COND_DOC_FALSE='' COND_DOC_TRUE='#' COND_ENCODER_ARMTHUMB_FALSE='#' COND_ENCODER_ARMTHUMB_TRUE='' COND_ENCODER_ARM_FALSE='#' COND_ENCODER_ARM_TRUE='' COND_ENCODER_DELTA_FALSE='#' COND_ENCODER_DELTA_TRUE='' COND_ENCODER_IA64_FALSE='#' COND_ENCODER_IA64_TRUE='' COND_ENCODER_LZMA1_FALSE='#' COND_ENCODER_LZMA1_TRUE='' COND_ENCODER_LZMA2_FALSE='#' COND_ENCODER_LZMA2_TRUE='' COND_ENCODER_LZ_FALSE='#' COND_ENCODER_LZ_TRUE='' COND_ENCODER_POWERPC_FALSE='#' COND_ENCODER_POWERPC_TRUE='' COND_ENCODER_SIMPLE_FALSE='#' COND_ENCODER_SIMPLE_TRUE='' COND_ENCODER_SPARC_FALSE='#' COND_ENCODER_SPARC_TRUE='' COND_ENCODER_X86_FALSE='#' COND_ENCODER_X86_TRUE='' COND_FILTER_ARMTHUMB_FALSE='#' COND_FILTER_ARMTHUMB_TRUE='' COND_FILTER_ARM_FALSE='#' COND_FILTER_ARM_TRUE='' COND_FILTER_DELTA_FALSE='#' COND_FILTER_DELTA_TRUE='' COND_FILTER_IA64_FALSE='#' COND_FILTER_IA64_TRUE='' COND_FILTER_LZMA1_FALSE='#' COND_FILTER_LZMA1_TRUE='' COND_FILTER_LZMA2_FALSE='#' COND_FILTER_LZMA2_TRUE='' COND_FILTER_LZ_FALSE='#' COND_FILTER_LZ_TRUE='' COND_FILTER_POWERPC_FALSE='#' COND_FILTER_POWERPC_TRUE='' COND_FILTER_SIMPLE_FALSE='#' COND_FILTER_SIMPLE_TRUE='' COND_FILTER_SPARC_FALSE='#' COND_FILTER_SPARC_TRUE='' COND_FILTER_X86_FALSE='#' COND_FILTER_X86_TRUE='' COND_GNULIB_FALSE='' COND_GNULIB_TRUE='' COND_INTERNAL_SHA256_FALSE='' COND_INTERNAL_SHA256_TRUE='' COND_LZMADEC_FALSE='#' COND_LZMADEC_TRUE='' COND_LZMAINFO_FALSE='#' COND_LZMAINFO_TRUE='' COND_LZMALINKS_FALSE='#' COND_LZMALINKS_TRUE='' COND_MAIN_DECODER_FALSE='#' COND_MAIN_DECODER_TRUE='' COND_MAIN_ENCODER_FALSE='#' COND_MAIN_ENCODER_TRUE='' COND_SCRIPTS_FALSE='#' COND_SCRIPTS_TRUE='' COND_SHARED_FALSE='' COND_SHARED_TRUE='' COND_SMALL_FALSE='' COND_SMALL_TRUE='#' COND_SYMVERS_GENERIC_FALSE='' COND_SYMVERS_GENERIC_TRUE='' COND_SYMVERS_LINUX_FALSE='' COND_SYMVERS_LINUX_TRUE='' COND_THREADS_FALSE='' COND_THREADS_TRUE='' COND_W32_FALSE='' COND_W32_TRUE='#' COND_XZDEC_FALSE='#' COND_XZDEC_TRUE='' COND_XZ_FALSE='#' COND_XZ_TRUE='' CPP='/tmp/instance-7/output-1/per-package/xz/host/bin/sparc-buildroot-linux-uclibc-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' FILECMD='' GETOPT_H='' GETTEXT_MACRO_VERSION='' GMSGFMT='' GMSGFMT_015='' GREP='' HAVE_VISIBILITY='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' LD='' LDFLAGS=' -static' LIBICONV='' LIBINTL='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_EXEEXT='$(EXEEXT)' LN_S='ln -s' LTLIBICONV='' LTLIBINTL='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} '\''/tmp/instance-7/output-1/build/xz-5.2.10/build-aux/missing'\'' makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' MSGFMT='' MSGMERGE='' MSGMERGE_FOR_MSGFMT_OPTION='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='xz' PACKAGE_BUGREPORT='xz@tukaani.org' PACKAGE_NAME='XZ Utils' PACKAGE_STRING='XZ Utils 5.2.10' PACKAGE_TARNAME='xz' PACKAGE_URL='https://tukaani.org/xz/' PACKAGE_VERSION='5.2.10' PATH_SEPARATOR=':' POSIX_SHELL='/bin/bash' POSUB='' PREFERABLY_POSIX_SHELL='/bin/bash' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_CXX='' PTHREAD_LIBS='' RANLIB='' RC='' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='sparc-buildroot-linux-uclibc-strip' USE_NLS='' VERSION='5.2.10' XGETTEXT='' XGETTEXT_015='' XGETTEXT_EXTRA_OPTIONS='' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCCAS_FALSE='' am__fastdepCCAS_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ax_pthread_config='' 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}' enable_path_for_scripts='' exec_prefix='/usr' host='sparc-buildroot-linux-uclibc' host_alias='sparc-buildroot-linux-uclibc' host_cpu='sparc' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /tmp/instance-7/output-1/build/xz-5.2.10/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='sparc-buildroot-linux-uclibc' xz='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "XZ Utils" #define PACKAGE_TARNAME "xz" #define PACKAGE_VERSION "5.2.10" #define PACKAGE_STRING "XZ Utils 5.2.10" #define PACKAGE_BUGREPORT "xz@tukaani.org" #define PACKAGE_URL "https://tukaani.org/xz/" #define NDEBUG 1 #define HAVE_ENCODER_LZMA1 1 #define HAVE_ENCODER_LZMA2 1 #define HAVE_ENCODER_DELTA 1 #define HAVE_ENCODER_X86 1 #define HAVE_ENCODER_POWERPC 1 #define HAVE_ENCODER_IA64 1 #define HAVE_ENCODER_ARM 1 #define HAVE_ENCODER_ARMTHUMB 1 #define HAVE_ENCODER_SPARC 1 #define HAVE_ENCODERS 1 #define HAVE_DECODER_LZMA1 1 #define HAVE_DECODER_LZMA2 1 #define HAVE_DECODER_DELTA 1 #define HAVE_DECODER_X86 1 #define HAVE_DECODER_POWERPC 1 #define HAVE_DECODER_IA64 1 #define HAVE_DECODER_ARM 1 #define HAVE_DECODER_ARMTHUMB 1 #define HAVE_DECODER_SPARC 1 #define HAVE_DECODERS 1 #define HAVE_MF_HC3 1 #define HAVE_MF_HC4 1 #define HAVE_MF_BT2 1 #define HAVE_MF_BT3 1 #define HAVE_MF_BT4 1 #define HAVE_CHECK_CRC32 1 #define HAVE_CHECK_CRC64 1 #define HAVE_CHECK_SHA256 1 #define ASSUME_RAM 128 #define PACKAGE "xz" #define VERSION "5.2.10" configure: exit 1