This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by PostgreSQL configure 14.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=arm-buildroot-linux-uclibcgnueabi --host=arm-buildroot-linux-uclibcgnueabi --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 --disable-static --enable-shared --disable-rpath --without-readline --with-openssl --without-ldap --with-libxml --without-systemd ## --------- ## ## Platform. ## ## --------- ## hostname = gcc159.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.9.0-16-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.9.272-2 (2021-07-19) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/instance-2/output-1/host/bin PATH: /home/buildroot/autobuild/instance-2/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2876: checking build system type configure:2890: result: x86_64-pc-linux-gnu configure:2910: checking host system type configure:2923: result: arm-buildroot-linux-uclibcgnueabi configure:2945: checking which template to use configure:3013: result: linux configure:3138: checking whether NLS is wanted configure:3170: result: no configure:3178: checking for default port number configure:3203: result: 5432 configure:3680: checking for block size configure:3714: result: 8kB configure:3726: checking for segment size configure:3755: result: 1GB configure:3767: checking for WAL block size configure:3802: result: 8kB configure:3855: checking for arm-buildroot-linux-uclibcgnueabi-gcc configure:3882: result: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc configure:3957: checking for C compiler version configure:3966: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc --version >&5 arm-linux-gcc.br_real (Buildroot 2020.11.2) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3977: $? = 0 configure:3966: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/arm-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/lto-wrapper Target: arm-buildroot-linux-uclibcgnueabi Configured with: ./configure --prefix=/opt/br-arm-basic-2020.11.2 --sysconfdir=/opt/br-arm-basic-2020.11.2/etc --enable-static --target=arm-buildroot-linux-uclibcgnueabi --with-sysroot=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-arm-basic-2020.11.2 --with-mpc=/opt/br-arm-basic-2020.11.2 --with-mpfr=/opt/br-arm-basic-2020.11.2 --with-pkgversion='Buildroot 2020.11.2' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c --with-build-time-tools=/opt/br-arm-basic-2020.11.2/arm-buildroot-linux-uclibcgnueabi/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.3.0 (Buildroot 2020.11.2) COMPILER_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/:/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=aapcs-linux' '-mfloat-abi=soft' '-marm' '-mfloat-abi=soft' '-mcpu=arm926ej-s' '-fPIE' '-pie' '-v' '-mtls-dialect=gnu' '-march=armv5tej' ... rest of stderr output deleted ... configure:3977: $? = 1 configure:3966: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -V >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-V' configure:3977: $? = 1 configure:3966: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -qversion >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:3977: $? = 1 configure:3997: checking whether the C compiler works configure:4019: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4023: $? = 0 configure:4071: result: yes configure:4074: checking for C compiler default output file name configure:4076: result: a.out configure:4082: checking for suffix of executables configure:4089: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4093: $? = 0 configure:4115: result: configure:4137: checking whether we are cross compiling configure:4175: result: yes configure:4180: checking for suffix of object files configure:4202: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4206: $? = 0 configure:4227: result: o configure:4231: checking whether we are using the GNU C compiler configure:4250: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4250: $? = 0 configure:4259: result: yes configure:4268: checking whether /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc accepts -g configure:4288: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4288: $? = 0 configure:4329: result: yes configure:4346: checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc option to accept ISO C89 configure:4409: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4409: $? = 0 configure:4422: result: none needed configure:4442: checking for /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc option to accept ISO C99 configure:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:9: error: unknown type name 'wchar_t' 62 | const wchar_t *name; | ^~~~~~~ configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:9: error: unknown type name 'wchar_t' 62 | const wchar_t *name; | ^~~~~~~ configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:9: error: unknown type name 'wchar_t' 62 | const wchar_t *name; | ^~~~~~~ configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-c99' configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 : error: missing '(' after predicate conftest.c:62:9: error: unknown type name 'wchar_t' 62 | const wchar_t *name; | ^~~~~~~ configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:62:9: error: unknown type name 'wchar_t' 62 | const wchar_t *name; | ^~~~~~~ configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4591: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 arm-linux-gcc.br_real: error: unrecognized command line option '-qlanglvl=extc99' configure:4591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "14.1" | #define PACKAGE_STRING "PostgreSQL 14.1" | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" | #define PACKAGE_URL "https://www.postgresql.org/" | #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" | #define PG_MAJORVERSION "14" | #define PG_MAJORVERSION_NUM 14 | #define PG_MINORVERSION_NUM 1 | #define PG_VERSION "14.1" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | /* 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:4607: result: unsupported configure:4623: error: C compiler "/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc" does not support C99 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' ac_cv_env_CLANG_set= ac_cv_env_CLANG_value= 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=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_ICU_CFLAGS_set= ac_cv_env_ICU_CFLAGS_value= ac_cv_env_ICU_LIBS_set= ac_cv_env_ICU_LIBS_value= ac_cv_env_LDFLAGS_EX_set= ac_cv_env_LDFLAGS_EX_value= ac_cv_env_LDFLAGS_SL_set= ac_cv_env_LDFLAGS_SL_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value= ac_cv_env_LLVM_CONFIG_set= ac_cv_env_LLVM_CONFIG_value= ac_cv_env_LZ4_CFLAGS_set= ac_cv_env_LZ4_CFLAGS_value= ac_cv_env_LZ4_LIBS_set= ac_cv_env_LZ4_LIBS_value= ac_cv_env_MSGFMT_set= ac_cv_env_MSGFMT_value= ac_cv_env_PERL_set=set ac_cv_env_PERL_value=/usr/bin/perl ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config ac_cv_env_PYTHON_set= ac_cv_env_PYTHON_value= ac_cv_env_TCLSH_set= ac_cv_env_TCLSH_value= ac_cv_env_XML2_CFLAGS_set= ac_cv_env_XML2_CFLAGS_value= ac_cv_env_XML2_CONFIG_set=set ac_cv_env_XML2_CONFIG_value=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config ac_cv_env_XML2_LIBS_set= ac_cv_env_XML2_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-buildroot-linux-uclibcgnueabi ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-buildroot-linux-uclibcgnueabi 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=arm-buildroot-linux-uclibcgnueabi ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_prog_CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_type_struct_sockaddr_in6=yes gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= pgac_cv_type_locale_t=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc-ar' AWK='' BISON='' BISONFLAGS='' BITCODE_CFLAGS='' BITCODE_CXXFLAGS='' CC='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' CFLAGS_ARMV8_CRC32C='' CFLAGS_SL='' CFLAGS_SSE42='' CFLAGS_UNROLL_LOOPS='' CFLAGS_VECTORIZE='' CLANG='' CPP='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CXX='no' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' DBTOEPUB='' DEFS='' DLLTOOL='' DLLWRAP='' DTRACE='' DTRACEFLAGS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FLEX='' FLEXFLAGS='' FOP='' GCC='yes' GCOV='' GENHTML='' GREP='' ICU_CFLAGS='' ICU_LIBS='' INCLUDES='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LCOV='' LD='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-ld' LDAP_LIBS_BE='' LDAP_LIBS_FE='' LDFLAGS='' LDFLAGS_EX='' LDFLAGS_SL='' LIBOBJS='' LIBS='' LLVM_BINPATH='' LLVM_CFLAGS='' LLVM_CONFIG='' LLVM_CPPFLAGS='' LLVM_CXXFLAGS='' LLVM_LIBS='' LN_S='' LTLIBOBJS='' LZ4_CFLAGS='' LZ4_LIBS='' MKDIR_P='' MSGFMT='' MSGFMT_FLAGS='' MSGMERGE='' OBJEXT='o' PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org' PACKAGE_NAME='PostgreSQL' PACKAGE_STRING='PostgreSQL 14.1' PACKAGE_TARNAME='postgresql' PACKAGE_URL='https://www.postgresql.org/' PACKAGE_VERSION='14.1' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PERMIT_DECLARATION_AFTER_STATEMENT='' PG_CRC32C_OBJS='' PG_MAJORVERSION='14' PG_SYSROOT='' PG_VERSION_NUM='' PKG_CONFIG='/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PORTNAME='linux' PROVE='' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' PYTHON='' RANLIB='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc-ranlib' SED='' SHELL='/bin/bash' STRIP='/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-strip' STRIP_SHARED_LIB='' STRIP_STATIC_LIB='' SUN_STUDIO_CC='' TAR='' TAS='' TCLSH='' TCL_CONFIG_SH='' TCL_INCLUDE_SPEC='' TCL_LIBS='' TCL_LIB_SPEC='' TCL_SHARED_BUILD='' TCL_SHLIB_LD_LIBS='' UUID_LIBS='' WANTED_LANGUAGES='' WINDRES='' XGETTEXT='' XML2_CFLAGS='' XML2_CONFIG='/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' XML2_LIBS='' XMLLINT='' XSLTPROC='' ZIC='/home/buildroot/autobuild/instance-2/output-1/host/sbin/zic' ac_ct_CC='' ac_ct_CXX='' autodepend='' 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' default_port='5432' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_coverage='no' enable_debug='no' enable_dtrace='no' enable_nls='no' enable_rpath='no' enable_tap_tests='no' enable_thread_safety='' exec_prefix='/usr' have_win32_dbghelp='' host='arm-buildroot-linux-uclibcgnueabi' host_alias='arm-buildroot-linux-uclibcgnueabi' host_cpu='arm' host_os='linux-uclibcgnueabi' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_bin='' krb_srvtab='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' perl_archlibexp='' perl_embed_ccflags='' perl_embed_ldflags='' perl_includespec='' perl_privlibexp='' perl_useshrplib='' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' python_additional_libs='' python_includespec='' python_libdir='' python_libspec='' python_majorversion='' python_version='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='arm-buildroot-linux-uclibcgnueabi' vpath_build='' with_gnu_ld='' with_gssapi='' with_icu='' with_krb_srvnam='' with_ldap='no' with_libxml='yes' with_libxslt='' with_llvm='' with_lz4='' with_perl='' with_python='' with_readline='no' with_selinux='' with_ssl='' with_system_tzdata='' with_systemd='no' with_tcl='' with_uuid='' with_zlib='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "14.1" #define PACKAGE_STRING "PostgreSQL 14.1" #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" #define PACKAGE_URL "https://www.postgresql.org/" #define CONFIGURE_ARGS " '--target=arm-buildroot-linux-uclibcgnueabi' '--host=arm-buildroot-linux-uclibcgnueabi' '--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' '--disable-static' '--enable-shared' '--disable-rpath' '--without-readline' '--with-openssl' '--without-ldap' '--with-libxml' '--without-systemd' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=arm-buildroot-linux-uclibcgnueabi' 'target_alias=arm-buildroot-linux-uclibcgnueabi' 'CC=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CXX=no' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'CPP=/home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-cpp' 'PKG_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config' 'XML2_CONFIG=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/xml2-config' 'PERL=/usr/bin/perl'" #define PG_MAJORVERSION "14" #define PG_MAJORVERSION_NUM 14 #define PG_MINORVERSION_NUM 1 #define PG_VERSION "14.1" #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" #define BLCKSZ 8192 #define RELSEG_SIZE 131072 #define XLOG_BLCKSZ 8192 configure: exit 1