[03:51:34.455] time ./configure \ [03:51:34.455] --host=x86_64-w64-mingw32 \ [03:51:34.455] --enable-cassert \ [03:51:34.455] --without-icu \ [03:51:34.455] CC="ccache x86_64-w64-mingw32-gcc" \ [03:51:34.455] CXX="ccache x86_64-w64-mingw32-g++" [03:51:34.562] checking build system type... x86_64-pc-linux-gnu [03:51:34.751] checking host system type... x86_64-w64-mingw32 [03:51:34.756] checking which template to use... win32 [03:51:34.757] checking whether NLS is wanted... no [03:51:34.757] checking for default port number... 5432 [03:51:34.763] checking for block size... 8kB [03:51:34.764] checking for segment size... 1GB [03:51:34.767] checking for WAL block size... 8kB [03:51:34.768] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:51:34.800] checking whether the C compiler works... yes [03:51:34.919] checking for C compiler default output file name... a.exe [03:51:34.920] checking for suffix of executables... .exe [03:51:34.959] checking whether we are cross compiling... yes [03:51:35.038] checking for suffix of object files... o [03:51:35.046] checking whether we are using the GNU C compiler... yes [03:51:35.053] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:51:35.060] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:51:35.069] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:51:35.125] checking whether we are using the GNU C++ compiler... yes [03:51:35.132] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:51:35.197] checking for gawk... no [03:51:35.198] checking for mawk... mawk [03:51:35.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:51:35.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:51:35.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:51:35.258] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:51:35.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:51:35.419] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:51:35.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:51:35.431] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:51:35.438] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:51:35.444] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:51:35.450] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:51:35.456] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:51:35.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:51:35.468] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:51:35.474] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:51:35.480] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:51:35.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:51:35.521] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:51:35.527] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:51:35.534] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:51:35.541] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:51:35.547] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:51:35.554] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:51:35.578] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:51:35.585] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:51:35.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:51:35.629] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:51:35.669] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:51:35.676] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:51:35.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:51:35.718] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:51:35.725] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:51:35.733] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:51:35.741] checking whether the C compiler still works... yes [03:51:35.804] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:51:35.872] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:51:35.872] checking pkg-config is at least version 0.9.0... yes [03:51:35.888] checking whether to build with ICU support... no [03:51:35.888] checking whether to build with Tcl... no [03:51:35.888] checking whether to build Perl modules... no [03:51:35.888] checking whether to build Python modules... no [03:51:35.888] checking whether to build with GSSAPI support... no [03:51:35.890] checking whether to build with PAM support... no [03:51:35.890] checking whether to build with BSD Authentication support... no [03:51:35.890] checking whether to build with LDAP support... no [03:51:35.890] checking whether to build with Bonjour support... no [03:51:35.890] checking whether to build with SELinux support... no [03:51:35.890] checking whether to build with systemd support... no [03:51:35.890] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:51:35.890] checking whether to build with liburing support... no [03:51:35.891] checking whether to build with libcurl support... no [03:51:35.891] checking whether to build with libnuma support... no [03:51:35.891] checking whether to build with XML support... no [03:51:35.891] checking whether to build with LZ4 support... no [03:51:35.891] checking whether to build with ZSTD support... no [03:51:35.892] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:51:35.892] checking whether it is possible to strip libraries... yes [03:51:35.899] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:51:35.899] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:51:35.899] checking for a BSD-compatible install... /usr/bin/install -c [03:51:35.908] checking for tar... /usr/bin/tar [03:51:35.908] checking whether ln -s works... yes [03:51:35.908] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:51:35.911] checking for bison... /usr/bin/bison [03:51:35.913] configure: using bison (GNU Bison) 3.8.2 [03:51:35.916] checking for flex... /usr/bin/flex [03:51:35.917] configure: using flex 2.6.4 [03:51:35.918] checking for perl... /usr/bin/perl [03:51:35.920] configure: using perl 5.36.0 [03:51:35.922] checking for zic... /usr/sbin/zic [03:51:35.923] checking for a sed that does not truncate output... /usr/bin/sed [03:51:35.928] checking for grep that handles long lines and -e... /usr/bin/grep [03:51:35.930] checking for egrep... /usr/bin/grep -E [03:51:35.931] checking for ANSI C header files... yes [03:51:35.975] checking for sys/types.h... yes [03:51:35.990] checking for sys/stat.h... yes [03:51:36.006] checking for stdlib.h... yes [03:51:36.021] checking for string.h... yes [03:51:36.036] checking for memory.h... yes [03:51:36.055] checking for strings.h... yes [03:51:36.071] checking for inttypes.h... yes [03:51:36.088] checking for stdint.h... yes [03:51:36.103] checking for unistd.h... yes [03:51:36.120] checking for main in -lm... yes [03:51:36.168] checking for library containing setproctitle... no [03:51:36.261] checking for library containing dlsym... no [03:51:36.351] checking for library containing socket... -lws2_32 [03:51:36.481] checking for library containing getopt_long... none required [03:51:36.528] checking for library containing shm_open... no [03:51:36.615] checking for library containing shm_unlink... no [03:51:36.702] checking for library containing clock_gettime... no [03:51:36.790] checking for library containing shmget... no [03:51:36.879] checking for library containing backtrace_symbols... no [03:51:36.968] checking for library containing pthread_barrier_wait... -lpthread [03:51:37.056] checking for inflate in -lz... yes [03:51:37.104] checking atomic.h usability... no [03:51:37.161] checking atomic.h presence... no [03:51:37.180] checking for atomic.h... no [03:51:37.183] checking copyfile.h usability... no [03:51:37.238] checking copyfile.h presence... no [03:51:37.257] checking for copyfile.h... no [03:51:37.260] checking execinfo.h usability... no [03:51:37.314] checking execinfo.h presence... no [03:51:37.333] checking for execinfo.h... no [03:51:37.336] checking getopt.h usability... yes [03:51:37.343] checking getopt.h presence... yes [03:51:37.358] checking for getopt.h... yes [03:51:37.365] checking ifaddrs.h usability... no [03:51:37.419] checking ifaddrs.h presence... no [03:51:37.439] checking for ifaddrs.h... no [03:51:37.442] checking mbarrier.h usability... no [03:51:37.495] checking mbarrier.h presence... no [03:51:37.513] checking for mbarrier.h... no [03:51:37.517] checking sys/epoll.h usability... no [03:51:37.570] checking sys/epoll.h presence... no [03:51:37.588] checking for sys/epoll.h... no [03:51:37.591] checking sys/event.h usability... no [03:51:37.644] checking sys/event.h presence... no [03:51:37.662] checking for sys/event.h... no [03:51:37.666] checking sys/personality.h usability... no [03:51:37.721] checking sys/personality.h presence... no [03:51:37.740] checking for sys/personality.h... no [03:51:37.744] checking sys/prctl.h usability... no [03:51:37.800] checking sys/prctl.h presence... no [03:51:37.821] checking for sys/prctl.h... no [03:51:37.824] checking sys/procctl.h usability... no [03:51:37.877] checking sys/procctl.h presence... no [03:51:37.895] checking for sys/procctl.h... no [03:51:37.899] checking sys/signalfd.h usability... no [03:51:37.954] checking sys/signalfd.h presence... no [03:51:37.974] checking for sys/signalfd.h... no [03:51:37.978] checking sys/ucred.h usability... no [03:51:38.033] checking sys/ucred.h presence... no [03:51:38.052] checking for sys/ucred.h... no [03:51:38.056] checking termios.h usability... no [03:51:38.111] checking termios.h presence... no [03:51:38.131] checking for termios.h... no [03:51:38.135] checking ucred.h usability... no [03:51:38.190] checking ucred.h presence... no [03:51:38.210] checking for ucred.h... no [03:51:38.213] checking xlocale.h usability... no [03:51:38.268] checking xlocale.h presence... no [03:51:38.286] checking for xlocale.h... no [03:51:38.289] checking zlib.h usability... yes [03:51:38.298] checking zlib.h presence... yes [03:51:38.317] checking for zlib.h... yes [03:51:38.317] checking for lz4... /usr/bin/lz4 [03:51:38.317] checking for zstd... /usr/bin/zstd [03:51:38.318] checking for openssl... /usr/bin/openssl [03:51:38.322] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [03:51:38.323] checking crtdefs.h usability... yes [03:51:38.331] checking crtdefs.h presence... yes [03:51:38.346] checking for crtdefs.h... yes [03:51:38.348] checking whether byte ordering is bigendian... no [03:51:38.425] checking for inline... inline [03:51:38.431] checking for printf format archetype... gnu_printf [03:51:38.439] checking for _Static_assert... yes [03:51:38.479] checking for typeof... typeof [03:51:38.487] checking for __builtin_types_compatible_p... yes [03:51:38.498] checking for __builtin_constant_p... yes [03:51:38.510] checking for __builtin_mul_overflow... yes [03:51:38.558] checking for __builtin_unreachable... yes [03:51:38.599] checking for computed goto support... yes [03:51:38.606] checking for struct tm.tm_zone... no [03:51:38.680] checking for union semun... no [03:51:38.715] checking for socklen_t... yes [03:51:39.855] checking for struct sockaddr.sa_len... no [03:51:41.876] checking for C/C++ restrict keyword... __restrict [03:51:41.890] checking for struct option... yes [03:51:41.933] checking whether assembler supports x86_64 popcntq... yes [03:51:41.941] checking size of off_t... 4 [03:51:42.151] 0 [03:51:42.151] checking for int timezone... yes [03:51:42.204] checking for backtrace_symbols... no [03:51:42.254] checking for copyfile... no [03:51:42.304] checking for copy_file_range... no [03:51:42.356] checking for elf_aux_info... no [03:51:42.407] checking for getauxval... no [03:51:42.458] checking for getifaddrs... no [03:51:42.508] checking for getpeerucred... no [03:51:42.560] checking for inet_pton... yes [03:51:42.612] checking for kqueue... no [03:51:42.663] checking for localeconv_l... no [03:51:42.714] checking for mbstowcs_l... no [03:51:42.764] checking for posix_fallocate... no [03:51:42.814] checking for ppoll... no [03:51:42.864] checking for pthread_is_threaded_np... no [03:51:42.917] checking for setproctitle... no [03:51:42.969] checking for setproctitle_fast... no [03:51:43.020] checking for strsignal... no [03:51:43.070] checking for syncfs... no [03:51:43.123] checking for sync_file_range... no [03:51:43.175] checking for uselocale... no [03:51:43.224] checking for wcstombs_l... no [03:51:43.272] checking for __builtin_bswap16... yes [03:51:43.323] checking for __builtin_bswap32... yes [03:51:43.371] checking for __builtin_bswap64... yes [03:51:43.417] checking for __builtin_clz... yes [03:51:43.466] checking for __builtin_ctz... yes [03:51:43.514] checking for __builtin_popcount... yes [03:51:43.562] checking for __builtin_frame_address... yes [03:51:43.610] checking for _LARGEFILE_SOURCE value needed for large files... no [03:51:43.662] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:51:43.694] checking for posix_fadvise... no [03:51:43.743] checking whether posix_fadvise is declared... no [03:51:43.786] checking whether fdatasync is declared... no [03:51:43.829] checking whether strlcat is declared... no [03:51:43.891] checking whether strlcpy is declared... no [03:51:43.952] checking whether strnlen is declared... yes [03:51:43.965] checking whether strsep is declared... no [03:51:44.027] checking whether timingsafe_bcmp is declared... no [03:51:44.089] checking whether preadv is declared... no [03:51:44.124] checking whether pwritev is declared... no [03:51:44.162] checking whether strchrnul is declared... no [03:51:44.203] checking whether memset_s is declared... no [03:51:44.245] checking whether F_FULLFSYNC is declared... no [03:51:44.282] checking for explicit_bzero... no [03:51:44.329] checking for getopt... yes [03:51:44.373] checking for getpeereid... no [03:51:44.422] checking for inet_aton... no [03:51:44.469] checking for mkdtemp... no [03:51:44.517] checking for strlcat... no [03:51:44.565] checking for strlcpy... no [03:51:44.613] checking for strnlen... yes [03:51:44.660] checking for strsep... no [03:51:44.706] checking for timingsafe_bcmp... no [03:51:44.752] checking for pthread_barrier_wait... yes [03:51:44.793] configure: On mingw32 we will use our strtof wrapper. [03:51:44.793] checking for getopt_long... yes [03:51:44.835] checking for syslog... no [03:51:44.882] checking for opterr... yes [03:51:44.930] checking for optreset... no [03:51:44.979] checking test program... cross-compiling [03:51:44.980] checking size of void *... 8 [03:51:45.245] checking size of size_t... 8 [03:51:45.508] checking size of long... 4 [03:51:45.716] checking size of long long... 8 [03:51:45.990] checking alignment of short... 2 [03:51:46.133] checking alignment of int... 4 [03:51:46.332] checking alignment of long... 4 [03:51:46.529] checking alignment of int64_t... 8 [03:51:46.799] checking alignment of double... 8 [03:51:47.066] checking for __int128... yes [03:51:47.114] checking for __int128 alignment bug... assuming ok [03:51:47.114] checking alignment of PG_INT128_TYPE... 16 [03:51:47.450] checking for builtin __sync char locking functions... yes [03:51:47.492] checking for builtin __sync int32 locking functions... yes [03:51:47.535] checking for builtin __sync int32 atomic operations... yes [03:51:47.578] checking for builtin __sync int64 atomic operations... yes [03:51:47.623] checking for builtin __atomic int32 atomic operations... yes [03:51:47.666] checking for builtin __atomic int64 atomic operations... yes [03:51:47.710] checking for __get_cpuid... yes [03:51:47.757] checking for __get_cpuid_count... yes [03:51:47.801] checking for __cpuid... no [03:51:48.220] checking for __cpuidex... no [03:51:48.644] checking for _xgetbv... yes [03:51:49.041] checking for _mm512_popcnt_epi64... yes [03:51:49.466] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [03:51:49.566] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:51:49.589] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [03:51:49.607] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:51:49.625] 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 [03:51:49.679] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:51:49.679] checking for _mm512_clmulepi64_epi128... yes [03:51:50.078] checking for vectorized CRC-32C... AVX-512 with runtime check [03:51:50.078] checking which random number source to use... Windows native [03:51:50.080] checking for xmllint... /usr/bin/xmllint [03:51:50.081] checking for xsltproc... /usr/bin/xsltproc [03:51:50.081] checking for fop... /usr/bin/fop [03:51:50.081] checking for dbtoepub... no [03:51:50.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:51:50.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:51:50.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:51:50.093] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:51:50.093] 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 [03:51:50.093] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:51:50.093] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:51:50.184] configure: creating ./config.status [03:51:50.274] config.status: creating GNUmakefile [03:51:50.287] config.status: creating src/Makefile.global [03:51:50.303] config.status: creating src/include/pg_config.h [03:51:50.317] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:51:50.333] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:51:50.341] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:51:50.349] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:51:50.357] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:51:50.364] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:51:50.368] config.status: executing check_win32_symlinks commands [03:51:50.401] [03:51:50.401] real 0m15.946s [03:51:50.401] user 0m10.571s [03:51:50.401] sys 0m5.110s [03:51:50.401] make -s -j${BUILD_JOBS} clean [03:51:50.913] time make -s -j${BUILD_JOBS} world-bin [03:51:57.681] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [03:51:57.681] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [03:51:57.681] 2830 | JsonbValue jbvbuf; [03:51:57.681] | ^~~~~~~~~~ [03:51:57.681] cc1: all warnings being treated as errors [03:51:57.682] make[4]: *** [: jsonpath_exec.o] Error 1 [03:51:57.682] make[4]: *** Waiting for unfinished jobs.... [03:51:57.981] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [03:51:57.981] make[3]: *** Waiting for unfinished jobs.... [03:51:58.020] make[2]: *** [common.mk:37: utils-recursive] Error 2 [03:51:58.020] make[2]: *** Waiting for unfinished jobs.... [03:51:58.322] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:51:58.322] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:51:58.322] [03:51:58.322] real 0m7.409s [03:51:58.322] user 0m16.269s [03:51:58.322] sys 0m7.281s [03:51:58.323] [03:51:58.323] Exit status: 2