[22:04:53.657] time ./configure \ [22:04:53.657] --host=x86_64-w64-mingw32 \ [22:04:53.657] --enable-cassert \ [22:04:53.657] --without-icu \ [22:04:53.657] CC="ccache x86_64-w64-mingw32-gcc" \ [22:04:53.657] CXX="ccache x86_64-w64-mingw32-g++" [22:04:53.782] checking build system type... x86_64-pc-linux-gnu [22:04:53.981] checking host system type... x86_64-w64-mingw32 [22:04:53.987] checking which template to use... win32 [22:04:53.987] checking whether NLS is wanted... no [22:04:53.987] checking for default port number... 5432 [22:04:53.995] checking for block size... 8kB [22:04:53.996] checking for segment size... 1GB [22:04:53.999] checking for WAL block size... 8kB [22:04:54.000] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:04:54.036] checking whether the C compiler works... yes [22:04:54.175] checking for C compiler default output file name... a.exe [22:04:54.177] checking for suffix of executables... .exe [22:04:54.218] checking whether we are cross compiling... yes [22:04:54.292] checking for suffix of object files... o [22:04:54.301] checking whether we are using the GNU C compiler... yes [22:04:54.308] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:04:54.315] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:04:54.325] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:04:54.391] checking whether we are using the GNU C++ compiler... yes [22:04:54.398] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:04:54.469] checking for gawk... no [22:04:54.469] checking for mawk... mawk [22:04:54.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:04:54.479] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:04:54.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:04:54.533] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:04:54.708] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:04:54.716] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:04:54.723] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:04:54.730] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:04:54.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:04:54.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:04:54.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:04:54.758] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:04:54.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:04:54.773] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:04:54.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:04:54.788] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:04:54.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:04:54.833] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:04:54.840] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:04:54.847] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:04:54.854] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:04:54.861] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:04:54.868] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:04:54.892] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:04:54.899] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:04:54.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:04:54.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:04:54.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:04:54.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:04:55.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:04:55.036] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:04:55.043] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:04:55.050] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:04:55.058] checking whether the C compiler still works... yes [22:04:55.123] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:04:55.197] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:04:55.198] checking pkg-config is at least version 0.9.0... yes [22:04:55.214] checking whether to build with ICU support... no [22:04:55.214] checking whether to build with Tcl... no [22:04:55.214] checking whether to build Perl modules... no [22:04:55.214] checking whether to build Python modules... no [22:04:55.214] checking whether to build with GSSAPI support... no [22:04:55.216] checking whether to build with PAM support... no [22:04:55.216] checking whether to build with BSD Authentication support... no [22:04:55.216] checking whether to build with LDAP support... no [22:04:55.216] checking whether to build with Bonjour support... no [22:04:55.216] checking whether to build with SELinux support... no [22:04:55.216] checking whether to build with systemd support... no [22:04:55.216] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:04:55.216] checking whether to build with liburing support... no [22:04:55.217] checking whether to build with libcurl support... no [22:04:55.217] checking whether to build with libnuma support... no [22:04:55.217] checking whether to build with XML support... no [22:04:55.217] checking whether to build with LZ4 support... no [22:04:55.217] checking whether to build with ZSTD support... no [22:04:55.218] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:04:55.218] checking whether it is possible to strip libraries... yes [22:04:55.226] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:04:55.226] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:04:55.226] checking for a BSD-compatible install... /usr/bin/install -c [22:04:55.235] checking for tar... /usr/bin/tar [22:04:55.236] checking whether ln -s works... yes [22:04:55.236] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:04:55.238] checking for bison... /usr/bin/bison [22:04:55.241] configure: using bison (GNU Bison) 3.8.2 [22:04:55.244] checking for flex... /usr/bin/flex [22:04:55.246] configure: using flex 2.6.4 [22:04:55.246] checking for perl... /usr/bin/perl [22:04:55.249] configure: using perl 5.36.0 [22:04:55.251] checking for zic... /usr/sbin/zic [22:04:55.251] checking for a sed that does not truncate output... /usr/bin/sed [22:04:55.257] checking for grep that handles long lines and -e... /usr/bin/grep [22:04:55.259] checking for egrep... /usr/bin/grep -E [22:04:55.260] checking for ANSI C header files... yes [22:04:55.311] checking for sys/types.h... yes [22:04:55.329] checking for sys/stat.h... yes [22:04:55.345] checking for stdlib.h... yes [22:04:55.361] checking for string.h... yes [22:04:55.375] checking for memory.h... yes [22:04:55.391] checking for strings.h... yes [22:04:55.406] checking for inttypes.h... yes [22:04:55.421] checking for stdint.h... yes [22:04:55.435] checking for unistd.h... yes [22:04:55.450] checking for main in -lm... yes [22:04:55.496] checking for library containing setproctitle... no [22:04:55.592] checking for library containing dlsym... no [22:04:55.685] checking for library containing socket... -lws2_32 [22:04:55.819] checking for library containing getopt_long... none required [22:04:55.867] checking for library containing shm_open... no [22:04:55.959] checking for library containing shm_unlink... no [22:04:56.051] checking for library containing clock_gettime... no [22:04:56.142] checking for library containing shmget... no [22:04:56.235] checking for library containing backtrace_symbols... no [22:04:56.328] checking for library containing pthread_barrier_wait... -lpthread [22:04:56.422] checking for inflate in -lz... yes [22:04:56.474] checking atomic.h usability... no [22:04:56.534] checking atomic.h presence... no [22:04:56.554] checking for atomic.h... no [22:04:56.557] checking copyfile.h usability... no [22:04:56.615] checking copyfile.h presence... no [22:04:56.634] checking for copyfile.h... no [22:04:56.638] checking execinfo.h usability... no [22:04:56.694] checking execinfo.h presence... no [22:04:56.712] checking for execinfo.h... no [22:04:56.715] checking getopt.h usability... yes [22:04:56.722] checking getopt.h presence... yes [22:04:56.736] checking for getopt.h... yes [22:04:56.743] checking ifaddrs.h usability... no [22:04:56.796] checking ifaddrs.h presence... no [22:04:56.815] checking for ifaddrs.h... no [22:04:56.818] checking mbarrier.h usability... no [22:04:56.873] checking mbarrier.h presence... no [22:04:56.892] checking for mbarrier.h... no [22:04:56.895] checking sys/epoll.h usability... no [22:04:56.951] checking sys/epoll.h presence... no [22:04:56.971] checking for sys/epoll.h... no [22:04:56.974] checking sys/event.h usability... no [22:04:57.032] checking sys/event.h presence... no [22:04:57.053] checking for sys/event.h... no [22:04:57.057] checking sys/personality.h usability... no [22:04:57.117] checking sys/personality.h presence... no [22:04:57.138] checking for sys/personality.h... no [22:04:57.141] checking sys/prctl.h usability... no [22:04:57.200] checking sys/prctl.h presence... no [22:04:57.219] checking for sys/prctl.h... no [22:04:57.222] checking sys/procctl.h usability... no [22:04:57.277] checking sys/procctl.h presence... no [22:04:57.297] checking for sys/procctl.h... no [22:04:57.301] checking sys/signalfd.h usability... no [22:04:57.355] checking sys/signalfd.h presence... no [22:04:57.375] checking for sys/signalfd.h... no [22:04:57.380] checking sys/ucred.h usability... no [22:04:57.436] checking sys/ucred.h presence... no [22:04:57.455] checking for sys/ucred.h... no [22:04:57.458] checking termios.h usability... no [22:04:57.514] checking termios.h presence... no [22:04:57.533] checking for termios.h... no [22:04:57.537] checking ucred.h usability... no [22:04:57.592] checking ucred.h presence... no [22:04:57.612] checking for ucred.h... no [22:04:57.615] checking xlocale.h usability... no [22:04:57.672] checking xlocale.h presence... no [22:04:57.691] checking for xlocale.h... no [22:04:57.695] checking zlib.h usability... yes [22:04:57.704] checking zlib.h presence... yes [22:04:57.723] checking for zlib.h... yes [22:04:57.723] checking for lz4... /usr/bin/lz4 [22:04:57.724] checking for zstd... /usr/bin/zstd [22:04:57.724] checking for openssl... /usr/bin/openssl [22:04:57.728] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:04:57.729] checking crtdefs.h usability... yes [22:04:57.737] checking crtdefs.h presence... yes [22:04:57.752] checking for crtdefs.h... yes [22:04:57.753] checking whether byte ordering is bigendian... no [22:04:57.827] checking for inline... inline [22:04:57.835] checking for printf format archetype... gnu_printf [22:04:57.843] checking for _Static_assert... yes [22:04:57.887] checking for typeof... typeof [22:04:57.895] checking for __builtin_types_compatible_p... yes [22:04:57.906] checking for __builtin_constant_p... yes [22:04:57.917] checking for __builtin_mul_overflow... yes [22:04:57.965] checking for __builtin_unreachable... yes [22:04:58.008] checking for computed goto support... yes [22:04:58.015] checking for struct tm.tm_zone... no [22:04:58.096] checking for union semun... no [22:04:58.131] checking for socklen_t... yes [22:04:59.335] checking for struct sockaddr.sa_len... no [22:05:01.382] checking for C/C++ restrict keyword... __restrict [22:05:01.397] checking for struct option... yes [22:05:01.440] checking whether assembler supports x86_64 popcntq... yes [22:05:01.448] checking size of off_t... 4 [22:05:01.649] 0 [22:05:01.649] checking for int timezone... yes [22:05:01.700] checking for backtrace_symbols... no [22:05:01.751] checking for copyfile... no [22:05:01.802] checking for copy_file_range... no [22:05:01.853] checking for elf_aux_info... no [22:05:01.903] checking for getauxval... no [22:05:01.954] checking for getifaddrs... no [22:05:02.005] checking for getpeerucred... no [22:05:02.055] checking for inet_pton... yes [22:05:02.107] checking for kqueue... no [22:05:02.157] checking for localeconv_l... no [22:05:02.208] checking for mbstowcs_l... no [22:05:02.260] checking for posix_fallocate... no [22:05:02.312] checking for ppoll... no [22:05:02.364] checking for pthread_is_threaded_np... no [22:05:02.417] checking for setproctitle... no [22:05:02.469] checking for setproctitle_fast... no [22:05:02.520] checking for strsignal... no [22:05:02.573] checking for syncfs... no [22:05:02.626] checking for sync_file_range... no [22:05:02.677] checking for uselocale... no [22:05:02.728] checking for wcstombs_l... no [22:05:02.775] checking for __builtin_bswap16... yes [22:05:02.822] checking for __builtin_bswap32... yes [22:05:02.869] checking for __builtin_bswap64... yes [22:05:02.917] checking for __builtin_clz... yes [22:05:02.966] checking for __builtin_ctz... yes [22:05:03.013] checking for __builtin_popcount... yes [22:05:03.060] checking for __builtin_frame_address... yes [22:05:03.106] checking for _LARGEFILE_SOURCE value needed for large files... no [22:05:03.158] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:05:03.188] checking for posix_fadvise... no [22:05:03.239] checking whether posix_fadvise is declared... no [22:05:03.282] checking whether fdatasync is declared... no [22:05:03.326] checking whether strlcat is declared... no [22:05:03.388] checking whether strlcpy is declared... no [22:05:03.450] checking whether strnlen is declared... yes [22:05:03.463] checking whether strsep is declared... no [22:05:03.527] checking whether timingsafe_bcmp is declared... no [22:05:03.592] checking whether preadv is declared... no [22:05:03.629] checking whether pwritev is declared... no [22:05:03.668] checking whether strchrnul is declared... no [22:05:03.712] checking whether memset_s is declared... no [22:05:03.756] checking whether F_FULLFSYNC is declared... no [22:05:03.798] checking for explicit_bzero... no [22:05:03.848] checking for getopt... yes [22:05:03.893] checking for getpeereid... no [22:05:03.942] checking for inet_aton... no [22:05:03.992] checking for mkdtemp... no [22:05:04.041] checking for strlcat... no [22:05:04.088] checking for strlcpy... no [22:05:04.136] checking for strnlen... yes [22:05:04.184] checking for strsep... no [22:05:04.233] checking for timingsafe_bcmp... no [22:05:04.281] checking for pthread_barrier_wait... yes [22:05:04.325] configure: On mingw32 we will use our strtof wrapper. [22:05:04.325] checking for getopt_long... yes [22:05:04.368] checking for syslog... no [22:05:04.414] checking for opterr... yes [22:05:04.464] checking for optreset... no [22:05:04.516] checking test program... cross-compiling [22:05:04.516] checking size of void *... 8 [22:05:04.787] checking size of size_t... 8 [22:05:05.066] checking size of long... 4 [22:05:05.271] checking size of long long... 8 [22:05:05.554] checking alignment of short... 2 [22:05:05.700] checking alignment of int... 4 [22:05:05.910] checking alignment of long... 4 [22:05:06.124] checking alignment of int64_t... 8 [22:05:06.408] checking alignment of double... 8 [22:05:06.687] checking for __int128... yes [22:05:06.739] checking for __int128 alignment bug... assuming ok [22:05:06.739] checking alignment of PG_INT128_TYPE... 16 [22:05:07.075] checking for builtin __sync char locking functions... yes [22:05:07.116] checking for builtin __sync int32 locking functions... yes [22:05:07.157] checking for builtin __sync int32 atomic operations... yes [22:05:07.199] checking for builtin __sync int64 atomic operations... yes [22:05:07.243] checking for builtin __atomic int32 atomic operations... yes [22:05:07.285] checking for builtin __atomic int64 atomic operations... yes [22:05:07.327] checking for __get_cpuid... yes [22:05:07.373] checking for __get_cpuid_count... yes [22:05:07.418] checking for __cpuid... no [22:05:07.824] checking for __cpuidex... no [22:05:08.257] checking for _xgetbv... yes [22:05:08.657] checking for _mm512_popcnt_epi64... yes [22:05:09.072] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:05:09.173] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:05:09.195] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:05:09.215] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:05:09.235] 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:05:09.289] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:05:09.290] checking for _mm512_clmulepi64_epi128... yes [22:05:09.688] checking for vectorized CRC-32C... AVX-512 with runtime check [22:05:09.688] checking which random number source to use... Windows native [22:05:09.690] checking for xmllint... /usr/bin/xmllint [22:05:09.691] checking for xsltproc... /usr/bin/xsltproc [22:05:09.691] checking for fop... /usr/bin/fop [22:05:09.691] checking for dbtoepub... no [22:05:09.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:05:09.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:05:09.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:05:09.702] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:05:09.702] 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:05:09.702] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:05:09.702] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:05:09.785] configure: creating ./config.status [22:05:09.863] config.status: creating GNUmakefile [22:05:09.875] config.status: creating src/Makefile.global [22:05:09.889] config.status: creating src/include/pg_config.h [22:05:09.901] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:05:09.915] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:05:09.923] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:05:09.930] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:05:09.936] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:05:09.943] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:05:09.946] config.status: executing check_win32_symlinks commands [22:05:09.979] [22:05:09.979] real 0m16.322s [22:05:09.979] user 0m10.748s [22:05:09.979] sys 0m5.234s [22:05:09.979] make -s -j${BUILD_JOBS} clean [22:05:10.479] time make -s -j${BUILD_JOBS} world-bin [22:05:18.133] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:05:18.133] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:05:18.133] 2830 | JsonbValue jbvbuf; [22:05:18.133] | ^~~~~~~~~~ [22:05:18.133] cc1: all warnings being treated as errors [22:05:18.133] make[4]: *** [: jsonpath_exec.o] Error 1 [22:05:18.133] make[4]: *** Waiting for unfinished jobs.... [22:05:18.751] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:05:18.752] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:05:18.752] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:05:18.752] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:05:18.752] [22:05:18.752] real 0m8.273s [22:05:18.752] user 0m17.608s [22:05:18.752] sys 0m7.743s [22:05:18.753] [22:05:18.753] Exit status: 2