[21:57:08.623] time ./configure \ [21:57:08.623] --host=x86_64-w64-mingw32 \ [21:57:08.623] --enable-cassert \ [21:57:08.623] --without-icu \ [21:57:08.623] CC="ccache x86_64-w64-mingw32-gcc" \ [21:57:08.623] CXX="ccache x86_64-w64-mingw32-g++" [21:57:08.720] checking build system type... x86_64-pc-linux-gnu [21:57:08.893] checking host system type... x86_64-w64-mingw32 [21:57:08.897] checking which template to use... win32 [21:57:08.898] checking whether NLS is wanted... no [21:57:08.898] checking for default port number... 5432 [21:57:08.904] checking for block size... 8kB [21:57:08.905] checking for segment size... 1GB [21:57:08.907] checking for WAL block size... 8kB [21:57:08.908] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:57:08.937] checking whether the C compiler works... yes [21:57:09.140] checking for C compiler default output file name... a.exe [21:57:09.141] checking for suffix of executables... .exe [21:57:09.177] checking whether we are cross compiling... yes [21:57:09.243] checking for suffix of object files... o [21:57:09.250] checking whether we are using the GNU C compiler... yes [21:57:09.256] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:57:09.261] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:57:09.271] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:57:09.321] checking whether we are using the GNU C++ compiler... yes [21:57:09.327] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:57:09.387] checking for gawk... no [21:57:09.387] checking for mawk... mawk [21:57:09.389] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:57:09.395] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:57:09.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:57:09.441] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:57:09.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:57:09.603] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:57:09.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:57:09.615] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:57:09.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:57:09.627] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:57:09.633] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:57:09.639] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:57:09.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:57:09.650] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:57:09.656] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:57:09.662] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:57:09.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:57:09.701] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:57:09.730] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:57:09.736] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:57:09.742] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:57:09.769] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:57:09.775] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:57:09.795] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:57:09.801] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:57:09.807] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:57:09.840] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:57:09.874] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:57:09.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:57:09.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:57:09.926] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:57:09.932] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:57:09.938] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:57:09.945] checking whether the C compiler still works... yes [21:57:10.028] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:57:10.090] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:57:10.090] checking pkg-config is at least version 0.9.0... yes [21:57:10.105] checking whether to build with ICU support... no [21:57:10.105] checking whether to build with Tcl... no [21:57:10.105] checking whether to build Perl modules... no [21:57:10.105] checking whether to build Python modules... no [21:57:10.105] checking whether to build with GSSAPI support... no [21:57:10.106] checking whether to build with PAM support... no [21:57:10.106] checking whether to build with BSD Authentication support... no [21:57:10.106] checking whether to build with LDAP support... no [21:57:10.106] checking whether to build with Bonjour support... no [21:57:10.106] checking whether to build with SELinux support... no [21:57:10.106] checking whether to build with systemd support... no [21:57:10.106] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:57:10.106] checking whether to build with liburing support... no [21:57:10.107] checking whether to build with libcurl support... no [21:57:10.107] checking whether to build with libnuma support... no [21:57:10.107] checking whether to build with XML support... no [21:57:10.107] checking whether to build with LZ4 support... no [21:57:10.108] checking whether to build with ZSTD support... no [21:57:10.108] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:57:10.108] checking whether it is possible to strip libraries... yes [21:57:10.114] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:57:10.114] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:57:10.114] checking for a BSD-compatible install... /usr/bin/install -c [21:57:10.122] checking for tar... /usr/bin/tar [21:57:10.123] checking whether ln -s works... yes [21:57:10.123] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:57:10.125] checking for bison... /usr/bin/bison [21:57:10.127] configure: using bison (GNU Bison) 3.8.2 [21:57:10.129] checking for flex... /usr/bin/flex [21:57:10.131] configure: using flex 2.6.4 [21:57:10.131] checking for perl... /usr/bin/perl [21:57:10.134] configure: using perl 5.36.0 [21:57:10.136] checking for zic... /usr/sbin/zic [21:57:10.136] checking for a sed that does not truncate output... /usr/bin/sed [21:57:10.140] checking for grep that handles long lines and -e... /usr/bin/grep [21:57:10.142] checking for egrep... /usr/bin/grep -E [21:57:10.144] checking for ANSI C header files... yes [21:57:10.187] checking for sys/types.h... yes [21:57:10.202] checking for sys/stat.h... yes [21:57:10.217] checking for stdlib.h... yes [21:57:10.229] checking for string.h... yes [21:57:10.242] checking for memory.h... yes [21:57:10.255] checking for strings.h... yes [21:57:10.269] checking for inttypes.h... yes [21:57:10.283] checking for stdint.h... yes [21:57:10.296] checking for unistd.h... yes [21:57:10.310] checking for main in -lm... yes [21:57:10.351] checking for library containing setproctitle... no [21:57:10.429] checking for library containing dlsym... no [21:57:10.508] checking for library containing socket... -lws2_32 [21:57:10.620] checking for library containing getopt_long... none required [21:57:10.660] checking for library containing shm_open... no [21:57:10.735] checking for library containing shm_unlink... no [21:57:10.811] checking for library containing clock_gettime... no [21:57:10.887] checking for library containing shmget... no [21:57:10.964] checking for library containing backtrace_symbols... no [21:57:11.040] checking for library containing pthread_barrier_wait... -lpthread [21:57:11.116] checking for inflate in -lz... yes [21:57:11.160] checking atomic.h usability... no [21:57:11.212] checking atomic.h presence... no [21:57:11.229] checking for atomic.h... no [21:57:11.232] checking copyfile.h usability... no [21:57:11.281] checking copyfile.h presence... no [21:57:11.297] checking for copyfile.h... no [21:57:11.300] checking execinfo.h usability... no [21:57:11.348] checking execinfo.h presence... no [21:57:11.364] checking for execinfo.h... no [21:57:11.367] checking getopt.h usability... yes [21:57:11.373] checking getopt.h presence... yes [21:57:11.386] checking for getopt.h... yes [21:57:11.393] checking ifaddrs.h usability... no [21:57:11.441] checking ifaddrs.h presence... no [21:57:11.457] checking for ifaddrs.h... no [21:57:11.460] checking mbarrier.h usability... no [21:57:11.507] checking mbarrier.h presence... no [21:57:11.524] checking for mbarrier.h... no [21:57:11.527] checking sys/epoll.h usability... no [21:57:11.576] checking sys/epoll.h presence... no [21:57:11.592] checking for sys/epoll.h... no [21:57:11.595] checking sys/event.h usability... no [21:57:11.643] checking sys/event.h presence... no [21:57:11.659] checking for sys/event.h... no [21:57:11.662] checking sys/personality.h usability... no [21:57:11.710] checking sys/personality.h presence... no [21:57:11.726] checking for sys/personality.h... no [21:57:11.729] checking sys/prctl.h usability... no [21:57:11.776] checking sys/prctl.h presence... no [21:57:11.792] checking for sys/prctl.h... no [21:57:11.795] checking sys/procctl.h usability... no [21:57:11.843] checking sys/procctl.h presence... no [21:57:11.859] checking for sys/procctl.h... no [21:57:11.861] checking sys/signalfd.h usability... no [21:57:11.909] checking sys/signalfd.h presence... no [21:57:11.925] checking for sys/signalfd.h... no [21:57:11.928] checking sys/ucred.h usability... no [21:57:11.975] checking sys/ucred.h presence... no [21:57:11.991] checking for sys/ucred.h... no [21:57:11.994] checking termios.h usability... no [21:57:12.041] checking termios.h presence... no [21:57:12.057] checking for termios.h... no [21:57:12.060] checking ucred.h usability... no [21:57:12.107] checking ucred.h presence... no [21:57:12.122] checking for ucred.h... no [21:57:12.125] checking xlocale.h usability... no [21:57:12.174] checking xlocale.h presence... no [21:57:12.189] checking for xlocale.h... no [21:57:12.191] checking zlib.h usability... yes [21:57:12.201] checking zlib.h presence... yes [21:57:12.218] checking for zlib.h... yes [21:57:12.218] checking for lz4... /usr/bin/lz4 [21:57:12.218] checking for zstd... /usr/bin/zstd [21:57:12.218] checking for openssl... /usr/bin/openssl [21:57:12.222] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [21:57:12.223] checking crtdefs.h usability... yes [21:57:12.247] checking crtdefs.h presence... yes [21:57:12.260] checking for crtdefs.h... yes [21:57:12.261] checking whether byte ordering is bigendian... no [21:57:12.324] checking for inline... inline [21:57:12.330] checking for printf format archetype... gnu_printf [21:57:12.337] checking for _Static_assert... yes [21:57:12.373] checking for typeof... typeof [21:57:12.379] checking for __builtin_types_compatible_p... yes [21:57:12.389] checking for __builtin_constant_p... yes [21:57:12.398] checking for __builtin_mul_overflow... yes [21:57:12.440] checking for __builtin_unreachable... yes [21:57:12.476] checking for computed goto support... yes [21:57:12.483] checking for struct tm.tm_zone... no [21:57:12.549] checking for union semun... no [21:57:12.579] checking for socklen_t... yes [21:57:13.592] checking for struct sockaddr.sa_len... no [21:57:15.368] checking for C/C++ restrict keyword... __restrict [21:57:15.380] checking for struct option... yes [21:57:15.417] checking whether assembler supports x86_64 popcntq... yes [21:57:15.424] checking size of off_t... 4 [21:57:15.602] 0 [21:57:15.603] checking for int timezone... yes [21:57:15.649] checking for backtrace_symbols... no [21:57:15.692] checking for copyfile... no [21:57:15.736] checking for copy_file_range... no [21:57:15.781] checking for elf_aux_info... no [21:57:15.825] checking for getauxval... no [21:57:15.869] checking for getifaddrs... no [21:57:15.913] checking for getpeerucred... no [21:57:15.957] checking for inet_pton... yes [21:57:16.003] checking for kqueue... no [21:57:16.048] checking for localeconv_l... no [21:57:16.094] checking for mbstowcs_l... no [21:57:16.138] checking for posix_fallocate... no [21:57:16.182] checking for ppoll... no [21:57:16.226] checking for pthread_is_threaded_np... no [21:57:16.270] checking for setproctitle... no [21:57:16.313] checking for setproctitle_fast... no [21:57:16.358] checking for strsignal... no [21:57:16.403] checking for syncfs... no [21:57:16.447] checking for sync_file_range... no [21:57:16.490] checking for uselocale... no [21:57:16.534] checking for wcstombs_l... no [21:57:16.575] checking for __builtin_bswap16... yes [21:57:16.618] checking for __builtin_bswap32... yes [21:57:16.658] checking for __builtin_bswap64... yes [21:57:16.700] checking for __builtin_clz... yes [21:57:16.743] checking for __builtin_ctz... yes [21:57:16.784] checking for __builtin_popcount... yes [21:57:16.826] checking for __builtin_frame_address... yes [21:57:16.868] checking for _LARGEFILE_SOURCE value needed for large files... no [21:57:16.914] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:57:16.941] checking for posix_fadvise... no [21:57:16.986] checking whether posix_fadvise is declared... no [21:57:17.024] checking whether fdatasync is declared... no [21:57:17.065] checking whether strlcat is declared... no [21:57:17.120] checking whether strlcpy is declared... no [21:57:17.176] checking whether strnlen is declared... yes [21:57:17.188] checking whether strsep is declared... no [21:57:17.243] checking whether timingsafe_bcmp is declared... no [21:57:17.298] checking whether preadv is declared... no [21:57:17.328] checking whether pwritev is declared... no [21:57:17.358] checking whether strchrnul is declared... no [21:57:17.393] checking whether memset_s is declared... no [21:57:17.428] checking whether F_FULLFSYNC is declared... no [21:57:17.461] checking for explicit_bzero... no [21:57:17.501] checking for getopt... yes [21:57:17.539] checking for getpeereid... no [21:57:17.580] checking for inet_aton... no [21:57:17.621] checking for mkdtemp... no [21:57:17.663] checking for strlcat... no [21:57:17.703] checking for strlcpy... no [21:57:17.743] checking for strnlen... yes [21:57:17.784] checking for strsep... no [21:57:17.826] checking for timingsafe_bcmp... no [21:57:17.866] checking for pthread_barrier_wait... yes [21:57:17.905] configure: On mingw32 we will use our strtof wrapper. [21:57:17.905] checking for getopt_long... yes [21:57:17.945] checking for syslog... no [21:57:17.986] checking for opterr... yes [21:57:18.027] checking for optreset... no [21:57:18.072] checking test program... cross-compiling [21:57:18.072] checking size of void *... 8 [21:57:18.320] checking size of size_t... 8 [21:57:18.553] checking size of long... 4 [21:57:18.731] checking size of long long... 8 [21:57:18.963] checking alignment of short... 2 [21:57:19.082] checking alignment of int... 4 [21:57:19.302] checking alignment of long... 4 [21:57:19.478] checking alignment of int64_t... 8 [21:57:19.713] checking alignment of double... 8 [21:57:20.012] checking for __int128... yes [21:57:20.057] checking for __int128 alignment bug... assuming ok [21:57:20.057] checking alignment of PG_INT128_TYPE... 16 [21:57:20.347] checking for builtin __sync char locking functions... yes [21:57:20.383] checking for builtin __sync int32 locking functions... yes [21:57:20.420] checking for builtin __sync int32 atomic operations... yes [21:57:20.456] checking for builtin __sync int64 atomic operations... yes [21:57:20.494] checking for builtin __atomic int32 atomic operations... yes [21:57:20.530] checking for builtin __atomic int64 atomic operations... yes [21:57:20.567] checking for __get_cpuid... yes [21:57:20.607] checking for __get_cpuid_count... yes [21:57:20.643] checking for __cpuid... no [21:57:21.000] checking for __cpuidex... no [21:57:21.382] checking for _xgetbv... yes [21:57:21.745] checking for _mm512_popcnt_epi64... yes [21:57:22.121] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:57:22.210] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:57:22.230] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:57:22.246] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:57:22.263] 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 [21:57:22.311] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:57:22.311] checking for _mm512_clmulepi64_epi128... yes [21:57:22.677] checking for vectorized CRC-32C... AVX-512 with runtime check [21:57:22.677] checking which random number source to use... Windows native [21:57:22.679] checking for xmllint... /usr/bin/xmllint [21:57:22.679] checking for xsltproc... /usr/bin/xsltproc [21:57:22.679] checking for fop... /usr/bin/fop [21:57:22.680] checking for dbtoepub... no [21:57:22.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:57:22.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:57:22.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:57:22.690] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:57:22.690] 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 [21:57:22.690] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:57:22.690] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:57:22.770] configure: creating ./config.status [21:57:22.847] config.status: creating GNUmakefile [21:57:22.858] config.status: creating src/Makefile.global [21:57:22.872] config.status: creating src/include/pg_config.h [21:57:22.883] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:57:22.897] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:57:22.903] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:57:22.910] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:57:22.916] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:57:22.923] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:57:22.926] config.status: executing check_win32_symlinks commands [21:57:22.956] [21:57:22.956] real 0m14.333s [21:57:22.956] user 0m9.524s [21:57:22.956] sys 0m4.398s [21:57:22.956] make -s -j${BUILD_JOBS} clean [21:57:23.433] time make -s -j${BUILD_JOBS} world-bin [21:58:54.167] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [21:58:54.167] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [21:58:54.167] 2828 | JsonbValue jbvbuf; [21:58:54.167] | ^~~~~~~~~~ [21:58:54.167] cc1: all warnings being treated as errors [21:58:54.167] make[4]: *** [: jsonpath_exec.o] Error 1 [21:58:54.167] make[4]: *** Waiting for unfinished jobs.... [21:58:54.669] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [21:58:54.669] make[3]: *** Waiting for unfinished jobs.... [21:58:57.180] make[2]: *** [common.mk:37: utils-recursive] Error 2 [21:58:57.180] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:58:57.181] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:58:57.181] [21:58:57.181] real 1m33.748s [21:58:57.181] user 5m2.211s [21:58:57.181] sys 0m59.824s [21:58:57.181] [21:58:57.181] Exit status: 2