[20:57:50.156] time ./configure \ [20:57:50.156] --host=x86_64-w64-mingw32 \ [20:57:50.156] --enable-cassert \ [20:57:50.156] --without-icu \ [20:57:50.156] CC="ccache x86_64-w64-mingw32-gcc" \ [20:57:50.156] CXX="ccache x86_64-w64-mingw32-g++" [20:57:50.269] checking build system type... x86_64-pc-linux-gnu [20:57:50.447] checking host system type... x86_64-w64-mingw32 [20:57:50.452] checking which template to use... win32 [20:57:50.452] checking whether NLS is wanted... no [20:57:50.452] checking for default port number... 5432 [20:57:50.458] checking for block size... 8kB [20:57:50.460] checking for segment size... 1GB [20:57:50.462] checking for WAL block size... 8kB [20:57:50.463] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:57:50.495] checking whether the C compiler works... yes [20:57:50.611] checking for C compiler default output file name... a.exe [20:57:50.612] checking for suffix of executables... .exe [20:57:50.650] checking whether we are cross compiling... yes [20:57:50.716] checking for suffix of object files... o [20:57:50.724] checking whether we are using the GNU C compiler... yes [20:57:50.730] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:57:50.737] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:57:50.746] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:57:50.803] checking whether we are using the GNU C++ compiler... yes [20:57:50.809] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:57:50.878] checking for gawk... no [20:57:50.878] checking for mawk... mawk [20:57:50.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:57:50.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:57:50.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:57:50.936] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:57:51.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:57:51.090] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:57:51.097] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:57:51.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:57:51.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:57:51.116] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:57:51.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:57:51.130] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:57:51.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:57:51.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:57:51.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:57:51.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:57:51.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:57:51.198] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:57:51.205] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:57:51.211] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:57:51.217] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:57:51.224] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:57:51.231] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:57:51.253] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:57:51.259] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:57:51.266] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:57:51.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:57:51.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:57:51.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:57:51.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:57:51.385] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:57:51.392] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:57:51.398] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:57:51.406] checking whether the C compiler still works... yes [20:57:51.469] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:57:51.535] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:57:51.535] checking pkg-config is at least version 0.9.0... yes [20:57:51.551] checking whether to build with ICU support... no [20:57:51.551] checking whether to build with Tcl... no [20:57:51.551] checking whether to build Perl modules... no [20:57:51.551] checking whether to build Python modules... no [20:57:51.551] checking whether to build with GSSAPI support... no [20:57:51.552] checking whether to build with PAM support... no [20:57:51.552] checking whether to build with BSD Authentication support... no [20:57:51.552] checking whether to build with LDAP support... no [20:57:51.553] checking whether to build with Bonjour support... no [20:57:51.553] checking whether to build with SELinux support... no [20:57:51.553] checking whether to build with systemd support... no [20:57:51.553] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:57:51.553] checking whether to build with liburing support... no [20:57:51.553] checking whether to build with libcurl support... no [20:57:51.553] checking whether to build with libnuma support... no [20:57:51.553] checking whether to build with XML support... no [20:57:51.554] checking whether to build with LZ4 support... no [20:57:51.554] checking whether to build with ZSTD support... no [20:57:51.554] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:57:51.554] checking whether it is possible to strip libraries... yes [20:57:51.561] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:57:51.562] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:57:51.562] checking for a BSD-compatible install... /usr/bin/install -c [20:57:51.570] checking for tar... /usr/bin/tar [20:57:51.570] checking whether ln -s works... yes [20:57:51.570] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:57:51.572] checking for bison... /usr/bin/bison [20:57:51.575] configure: using bison (GNU Bison) 3.8.2 [20:57:51.578] checking for flex... /usr/bin/flex [20:57:51.580] configure: using flex 2.6.4 [20:57:51.580] checking for perl... /usr/bin/perl [20:57:51.582] configure: using perl 5.36.0 [20:57:51.584] checking for zic... /usr/sbin/zic [20:57:51.585] checking for a sed that does not truncate output... /usr/bin/sed [20:57:51.590] checking for grep that handles long lines and -e... /usr/bin/grep [20:57:51.592] checking for egrep... /usr/bin/grep -E [20:57:51.593] checking for ANSI C header files... yes [20:57:51.637] checking for sys/types.h... yes [20:57:51.654] checking for sys/stat.h... yes [20:57:51.670] checking for stdlib.h... yes [20:57:51.684] checking for string.h... yes [20:57:51.697] checking for memory.h... yes [20:57:51.711] checking for strings.h... yes [20:57:51.725] checking for inttypes.h... yes [20:57:51.740] checking for stdint.h... yes [20:57:51.754] checking for unistd.h... yes [20:57:51.769] checking for main in -lm... yes [20:57:51.814] checking for library containing setproctitle... no [20:57:51.897] checking for library containing dlsym... no [20:57:51.980] checking for library containing socket... -lws2_32 [20:57:52.100] checking for library containing getopt_long... none required [20:57:52.145] checking for library containing shm_open... no [20:57:52.228] checking for library containing shm_unlink... no [20:57:52.310] checking for library containing clock_gettime... no [20:57:52.392] checking for library containing shmget... no [20:57:52.476] checking for library containing backtrace_symbols... no [20:57:52.559] checking for library containing pthread_barrier_wait... -lpthread [20:57:52.645] checking for inflate in -lz... yes [20:57:52.690] checking atomic.h usability... no [20:57:52.746] checking atomic.h presence... no [20:57:52.765] checking for atomic.h... no [20:57:52.769] checking copyfile.h usability... no [20:57:52.822] checking copyfile.h presence... no [20:57:52.840] checking for copyfile.h... no [20:57:52.844] checking execinfo.h usability... no [20:57:52.897] checking execinfo.h presence... no [20:57:52.916] checking for execinfo.h... no [20:57:52.919] checking getopt.h usability... yes [20:57:52.927] checking getopt.h presence... yes [20:57:52.941] checking for getopt.h... yes [20:57:52.949] checking ifaddrs.h usability... no [20:57:53.003] checking ifaddrs.h presence... no [20:57:53.021] checking for ifaddrs.h... no [20:57:53.024] checking mbarrier.h usability... no [20:57:53.078] checking mbarrier.h presence... no [20:57:53.096] checking for mbarrier.h... no [20:57:53.100] checking sys/epoll.h usability... no [20:57:53.153] checking sys/epoll.h presence... no [20:57:53.171] checking for sys/epoll.h... no [20:57:53.174] checking sys/event.h usability... no [20:57:53.228] checking sys/event.h presence... no [20:57:53.246] checking for sys/event.h... no [20:57:53.249] checking sys/personality.h usability... no [20:57:53.302] checking sys/personality.h presence... no [20:57:53.320] checking for sys/personality.h... no [20:57:53.323] checking sys/prctl.h usability... no [20:57:53.377] checking sys/prctl.h presence... no [20:57:53.395] checking for sys/prctl.h... no [20:57:53.398] checking sys/procctl.h usability... no [20:57:53.450] checking sys/procctl.h presence... no [20:57:53.468] checking for sys/procctl.h... no [20:57:53.472] checking sys/signalfd.h usability... no [20:57:53.523] checking sys/signalfd.h presence... no [20:57:53.541] checking for sys/signalfd.h... no [20:57:53.544] checking sys/ucred.h usability... no [20:57:53.596] checking sys/ucred.h presence... no [20:57:53.614] checking for sys/ucred.h... no [20:57:53.617] checking termios.h usability... no [20:57:53.671] checking termios.h presence... no [20:57:53.689] checking for termios.h... no [20:57:53.693] checking ucred.h usability... no [20:57:53.745] checking ucred.h presence... no [20:57:53.762] checking for ucred.h... no [20:57:53.766] checking xlocale.h usability... no [20:57:53.821] checking xlocale.h presence... no [20:57:53.840] checking for xlocale.h... no [20:57:53.843] checking zlib.h usability... yes [20:57:53.853] checking zlib.h presence... yes [20:57:53.871] checking for zlib.h... yes [20:57:53.872] checking for lz4... /usr/bin/lz4 [20:57:53.872] checking for zstd... /usr/bin/zstd [20:57:53.872] checking for openssl... /usr/bin/openssl [20:57:53.876] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [20:57:53.877] checking crtdefs.h usability... yes [20:57:53.884] checking crtdefs.h presence... yes [20:57:53.899] checking for crtdefs.h... yes [20:57:53.900] checking whether byte ordering is bigendian... no [20:57:53.969] checking for inline... inline [20:57:53.976] checking for printf format archetype... gnu_printf [20:57:53.984] checking for _Static_assert... yes [20:57:54.023] checking for typeof... typeof [20:57:54.030] checking for __builtin_types_compatible_p... yes [20:57:54.040] checking for __builtin_constant_p... yes [20:57:54.050] checking for __builtin_mul_overflow... yes [20:57:54.095] checking for __builtin_unreachable... yes [20:57:54.136] checking for computed goto support... yes [20:57:54.142] checking for struct tm.tm_zone... no [20:57:54.217] checking for union semun... no [20:57:54.249] checking for socklen_t... yes [20:57:55.343] checking for struct sockaddr.sa_len... no [20:57:57.264] checking for C/C++ restrict keyword... __restrict [20:57:57.276] checking for struct option... yes [20:57:57.314] checking whether assembler supports x86_64 popcntq... yes [20:57:57.321] checking size of off_t... 4 [20:57:57.505] 0 [20:57:57.506] checking for int timezone... yes [20:57:57.553] checking for backtrace_symbols... no [20:57:57.603] checking for copyfile... no [20:57:57.650] checking for copy_file_range... no [20:57:57.697] checking for elf_aux_info... no [20:57:57.744] checking for getauxval... no [20:57:57.791] checking for getifaddrs... no [20:57:57.839] checking for getpeerucred... no [20:57:57.885] checking for inet_pton... yes [20:57:57.933] checking for kqueue... no [20:57:57.979] checking for localeconv_l... no [20:57:58.027] checking for mbstowcs_l... no [20:57:58.076] checking for posix_fallocate... no [20:57:58.123] checking for ppoll... no [20:57:58.171] checking for pthread_is_threaded_np... no [20:57:58.218] checking for setproctitle... no [20:57:58.265] checking for setproctitle_fast... no [20:57:58.310] checking for strsignal... no [20:57:58.357] checking for syncfs... no [20:57:58.405] checking for sync_file_range... no [20:57:58.452] checking for uselocale... no [20:57:58.500] checking for wcstombs_l... no [20:57:58.545] checking for __builtin_bswap16... yes [20:57:58.591] checking for __builtin_bswap32... yes [20:57:58.636] checking for __builtin_bswap64... yes [20:57:58.681] checking for __builtin_clz... yes [20:57:58.726] checking for __builtin_ctz... yes [20:57:58.770] checking for __builtin_popcount... yes [20:57:58.816] checking for __builtin_frame_address... yes [20:57:58.861] checking for _LARGEFILE_SOURCE value needed for large files... no [20:57:58.911] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:57:58.940] checking for posix_fadvise... no [20:57:58.989] checking whether posix_fadvise is declared... no [20:57:59.033] checking whether fdatasync is declared... no [20:57:59.077] checking whether strlcat is declared... no [20:57:59.137] checking whether strlcpy is declared... no [20:57:59.196] checking whether strnlen is declared... yes [20:57:59.209] checking whether strsep is declared... no [20:57:59.268] checking whether timingsafe_bcmp is declared... no [20:57:59.328] checking whether preadv is declared... no [20:57:59.362] checking whether pwritev is declared... no [20:57:59.396] checking whether strchrnul is declared... no [20:57:59.434] checking whether memset_s is declared... no [20:57:59.472] checking whether F_FULLFSYNC is declared... no [20:57:59.510] checking for explicit_bzero... no [20:57:59.553] checking for getopt... yes [20:57:59.595] checking for getpeereid... no [20:57:59.640] checking for inet_aton... no [20:57:59.685] checking for mkdtemp... no [20:57:59.730] checking for strlcat... no [20:57:59.774] checking for strlcpy... no [20:57:59.818] checking for strnlen... yes [20:57:59.862] checking for strsep... no [20:57:59.906] checking for timingsafe_bcmp... no [20:57:59.949] checking for pthread_barrier_wait... yes [20:57:59.990] configure: On mingw32 we will use our strtof wrapper. [20:57:59.991] checking for getopt_long... yes [20:58:00.032] checking for syslog... no [20:58:00.077] checking for opterr... yes [20:58:00.122] checking for optreset... no [20:58:00.170] checking test program... cross-compiling [20:58:00.170] checking size of void *... 8 [20:58:00.424] checking size of size_t... 8 [20:58:00.681] checking size of long... 4 [20:58:00.876] checking size of long long... 8 [20:58:01.137] checking alignment of short... 2 [20:58:01.275] checking alignment of int... 4 [20:58:01.474] checking alignment of long... 4 [20:58:01.669] checking alignment of int64_t... 8 [20:58:01.924] checking alignment of double... 8 [20:58:02.182] checking for __int128... yes [20:58:02.229] checking for __int128 alignment bug... assuming ok [20:58:02.229] checking alignment of PG_INT128_TYPE... 16 [20:58:02.542] checking for builtin __sync char locking functions... yes [20:58:02.582] checking for builtin __sync int32 locking functions... yes [20:58:02.622] checking for builtin __sync int32 atomic operations... yes [20:58:02.662] checking for builtin __sync int64 atomic operations... yes [20:58:02.703] checking for builtin __atomic int32 atomic operations... yes [20:58:02.742] checking for builtin __atomic int64 atomic operations... yes [20:58:02.784] checking for __get_cpuid... yes [20:58:02.828] checking for __get_cpuid_count... yes [20:58:02.869] checking for __cpuid... no [20:58:03.256] checking for __cpuidex... no [20:58:03.670] checking for _xgetbv... yes [20:58:04.064] checking for _mm512_popcnt_epi64... yes [20:58:04.471] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:58:04.567] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:58:04.588] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:58:04.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:58:04.621] 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 [20:58:04.674] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:58:04.674] checking for _mm512_clmulepi64_epi128... yes [20:58:05.073] checking for vectorized CRC-32C... AVX-512 with runtime check [20:58:05.073] checking which random number source to use... Windows native [20:58:05.075] checking for xmllint... /usr/bin/xmllint [20:58:05.075] checking for xsltproc... /usr/bin/xsltproc [20:58:05.075] checking for fop... /usr/bin/fop [20:58:05.076] checking for dbtoepub... no [20:58:05.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:58:05.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:58:05.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:58:05.087] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:58:05.087] 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 [20:58:05.087] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:58:05.087] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:58:05.174] configure: creating ./config.status [20:58:05.255] config.status: creating GNUmakefile [20:58:05.266] config.status: creating src/Makefile.global [20:58:05.281] config.status: creating src/include/pg_config.h [20:58:05.294] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:58:05.308] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:58:05.315] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:58:05.322] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:58:05.329] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:58:05.336] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:58:05.340] config.status: executing check_win32_symlinks commands [20:58:05.373] [20:58:05.373] real 0m15.217s [20:58:05.373] user 0m10.188s [20:58:05.373] sys 0m4.756s [20:58:05.373] make -s -j${BUILD_JOBS} clean [20:58:05.869] time make -s -j${BUILD_JOBS} world-bin [20:58:12.845] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [20:58:12.845] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [20:58:12.845] 2828 | JsonbValue jbvbuf; [20:58:12.845] | ^~~~~~~~~~ [20:58:12.845] cc1: all warnings being treated as errors [20:58:12.846] make[4]: *** [: jsonpath_exec.o] Error 1 [20:58:12.846] make[4]: *** Waiting for unfinished jobs.... [20:58:12.855] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [20:58:12.855] make[2]: *** [common.mk:37: utils-recursive] Error 2 [20:58:12.855] make[2]: *** Waiting for unfinished jobs.... [20:58:13.439] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:58:13.440] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:58:13.440] [20:58:13.440] real 0m7.571s [20:58:13.440] user 0m16.223s [20:58:13.440] sys 0m7.287s [20:58:13.440] [20:58:13.440] Exit status: 2