[22:09:59.185] time ./configure \ [22:09:59.185] --host=x86_64-w64-mingw32 \ [22:09:59.185] --enable-cassert \ [22:09:59.185] --without-icu \ [22:09:59.185] CC="ccache x86_64-w64-mingw32-gcc" \ [22:09:59.185] CXX="ccache x86_64-w64-mingw32-g++" [22:09:59.291] checking build system type... x86_64-pc-linux-gnu [22:09:59.473] checking host system type... x86_64-w64-mingw32 [22:09:59.477] checking which template to use... win32 [22:09:59.478] checking whether NLS is wanted... no [22:09:59.478] checking for default port number... 5432 [22:09:59.484] checking for block size... 8kB [22:09:59.485] checking for segment size... 1GB [22:09:59.487] checking for WAL block size... 8kB [22:09:59.489] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:09:59.519] checking whether the C compiler works... yes [22:09:59.657] checking for C compiler default output file name... a.exe [22:09:59.658] checking for suffix of executables... .exe [22:09:59.695] checking whether we are cross compiling... yes [22:09:59.760] checking for suffix of object files... o [22:09:59.767] checking whether we are using the GNU C compiler... yes [22:09:59.773] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:09:59.780] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:09:59.790] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:09:59.849] checking whether we are using the GNU C++ compiler... yes [22:09:59.855] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:09:59.916] checking for gawk... no [22:09:59.916] checking for mawk... mawk [22:09:59.919] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:09:59.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:09:59.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:09:59.973] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:10:00.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:10:00.140] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:10:00.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:10:00.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:10:00.159] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:10:00.166] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:10:00.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:10:00.178] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:10:00.184] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:10:00.191] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:10:00.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:10:00.203] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:10:00.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:10:00.243] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:10:00.248] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:10:00.254] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:10:00.259] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:10:00.265] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:10:00.271] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:10:00.290] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:10:00.296] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:10:00.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:10:00.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:10:00.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:10:00.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:10:00.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:10:00.409] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:10:00.414] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:10:00.420] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:10:00.427] checking whether the C compiler still works... yes [22:10:00.484] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:10:00.548] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:10:00.548] checking pkg-config is at least version 0.9.0... yes [22:10:00.564] checking whether to build with ICU support... no [22:10:00.564] checking whether to build with Tcl... no [22:10:00.564] checking whether to build Perl modules... no [22:10:00.564] checking whether to build Python modules... no [22:10:00.564] checking whether to build with GSSAPI support... no [22:10:00.565] checking whether to build with PAM support... no [22:10:00.565] checking whether to build with BSD Authentication support... no [22:10:00.565] checking whether to build with LDAP support... no [22:10:00.565] checking whether to build with Bonjour support... no [22:10:00.565] checking whether to build with SELinux support... no [22:10:00.565] checking whether to build with systemd support... no [22:10:00.566] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:10:00.566] checking whether to build with liburing support... no [22:10:00.566] checking whether to build with libcurl support... no [22:10:00.566] checking whether to build with libnuma support... no [22:10:00.566] checking whether to build with XML support... no [22:10:00.567] checking whether to build with LZ4 support... no [22:10:00.567] checking whether to build with ZSTD support... no [22:10:00.567] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:10:00.567] checking whether it is possible to strip libraries... yes [22:10:00.573] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:10:00.573] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:10:00.574] checking for a BSD-compatible install... /usr/bin/install -c [22:10:00.582] checking for tar... /usr/bin/tar [22:10:00.582] checking whether ln -s works... yes [22:10:00.582] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:10:00.584] checking for bison... /usr/bin/bison [22:10:00.586] configure: using bison (GNU Bison) 3.8.2 [22:10:00.589] checking for flex... /usr/bin/flex [22:10:00.591] configure: using flex 2.6.4 [22:10:00.591] checking for perl... /usr/bin/perl [22:10:00.593] configure: using perl 5.36.0 [22:10:00.596] checking for zic... /usr/sbin/zic [22:10:00.596] checking for a sed that does not truncate output... /usr/bin/sed [22:10:00.600] checking for grep that handles long lines and -e... /usr/bin/grep [22:10:00.602] checking for egrep... /usr/bin/grep -E [22:10:00.604] checking for ANSI C header files... yes [22:10:00.648] checking for sys/types.h... yes [22:10:00.663] checking for sys/stat.h... yes [22:10:00.676] checking for stdlib.h... yes [22:10:00.688] checking for string.h... yes [22:10:00.700] checking for memory.h... yes [22:10:00.713] checking for strings.h... yes [22:10:00.725] checking for inttypes.h... yes [22:10:00.739] checking for stdint.h... yes [22:10:00.750] checking for unistd.h... yes [22:10:00.763] checking for main in -lm... yes [22:10:00.803] checking for library containing setproctitle... no [22:10:00.882] checking for library containing dlsym... no [22:10:00.958] checking for library containing socket... -lws2_32 [22:10:01.067] checking for library containing getopt_long... none required [22:10:01.106] checking for library containing shm_open... no [22:10:01.180] checking for library containing shm_unlink... no [22:10:01.254] checking for library containing clock_gettime... no [22:10:01.327] checking for library containing shmget... no [22:10:01.400] checking for library containing backtrace_symbols... no [22:10:01.473] checking for library containing pthread_barrier_wait... -lpthread [22:10:01.548] checking for inflate in -lz... yes [22:10:01.589] checking atomic.h usability... no [22:10:01.640] checking atomic.h presence... no [22:10:01.655] checking for atomic.h... no [22:10:01.657] checking copyfile.h usability... no [22:10:01.704] checking copyfile.h presence... no [22:10:01.719] checking for copyfile.h... no [22:10:01.722] checking execinfo.h usability... no [22:10:01.768] checking execinfo.h presence... no [22:10:01.784] checking for execinfo.h... no [22:10:01.786] checking getopt.h usability... yes [22:10:01.792] checking getopt.h presence... yes [22:10:01.804] checking for getopt.h... yes [22:10:01.810] checking ifaddrs.h usability... no [22:10:01.856] checking ifaddrs.h presence... no [22:10:01.871] checking for ifaddrs.h... no [22:10:01.874] checking mbarrier.h usability... no [22:10:01.920] checking mbarrier.h presence... no [22:10:01.936] checking for mbarrier.h... no [22:10:01.939] checking sys/epoll.h usability... no [22:10:01.986] checking sys/epoll.h presence... no [22:10:02.001] checking for sys/epoll.h... no [22:10:02.004] checking sys/event.h usability... no [22:10:02.050] checking sys/event.h presence... no [22:10:02.066] checking for sys/event.h... no [22:10:02.068] checking sys/personality.h usability... no [22:10:02.114] checking sys/personality.h presence... no [22:10:02.129] checking for sys/personality.h... no [22:10:02.132] checking sys/prctl.h usability... no [22:10:02.178] checking sys/prctl.h presence... no [22:10:02.194] checking for sys/prctl.h... no [22:10:02.196] checking sys/procctl.h usability... no [22:10:02.243] checking sys/procctl.h presence... no [22:10:02.258] checking for sys/procctl.h... no [22:10:02.261] checking sys/signalfd.h usability... no [22:10:02.307] checking sys/signalfd.h presence... no [22:10:02.322] checking for sys/signalfd.h... no [22:10:02.325] checking sys/ucred.h usability... no [22:10:02.373] checking sys/ucred.h presence... no [22:10:02.391] checking for sys/ucred.h... no [22:10:02.394] checking termios.h usability... no [22:10:02.444] checking termios.h presence... no [22:10:02.460] checking for termios.h... no [22:10:02.463] checking ucred.h usability... no [22:10:02.509] checking ucred.h presence... no [22:10:02.524] checking for ucred.h... no [22:10:02.526] checking xlocale.h usability... no [22:10:02.575] checking xlocale.h presence... no [22:10:02.591] checking for xlocale.h... no [22:10:02.594] checking zlib.h usability... yes [22:10:02.603] checking zlib.h presence... yes [22:10:02.619] checking for zlib.h... yes [22:10:02.619] checking for lz4... /usr/bin/lz4 [22:10:02.620] checking for zstd... /usr/bin/zstd [22:10:02.620] checking for openssl... /usr/bin/openssl [22:10:02.624] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:10:02.624] checking crtdefs.h usability... yes [22:10:02.631] checking crtdefs.h presence... yes [22:10:02.645] checking for crtdefs.h... yes [22:10:02.647] checking whether byte ordering is bigendian... no [22:10:02.714] checking for inline... inline [22:10:02.720] checking for printf format archetype... gnu_printf [22:10:02.727] checking for _Static_assert... yes [22:10:02.765] checking for typeof... typeof [22:10:02.771] checking for __builtin_types_compatible_p... yes [22:10:02.781] checking for __builtin_constant_p... yes [22:10:02.790] checking for __builtin_mul_overflow... yes [22:10:02.833] checking for __builtin_unreachable... yes [22:10:02.869] checking for computed goto support... yes [22:10:02.875] checking for struct tm.tm_zone... no [22:10:02.945] checking for union semun... no [22:10:02.976] checking for socklen_t... yes [22:10:04.127] checking for struct sockaddr.sa_len... no [22:10:06.120] checking for C/C++ restrict keyword... __restrict [22:10:06.132] checking for struct option... yes [22:10:06.173] checking whether assembler supports x86_64 popcntq... yes [22:10:06.180] checking size of off_t... 4 [22:10:06.371] 0 [22:10:06.371] checking for int timezone... yes [22:10:06.418] checking for backtrace_symbols... no [22:10:06.465] checking for copyfile... no [22:10:06.511] checking for copy_file_range... no [22:10:06.556] checking for elf_aux_info... no [22:10:06.602] checking for getauxval... no [22:10:06.648] checking for getifaddrs... no [22:10:06.693] checking for getpeerucred... no [22:10:06.737] checking for inet_pton... yes [22:10:06.783] checking for kqueue... no [22:10:06.828] checking for localeconv_l... no [22:10:06.872] checking for mbstowcs_l... no [22:10:06.921] checking for posix_fallocate... no [22:10:06.969] checking for ppoll... no [22:10:07.017] checking for pthread_is_threaded_np... no [22:10:07.064] checking for setproctitle... no [22:10:07.111] checking for setproctitle_fast... no [22:10:07.156] checking for strsignal... no [22:10:07.198] checking for syncfs... no [22:10:07.245] checking for sync_file_range... no [22:10:07.290] checking for uselocale... no [22:10:07.333] checking for wcstombs_l... no [22:10:07.372] checking for __builtin_bswap16... yes [22:10:07.413] checking for __builtin_bswap32... yes [22:10:07.454] checking for __builtin_bswap64... yes [22:10:07.494] checking for __builtin_clz... yes [22:10:07.537] checking for __builtin_ctz... yes [22:10:07.578] checking for __builtin_popcount... yes [22:10:07.621] checking for __builtin_frame_address... yes [22:10:07.664] checking for _LARGEFILE_SOURCE value needed for large files... no [22:10:07.710] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:10:07.736] checking for posix_fadvise... no [22:10:07.779] checking whether posix_fadvise is declared... no [22:10:07.821] checking whether fdatasync is declared... no [22:10:07.862] checking whether strlcat is declared... no [22:10:07.921] checking whether strlcpy is declared... no [22:10:07.978] checking whether strnlen is declared... yes [22:10:07.991] checking whether strsep is declared... no [22:10:08.048] checking whether timingsafe_bcmp is declared... no [22:10:08.110] checking whether preadv is declared... no [22:10:08.145] checking whether pwritev is declared... no [22:10:08.180] checking whether strchrnul is declared... no [22:10:08.217] checking whether memset_s is declared... no [22:10:08.258] checking whether F_FULLFSYNC is declared... no [22:10:08.297] checking for explicit_bzero... no [22:10:08.341] checking for getopt... yes [22:10:08.382] checking for getpeereid... no [22:10:08.426] checking for inet_aton... no [22:10:08.470] checking for mkdtemp... no [22:10:08.515] checking for strlcat... no [22:10:08.561] checking for strlcpy... no [22:10:08.603] checking for strnlen... yes [22:10:08.647] checking for strsep... no [22:10:08.690] checking for timingsafe_bcmp... no [22:10:08.731] checking for pthread_barrier_wait... yes [22:10:08.770] configure: On mingw32 we will use our strtof wrapper. [22:10:08.770] checking for getopt_long... yes [22:10:08.812] checking for syslog... no [22:10:08.855] checking for opterr... yes [22:10:08.899] checking for optreset... no [22:10:08.946] checking test program... cross-compiling [22:10:08.946] checking size of void *... 8 [22:10:09.198] checking size of size_t... 8 [22:10:09.448] checking size of long... 4 [22:10:09.633] checking size of long long... 8 [22:10:09.879] checking alignment of short... 2 [22:10:09.999] checking alignment of int... 4 [22:10:10.189] checking alignment of long... 4 [22:10:10.383] checking alignment of int64_t... 8 [22:10:10.635] checking alignment of double... 8 [22:10:10.892] checking for __int128... yes [22:10:10.943] checking for __int128 alignment bug... assuming ok [22:10:10.943] checking alignment of PG_INT128_TYPE... 16 [22:10:11.262] checking for builtin __sync char locking functions... yes [22:10:11.301] checking for builtin __sync int32 locking functions... yes [22:10:11.340] checking for builtin __sync int32 atomic operations... yes [22:10:11.378] checking for builtin __sync int64 atomic operations... yes [22:10:11.419] checking for builtin __atomic int32 atomic operations... yes [22:10:11.456] checking for builtin __atomic int64 atomic operations... yes [22:10:11.496] checking for __get_cpuid... yes [22:10:11.538] checking for __get_cpuid_count... yes [22:10:11.579] checking for __cpuid... no [22:10:11.946] checking for __cpuidex... no [22:10:12.346] checking for _xgetbv... yes [22:10:12.711] checking for _mm512_popcnt_epi64... yes [22:10:13.108] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:10:13.203] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:10:13.224] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:10:13.242] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:10:13.260] 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:10:13.310] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:10:13.310] checking for _mm512_clmulepi64_epi128... yes [22:10:13.674] checking for vectorized CRC-32C... AVX-512 with runtime check [22:10:13.675] checking which random number source to use... Windows native [22:10:13.677] checking for xmllint... /usr/bin/xmllint [22:10:13.677] checking for xsltproc... /usr/bin/xsltproc [22:10:13.677] checking for fop... /usr/bin/fop [22:10:13.677] checking for dbtoepub... no [22:10:13.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:10:13.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:10:13.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:10:13.688] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:10:13.688] 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:10:13.688] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:10:13.688] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:10:13.772] configure: creating ./config.status [22:10:13.853] config.status: creating GNUmakefile [22:10:13.864] config.status: creating src/Makefile.global [22:10:13.878] config.status: creating src/include/pg_config.h [22:10:13.890] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:10:13.904] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:10:13.911] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:10:13.918] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:10:13.925] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:10:13.932] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:10:13.935] config.status: executing check_win32_symlinks commands [22:10:13.966] [22:10:13.966] real 0m14.781s [22:10:13.966] user 0m10.000s [22:10:13.966] sys 0m4.456s [22:10:13.966] make -s -j${BUILD_JOBS} clean [22:10:14.434] time make -s -j${BUILD_JOBS} world-bin [22:10:22.354] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:10:22.354] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:10:22.354] 2828 | JsonbValue jbvbuf; [22:10:22.354] | ^~~~~~~~~~ [22:10:22.354] cc1: all warnings being treated as errors [22:10:22.355] make[4]: *** [: jsonpath_exec.o] Error 1 [22:10:22.355] make[4]: *** Waiting for unfinished jobs.... [22:10:23.076] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:10:23.076] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:10:23.077] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:10:23.077] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:10:23.077] [22:10:23.077] real 0m8.643s [22:10:23.077] user 0m20.145s [22:10:23.077] sys 0m7.906s [22:10:23.078] [22:10:23.078] Exit status: 2