[08:49:26.933] time ./configure \ [08:49:26.933] --host=x86_64-w64-mingw32 \ [08:49:26.933] --enable-cassert \ [08:49:26.933] --without-icu \ [08:49:26.933] CC="ccache x86_64-w64-mingw32-gcc" \ [08:49:26.933] CXX="ccache x86_64-w64-mingw32-g++" [08:49:27.042] checking build system type... x86_64-pc-linux-gnu [08:49:27.194] checking host system type... x86_64-w64-mingw32 [08:49:27.199] checking which template to use... win32 [08:49:27.199] checking whether NLS is wanted... no [08:49:27.199] checking for default port number... 5432 [08:49:27.206] checking for block size... 8kB [08:49:27.207] checking for segment size... 1GB [08:49:27.209] checking for WAL block size... 8kB [08:49:27.210] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:49:27.243] checking whether the C compiler works... yes [08:49:27.359] checking for C compiler default output file name... a.exe [08:49:27.360] checking for suffix of executables... .exe [08:49:27.400] checking whether we are cross compiling... yes [08:49:27.470] checking for suffix of object files... o [08:49:27.478] checking whether we are using the GNU C compiler... yes [08:49:27.506] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:49:27.512] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:49:27.587] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:49:27.646] checking whether we are using the GNU C++ compiler... yes [08:49:27.652] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:49:27.714] checking for gawk... no [08:49:27.714] checking for mawk... mawk [08:49:27.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:49:27.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:49:27.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:49:27.768] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:49:27.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:49:27.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:49:27.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:49:27.937] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:49:28.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:49:28.012] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:49:28.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:49:28.025] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:49:28.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:49:28.037] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:49:28.043] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:49:28.049] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:49:28.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:49:28.087] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:49:28.092] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:49:28.098] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:49:28.104] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:49:28.109] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:49:28.115] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:49:28.136] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:49:28.141] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:49:28.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:49:28.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:49:28.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:49:28.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:49:28.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:49:28.255] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:49:28.269] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:49:28.275] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:49:28.282] checking whether the C compiler still works... yes [08:49:28.323] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:49:28.384] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:49:28.384] checking pkg-config is at least version 0.9.0... yes [08:49:28.399] checking whether to build with ICU support... no [08:49:28.399] checking whether to build with Tcl... no [08:49:28.399] checking whether to build Perl modules... no [08:49:28.399] checking whether to build Python modules... no [08:49:28.399] checking whether to build with GSSAPI support... no [08:49:28.400] checking whether to build with PAM support... no [08:49:28.400] checking whether to build with BSD Authentication support... no [08:49:28.401] checking whether to build with LDAP support... no [08:49:28.401] checking whether to build with Bonjour support... no [08:49:28.401] checking whether to build with SELinux support... no [08:49:28.401] checking whether to build with systemd support... no [08:49:28.401] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:49:28.401] checking whether to build with liburing support... no [08:49:28.401] checking whether to build with libcurl support... no [08:49:28.402] checking whether to build with libnuma support... no [08:49:28.402] checking whether to build with XML support... no [08:49:28.402] checking whether to build with LZ4 support... no [08:49:28.402] checking whether to build with ZSTD support... no [08:49:28.402] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:49:28.403] checking whether it is possible to strip libraries... yes [08:49:28.410] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:49:28.411] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:49:28.411] checking for a BSD-compatible install... /usr/bin/install -c [08:49:28.419] checking for tar... /usr/bin/tar [08:49:28.419] checking whether ln -s works... yes [08:49:28.419] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:49:28.421] checking for bison... /usr/bin/bison [08:49:28.424] configure: using bison (GNU Bison) 3.8.2 [08:49:28.426] checking for flex... /usr/bin/flex [08:49:28.428] configure: using flex 2.6.4 [08:49:28.428] checking for perl... /usr/bin/perl [08:49:28.431] configure: using perl 5.36.0 [08:49:28.433] checking for zic... /usr/sbin/zic [08:49:28.433] checking for a sed that does not truncate output... /usr/bin/sed [08:49:28.438] checking for grep that handles long lines and -e... /usr/bin/grep [08:49:28.439] checking for egrep... /usr/bin/grep -E [08:49:28.441] checking for ANSI C header files... yes [08:49:28.486] checking for sys/types.h... yes [08:49:28.504] checking for sys/stat.h... yes [08:49:28.519] checking for stdlib.h... yes [08:49:28.533] checking for string.h... yes [08:49:28.545] checking for memory.h... yes [08:49:28.558] checking for strings.h... yes [08:49:28.572] checking for inttypes.h... yes [08:49:28.588] checking for stdint.h... yes [08:49:28.621] checking for unistd.h... yes [08:49:28.635] checking for main in -lm... yes [08:49:28.677] checking for library containing setproctitle... no [08:49:28.755] checking for library containing dlsym... no [08:49:28.831] checking for library containing socket... -lws2_32 [08:49:28.943] checking for library containing getopt_long... none required [08:49:28.983] checking for library containing shm_open... no [08:49:29.060] checking for library containing shm_unlink... no [08:49:29.136] checking for library containing clock_gettime... no [08:49:29.216] checking for library containing shmget... no [08:49:29.295] checking for library containing backtrace_symbols... no [08:49:29.371] checking for library containing pthread_barrier_wait... -lpthread [08:49:29.448] checking for inflate in -lz... yes [08:49:29.493] checking atomic.h usability... no [08:49:29.546] checking atomic.h presence... no [08:49:29.563] checking for atomic.h... no [08:49:29.566] checking copyfile.h usability... no [08:49:29.616] checking copyfile.h presence... no [08:49:29.633] checking for copyfile.h... no [08:49:29.636] checking execinfo.h usability... no [08:49:29.684] checking execinfo.h presence... no [08:49:29.700] checking for execinfo.h... no [08:49:29.703] checking getopt.h usability... yes [08:49:29.709] checking getopt.h presence... yes [08:49:29.722] checking for getopt.h... yes [08:49:29.728] checking ifaddrs.h usability... no [08:49:29.780] checking ifaddrs.h presence... no [08:49:29.799] checking for ifaddrs.h... no [08:49:29.802] checking mbarrier.h usability... no [08:49:29.852] checking mbarrier.h presence... no [08:49:29.870] checking for mbarrier.h... no [08:49:29.873] checking sys/epoll.h usability... no [08:49:29.921] checking sys/epoll.h presence... no [08:49:29.936] checking for sys/epoll.h... no [08:49:29.939] checking sys/event.h usability... no [08:49:29.987] checking sys/event.h presence... no [08:49:30.002] checking for sys/event.h... no [08:49:30.005] checking sys/personality.h usability... no [08:49:30.053] checking sys/personality.h presence... no [08:49:30.070] checking for sys/personality.h... no [08:49:30.073] checking sys/prctl.h usability... no [08:49:30.120] checking sys/prctl.h presence... no [08:49:30.136] checking for sys/prctl.h... no [08:49:30.139] checking sys/procctl.h usability... no [08:49:30.188] checking sys/procctl.h presence... no [08:49:30.204] checking for sys/procctl.h... no [08:49:30.207] checking sys/signalfd.h usability... no [08:49:30.258] checking sys/signalfd.h presence... no [08:49:30.274] checking for sys/signalfd.h... no [08:49:30.277] checking sys/ucred.h usability... no [08:49:30.331] checking sys/ucred.h presence... no [08:49:30.347] checking for sys/ucred.h... no [08:49:30.350] checking termios.h usability... no [08:49:30.399] checking termios.h presence... no [08:49:30.417] checking for termios.h... no [08:49:30.420] checking ucred.h usability... no [08:49:30.471] checking ucred.h presence... no [08:49:30.487] checking for ucred.h... no [08:49:30.490] checking xlocale.h usability... no [08:49:30.541] checking xlocale.h presence... no [08:49:30.557] checking for xlocale.h... no [08:49:30.560] checking zlib.h usability... yes [08:49:30.569] checking zlib.h presence... yes [08:49:30.585] checking for zlib.h... yes [08:49:30.585] checking for lz4... /usr/bin/lz4 [08:49:30.585] checking for zstd... /usr/bin/zstd [08:49:30.586] checking for openssl... /usr/bin/openssl [08:49:30.590] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [08:49:30.590] checking crtdefs.h usability... yes [08:49:30.597] checking crtdefs.h presence... yes [08:49:30.611] checking for crtdefs.h... yes [08:49:30.612] checking whether byte ordering is bigendian... no [08:49:30.690] checking for inline... inline [08:49:30.698] checking for printf format archetype... gnu_printf [08:49:30.705] checking for _Static_assert... yes [08:49:30.743] checking for typeof... typeof [08:49:30.750] checking for __builtin_types_compatible_p... yes [08:49:30.760] checking for __builtin_constant_p... yes [08:49:30.770] checking for __builtin_mul_overflow... yes [08:49:30.813] checking for __builtin_unreachable... yes [08:49:30.853] checking for computed goto support... yes [08:49:30.859] checking for struct tm.tm_zone... no [08:49:30.928] checking for union semun... no [08:49:30.959] checking for socklen_t... yes [08:49:31.996] checking for struct sockaddr.sa_len... no [08:49:33.832] checking for C/C++ restrict keyword... __restrict [08:49:33.871] checking for struct option... yes [08:49:33.938] checking whether assembler supports x86_64 popcntq... yes [08:49:33.945] checking size of off_t... 4 [08:49:34.140] 0 [08:49:34.141] checking for int timezone... yes [08:49:34.188] checking for backtrace_symbols... no [08:49:34.232] checking for copyfile... no [08:49:34.279] checking for copy_file_range... no [08:49:34.327] checking for elf_aux_info... no [08:49:34.375] checking for getauxval... no [08:49:34.423] checking for getifaddrs... no [08:49:34.470] checking for getpeerucred... no [08:49:34.516] checking for inet_pton... yes [08:49:34.561] checking for kqueue... no [08:49:34.605] checking for localeconv_l... no [08:49:34.648] checking for mbstowcs_l... no [08:49:34.692] checking for posix_fallocate... no [08:49:34.735] checking for ppoll... no [08:49:34.782] checking for pthread_is_threaded_np... no [08:49:34.827] checking for setproctitle... no [08:49:34.874] checking for setproctitle_fast... no [08:49:34.922] checking for strsignal... no [08:49:34.969] checking for syncfs... no [08:49:35.015] checking for sync_file_range... no [08:49:35.060] checking for uselocale... no [08:49:35.106] checking for wcstombs_l... no [08:49:35.150] checking for __builtin_bswap16... yes [08:49:35.197] checking for __builtin_bswap32... yes [08:49:35.242] checking for __builtin_bswap64... yes [08:49:35.285] checking for __builtin_clz... yes [08:49:35.331] checking for __builtin_ctz... yes [08:49:35.376] checking for __builtin_popcount... yes [08:49:35.419] checking for __builtin_frame_address... yes [08:49:35.461] checking for _LARGEFILE_SOURCE value needed for large files... no [08:49:35.506] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:49:35.533] checking for posix_fadvise... no [08:49:35.578] checking whether posix_fadvise is declared... no [08:49:35.619] checking whether fdatasync is declared... no [08:49:35.660] checking whether strlcat is declared... no [08:49:35.719] checking whether strlcpy is declared... no [08:49:35.782] checking whether strnlen is declared... yes [08:49:35.795] checking whether strsep is declared... no [08:49:35.854] checking whether timingsafe_bcmp is declared... no [08:49:35.911] checking whether preadv is declared... no [08:49:35.946] checking whether pwritev is declared... no [08:49:35.977] checking whether strchrnul is declared... no [08:49:36.014] checking whether memset_s is declared... no [08:49:36.052] checking whether F_FULLFSYNC is declared... no [08:49:36.092] checking for explicit_bzero... no [08:49:36.134] checking for getopt... yes [08:49:36.174] checking for getpeereid... no [08:49:36.217] checking for inet_aton... no [08:49:36.259] checking for mkdtemp... no [08:49:36.301] checking for strlcat... no [08:49:36.345] checking for strlcpy... no [08:49:36.389] checking for strnlen... yes [08:49:36.432] checking for strsep... no [08:49:36.474] checking for timingsafe_bcmp... no [08:49:36.517] checking for pthread_barrier_wait... yes [08:49:36.556] configure: On mingw32 we will use our strtof wrapper. [08:49:36.557] checking for getopt_long... yes [08:49:36.598] checking for syslog... no [08:49:36.643] checking for opterr... yes [08:49:36.685] checking for optreset... no [08:49:36.730] checking test program... cross-compiling [08:49:36.730] checking size of void *... 8 [08:49:36.969] checking size of size_t... 8 [08:49:37.257] checking size of long... 4 [08:49:37.446] checking size of long long... 8 [08:49:37.699] checking alignment of short... 2 [08:49:37.880] checking alignment of int... 4 [08:49:38.130] checking alignment of long... 4 [08:49:38.374] checking alignment of int64_t... 8 [08:49:38.617] checking alignment of double... 8 [08:49:38.856] checking for __int128... yes [08:49:38.900] checking for __int128 alignment bug... assuming ok [08:49:38.900] checking alignment of PG_INT128_TYPE... 16 [08:49:39.191] checking for builtin __sync char locking functions... yes [08:49:39.228] checking for builtin __sync int32 locking functions... yes [08:49:39.267] checking for builtin __sync int32 atomic operations... yes [08:49:39.303] checking for builtin __sync int64 atomic operations... yes [08:49:39.343] checking for builtin __atomic int32 atomic operations... yes [08:49:39.381] checking for builtin __atomic int64 atomic operations... yes [08:49:39.420] checking for __get_cpuid... yes [08:49:39.462] checking for __get_cpuid_count... yes [08:49:39.502] checking for __cpuid... no [08:49:39.886] checking for __cpuidex... no [08:49:40.277] checking for _xgetbv... yes [08:49:40.643] checking for _mm512_popcnt_epi64... yes [08:49:41.034] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:49:41.132] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:49:41.154] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:49:41.174] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:49:41.193] 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 [08:49:41.245] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:49:41.245] checking for _mm512_clmulepi64_epi128... yes [08:49:41.612] checking for vectorized CRC-32C... AVX-512 with runtime check [08:49:41.612] checking which random number source to use... Windows native [08:49:41.614] checking for xmllint... /usr/bin/xmllint [08:49:41.614] checking for xsltproc... /usr/bin/xsltproc [08:49:41.615] checking for fop... /usr/bin/fop [08:49:41.615] checking for dbtoepub... no [08:49:41.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:49:41.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:49:41.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:49:41.625] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:49:41.625] 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 [08:49:41.625] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:49:41.625] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:49:41.707] configure: creating ./config.status [08:49:41.784] config.status: creating GNUmakefile [08:49:41.796] config.status: creating src/Makefile.global [08:49:41.810] config.status: creating src/include/pg_config.h [08:49:41.822] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:49:41.836] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:49:41.843] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:49:41.849] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:49:41.856] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:49:41.862] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:49:41.865] config.status: executing check_win32_symlinks commands [08:49:41.895] [08:49:41.895] real 0m14.963s [08:49:41.895] user 0m10.137s [08:49:41.895] sys 0m4.536s [08:49:41.895] make -s -j${BUILD_JOBS} clean [08:49:42.381] time make -s -j${BUILD_JOBS} world-bin [08:50:16.043] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [08:50:16.043] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [08:50:16.043] 2830 | JsonbValue jbvbuf; [08:50:16.043] | ^~~~~~~~~~ [08:50:16.043] cc1: all warnings being treated as errors [08:50:16.045] make[4]: *** [: jsonpath_exec.o] Error 1 [08:50:16.045] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [08:50:16.045] make[2]: *** [common.mk:37: utils-recursive] Error 2 [08:50:16.045] make[2]: *** Waiting for unfinished jobs.... [08:50:20.727] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:50:20.727] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:50:20.728] [08:50:20.728] real 0m38.347s [08:50:20.728] user 1m55.391s [08:50:20.728] sys 0m24.715s [08:50:20.728] [08:50:20.728] Exit status: 2