[14:12:55.709] time ./configure \ [14:12:55.709] --host=x86_64-w64-mingw32 \ [14:12:55.709] --enable-cassert \ [14:12:55.709] --without-icu \ [14:12:55.709] CC="ccache x86_64-w64-mingw32-gcc" \ [14:12:55.709] CXX="ccache x86_64-w64-mingw32-g++" [14:12:55.845] checking build system type... x86_64-pc-linux-gnu [14:12:56.038] checking host system type... x86_64-w64-mingw32 [14:12:56.044] checking which template to use... win32 [14:12:56.045] checking whether NLS is wanted... no [14:12:56.045] checking for default port number... 5432 [14:12:56.053] checking for block size... 8kB [14:12:56.054] checking for segment size... 1GB [14:12:56.057] checking for WAL block size... 8kB [14:12:56.058] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:12:56.095] checking whether the C compiler works... yes [14:12:56.247] checking for C compiler default output file name... a.exe [14:12:56.249] checking for suffix of executables... .exe [14:12:56.291] checking whether we are cross compiling... yes [14:12:56.367] checking for suffix of object files... o [14:12:56.376] checking whether we are using the GNU C compiler... yes [14:12:56.384] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:12:56.391] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:12:56.402] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:12:56.464] checking whether we are using the GNU C++ compiler... yes [14:12:56.471] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:12:56.545] checking for gawk... no [14:12:56.545] checking for mawk... mawk [14:12:56.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:12:56.555] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:12:56.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:12:56.612] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:12:56.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:12:56.795] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:12:56.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:12:56.812] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:12:56.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:12:56.828] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:12:56.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:12:56.845] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:12:56.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:12:56.860] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:12:56.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:12:56.876] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:12:56.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:12:56.923] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:12:56.930] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:12:56.938] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:12:56.946] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:12:56.955] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:12:56.962] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:12:56.989] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:12:56.997] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:12:57.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:12:57.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:12:57.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:12:57.094] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:12:57.103] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:12:57.140] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:12:57.149] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:12:57.157] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:12:57.166] checking whether the C compiler still works... yes [14:12:57.236] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:12:57.317] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:12:57.318] checking pkg-config is at least version 0.9.0... yes [14:12:57.334] checking whether to build with ICU support... no [14:12:57.335] checking whether to build with Tcl... no [14:12:57.335] checking whether to build Perl modules... no [14:12:57.335] checking whether to build Python modules... no [14:12:57.335] checking whether to build with GSSAPI support... no [14:12:57.336] checking whether to build with PAM support... no [14:12:57.336] checking whether to build with BSD Authentication support... no [14:12:57.336] checking whether to build with LDAP support... no [14:12:57.336] checking whether to build with Bonjour support... no [14:12:57.337] checking whether to build with SELinux support... no [14:12:57.337] checking whether to build with systemd support... no [14:12:57.337] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:12:57.337] checking whether to build with XML support... no [14:12:57.337] checking whether to build with LZ4 support... no [14:12:57.337] checking whether to build with ZSTD support... no [14:12:57.337] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:12:57.338] checking whether it is possible to strip libraries... yes [14:12:57.346] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:12:57.346] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:12:57.347] checking for a BSD-compatible install... /usr/bin/install -c [14:12:57.357] checking for tar... /usr/bin/tar [14:12:57.358] checking whether ln -s works... yes [14:12:57.358] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:12:57.360] checking for bison... /usr/bin/bison [14:12:57.363] configure: using bison (GNU Bison) 3.8.2 [14:12:57.366] checking for flex... /usr/bin/flex [14:12:57.380] configure: using flex 2.6.4 [14:12:57.380] checking for perl... /usr/bin/perl [14:12:57.383] configure: using perl 5.36.0 [14:12:57.386] checking for zic... /usr/sbin/zic [14:12:57.386] checking for a sed that does not truncate output... /usr/bin/sed [14:12:57.391] checking for grep that handles long lines and -e... /usr/bin/grep [14:12:57.394] checking for egrep... /usr/bin/grep -E [14:12:57.396] checking for ANSI C header files... yes [14:12:57.451] checking for sys/types.h... yes [14:12:57.469] checking for sys/stat.h... yes [14:12:57.487] checking for stdlib.h... yes [14:12:57.503] checking for string.h... yes [14:12:57.519] checking for memory.h... yes [14:12:57.536] checking for strings.h... yes [14:12:57.554] checking for inttypes.h... yes [14:12:57.573] checking for stdint.h... yes [14:12:57.588] checking for unistd.h... yes [14:12:57.606] checking for main in -lm... yes [14:12:57.657] checking for library containing setproctitle... no [14:12:57.756] checking for library containing dlsym... no [14:12:57.851] checking for library containing socket... -lws2_32 [14:12:57.998] checking for library containing getopt_long... none required [14:12:58.049] checking for library containing shm_open... no [14:12:58.144] checking for library containing shm_unlink... no [14:12:58.239] checking for library containing clock_gettime... no [14:12:58.335] checking for library containing shmget... no [14:12:58.432] checking for library containing backtrace_symbols... no [14:12:58.530] checking for library containing pthread_barrier_wait... -lpthread [14:12:58.630] checking for inflate in -lz... yes [14:12:58.679] checking for stdbool.h that conforms to C99... yes [14:12:58.692] checking for _Bool... yes [14:12:58.772] checking atomic.h usability... no [14:12:58.836] checking atomic.h presence... no [14:12:58.858] checking for atomic.h... no [14:12:58.862] checking copyfile.h usability... no [14:12:58.921] checking copyfile.h presence... no [14:12:58.942] checking for copyfile.h... no [14:12:58.945] checking execinfo.h usability... no [14:12:59.012] checking execinfo.h presence... no [14:12:59.032] checking for execinfo.h... no [14:12:59.035] checking getopt.h usability... yes [14:12:59.043] checking getopt.h presence... yes [14:12:59.059] checking for getopt.h... yes [14:12:59.067] checking ifaddrs.h usability... no [14:12:59.127] checking ifaddrs.h presence... no [14:12:59.148] checking for ifaddrs.h... no [14:12:59.152] checking mbarrier.h usability... no [14:12:59.209] checking mbarrier.h presence... no [14:12:59.231] checking for mbarrier.h... no [14:12:59.235] checking sys/epoll.h usability... no [14:12:59.298] checking sys/epoll.h presence... no [14:12:59.320] checking for sys/epoll.h... no [14:12:59.324] checking sys/event.h usability... no [14:12:59.385] checking sys/event.h presence... no [14:12:59.409] checking for sys/event.h... no [14:12:59.413] checking sys/personality.h usability... no [14:12:59.477] checking sys/personality.h presence... no [14:12:59.498] checking for sys/personality.h... no [14:12:59.502] checking sys/prctl.h usability... no [14:12:59.564] checking sys/prctl.h presence... no [14:12:59.585] checking for sys/prctl.h... no [14:12:59.589] checking sys/procctl.h usability... no [14:12:59.646] checking sys/procctl.h presence... no [14:12:59.668] checking for sys/procctl.h... no [14:12:59.672] checking sys/signalfd.h usability... no [14:12:59.732] checking sys/signalfd.h presence... no [14:12:59.754] checking for sys/signalfd.h... no [14:12:59.757] checking sys/ucred.h usability... no [14:12:59.817] checking sys/ucred.h presence... no [14:12:59.840] checking for sys/ucred.h... no [14:12:59.843] checking termios.h usability... no [14:12:59.902] checking termios.h presence... no [14:12:59.923] checking for termios.h... no [14:12:59.927] checking ucred.h usability... no [14:12:59.985] checking ucred.h presence... no [14:13:00.007] checking for ucred.h... no [14:13:00.011] checking xlocale.h usability... no [14:13:00.072] checking xlocale.h presence... no [14:13:00.093] checking for xlocale.h... no [14:13:00.096] checking zlib.h usability... yes [14:13:00.107] checking zlib.h presence... yes [14:13:00.127] checking for zlib.h... yes [14:13:00.127] checking for lz4... /usr/bin/lz4 [14:13:00.127] checking for zstd... /usr/bin/zstd [14:13:00.128] checking for openssl... /usr/bin/openssl [14:13:00.132] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [14:13:00.133] checking crtdefs.h usability... yes [14:13:00.141] checking crtdefs.h presence... yes [14:13:00.157] checking for crtdefs.h... yes [14:13:00.159] checking whether byte ordering is bigendian... no [14:13:00.240] checking for inline... inline [14:13:00.248] checking for printf format archetype... gnu_printf [14:13:00.257] checking for _Static_assert... yes [14:13:00.303] checking for typeof... typeof [14:13:00.311] checking for __builtin_types_compatible_p... yes [14:13:00.324] checking for __builtin_constant_p... yes [14:13:00.337] checking for __builtin_unreachable... yes [14:13:00.382] checking for computed goto support... yes [14:13:00.391] checking for struct tm.tm_zone... no [14:13:00.478] checking for union semun... no [14:13:00.516] checking for socklen_t... yes [14:13:01.849] checking for struct sockaddr.sa_len... no [14:13:04.138] checking for C/C++ restrict keyword... __restrict [14:13:04.152] checking for struct option... yes [14:13:04.198] checking whether assembler supports x86_64 popcntq... yes [14:13:04.206] checking size of off_t... 4 [14:13:04.427] 0 [14:13:04.427] checking size of bool... 1 [14:13:04.477] checking for int timezone... yes [14:13:04.532] checking for backtrace_symbols... no [14:13:04.583] checking for copyfile... no [14:13:04.639] checking for copy_file_range... no [14:13:04.692] checking for getifaddrs... no [14:13:04.747] checking for getpeerucred... no [14:13:04.802] checking for inet_pton... yes [14:13:04.858] checking for kqueue... no [14:13:04.913] checking for mbstowcs_l... no [14:13:04.969] checking for memset_s... no [14:13:05.024] checking for posix_fallocate... no [14:13:05.079] checking for ppoll... no [14:13:05.135] checking for pthread_is_threaded_np... no [14:13:05.194] checking for setproctitle... no [14:13:05.252] checking for setproctitle_fast... no [14:13:05.309] checking for strchrnul... no [14:13:05.365] checking for strsignal... no [14:13:05.422] checking for syncfs... no [14:13:05.478] checking for sync_file_range... no [14:13:05.533] checking for uselocale... no [14:13:05.589] checking for wcstombs_l... no [14:13:05.639] checking for __builtin_bswap16... yes [14:13:05.691] checking for __builtin_bswap32... yes [14:13:05.743] checking for __builtin_bswap64... yes [14:13:05.796] checking for __builtin_clz... yes [14:13:05.848] checking for __builtin_ctz... yes [14:13:05.899] checking for __builtin_popcount... yes [14:13:05.949] checking for __builtin_frame_address... yes [14:13:05.998] checking for _LARGEFILE_SOURCE value needed for large files... no [14:13:06.055] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:13:06.090] checking for posix_fadvise... no [14:13:06.147] checking whether posix_fadvise is declared... no [14:13:06.197] checking whether fdatasync is declared... no [14:13:06.251] checking whether strlcat is declared... no [14:13:06.323] checking whether strlcpy is declared... no [14:13:06.393] checking whether strnlen is declared... yes [14:13:06.407] checking whether strsep is declared... no [14:13:06.473] checking whether preadv is declared... no [14:13:06.511] checking whether pwritev is declared... no [14:13:06.548] checking whether F_FULLFSYNC is declared... no [14:13:06.591] checking for explicit_bzero... no [14:13:06.642] checking for getopt... yes [14:13:06.690] checking for getpeereid... no [14:13:06.741] checking for inet_aton... no [14:13:06.793] checking for mkdtemp... no [14:13:06.846] checking for strlcat... no [14:13:06.896] checking for strlcpy... no [14:13:06.947] checking for strnlen... yes [14:13:06.997] checking for strsep... no [14:13:07.047] checking for pthread_barrier_wait... yes [14:13:07.095] configure: On mingw32 we will use our strtof wrapper. [14:13:07.095] checking for getopt_long... yes [14:13:07.143] checking for _configthreadlocale... yes [14:13:07.190] checking for syslog... no [14:13:07.239] checking for opterr... yes [14:13:07.288] checking for optreset... no [14:13:07.344] checking test program... cross-compiling [14:13:07.344] checking whether long int is 64 bits... no [14:13:07.380] checking whether long long int is 64 bits... yes [14:13:07.390] checking for __builtin_mul_overflow... yes [14:13:07.435] checking size of void *... 8 [14:13:07.721] checking size of size_t... 8 [14:13:08.012] checking size of long... 4 [14:13:08.240] checking alignment of short... 2 [14:13:08.393] checking alignment of int... 4 [14:13:08.628] checking alignment of long... 4 [14:13:08.860] checking alignment of long long int... 8 [14:13:09.176] checking alignment of double... 8 [14:13:09.495] checking for int8... no [14:13:09.545] checking for uint8... no [14:13:09.595] checking for int64... no [14:13:09.646] checking for uint64... no [14:13:09.697] checking for __int128... yes [14:13:09.755] checking for __int128 alignment bug... assuming ok [14:13:09.755] checking alignment of PG_INT128_TYPE... 16 [14:13:10.139] checking for builtin __sync char locking functions... yes [14:13:10.187] checking for builtin __sync int32 locking functions... yes [14:13:10.234] checking for builtin __sync int32 atomic operations... yes [14:13:10.280] checking for builtin __sync int64 atomic operations... yes [14:13:10.328] checking for builtin __atomic int32 atomic operations... yes [14:13:10.373] checking for builtin __atomic int64 atomic operations... yes [14:13:10.419] checking for __get_cpuid... yes [14:13:10.471] checking for __get_cpuid_count... yes [14:13:10.520] checking for __cpuid... no [14:13:10.929] checking for __cpuidex... no [14:13:11.369] checking for _xgetbv with CFLAGS=... no [14:13:11.767] checking for _xgetbv with CFLAGS=-mxsave... yes [14:13:12.184] checking for _mm512_popcnt_epi64 with CFLAGS=... no [14:13:12.569] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [14:13:12.925] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:13:12.976] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:13:13.077] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:13:13.103] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:13:13.125] checking for __builtin_loongarch_crcc_w_b_w, __builtin_loongarch_crcc_w_h_w, __builtin_loongarch_crcc_w_w_w and __builtin_loongarch_crcc_w_d_w... no [14:13:13.183] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:13:13.184] checking which random number source to use... Windows native [14:13:13.186] checking for xmllint... /usr/bin/xmllint [14:13:13.186] checking for xsltproc... /usr/bin/xsltproc [14:13:13.186] checking for fop... /usr/bin/fop [14:13:13.186] checking for dbtoepub... no [14:13:13.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:13:13.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:13:13.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:13:13.199] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:13:13.199] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [14:13:13.199] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:13:13.199] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:13:13.291] configure: creating ./config.status [14:13:13.386] config.status: creating GNUmakefile [14:13:13.400] config.status: creating src/Makefile.global [14:13:13.417] config.status: creating src/include/pg_config.h [14:13:13.431] config.status: creating src/include/pg_config_ext.h [14:13:13.446] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:13:13.463] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:13:13.471] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:13:13.479] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:13:13.487] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:13:13.495] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:13:13.499] config.status: executing check_win32_symlinks commands [14:13:13.536] [14:13:13.536] real 0m17.827s [14:13:13.536] user 0m11.796s [14:13:13.536] sys 0m5.676s [14:13:13.536] make -s -j${BUILD_JOBS} clean [14:13:14.056] time make -s -j${BUILD_JOBS} world-bin [14:13:23.917] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [14:13:23.917] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [14:13:23.917] 2829 | JsonbValue jbvbuf; [14:13:23.917] | ^~~~~~~~~~ [14:13:23.917] cc1: all warnings being treated as errors [14:13:23.918] make[4]: *** [: jsonpath_exec.o] Error 1 [14:13:23.918] make[4]: *** Waiting for unfinished jobs.... [14:13:24.920] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [14:13:24.920] make[3]: *** Waiting for unfinished jobs.... [14:13:26.540] make[2]: *** [common.mk:37: utils-recursive] Error 2 [14:13:26.540] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:13:26.541] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:13:26.541] [14:13:26.541] real 0m12.485s [14:13:26.541] user 0m31.930s [14:13:26.541] sys 0m10.410s [14:13:26.541] [14:13:26.541] Exit status: 2