[22:29:02.786] time ./configure \ [22:29:02.786] --host=x86_64-w64-mingw32 \ [22:29:02.786] --enable-cassert \ [22:29:02.786] --without-icu \ [22:29:02.786] CC="ccache x86_64-w64-mingw32-gcc" \ [22:29:02.786] CXX="ccache x86_64-w64-mingw32-g++" [22:29:02.898] checking build system type... x86_64-pc-linux-gnu [22:29:03.072] checking host system type... x86_64-w64-mingw32 [22:29:03.077] checking which template to use... win32 [22:29:03.077] checking whether NLS is wanted... no [22:29:03.077] checking for default port number... 5432 [22:29:03.084] checking for block size... 8kB [22:29:03.085] checking for segment size... 1GB [22:29:03.087] checking for WAL block size... 8kB [22:29:03.088] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:29:03.118] checking whether the C compiler works... yes [22:29:03.238] checking for C compiler default output file name... a.exe [22:29:03.239] checking for suffix of executables... .exe [22:29:03.276] checking whether we are cross compiling... yes [22:29:03.343] checking for suffix of object files... o [22:29:03.350] checking whether we are using the GNU C compiler... yes [22:29:03.365] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:29:03.371] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:29:03.396] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:29:03.450] checking whether we are using the GNU C++ compiler... yes [22:29:03.456] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:29:03.517] checking for gawk... no [22:29:03.517] checking for mawk... mawk [22:29:03.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:29:03.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:29:03.554] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:29:03.596] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:29:03.754] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:29:03.761] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:29:03.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:29:03.774] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:29:03.804] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:29:03.811] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:29:03.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:29:03.848] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:29:03.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:29:03.885] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:29:03.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:29:03.931] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:29:03.992] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:29:04.028] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:29:04.035] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:29:04.041] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:29:04.057] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:29:04.064] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:29:04.071] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:29:04.093] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:29:04.124] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:29:04.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:29:04.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:29:04.204] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:29:04.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:29:04.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:29:04.251] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:29:04.258] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:29:04.274] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:29:04.281] checking whether the C compiler still works... yes [22:29:04.342] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:29:04.410] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:29:04.410] checking pkg-config is at least version 0.9.0... yes [22:29:04.426] checking whether to build with ICU support... no [22:29:04.427] checking whether to build with Tcl... no [22:29:04.427] checking whether to build Perl modules... no [22:29:04.427] checking whether to build Python modules... no [22:29:04.427] checking whether to build with GSSAPI support... no [22:29:04.428] checking whether to build with PAM support... no [22:29:04.428] checking whether to build with BSD Authentication support... no [22:29:04.428] checking whether to build with LDAP support... no [22:29:04.428] checking whether to build with Bonjour support... no [22:29:04.428] checking whether to build with SELinux support... no [22:29:04.428] checking whether to build with systemd support... no [22:29:04.429] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:29:04.429] checking whether to build with liburing support... no [22:29:04.429] checking whether to build with libcurl support... no [22:29:04.429] checking whether to build with libnuma support... no [22:29:04.429] checking whether to build with XML support... no [22:29:04.430] checking whether to build with LZ4 support... no [22:29:04.430] checking whether to build with ZSTD support... no [22:29:04.430] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:29:04.430] checking whether it is possible to strip libraries... yes [22:29:04.437] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:29:04.438] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:29:04.438] checking for a BSD-compatible install... /usr/bin/install -c [22:29:04.446] checking for tar... /usr/bin/tar [22:29:04.447] checking whether ln -s works... yes [22:29:04.447] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:29:04.449] checking for bison... /usr/bin/bison [22:29:04.451] configure: using bison (GNU Bison) 3.8.2 [22:29:04.454] checking for flex... /usr/bin/flex [22:29:04.456] configure: using flex 2.6.4 [22:29:04.456] checking for perl... /usr/bin/perl [22:29:04.458] configure: using perl 5.36.0 [22:29:04.460] checking for zic... /usr/sbin/zic [22:29:04.460] checking for a sed that does not truncate output... /usr/bin/sed [22:29:04.466] checking for grep that handles long lines and -e... /usr/bin/grep [22:29:04.468] checking for egrep... /usr/bin/grep -E [22:29:04.469] checking for ANSI C header files... yes [22:29:04.550] checking for sys/types.h... yes [22:29:04.567] checking for sys/stat.h... yes [22:29:04.622] checking for stdlib.h... yes [22:29:04.636] checking for string.h... yes [22:29:04.667] checking for memory.h... yes [22:29:04.681] checking for strings.h... yes [22:29:04.696] checking for inttypes.h... yes [22:29:04.756] checking for stdint.h... yes [22:29:04.769] checking for unistd.h... yes [22:29:04.784] checking for main in -lm... yes [22:29:04.829] checking for library containing setproctitle... no [22:29:04.914] checking for library containing dlsym... no [22:29:04.996] checking for library containing socket... -lws2_32 [22:29:05.118] checking for library containing getopt_long... none required [22:29:05.164] checking for library containing shm_open... no [22:29:05.247] checking for library containing shm_unlink... no [22:29:05.330] checking for library containing clock_gettime... no [22:29:05.413] checking for library containing shmget... no [22:29:05.493] checking for library containing backtrace_symbols... no [22:29:05.574] checking for library containing pthread_barrier_wait... -lpthread [22:29:05.656] checking for inflate in -lz... yes [22:29:05.701] checking atomic.h usability... no [22:29:05.752] checking atomic.h presence... no [22:29:05.768] checking for atomic.h... no [22:29:05.771] checking copyfile.h usability... no [22:29:05.822] checking copyfile.h presence... no [22:29:05.839] checking for copyfile.h... no [22:29:05.842] checking execinfo.h usability... no [22:29:05.892] checking execinfo.h presence... no [22:29:05.910] checking for execinfo.h... no [22:29:05.912] checking getopt.h usability... yes [22:29:05.919] checking getopt.h presence... yes [22:29:05.933] checking for getopt.h... yes [22:29:05.939] checking ifaddrs.h usability... no [22:29:05.990] checking ifaddrs.h presence... no [22:29:06.007] checking for ifaddrs.h... no [22:29:06.010] checking mbarrier.h usability... no [22:29:06.063] checking mbarrier.h presence... no [22:29:06.081] checking for mbarrier.h... no [22:29:06.084] checking sys/epoll.h usability... no [22:29:06.136] checking sys/epoll.h presence... no [22:29:06.154] checking for sys/epoll.h... no [22:29:06.158] checking sys/event.h usability... no [22:29:06.209] checking sys/event.h presence... no [22:29:06.227] checking for sys/event.h... no [22:29:06.230] checking sys/personality.h usability... no [22:29:06.282] checking sys/personality.h presence... no [22:29:06.300] checking for sys/personality.h... no [22:29:06.303] checking sys/prctl.h usability... no [22:29:06.353] checking sys/prctl.h presence... no [22:29:06.370] checking for sys/prctl.h... no [22:29:06.373] checking sys/procctl.h usability... no [22:29:06.423] checking sys/procctl.h presence... no [22:29:06.441] checking for sys/procctl.h... no [22:29:06.444] checking sys/signalfd.h usability... no [22:29:06.495] checking sys/signalfd.h presence... no [22:29:06.513] checking for sys/signalfd.h... no [22:29:06.516] checking sys/ucred.h usability... no [22:29:06.568] checking sys/ucred.h presence... no [22:29:06.585] checking for sys/ucred.h... no [22:29:06.589] checking termios.h usability... no [22:29:06.641] checking termios.h presence... no [22:29:06.658] checking for termios.h... no [22:29:06.662] checking ucred.h usability... no [22:29:06.713] checking ucred.h presence... no [22:29:06.732] checking for ucred.h... no [22:29:06.736] checking xlocale.h usability... no [22:29:06.788] checking xlocale.h presence... no [22:29:06.806] checking for xlocale.h... no [22:29:06.809] checking zlib.h usability... yes [22:29:06.817] checking zlib.h presence... yes [22:29:06.835] checking for zlib.h... yes [22:29:06.835] checking for lz4... /usr/bin/lz4 [22:29:06.835] checking for zstd... /usr/bin/zstd [22:29:06.835] checking for openssl... /usr/bin/openssl [22:29:06.839] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:29:06.840] checking crtdefs.h usability... yes [22:29:06.892] checking crtdefs.h presence... yes [22:29:06.906] checking for crtdefs.h... yes [22:29:06.907] checking whether byte ordering is bigendian... no [22:29:06.976] checking for inline... inline [22:29:07.003] checking for printf format archetype... gnu_printf [22:29:07.010] checking for _Static_assert... yes [22:29:07.052] checking for typeof... typeof [22:29:07.059] checking for __builtin_types_compatible_p... yes [22:29:07.069] checking for __builtin_constant_p... yes [22:29:07.079] checking for __builtin_mul_overflow... yes [22:29:07.127] checking for __builtin_unreachable... yes [22:29:07.166] checking for computed goto support... yes [22:29:07.173] checking for struct tm.tm_zone... no [22:29:07.248] checking for union semun... no [22:29:07.281] checking for socklen_t... yes [22:29:08.364] checking for struct sockaddr.sa_len... no [22:29:10.284] checking for C/C++ restrict keyword... __restrict [22:29:10.296] checking for struct option... yes [22:29:10.337] checking whether assembler supports x86_64 popcntq... yes [22:29:10.354] checking size of off_t... 4 [22:29:10.577] 0 [22:29:10.578] checking for int timezone... yes [22:29:10.623] checking for backtrace_symbols... no [22:29:10.667] checking for copyfile... no [22:29:10.713] checking for copy_file_range... no [22:29:10.758] checking for elf_aux_info... no [22:29:10.803] checking for getauxval... no [22:29:10.848] checking for getifaddrs... no [22:29:10.894] checking for getpeerucred... no [22:29:10.940] checking for inet_pton... yes [22:29:10.986] checking for kqueue... no [22:29:11.031] checking for localeconv_l... no [22:29:11.077] checking for mbstowcs_l... no [22:29:11.124] checking for posix_fallocate... no [22:29:11.172] checking for ppoll... no [22:29:11.219] checking for pthread_is_threaded_np... no [22:29:11.267] checking for setproctitle... no [22:29:11.316] checking for setproctitle_fast... no [22:29:11.364] checking for strsignal... no [22:29:11.413] checking for syncfs... no [22:29:11.460] checking for sync_file_range... no [22:29:11.507] checking for uselocale... no [22:29:11.555] checking for wcstombs_l... no [22:29:11.602] checking for __builtin_bswap16... yes [22:29:11.648] checking for __builtin_bswap32... yes [22:29:11.692] checking for __builtin_bswap64... yes [22:29:11.736] checking for __builtin_clz... yes [22:29:11.781] checking for __builtin_ctz... yes [22:29:11.824] checking for __builtin_popcount... yes [22:29:11.868] checking for __builtin_frame_address... yes [22:29:11.912] checking for _LARGEFILE_SOURCE value needed for large files... no [22:29:11.960] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:29:11.988] checking for posix_fadvise... no [22:29:12.036] checking whether posix_fadvise is declared... no [22:29:12.076] checking whether fdatasync is declared... no [22:29:12.121] checking whether strlcat is declared... no [22:29:12.178] checking whether strlcpy is declared... no [22:29:12.237] checking whether strnlen is declared... yes [22:29:12.249] checking whether strsep is declared... no [22:29:12.307] checking whether timingsafe_bcmp is declared... no [22:29:12.366] checking whether preadv is declared... no [22:29:12.398] checking whether pwritev is declared... no [22:29:12.431] checking whether strchrnul is declared... no [22:29:12.468] checking whether memset_s is declared... no [22:29:12.507] checking whether F_FULLFSYNC is declared... no [22:29:12.542] checking for explicit_bzero... no [22:29:12.584] checking for getopt... yes [22:29:12.624] checking for getpeereid... no [22:29:12.669] checking for inet_aton... no [22:29:12.712] checking for mkdtemp... no [22:29:12.755] checking for strlcat... no [22:29:12.797] checking for strlcpy... no [22:29:12.842] checking for strnlen... yes [22:29:12.886] checking for strsep... no [22:29:12.929] checking for timingsafe_bcmp... no [22:29:12.971] checking for pthread_barrier_wait... yes [22:29:13.011] configure: On mingw32 we will use our strtof wrapper. [22:29:13.011] checking for getopt_long... yes [22:29:13.052] checking for syslog... no [22:29:13.095] checking for opterr... yes [22:29:13.141] checking for optreset... no [22:29:13.191] checking test program... cross-compiling [22:29:13.191] checking size of void *... 8 [22:29:13.488] checking size of size_t... 8 [22:29:13.771] checking size of long... 4 [22:29:13.956] checking size of long long... 8 [22:29:14.268] checking alignment of short... 2 [22:29:14.399] checking alignment of int... 4 [22:29:14.639] checking alignment of long... 4 [22:29:14.878] checking alignment of int64_t... 8 [22:29:15.130] checking alignment of double... 8 [22:29:15.393] checking for __int128... yes [22:29:15.439] checking for __int128 alignment bug... assuming ok [22:29:15.439] checking alignment of PG_INT128_TYPE... 16 [22:29:15.762] checking for builtin __sync char locking functions... yes [22:29:15.802] checking for builtin __sync int32 locking functions... yes [22:29:15.840] checking for builtin __sync int32 atomic operations... yes [22:29:15.879] checking for builtin __sync int64 atomic operations... yes [22:29:15.919] checking for builtin __atomic int32 atomic operations... yes [22:29:15.956] checking for builtin __atomic int64 atomic operations... yes [22:29:15.995] checking for __get_cpuid... yes [22:29:16.037] checking for __get_cpuid_count... yes [22:29:16.078] checking for __cpuid... no [22:29:16.456] checking for __cpuidex... no [22:29:16.856] checking for _xgetbv... yes [22:29:17.256] checking for _mm512_popcnt_epi64... yes [22:29:17.668] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:29:17.765] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:29:17.788] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:29:17.805] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:29:17.824] 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 [22:29:17.877] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:29:17.877] checking for _mm512_clmulepi64_epi128... yes [22:29:18.281] checking for vectorized CRC-32C... AVX-512 with runtime check [22:29:18.282] checking which random number source to use... Windows native [22:29:18.284] checking for xmllint... /usr/bin/xmllint [22:29:18.284] checking for xsltproc... /usr/bin/xsltproc [22:29:18.284] checking for fop... /usr/bin/fop [22:29:18.284] checking for dbtoepub... no [22:29:18.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:29:18.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:29:18.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:29:18.295] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:29:18.295] 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 [22:29:18.295] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:29:18.295] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:29:18.381] configure: creating ./config.status [22:29:18.464] config.status: creating GNUmakefile [22:29:18.476] config.status: creating src/Makefile.global [22:29:18.491] config.status: creating src/include/pg_config.h [22:29:18.504] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:29:18.519] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:29:18.526] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:29:18.533] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:29:18.540] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:29:18.547] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:29:18.551] config.status: executing check_win32_symlinks commands [22:29:18.584] [22:29:18.584] real 0m15.798s [22:29:18.584] user 0m10.490s [22:29:18.584] sys 0m4.991s [22:29:18.584] make -s -j${BUILD_JOBS} clean [22:29:19.090] time make -s -j${BUILD_JOBS} world-bin [22:31:03.951] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:31:03.951] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:31:03.951] 2830 | JsonbValue jbvbuf; [22:31:03.951] | ^~~~~~~~~~ [22:31:03.951] cc1: all warnings being treated as errors [22:31:03.951] make[4]: *** [: jsonpath_exec.o] Error 1 [22:31:03.951] make[4]: *** Waiting for unfinished jobs.... [22:31:04.374] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:31:04.374] make[3]: *** Waiting for unfinished jobs.... [22:31:06.847] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:31:06.848] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:31:06.848] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:31:06.848] [22:31:06.848] real 1m47.758s [22:31:06.848] user 5m42.771s [22:31:06.848] sys 1m6.267s [22:31:06.848] [22:31:06.848] Exit status: 2