[22:02:53.949] time ./configure \ [22:02:53.949] --host=x86_64-w64-mingw32 \ [22:02:53.949] --enable-cassert \ [22:02:53.949] --without-icu \ [22:02:53.949] CC="ccache x86_64-w64-mingw32-gcc" \ [22:02:53.949] CXX="ccache x86_64-w64-mingw32-g++" [22:02:54.054] checking build system type... x86_64-pc-linux-gnu [22:02:54.225] checking host system type... x86_64-w64-mingw32 [22:02:54.230] checking which template to use... win32 [22:02:54.230] checking whether NLS is wanted... no [22:02:54.230] checking for default port number... 5432 [22:02:54.236] checking for block size... 8kB [22:02:54.237] checking for segment size... 1GB [22:02:54.240] checking for WAL block size... 8kB [22:02:54.241] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:02:54.272] checking whether the C compiler works... yes [22:02:54.391] checking for C compiler default output file name... a.exe [22:02:54.392] checking for suffix of executables... .exe [22:02:54.430] checking whether we are cross compiling... yes [22:02:54.504] checking for suffix of object files... o [22:02:54.511] checking whether we are using the GNU C compiler... yes [22:02:54.517] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:02:54.524] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:02:54.534] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:02:54.594] checking whether we are using the GNU C++ compiler... yes [22:02:54.600] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:02:54.665] checking for gawk... no [22:02:54.665] checking for mawk... mawk [22:02:54.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:02:54.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:02:54.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:02:54.723] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:02:54.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:02:54.883] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:02:54.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:02:54.896] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:02:54.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:02:54.909] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:02:54.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:02:54.922] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:02:54.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:02:54.936] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:02:54.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:02:54.949] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:02:54.956] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:02:54.991] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:02:54.998] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:02:55.005] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:02:55.012] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:02:55.019] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:02:55.026] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:02:55.049] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:02:55.056] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:02:55.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:02:55.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:02:55.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:02:55.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:02:55.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:02:55.183] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:02:55.189] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:02:55.196] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:02:55.204] checking whether the C compiler still works... yes [22:02:55.266] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:02:55.336] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:02:55.337] checking pkg-config is at least version 0.9.0... yes [22:02:55.353] checking whether to build with ICU support... no [22:02:55.353] checking whether to build with Tcl... no [22:02:55.353] checking whether to build Perl modules... no [22:02:55.353] checking whether to build Python modules... no [22:02:55.353] checking whether to build with GSSAPI support... no [22:02:55.354] checking whether to build with PAM support... no [22:02:55.354] checking whether to build with BSD Authentication support... no [22:02:55.355] checking whether to build with LDAP support... no [22:02:55.355] checking whether to build with Bonjour support... no [22:02:55.355] checking whether to build with SELinux support... no [22:02:55.355] checking whether to build with systemd support... no [22:02:55.355] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:02:55.355] checking whether to build with liburing support... no [22:02:55.355] checking whether to build with libcurl support... no [22:02:55.355] checking whether to build with libnuma support... no [22:02:55.356] checking whether to build with XML support... no [22:02:55.356] checking whether to build with LZ4 support... no [22:02:55.356] checking whether to build with ZSTD support... no [22:02:55.356] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:02:55.357] checking whether it is possible to strip libraries... yes [22:02:55.364] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:02:55.365] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:02:55.365] checking for a BSD-compatible install... /usr/bin/install -c [22:02:55.374] checking for tar... /usr/bin/tar [22:02:55.374] checking whether ln -s works... yes [22:02:55.374] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:02:55.376] checking for bison... /usr/bin/bison [22:02:55.379] configure: using bison (GNU Bison) 3.8.2 [22:02:55.382] checking for flex... /usr/bin/flex [22:02:55.384] configure: using flex 2.6.4 [22:02:55.384] checking for perl... /usr/bin/perl [22:02:55.387] configure: using perl 5.36.0 [22:02:55.389] checking for zic... /usr/sbin/zic [22:02:55.389] checking for a sed that does not truncate output... /usr/bin/sed [22:02:55.394] checking for grep that handles long lines and -e... /usr/bin/grep [22:02:55.396] checking for egrep... /usr/bin/grep -E [22:02:55.397] checking for ANSI C header files... yes [22:02:55.444] checking for sys/types.h... yes [22:02:55.461] checking for sys/stat.h... yes [22:02:55.476] checking for stdlib.h... yes [22:02:55.490] checking for string.h... yes [22:02:55.504] checking for memory.h... yes [22:02:55.518] checking for strings.h... yes [22:02:55.533] checking for inttypes.h... yes [22:02:55.549] checking for stdint.h... yes [22:02:55.562] checking for unistd.h... yes [22:02:55.576] checking for main in -lm... yes [22:02:55.621] checking for library containing setproctitle... no [22:02:55.707] checking for library containing dlsym... no [22:02:55.792] checking for library containing socket... -lws2_32 [22:02:55.915] checking for library containing getopt_long... none required [22:02:55.959] checking for library containing shm_open... no [22:02:56.045] checking for library containing shm_unlink... no [22:02:56.130] checking for library containing clock_gettime... no [22:02:56.211] checking for library containing shmget... no [22:02:56.298] checking for library containing backtrace_symbols... no [22:02:56.384] checking for library containing pthread_barrier_wait... -lpthread [22:02:56.469] checking for inflate in -lz... yes [22:02:56.514] checking atomic.h usability... no [22:02:56.571] checking atomic.h presence... no [22:02:56.589] checking for atomic.h... no [22:02:56.592] checking copyfile.h usability... no [22:02:56.645] checking copyfile.h presence... no [22:02:56.663] checking for copyfile.h... no [22:02:56.667] checking execinfo.h usability... no [22:02:56.723] checking execinfo.h presence... no [22:02:56.741] checking for execinfo.h... no [22:02:56.744] checking getopt.h usability... yes [22:02:56.752] checking getopt.h presence... yes [22:02:56.766] checking for getopt.h... yes [22:02:56.773] checking ifaddrs.h usability... no [22:02:56.822] checking ifaddrs.h presence... no [22:02:56.841] checking for ifaddrs.h... no [22:02:56.844] checking mbarrier.h usability... no [22:02:56.895] checking mbarrier.h presence... no [22:02:56.913] checking for mbarrier.h... no [22:02:56.917] checking sys/epoll.h usability... no [22:02:56.968] checking sys/epoll.h presence... no [22:02:56.986] checking for sys/epoll.h... no [22:02:56.989] checking sys/event.h usability... no [22:02:57.042] checking sys/event.h presence... no [22:02:57.059] checking for sys/event.h... no [22:02:57.063] checking sys/personality.h usability... no [22:02:57.112] checking sys/personality.h presence... no [22:02:57.129] checking for sys/personality.h... no [22:02:57.132] checking sys/prctl.h usability... no [22:02:57.181] checking sys/prctl.h presence... no [22:02:57.198] checking for sys/prctl.h... no [22:02:57.201] checking sys/procctl.h usability... no [22:02:57.254] checking sys/procctl.h presence... no [22:02:57.272] checking for sys/procctl.h... no [22:02:57.275] checking sys/signalfd.h usability... no [22:02:57.328] checking sys/signalfd.h presence... no [22:02:57.346] checking for sys/signalfd.h... no [22:02:57.349] checking sys/ucred.h usability... no [22:02:57.401] checking sys/ucred.h presence... no [22:02:57.418] checking for sys/ucred.h... no [22:02:57.421] checking termios.h usability... no [22:02:57.476] checking termios.h presence... no [22:02:57.493] checking for termios.h... no [22:02:57.496] checking ucred.h usability... no [22:02:57.550] checking ucred.h presence... no [22:02:57.570] checking for ucred.h... no [22:02:57.573] checking xlocale.h usability... no [22:02:57.625] checking xlocale.h presence... no [22:02:57.643] checking for xlocale.h... no [22:02:57.646] checking zlib.h usability... yes [22:02:57.654] checking zlib.h presence... yes [22:02:57.671] checking for zlib.h... yes [22:02:57.671] checking for lz4... /usr/bin/lz4 [22:02:57.672] checking for zstd... /usr/bin/zstd [22:02:57.672] checking for openssl... /usr/bin/openssl [22:02:57.676] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:02:57.677] checking crtdefs.h usability... yes [22:02:57.684] checking crtdefs.h presence... yes [22:02:57.699] checking for crtdefs.h... yes [22:02:57.700] checking whether byte ordering is bigendian... no [22:02:57.770] checking for inline... inline [22:02:57.776] checking for printf format archetype... gnu_printf [22:02:57.784] checking for _Static_assert... yes [22:02:57.822] checking for typeof... typeof [22:02:57.829] checking for __builtin_types_compatible_p... yes [22:02:57.840] checking for __builtin_constant_p... yes [22:02:57.850] checking for __builtin_mul_overflow... yes [22:02:57.896] checking for __builtin_unreachable... yes [22:02:57.934] checking for computed goto support... yes [22:02:57.940] checking for struct tm.tm_zone... no [22:02:58.009] checking for union semun... no [22:02:58.041] checking for socklen_t... yes [22:02:59.134] checking for struct sockaddr.sa_len... no [22:03:01.039] checking for C/C++ restrict keyword... __restrict [22:03:01.052] checking for struct option... yes [22:03:01.094] checking whether assembler supports x86_64 popcntq... yes [22:03:01.100] checking size of off_t... 4 [22:03:01.293] 0 [22:03:01.293] checking for int timezone... yes [22:03:01.344] checking for backtrace_symbols... no [22:03:01.393] checking for copyfile... no [22:03:01.442] checking for copy_file_range... no [22:03:01.492] checking for elf_aux_info... no [22:03:01.542] checking for getauxval... no [22:03:01.589] checking for getifaddrs... no [22:03:01.638] checking for getpeerucred... no [22:03:01.687] checking for inet_pton... yes [22:03:01.736] checking for kqueue... no [22:03:01.784] checking for localeconv_l... no [22:03:01.833] checking for mbstowcs_l... no [22:03:01.881] checking for posix_fallocate... no [22:03:01.930] checking for ppoll... no [22:03:01.976] checking for pthread_is_threaded_np... no [22:03:02.024] checking for setproctitle... no [22:03:02.070] checking for setproctitle_fast... no [22:03:02.117] checking for strsignal... no [22:03:02.162] checking for syncfs... no [22:03:02.210] checking for sync_file_range... no [22:03:02.257] checking for uselocale... no [22:03:02.302] checking for wcstombs_l... no [22:03:02.344] checking for __builtin_bswap16... yes [22:03:02.387] checking for __builtin_bswap32... yes [22:03:02.429] checking for __builtin_bswap64... yes [22:03:02.472] checking for __builtin_clz... yes [22:03:02.518] checking for __builtin_ctz... yes [22:03:02.567] checking for __builtin_popcount... yes [22:03:02.612] checking for __builtin_frame_address... yes [22:03:02.655] checking for _LARGEFILE_SOURCE value needed for large files... no [22:03:02.705] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:03:02.733] checking for posix_fadvise... no [22:03:02.782] checking whether posix_fadvise is declared... no [22:03:02.824] checking whether fdatasync is declared... no [22:03:02.877] checking whether strlcat is declared... no [22:03:02.941] checking whether strlcpy is declared... no [22:03:03.007] checking whether strnlen is declared... yes [22:03:03.019] checking whether strsep is declared... no [22:03:03.086] checking whether timingsafe_bcmp is declared... no [22:03:03.150] checking whether preadv is declared... no [22:03:03.186] checking whether pwritev is declared... no [22:03:03.223] checking whether strchrnul is declared... no [22:03:03.266] checking whether memset_s is declared... no [22:03:03.306] checking whether F_FULLFSYNC is declared... no [22:03:03.345] checking for explicit_bzero... no [22:03:03.389] checking for getopt... yes [22:03:03.433] checking for getpeereid... no [22:03:03.477] checking for inet_aton... no [22:03:03.519] checking for mkdtemp... no [22:03:03.560] checking for strlcat... no [22:03:03.602] checking for strlcpy... no [22:03:03.644] checking for strnlen... yes [22:03:03.691] checking for strsep... no [22:03:03.737] checking for timingsafe_bcmp... no [22:03:03.782] checking for pthread_barrier_wait... yes [22:03:03.821] configure: On mingw32 we will use our strtof wrapper. [22:03:03.821] checking for getopt_long... yes [22:03:03.864] checking for syslog... no [22:03:03.908] checking for opterr... yes [22:03:03.951] checking for optreset... no [22:03:03.996] checking test program... cross-compiling [22:03:03.996] checking size of void *... 8 [22:03:04.255] checking size of size_t... 8 [22:03:04.501] checking size of long... 4 [22:03:04.688] checking size of long long... 8 [22:03:04.939] checking alignment of short... 2 [22:03:05.062] checking alignment of int... 4 [22:03:05.240] checking alignment of long... 4 [22:03:05.430] checking alignment of int64_t... 8 [22:03:05.677] checking alignment of double... 8 [22:03:05.936] checking for __int128... yes [22:03:05.984] checking for __int128 alignment bug... assuming ok [22:03:05.984] checking alignment of PG_INT128_TYPE... 16 [22:03:06.295] checking for builtin __sync char locking functions... yes [22:03:06.335] checking for builtin __sync int32 locking functions... yes [22:03:06.376] checking for builtin __sync int32 atomic operations... yes [22:03:06.415] checking for builtin __sync int64 atomic operations... yes [22:03:06.457] checking for builtin __atomic int32 atomic operations... yes [22:03:06.496] checking for builtin __atomic int64 atomic operations... yes [22:03:06.534] checking for __get_cpuid... yes [22:03:06.576] checking for __get_cpuid_count... yes [22:03:06.616] checking for __cpuid... no [22:03:06.985] checking for __cpuidex... no [22:03:07.378] checking for _xgetbv... yes [22:03:07.764] checking for _mm512_popcnt_epi64... yes [22:03:08.157] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:03:08.251] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:03:08.270] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:03:08.288] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:03:08.307] 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 [22:03:08.358] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:03:08.358] checking for _mm512_clmulepi64_epi128... yes [22:03:08.749] checking for vectorized CRC-32C... AVX-512 with runtime check [22:03:08.750] checking which random number source to use... Windows native [22:03:08.751] checking for xmllint... /usr/bin/xmllint [22:03:08.752] checking for xsltproc... /usr/bin/xsltproc [22:03:08.752] checking for fop... /usr/bin/fop [22:03:08.752] checking for dbtoepub... no [22:03:08.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:03:08.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:03:08.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:03:08.763] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:03:08.763] 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 [22:03:08.763] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:03:08.763] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:03:08.846] configure: creating ./config.status [22:03:08.923] config.status: creating GNUmakefile [22:03:08.934] config.status: creating src/Makefile.global [22:03:08.948] config.status: creating src/include/pg_config.h [22:03:08.959] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:03:08.973] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:03:08.980] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:03:08.987] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:03:08.993] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:03:08.999] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:03:09.003] config.status: executing check_win32_symlinks commands [22:03:09.034] [22:03:09.034] real 0m15.085s [22:03:09.034] user 0m10.066s [22:03:09.034] sys 0m4.725s [22:03:09.034] make -s -j${BUILD_JOBS} clean [22:03:09.520] time make -s -j${BUILD_JOBS} world-bin [22:03:18.212] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:03:18.212] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:03:18.212] 2828 | JsonbValue jbvbuf; [22:03:18.212] | ^~~~~~~~~~ [22:03:18.212] cc1: all warnings being treated as errors [22:03:18.214] make[4]: *** [: jsonpath_exec.o] Error 1 [22:03:18.214] make[4]: *** Waiting for unfinished jobs.... [22:03:18.526] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:03:18.527] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:03:18.527] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:03:18.527] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:03:18.527] [22:03:18.527] real 0m9.007s [22:03:18.527] user 0m20.508s [22:03:18.527] sys 0m8.378s [22:03:18.528] [22:03:18.528] Exit status: 2