[13:03:54.195] time ./configure \ [13:03:54.195] --host=x86_64-w64-mingw32 \ [13:03:54.195] --enable-cassert \ [13:03:54.195] --without-icu \ [13:03:54.195] CC="ccache x86_64-w64-mingw32-gcc" \ [13:03:54.195] CXX="ccache x86_64-w64-mingw32-g++" [13:03:54.317] checking build system type... x86_64-pc-linux-gnu [13:03:54.516] checking host system type... x86_64-w64-mingw32 [13:03:54.522] checking which template to use... win32 [13:03:54.522] checking whether NLS is wanted... no [13:03:54.522] checking for default port number... 5432 [13:03:54.529] checking for block size... 8kB [13:03:54.530] checking for segment size... 1GB [13:03:54.533] checking for WAL block size... 8kB [13:03:54.534] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:03:54.571] checking whether the C compiler works... yes [13:03:54.709] checking for C compiler default output file name... a.exe [13:03:54.710] checking for suffix of executables... .exe [13:03:54.752] checking whether we are cross compiling... yes [13:03:54.832] checking for suffix of object files... o [13:03:54.840] checking whether we are using the GNU C compiler... yes [13:03:54.847] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:03:54.854] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:03:54.864] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:03:54.927] checking whether we are using the GNU C++ compiler... yes [13:03:54.934] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:03:55.007] checking for gawk... no [13:03:55.007] checking for mawk... mawk [13:03:55.009] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:03:55.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:03:55.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:03:55.069] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:03:55.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:03:55.344] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:03:55.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:03:55.359] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:03:55.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:03:55.372] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:03:55.379] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:03:55.386] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:03:55.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:03:55.399] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:03:55.405] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:03:55.412] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:03:55.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:03:55.456] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:03:55.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:03:55.472] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:03:55.479] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:03:55.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:03:55.494] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:03:55.519] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:03:55.527] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:03:55.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:03:55.572] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:03:55.610] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:03:55.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:03:55.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:03:55.657] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:03:55.664] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:03:55.672] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:03:55.680] checking whether the C compiler still works... yes [13:03:55.748] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:03:55.822] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:03:55.823] checking pkg-config is at least version 0.9.0... yes [13:03:55.840] checking whether to build with ICU support... no [13:03:55.841] checking whether to build with Tcl... no [13:03:55.841] checking whether to build Perl modules... no [13:03:55.841] checking whether to build Python modules... no [13:03:55.841] checking whether to build with GSSAPI support... no [13:03:55.842] checking whether to build with PAM support... no [13:03:55.842] checking whether to build with BSD Authentication support... no [13:03:55.842] checking whether to build with LDAP support... no [13:03:55.843] checking whether to build with Bonjour support... no [13:03:55.843] checking whether to build with SELinux support... no [13:03:55.843] checking whether to build with systemd support... no [13:03:55.843] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:03:55.843] checking whether to build with liburing support... no [13:03:55.843] checking whether to build with libcurl support... no [13:03:55.843] checking whether to build with libnuma support... no [13:03:55.844] checking whether to build with XML support... no [13:03:55.844] checking whether to build with LZ4 support... no [13:03:55.844] checking whether to build with ZSTD support... no [13:03:55.844] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:03:55.845] checking whether it is possible to strip libraries... yes [13:03:55.853] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:03:55.854] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:03:55.854] checking for a BSD-compatible install... /usr/bin/install -c [13:03:55.864] checking for tar... /usr/bin/tar [13:03:55.864] checking whether ln -s works... yes [13:03:55.864] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:03:55.866] checking for bison... /usr/bin/bison [13:03:55.869] configure: using bison (GNU Bison) 3.8.2 [13:03:55.872] checking for flex... /usr/bin/flex [13:03:55.874] configure: using flex 2.6.4 [13:03:55.874] checking for perl... /usr/bin/perl [13:03:55.877] configure: using perl 5.36.0 [13:03:55.880] checking for zic... /usr/sbin/zic [13:03:55.880] checking for a sed that does not truncate output... /usr/bin/sed [13:03:55.886] checking for grep that handles long lines and -e... /usr/bin/grep [13:03:55.888] checking for egrep... /usr/bin/grep -E [13:03:55.890] checking for ANSI C header files... yes [13:03:55.945] checking for sys/types.h... yes [13:03:55.964] checking for sys/stat.h... yes [13:03:55.982] checking for stdlib.h... yes [13:03:55.998] checking for string.h... yes [13:03:56.015] checking for memory.h... yes [13:03:56.033] checking for strings.h... yes [13:03:56.049] checking for inttypes.h... yes [13:03:56.067] checking for stdint.h... yes [13:03:56.083] checking for unistd.h... yes [13:03:56.102] checking for main in -lm... yes [13:03:56.151] checking for library containing setproctitle... no [13:03:56.244] checking for library containing dlsym... no [13:03:56.336] checking for library containing socket... -lws2_32 [13:03:56.470] checking for library containing getopt_long... none required [13:03:56.519] checking for library containing shm_open... no [13:03:56.614] checking for library containing shm_unlink... no [13:03:56.706] checking for library containing clock_gettime... no [13:03:56.797] checking for library containing shmget... no [13:03:56.887] checking for library containing backtrace_symbols... no [13:03:56.978] checking for library containing pthread_barrier_wait... -lpthread [13:03:57.070] checking for inflate in -lz... yes [13:03:57.122] checking atomic.h usability... no [13:03:57.182] checking atomic.h presence... no [13:03:57.202] checking for atomic.h... no [13:03:57.206] checking copyfile.h usability... no [13:03:57.264] checking copyfile.h presence... no [13:03:57.284] checking for copyfile.h... no [13:03:57.288] checking execinfo.h usability... no [13:03:57.345] checking execinfo.h presence... no [13:03:57.367] checking for execinfo.h... no [13:03:57.370] checking getopt.h usability... yes [13:03:57.378] checking getopt.h presence... yes [13:03:57.395] checking for getopt.h... yes [13:03:57.402] checking ifaddrs.h usability... no [13:03:57.461] checking ifaddrs.h presence... no [13:03:57.483] checking for ifaddrs.h... no [13:03:57.487] checking mbarrier.h usability... no [13:03:57.547] checking mbarrier.h presence... no [13:03:57.567] checking for mbarrier.h... no [13:03:57.570] checking sys/epoll.h usability... no [13:03:57.628] checking sys/epoll.h presence... no [13:03:57.649] checking for sys/epoll.h... no [13:03:57.653] checking sys/event.h usability... no [13:03:57.711] checking sys/event.h presence... no [13:03:57.730] checking for sys/event.h... no [13:03:57.733] checking sys/personality.h usability... no [13:03:57.788] checking sys/personality.h presence... no [13:03:57.808] checking for sys/personality.h... no [13:03:57.811] checking sys/prctl.h usability... no [13:03:57.868] checking sys/prctl.h presence... no [13:03:57.888] checking for sys/prctl.h... no [13:03:57.892] checking sys/procctl.h usability... no [13:03:57.948] checking sys/procctl.h presence... no [13:03:57.969] checking for sys/procctl.h... no [13:03:57.972] checking sys/signalfd.h usability... no [13:03:58.030] checking sys/signalfd.h presence... no [13:03:58.051] checking for sys/signalfd.h... no [13:03:58.055] checking sys/ucred.h usability... no [13:03:58.112] checking sys/ucred.h presence... no [13:03:58.132] checking for sys/ucred.h... no [13:03:58.135] checking termios.h usability... no [13:03:58.193] checking termios.h presence... no [13:03:58.213] checking for termios.h... no [13:03:58.217] checking ucred.h usability... no [13:03:58.275] checking ucred.h presence... no [13:03:58.296] checking for ucred.h... no [13:03:58.300] checking xlocale.h usability... no [13:03:58.358] checking xlocale.h presence... no [13:03:58.378] checking for xlocale.h... no [13:03:58.381] checking zlib.h usability... yes [13:03:58.391] checking zlib.h presence... yes [13:03:58.412] checking for zlib.h... yes [13:03:58.412] checking for lz4... /usr/bin/lz4 [13:03:58.412] checking for zstd... /usr/bin/zstd [13:03:58.413] checking for openssl... /usr/bin/openssl [13:03:58.417] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [13:03:58.418] checking crtdefs.h usability... yes [13:03:58.426] checking crtdefs.h presence... yes [13:03:58.443] checking for crtdefs.h... yes [13:03:58.444] checking whether byte ordering is bigendian... no [13:03:58.518] checking for inline... inline [13:03:58.525] checking for printf format archetype... gnu_printf [13:03:58.532] checking for _Static_assert... yes [13:03:58.574] checking for typeof... typeof [13:03:58.581] checking for __builtin_types_compatible_p... yes [13:03:58.593] checking for __builtin_constant_p... yes [13:03:58.604] checking for __builtin_mul_overflow... yes [13:03:58.652] checking for __builtin_unreachable... yes [13:03:58.696] checking for computed goto support... yes [13:03:58.704] checking for struct tm.tm_zone... no [13:03:58.786] checking for union semun... no [13:03:58.821] checking for socklen_t... yes [13:04:00.044] checking for struct sockaddr.sa_len... no [13:04:02.136] checking for C/C++ restrict keyword... __restrict [13:04:02.152] checking for struct option... yes [13:04:02.197] checking whether assembler supports x86_64 popcntq... yes [13:04:02.204] checking size of off_t... 4 [13:04:02.417] 0 [13:04:02.417] checking for int timezone... yes [13:04:02.470] checking for backtrace_symbols... no [13:04:02.524] checking for copyfile... no [13:04:02.576] checking for copy_file_range... no [13:04:02.630] checking for elf_aux_info... no [13:04:02.682] checking for getauxval... no [13:04:02.734] checking for getifaddrs... no [13:04:02.788] checking for getpeerucred... no [13:04:02.839] checking for inet_pton... yes [13:04:02.891] checking for kqueue... no [13:04:02.943] checking for localeconv_l... no [13:04:02.996] checking for mbstowcs_l... no [13:04:03.048] checking for posix_fallocate... no [13:04:03.100] checking for ppoll... no [13:04:03.152] checking for pthread_is_threaded_np... no [13:04:03.203] checking for setproctitle... no [13:04:03.254] checking for setproctitle_fast... no [13:04:03.304] checking for strsignal... no [13:04:03.355] checking for syncfs... no [13:04:03.405] checking for sync_file_range... no [13:04:03.457] checking for uselocale... no [13:04:03.510] checking for wcstombs_l... no [13:04:03.557] checking for __builtin_bswap16... yes [13:04:03.608] checking for __builtin_bswap32... yes [13:04:03.659] checking for __builtin_bswap64... yes [13:04:03.708] checking for __builtin_clz... yes [13:04:03.759] checking for __builtin_ctz... yes [13:04:03.808] checking for __builtin_popcount... yes [13:04:03.857] checking for __builtin_frame_address... yes [13:04:03.906] checking for _LARGEFILE_SOURCE value needed for large files... no [13:04:03.960] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:04:03.992] checking for posix_fadvise... no [13:04:04.047] checking whether posix_fadvise is declared... no [13:04:04.094] checking whether fdatasync is declared... no [13:04:04.140] checking whether strlcat is declared... no [13:04:04.204] checking whether strlcpy is declared... no [13:04:04.273] checking whether strnlen is declared... yes [13:04:04.287] checking whether strsep is declared... no [13:04:04.351] checking whether timingsafe_bcmp is declared... no [13:04:04.419] checking whether preadv is declared... no [13:04:04.459] checking whether pwritev is declared... no [13:04:04.497] checking whether strchrnul is declared... no [13:04:04.540] checking whether memset_s is declared... no [13:04:04.586] checking whether F_FULLFSYNC is declared... no [13:04:04.630] checking for explicit_bzero... no [13:04:04.677] checking for getopt... yes [13:04:04.722] checking for getpeereid... no [13:04:04.770] checking for inet_aton... no [13:04:04.820] checking for mkdtemp... no [13:04:04.870] checking for strlcat... no [13:04:04.920] checking for strlcpy... no [13:04:04.969] checking for strnlen... yes [13:04:05.018] checking for strsep... no [13:04:05.066] checking for timingsafe_bcmp... no [13:04:05.115] checking for pthread_barrier_wait... yes [13:04:05.159] configure: On mingw32 we will use our strtof wrapper. [13:04:05.159] checking for getopt_long... yes [13:04:05.203] checking for syslog... no [13:04:05.251] checking for opterr... yes [13:04:05.301] checking for optreset... no [13:04:05.353] checking test program... cross-compiling [13:04:05.353] checking size of void *... 8 [13:04:05.632] checking size of size_t... 8 [13:04:05.911] checking size of long... 4 [13:04:06.123] checking size of long long... 8 [13:04:06.403] checking alignment of short... 2 [13:04:06.551] checking alignment of int... 4 [13:04:06.772] checking alignment of long... 4 [13:04:06.990] checking alignment of int64_t... 8 [13:04:07.278] checking alignment of double... 8 [13:04:07.562] checking for __int128... yes [13:04:07.615] checking for __int128 alignment bug... assuming ok [13:04:07.615] checking alignment of PG_INT128_TYPE... 16 [13:04:07.968] checking for builtin __sync char locking functions... yes [13:04:08.014] checking for builtin __sync int32 locking functions... yes [13:04:08.058] checking for builtin __sync int32 atomic operations... yes [13:04:08.102] checking for builtin __sync int64 atomic operations... yes [13:04:08.146] checking for builtin __atomic int32 atomic operations... yes [13:04:08.189] checking for builtin __atomic int64 atomic operations... yes [13:04:08.233] checking for __get_cpuid... yes [13:04:08.281] checking for __get_cpuid_count... yes [13:04:08.328] checking for __cpuid... no [13:04:08.729] checking for __cpuidex... no [13:04:09.149] checking for _xgetbv... yes [13:04:09.552] checking for _mm512_popcnt_epi64... yes [13:04:09.974] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:04:10.084] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:04:10.109] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:04:10.130] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:04:10.149] 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 [13:04:10.205] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:04:10.205] checking for _mm512_clmulepi64_epi128... yes [13:04:10.609] checking for vectorized CRC-32C... AVX-512 with runtime check [13:04:10.610] checking which random number source to use... Windows native [13:04:10.612] checking for xmllint... /usr/bin/xmllint [13:04:10.612] checking for xsltproc... /usr/bin/xsltproc [13:04:10.612] checking for fop... /usr/bin/fop [13:04:10.612] checking for dbtoepub... no [13:04:10.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:04:10.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:04:10.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:04:10.625] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:04:10.626] 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 [13:04:10.626] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:04:10.626] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:04:10.722] configure: creating ./config.status [13:04:10.813] config.status: creating GNUmakefile [13:04:10.826] config.status: creating src/Makefile.global [13:04:10.843] config.status: creating src/include/pg_config.h [13:04:10.856] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:04:10.873] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:04:10.881] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:04:10.889] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:04:10.896] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:04:10.904] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:04:10.908] config.status: executing check_win32_symlinks commands [13:04:10.945] [13:04:10.945] real 0m16.749s [13:04:10.945] user 0m10.901s [13:04:10.945] sys 0m5.392s [13:04:10.945] make -s -j${BUILD_JOBS} clean [13:04:11.463] time make -s -j${BUILD_JOBS} world-bin [13:04:19.542] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [13:04:19.542] jsonpath_exec.c:2828:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [13:04:19.542] 2828 | JsonbValue jbvbuf; [13:04:19.542] | ^~~~~~~~~~ [13:04:19.542] cc1: all warnings being treated as errors [13:04:19.543] make[4]: *** [: jsonpath_exec.o] Error 1 [13:04:19.543] make[4]: *** Waiting for unfinished jobs.... [13:04:20.241] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [13:04:20.241] make[2]: *** [common.mk:37: utils-recursive] Error 2 [13:04:20.242] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:04:20.242] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:04:20.242] [13:04:20.242] real 0m8.780s [13:04:20.242] user 0m18.766s [13:04:20.242] sys 0m8.413s [13:04:20.243] [13:04:20.243] Exit status: 2