[19:33:27.619] time ./configure \ [19:33:27.619] --host=x86_64-w64-mingw32 \ [19:33:27.619] --enable-cassert \ [19:33:27.619] --without-icu \ [19:33:27.619] CC="ccache x86_64-w64-mingw32-gcc" \ [19:33:27.619] CXX="ccache x86_64-w64-mingw32-g++" [19:33:27.743] checking build system type... x86_64-pc-linux-gnu [19:33:27.930] checking host system type... x86_64-w64-mingw32 [19:33:27.936] checking which template to use... win32 [19:33:27.936] checking whether NLS is wanted... no [19:33:27.936] checking for default port number... 5432 [19:33:27.943] checking for block size... 8kB [19:33:27.944] checking for segment size... 1GB [19:33:27.947] checking for WAL block size... 8kB [19:33:27.948] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:33:27.984] checking whether the C compiler works... yes [19:33:28.121] checking for C compiler default output file name... a.exe [19:33:28.123] checking for suffix of executables... .exe [19:33:28.166] checking whether we are cross compiling... yes [19:33:28.245] checking for suffix of object files... o [19:33:28.253] checking whether we are using the GNU C compiler... yes [19:33:28.286] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:33:28.293] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:33:28.372] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:33:28.428] checking whether we are using the GNU C++ compiler... yes [19:33:28.436] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:33:28.507] checking for gawk... no [19:33:28.508] checking for mawk... mawk [19:33:28.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:33:28.518] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:33:28.525] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:33:28.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:33:28.732] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:33:28.739] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:33:28.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:33:28.754] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:33:28.833] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:33:28.840] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:33:28.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:33:28.855] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:33:28.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:33:28.870] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:33:28.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:33:28.895] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:33:28.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:33:28.941] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:33:28.948] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:33:28.956] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:33:28.968] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:33:28.975] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:33:28.983] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:33:29.009] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:33:29.016] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:33:29.024] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:33:29.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:33:29.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:33:29.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:33:29.120] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:33:29.157] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:33:29.175] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:33:29.193] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:33:29.202] checking whether the C compiler still works... yes [19:33:29.253] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:33:29.332] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:33:29.332] checking pkg-config is at least version 0.9.0... yes [19:33:29.349] checking whether to build with ICU support... no [19:33:29.349] checking whether to build with Tcl... no [19:33:29.349] checking whether to build Perl modules... no [19:33:29.349] checking whether to build Python modules... no [19:33:29.349] checking whether to build with GSSAPI support... no [19:33:29.350] checking whether to build with PAM support... no [19:33:29.351] checking whether to build with BSD Authentication support... no [19:33:29.351] checking whether to build with LDAP support... no [19:33:29.351] checking whether to build with Bonjour support... no [19:33:29.351] checking whether to build with SELinux support... no [19:33:29.351] checking whether to build with systemd support... no [19:33:29.351] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:33:29.351] checking whether to build with liburing support... no [19:33:29.351] checking whether to build with libcurl support... no [19:33:29.352] checking whether to build with libnuma support... no [19:33:29.352] checking whether to build with XML support... no [19:33:29.352] checking whether to build with LZ4 support... no [19:33:29.352] checking whether to build with ZSTD support... no [19:33:29.352] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:33:29.353] checking whether it is possible to strip libraries... yes [19:33:29.363] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:33:29.363] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:33:29.363] checking for a BSD-compatible install... /usr/bin/install -c [19:33:29.373] checking for tar... /usr/bin/tar [19:33:29.373] checking whether ln -s works... yes [19:33:29.373] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:33:29.376] checking for bison... /usr/bin/bison [19:33:29.378] configure: using bison (GNU Bison) 3.8.2 [19:33:29.381] checking for flex... /usr/bin/flex [19:33:29.383] configure: using flex 2.6.4 [19:33:29.384] checking for perl... /usr/bin/perl [19:33:29.387] configure: using perl 5.36.0 [19:33:29.389] checking for zic... /usr/sbin/zic [19:33:29.389] checking for a sed that does not truncate output... /usr/bin/sed [19:33:29.395] checking for grep that handles long lines and -e... /usr/bin/grep [19:33:29.397] checking for egrep... /usr/bin/grep -E [19:33:29.399] checking for ANSI C header files... yes [19:33:29.492] checking for sys/types.h... yes [19:33:29.511] checking for sys/stat.h... yes [19:33:29.575] checking for stdlib.h... yes [19:33:29.591] checking for string.h... yes [19:33:29.607] checking for memory.h... yes [19:33:29.623] checking for strings.h... yes [19:33:29.639] checking for inttypes.h... yes [19:33:29.655] checking for stdint.h... yes [19:33:29.692] checking for unistd.h... yes [19:33:29.708] checking for main in -lm... yes [19:33:29.757] checking for library containing setproctitle... no [19:33:29.849] checking for library containing dlsym... no [19:33:29.942] checking for library containing socket... -lws2_32 [19:33:30.077] checking for library containing getopt_long... none required [19:33:30.124] checking for library containing shm_open... no [19:33:30.213] checking for library containing shm_unlink... no [19:33:30.303] checking for library containing clock_gettime... no [19:33:30.393] checking for library containing shmget... no [19:33:30.482] checking for library containing backtrace_symbols... no [19:33:30.571] checking for library containing pthread_barrier_wait... -lpthread [19:33:30.662] checking for inflate in -lz... yes [19:33:30.713] checking atomic.h usability... no [19:33:30.771] checking atomic.h presence... no [19:33:30.792] checking for atomic.h... no [19:33:30.795] checking copyfile.h usability... no [19:33:30.853] checking copyfile.h presence... no [19:33:30.872] checking for copyfile.h... no [19:33:30.876] checking execinfo.h usability... no [19:33:30.931] checking execinfo.h presence... no [19:33:30.952] checking for execinfo.h... no [19:33:30.955] checking getopt.h usability... yes [19:33:30.963] checking getopt.h presence... yes [19:33:30.978] checking for getopt.h... yes [19:33:30.986] checking ifaddrs.h usability... no [19:33:31.045] checking ifaddrs.h presence... no [19:33:31.064] checking for ifaddrs.h... no [19:33:31.068] checking mbarrier.h usability... no [19:33:31.124] checking mbarrier.h presence... no [19:33:31.144] checking for mbarrier.h... no [19:33:31.147] checking sys/epoll.h usability... no [19:33:31.203] checking sys/epoll.h presence... no [19:33:31.223] checking for sys/epoll.h... no [19:33:31.226] checking sys/event.h usability... no [19:33:31.285] checking sys/event.h presence... no [19:33:31.306] checking for sys/event.h... no [19:33:31.310] checking sys/personality.h usability... no [19:33:31.368] checking sys/personality.h presence... no [19:33:31.390] checking for sys/personality.h... no [19:33:31.393] checking sys/prctl.h usability... no [19:33:31.452] checking sys/prctl.h presence... no [19:33:31.472] checking for sys/prctl.h... no [19:33:31.475] checking sys/procctl.h usability... no [19:33:31.533] checking sys/procctl.h presence... no [19:33:31.554] checking for sys/procctl.h... no [19:33:31.558] checking sys/signalfd.h usability... no [19:33:31.616] checking sys/signalfd.h presence... no [19:33:31.636] checking for sys/signalfd.h... no [19:33:31.639] checking sys/ucred.h usability... no [19:33:31.697] checking sys/ucred.h presence... no [19:33:31.717] checking for sys/ucred.h... no [19:33:31.721] checking termios.h usability... no [19:33:31.779] checking termios.h presence... no [19:33:31.801] checking for termios.h... no [19:33:31.804] checking ucred.h usability... no [19:33:31.863] checking ucred.h presence... no [19:33:31.883] checking for ucred.h... no [19:33:31.886] checking xlocale.h usability... no [19:33:31.941] checking xlocale.h presence... no [19:33:31.960] checking for xlocale.h... no [19:33:31.962] checking zlib.h usability... yes [19:33:31.972] checking zlib.h presence... yes [19:33:31.992] checking for zlib.h... yes [19:33:31.992] checking for lz4... /usr/bin/lz4 [19:33:31.992] checking for zstd... /usr/bin/zstd [19:33:31.993] checking for openssl... /usr/bin/openssl [19:33:31.997] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [19:33:31.997] checking crtdefs.h usability... yes [19:33:32.006] checking crtdefs.h presence... yes [19:33:32.021] checking for crtdefs.h... yes [19:33:32.023] checking whether byte ordering is bigendian... no [19:33:32.114] checking for inline... inline [19:33:32.144] checking for printf format archetype... gnu_printf [19:33:32.153] checking for _Static_assert... yes [19:33:32.196] checking for typeof... typeof [19:33:32.203] checking for __builtin_types_compatible_p... yes [19:33:32.215] checking for __builtin_constant_p... yes [19:33:32.226] checking for __builtin_mul_overflow... yes [19:33:32.274] checking for __builtin_unreachable... yes [19:33:32.317] checking for computed goto support... yes [19:33:32.325] checking for struct tm.tm_zone... no [19:33:32.409] checking for union semun... no [19:33:32.447] checking for socklen_t... yes [19:33:33.701] checking for struct sockaddr.sa_len... no [19:33:35.930] checking for C/C++ restrict keyword... __restrict [19:33:35.972] checking for struct option... yes [19:33:36.045] checking whether assembler supports x86_64 popcntq... yes [19:33:36.063] checking size of off_t... 4 [19:33:36.272] 0 [19:33:36.272] checking for int timezone... yes [19:33:36.326] checking for backtrace_symbols... no [19:33:36.379] checking for copyfile... no [19:33:36.431] checking for copy_file_range... no [19:33:36.483] checking for elf_aux_info... no [19:33:36.535] checking for getauxval... no [19:33:36.588] checking for getifaddrs... no [19:33:36.640] checking for getpeerucred... no [19:33:36.692] checking for inet_pton... yes [19:33:36.745] checking for kqueue... no [19:33:36.797] checking for localeconv_l... no [19:33:36.851] checking for mbstowcs_l... no [19:33:36.905] checking for posix_fallocate... no [19:33:36.958] checking for ppoll... no [19:33:37.011] checking for pthread_is_threaded_np... no [19:33:37.065] checking for setproctitle... no [19:33:37.118] checking for setproctitle_fast... no [19:33:37.172] checking for strsignal... no [19:33:37.226] checking for syncfs... no [19:33:37.275] checking for sync_file_range... no [19:33:37.325] checking for uselocale... no [19:33:37.376] checking for wcstombs_l... no [19:33:37.426] checking for __builtin_bswap16... yes [19:33:37.475] checking for __builtin_bswap32... yes [19:33:37.525] checking for __builtin_bswap64... yes [19:33:37.574] checking for __builtin_clz... yes [19:33:37.623] checking for __builtin_ctz... yes [19:33:37.673] checking for __builtin_popcount... yes [19:33:37.722] checking for __builtin_frame_address... yes [19:33:37.771] checking for _LARGEFILE_SOURCE value needed for large files... no [19:33:37.824] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:33:37.856] checking for posix_fadvise... no [19:33:37.910] checking whether posix_fadvise is declared... no [19:33:37.957] checking whether fdatasync is declared... no [19:33:38.006] checking whether strlcat is declared... no [19:33:38.071] checking whether strlcpy is declared... no [19:33:38.138] checking whether strnlen is declared... yes [19:33:38.152] checking whether strsep is declared... no [19:33:38.220] checking whether timingsafe_bcmp is declared... no [19:33:38.288] checking whether preadv is declared... no [19:33:38.325] checking whether pwritev is declared... no [19:33:38.366] checking whether strchrnul is declared... no [19:33:38.413] checking whether memset_s is declared... no [19:33:38.460] checking whether F_FULLFSYNC is declared... no [19:33:38.503] checking for explicit_bzero... no [19:33:38.553] checking for getopt... yes [19:33:38.599] checking for getpeereid... no [19:33:38.650] checking for inet_aton... no [19:33:38.699] checking for mkdtemp... no [19:33:38.750] checking for strlcat... no [19:33:38.798] checking for strlcpy... no [19:33:38.846] checking for strnlen... yes [19:33:38.894] checking for strsep... no [19:33:38.944] checking for timingsafe_bcmp... no [19:33:38.994] checking for pthread_barrier_wait... yes [19:33:39.043] configure: On mingw32 we will use our strtof wrapper. [19:33:39.043] checking for getopt_long... yes [19:33:39.090] checking for syslog... no [19:33:39.140] checking for opterr... yes [19:33:39.191] checking for optreset... no [19:33:39.244] checking test program... cross-compiling [19:33:39.244] checking size of void *... 8 [19:33:39.525] checking size of size_t... 8 [19:33:39.865] checking size of long... 4 [19:33:40.080] checking size of long long... 8 [19:33:40.445] checking alignment of short... 2 [19:33:40.648] checking alignment of int... 4 [19:33:40.937] checking alignment of long... 4 [19:33:41.225] checking alignment of int64_t... 8 [19:33:41.509] checking alignment of double... 8 [19:33:41.820] checking for __int128... yes [19:33:41.871] checking for __int128 alignment bug... assuming ok [19:33:41.871] checking alignment of PG_INT128_TYPE... 16 [19:33:42.206] checking for builtin __sync char locking functions... yes [19:33:42.251] checking for builtin __sync int32 locking functions... yes [19:33:42.296] checking for builtin __sync int32 atomic operations... yes [19:33:42.339] checking for builtin __sync int64 atomic operations... yes [19:33:42.384] checking for builtin __atomic int32 atomic operations... yes [19:33:42.430] checking for builtin __atomic int64 atomic operations... yes [19:33:42.477] checking for __get_cpuid... yes [19:33:42.526] checking for __get_cpuid_count... yes [19:33:42.574] checking for __cpuid... no [19:33:42.982] checking for __cpuidex... no [19:33:43.418] checking for _xgetbv... yes [19:33:43.823] checking for _mm512_popcnt_epi64... yes [19:33:44.257] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:33:44.363] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:33:44.388] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:33:44.411] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:33:44.432] 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 [19:33:44.492] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:33:44.492] checking for _mm512_clmulepi64_epi128... yes [19:33:44.914] checking for vectorized CRC-32C... AVX-512 with runtime check [19:33:44.914] checking which random number source to use... Windows native [19:33:44.916] checking for xmllint... /usr/bin/xmllint [19:33:44.916] checking for xsltproc... /usr/bin/xsltproc [19:33:44.916] checking for fop... /usr/bin/fop [19:33:44.916] checking for dbtoepub... no [19:33:44.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:33:44.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:33:44.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:33:44.927] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:33:44.928] 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 [19:33:44.928] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:33:44.928] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:33:45.017] configure: creating ./config.status [19:33:45.105] config.status: creating GNUmakefile [19:33:45.118] config.status: creating src/Makefile.global [19:33:45.135] config.status: creating src/include/pg_config.h [19:33:45.149] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:33:45.166] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:33:45.173] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:33:45.180] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:33:45.187] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:33:45.194] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:33:45.197] config.status: executing check_win32_symlinks commands [19:33:45.232] [19:33:45.232] real 0m17.613s [19:33:45.232] user 0m11.620s [19:33:45.232] sys 0m5.658s [19:33:45.232] make -s -j${BUILD_JOBS} clean [19:33:45.770] time make -s -j${BUILD_JOBS} world-bin [19:35:25.587] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [19:35:25.587] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [19:35:25.587] 2830 | JsonbValue jbvbuf; [19:35:25.587] | ^~~~~~~~~~ [19:35:25.587] cc1: all warnings being treated as errors [19:35:25.587] make[4]: *** [: jsonpath_exec.o] Error 1 [19:35:25.587] make[4]: *** Waiting for unfinished jobs.... [19:35:26.154] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [19:35:26.154] make[3]: *** Waiting for unfinished jobs.... [19:35:28.050] make[2]: *** [common.mk:37: utils-recursive] Error 2 [19:35:28.050] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:35:28.051] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:35:28.051] [19:35:28.051] real 1m42.281s [19:35:28.051] user 5m27.839s [19:35:28.051] sys 1m2.945s [19:35:28.051] [19:35:28.051] Exit status: 2