[16:12:01.742] time ./configure \ [16:12:01.742] --host=x86_64-w64-mingw32 \ [16:12:01.742] --enable-cassert \ [16:12:01.742] --without-icu \ [16:12:01.742] CC="ccache x86_64-w64-mingw32-gcc" \ [16:12:01.742] CXX="ccache x86_64-w64-mingw32-g++" [16:12:01.883] checking build system type... x86_64-pc-linux-gnu [16:12:02.104] checking host system type... x86_64-w64-mingw32 [16:12:02.111] checking which template to use... win32 [16:12:02.111] checking whether NLS is wanted... no [16:12:02.111] checking for default port number... 5432 [16:12:02.120] checking for block size... 8kB [16:12:02.121] checking for segment size... 1GB [16:12:02.124] checking for WAL block size... 8kB [16:12:02.126] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:12:02.170] checking whether the C compiler works... yes [16:12:02.333] checking for C compiler default output file name... a.exe [16:12:02.334] checking for suffix of executables... .exe [16:12:02.382] checking whether we are cross compiling... yes [16:12:02.471] checking for suffix of object files... o [16:12:02.481] checking whether we are using the GNU C compiler... yes [16:12:02.489] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:12:02.498] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:12:02.513] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:12:02.584] checking whether we are using the GNU C++ compiler... yes [16:12:02.593] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:12:02.675] checking for gawk... no [16:12:02.675] checking for mawk... mawk [16:12:02.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:12:02.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:12:02.695] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:12:02.750] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:12:02.947] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:12:02.955] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:12:02.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:12:02.974] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:12:02.983] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:12:02.991] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:12:02.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:12:03.007] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:12:03.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:12:03.023] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:12:03.030] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:12:03.037] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:12:03.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:12:03.088] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:12:03.098] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:12:03.108] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:12:03.118] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:12:03.127] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:12:03.135] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:12:03.164] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:12:03.172] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:12:03.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:12:03.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:12:03.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:12:03.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:12:03.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:12:03.330] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:12:03.339] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:12:03.348] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:12:03.359] checking whether the C compiler still works... yes [16:12:03.434] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:12:03.520] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:12:03.520] checking pkg-config is at least version 0.9.0... yes [16:12:03.537] checking whether to build with ICU support... no [16:12:03.538] checking whether to build with Tcl... no [16:12:03.538] checking whether to build Perl modules... no [16:12:03.538] checking whether to build Python modules... no [16:12:03.538] checking whether to build with GSSAPI support... no [16:12:03.540] checking whether to build with PAM support... no [16:12:03.540] checking whether to build with BSD Authentication support... no [16:12:03.540] checking whether to build with LDAP support... no [16:12:03.540] checking whether to build with Bonjour support... no [16:12:03.540] checking whether to build with SELinux support... no [16:12:03.540] checking whether to build with systemd support... no [16:12:03.540] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:12:03.540] checking whether to build with liburing support... no [16:12:03.541] checking whether to build with libcurl support... no [16:12:03.541] checking whether to build with libnuma support... no [16:12:03.541] checking whether to build with XML support... no [16:12:03.541] checking whether to build with LZ4 support... no [16:12:03.542] checking whether to build with ZSTD support... no [16:12:03.542] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:12:03.542] checking whether it is possible to strip libraries... yes [16:12:03.550] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:12:03.551] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:12:03.551] checking for a BSD-compatible install... /usr/bin/install -c [16:12:03.561] checking for tar... /usr/bin/tar [16:12:03.561] checking whether ln -s works... yes [16:12:03.561] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:12:03.564] checking for bison... /usr/bin/bison [16:12:03.566] configure: using bison (GNU Bison) 3.8.2 [16:12:03.570] checking for flex... /usr/bin/flex [16:12:03.572] configure: using flex 2.6.4 [16:12:03.572] checking for perl... /usr/bin/perl [16:12:03.575] configure: using perl 5.36.0 [16:12:03.578] checking for zic... /usr/sbin/zic [16:12:03.578] checking for a sed that does not truncate output... /usr/bin/sed [16:12:03.584] checking for grep that handles long lines and -e... /usr/bin/grep [16:12:03.587] checking for egrep... /usr/bin/grep -E [16:12:03.589] checking for ANSI C header files... yes [16:12:03.644] checking for sys/types.h... yes [16:12:03.665] checking for sys/stat.h... yes [16:12:03.684] checking for stdlib.h... yes [16:12:03.703] checking for string.h... yes [16:12:03.722] checking for memory.h... yes [16:12:03.742] checking for strings.h... yes [16:12:03.761] checking for inttypes.h... yes [16:12:03.782] checking for stdint.h... yes [16:12:03.801] checking for unistd.h... yes [16:12:03.823] checking for main in -lm... yes [16:12:03.880] checking for library containing setproctitle... no [16:12:03.996] checking for library containing dlsym... no [16:12:04.099] checking for library containing socket... -lws2_32 [16:12:04.253] checking for library containing getopt_long... none required [16:12:04.306] checking for library containing shm_open... no [16:12:04.409] checking for library containing shm_unlink... no [16:12:04.516] checking for library containing clock_gettime... no [16:12:04.618] checking for library containing shmget... no [16:12:04.719] checking for library containing backtrace_symbols... no [16:12:04.826] checking for library containing pthread_barrier_wait... -lpthread [16:12:04.929] checking for inflate in -lz... yes [16:12:04.986] checking atomic.h usability... no [16:12:05.052] checking atomic.h presence... no [16:12:05.077] checking for atomic.h... no [16:12:05.081] checking copyfile.h usability... no [16:12:05.144] checking copyfile.h presence... no [16:12:05.167] checking for copyfile.h... no [16:12:05.171] checking execinfo.h usability... no [16:12:05.233] checking execinfo.h presence... no [16:12:05.256] checking for execinfo.h... no [16:12:05.259] checking getopt.h usability... yes [16:12:05.269] checking getopt.h presence... yes [16:12:05.287] checking for getopt.h... yes [16:12:05.296] checking ifaddrs.h usability... no [16:12:05.360] checking ifaddrs.h presence... no [16:12:05.381] checking for ifaddrs.h... no [16:12:05.385] checking mbarrier.h usability... no [16:12:05.450] checking mbarrier.h presence... no [16:12:05.472] checking for mbarrier.h... no [16:12:05.476] checking sys/epoll.h usability... no [16:12:05.540] checking sys/epoll.h presence... no [16:12:05.563] checking for sys/epoll.h... no [16:12:05.566] checking sys/event.h usability... no [16:12:05.629] checking sys/event.h presence... no [16:12:05.650] checking for sys/event.h... no [16:12:05.654] checking sys/personality.h usability... no [16:12:05.719] checking sys/personality.h presence... no [16:12:05.743] checking for sys/personality.h... no [16:12:05.747] checking sys/prctl.h usability... no [16:12:05.809] checking sys/prctl.h presence... no [16:12:05.833] checking for sys/prctl.h... no [16:12:05.837] checking sys/procctl.h usability... no [16:12:05.899] checking sys/procctl.h presence... no [16:12:05.923] checking for sys/procctl.h... no [16:12:05.928] checking sys/signalfd.h usability... no [16:12:05.992] checking sys/signalfd.h presence... no [16:12:06.014] checking for sys/signalfd.h... no [16:12:06.018] checking sys/ucred.h usability... no [16:12:06.080] checking sys/ucred.h presence... no [16:12:06.102] checking for sys/ucred.h... no [16:12:06.106] checking termios.h usability... no [16:12:06.168] checking termios.h presence... no [16:12:06.190] checking for termios.h... no [16:12:06.194] checking ucred.h usability... no [16:12:06.259] checking ucred.h presence... no [16:12:06.284] checking for ucred.h... no [16:12:06.289] checking xlocale.h usability... no [16:12:06.354] checking xlocale.h presence... no [16:12:06.377] checking for xlocale.h... no [16:12:06.380] checking zlib.h usability... yes [16:12:06.392] checking zlib.h presence... yes [16:12:06.415] checking for zlib.h... yes [16:12:06.415] checking for lz4... /usr/bin/lz4 [16:12:06.416] checking for zstd... /usr/bin/zstd [16:12:06.416] checking for openssl... /usr/bin/openssl [16:12:06.420] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:12:06.421] checking crtdefs.h usability... yes [16:12:06.430] checking crtdefs.h presence... yes [16:12:06.449] checking for crtdefs.h... yes [16:12:06.450] checking whether byte ordering is bigendian... no [16:12:06.537] checking for inline... inline [16:12:06.545] checking for printf format archetype... gnu_printf [16:12:06.554] checking for _Static_assert... yes [16:12:06.599] checking for typeof... typeof [16:12:06.608] checking for __builtin_types_compatible_p... yes [16:12:06.622] checking for __builtin_constant_p... yes [16:12:06.635] checking for __builtin_mul_overflow... yes [16:12:06.689] checking for __builtin_unreachable... yes [16:12:06.737] checking for computed goto support... yes [16:12:06.746] checking for struct tm.tm_zone... no [16:12:06.842] checking for union semun... no [16:12:06.882] checking for socklen_t... yes [16:12:08.214] checking for struct sockaddr.sa_len... no [16:12:10.492] checking for C/C++ restrict keyword... __restrict [16:12:10.509] checking for struct option... yes [16:12:10.560] checking whether assembler supports x86_64 popcntq... yes [16:12:10.568] checking size of off_t... 4 [16:12:10.793] 0 [16:12:10.793] checking for int timezone... yes [16:12:10.851] checking for backtrace_symbols... no [16:12:10.909] checking for copyfile... no [16:12:10.966] checking for copy_file_range... no [16:12:11.023] checking for elf_aux_info... no [16:12:11.082] checking for getauxval... no [16:12:11.137] checking for getifaddrs... no [16:12:11.193] checking for getpeerucred... no [16:12:11.248] checking for inet_pton... yes [16:12:11.303] checking for kqueue... no [16:12:11.361] checking for localeconv_l... no [16:12:11.418] checking for mbstowcs_l... no [16:12:11.479] checking for memset_s... no [16:12:11.538] checking for posix_fallocate... no [16:12:11.597] checking for ppoll... no [16:12:11.658] checking for pthread_is_threaded_np... no [16:12:11.718] checking for setproctitle... no [16:12:11.775] checking for setproctitle_fast... no [16:12:11.834] checking for strsignal... no [16:12:11.891] checking for syncfs... no [16:12:11.947] checking for sync_file_range... no [16:12:12.003] checking for uselocale... no [16:12:12.058] checking for wcstombs_l... no [16:12:12.112] checking for __builtin_bswap16... yes [16:12:12.170] checking for __builtin_bswap32... yes [16:12:12.225] checking for __builtin_bswap64... yes [16:12:12.282] checking for __builtin_clz... yes [16:12:12.337] checking for __builtin_ctz... yes [16:12:12.390] checking for __builtin_popcount... yes [16:12:12.446] checking for __builtin_frame_address... yes [16:12:12.500] checking for _LARGEFILE_SOURCE value needed for large files... no [16:12:12.560] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:12:12.596] checking for posix_fadvise... no [16:12:12.652] checking whether posix_fadvise is declared... no [16:12:12.702] checking whether fdatasync is declared... no [16:12:12.754] checking whether strlcat is declared... no [16:12:12.831] checking whether strlcpy is declared... no [16:12:12.907] checking whether strnlen is declared... yes [16:12:12.923] checking whether strsep is declared... no [16:12:12.990] checking whether timingsafe_bcmp is declared... no [16:12:13.059] checking whether preadv is declared... no [16:12:13.101] checking whether pwritev is declared... no [16:12:13.143] checking whether strchrnul is declared... no [16:12:13.193] checking whether F_FULLFSYNC is declared... no [16:12:13.241] checking for explicit_bzero... no [16:12:13.298] checking for getopt... yes [16:12:13.348] checking for getpeereid... no [16:12:13.403] checking for inet_aton... no [16:12:13.454] checking for mkdtemp... no [16:12:13.510] checking for strlcat... no [16:12:13.563] checking for strlcpy... no [16:12:13.614] checking for strnlen... yes [16:12:13.667] checking for strsep... no [16:12:13.721] checking for timingsafe_bcmp... no [16:12:13.770] checking for pthread_barrier_wait... yes [16:12:13.819] configure: On mingw32 we will use our strtof wrapper. [16:12:13.819] checking for getopt_long... yes [16:12:13.869] checking for syslog... no [16:12:13.922] checking for opterr... yes [16:12:13.976] checking for optreset... no [16:12:14.035] checking test program... cross-compiling [16:12:14.035] checking size of void *... 8 [16:12:14.341] checking size of size_t... 8 [16:12:14.638] checking size of long... 4 [16:12:14.854] checking size of long long... 8 [16:12:15.160] checking alignment of short... 2 [16:12:15.321] checking alignment of int... 4 [16:12:15.552] checking alignment of long... 4 [16:12:15.782] checking alignment of int64_t... 8 [16:12:16.084] checking alignment of double... 8 [16:12:16.385] checking for __int128... yes [16:12:16.443] checking for __int128 alignment bug... assuming ok [16:12:16.443] checking alignment of PG_INT128_TYPE... 16 [16:12:16.810] checking for builtin __sync char locking functions... yes [16:12:16.855] checking for builtin __sync int32 locking functions... yes [16:12:16.902] checking for builtin __sync int32 atomic operations... yes [16:12:16.948] checking for builtin __sync int64 atomic operations... yes [16:12:16.999] checking for builtin __atomic int32 atomic operations... yes [16:12:17.048] checking for builtin __atomic int64 atomic operations... yes [16:12:17.097] checking for __get_cpuid... yes [16:12:17.150] checking for __get_cpuid_count... yes [16:12:17.199] checking for __cpuid... no [16:12:17.623] checking for __cpuidex... no [16:12:18.062] checking for _xgetbv... yes [16:12:18.482] checking for _mm512_popcnt_epi64... yes [16:12:18.916] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:12:19.029] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:12:19.056] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:12:19.078] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:12:19.099] 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 [16:12:19.159] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:12:19.160] checking for _mm512_clmulepi64_epi128... yes [16:12:19.579] checking for vectorized CRC-32C... AVX-512 with runtime check [16:12:19.579] checking which random number source to use... Windows native [16:12:19.582] checking for xmllint... /usr/bin/xmllint [16:12:19.582] checking for xsltproc... /usr/bin/xsltproc [16:12:19.582] checking for fop... /usr/bin/fop [16:12:19.582] checking for dbtoepub... no [16:12:19.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:12:19.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:12:19.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:12:19.596] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:12:19.596] 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 [16:12:19.596] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:12:19.596] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:12:19.704] configure: creating ./config.status [16:12:19.807] config.status: creating GNUmakefile [16:12:19.820] config.status: creating src/Makefile.global [16:12:19.840] config.status: creating src/include/pg_config.h [16:12:19.856] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:12:19.875] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:12:19.885] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:12:19.894] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:12:19.903] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:12:19.912] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:12:19.916] config.status: executing check_win32_symlinks commands [16:12:19.955] [16:12:19.955] real 0m18.213s [16:12:19.955] user 0m11.951s [16:12:19.955] sys 0m5.818s [16:12:19.955] make -s -j${BUILD_JOBS} clean [16:12:20.511] time make -s -j${BUILD_JOBS} world-bin [16:12:28.414] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [16:12:28.414] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [16:12:28.414] 2828 | JsonbValue jbvbuf; [16:12:28.414] | ^~~~~~~~~~ [16:12:28.414] cc1: all warnings being treated as errors [16:12:28.416] make[4]: *** [: jsonpath_exec.o] Error 1 [16:12:28.416] make[4]: *** Waiting for unfinished jobs.... [16:12:29.084] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [16:12:29.084] make[2]: *** [common.mk:37: utils-recursive] Error 2 [16:12:29.084] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:12:29.085] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:12:29.085] [16:12:29.085] real 0m8.574s [16:12:29.085] user 0m18.334s [16:12:29.085] sys 0m8.444s [16:12:29.085] [16:12:29.085] Exit status: 2