[00:58:05.463] time ./configure \ [00:58:05.463] --host=x86_64-w64-mingw32 \ [00:58:05.463] --enable-cassert \ [00:58:05.463] --without-icu \ [00:58:05.463] CC="ccache x86_64-w64-mingw32-gcc" \ [00:58:05.463] CXX="ccache x86_64-w64-mingw32-g++" [00:58:05.576] checking build system type... x86_64-pc-linux-gnu [00:58:05.749] checking host system type... x86_64-w64-mingw32 [00:58:05.754] checking which template to use... win32 [00:58:05.754] checking whether NLS is wanted... no [00:58:05.754] checking for default port number... 5432 [00:58:05.761] checking for block size... 8kB [00:58:05.762] checking for segment size... 1GB [00:58:05.764] checking for WAL block size... 8kB [00:58:05.765] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:58:05.798] checking whether the C compiler works... yes [00:58:05.927] checking for C compiler default output file name... a.exe [00:58:05.928] checking for suffix of executables... .exe [00:58:05.968] checking whether we are cross compiling... yes [00:58:06.042] checking for suffix of object files... o [00:58:06.050] checking whether we are using the GNU C compiler... yes [00:58:06.083] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:58:06.117] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:58:06.199] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:58:06.276] checking whether we are using the GNU C++ compiler... yes [00:58:06.283] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:58:06.522] checking for gawk... no [00:58:06.523] checking for mawk... mawk [00:58:06.525] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:58:06.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:58:06.572] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:58:06.617] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:58:06.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:58:06.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:58:06.676] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:58:06.692] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:58:06.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:58:06.756] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:58:06.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:58:06.805] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:58:06.821] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:58:06.852] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:58:06.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:58:06.915] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:58:06.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:58:06.983] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:58:06.991] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:58:07.022] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:58:07.038] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:58:07.045] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:58:07.062] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:58:07.085] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:58:07.121] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:58:07.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:58:07.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:58:07.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:58:07.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:58:07.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:58:07.285] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:58:07.317] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:58:07.347] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:58:07.378] checking whether the C compiler still works... yes [00:58:07.425] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:58:07.494] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:58:07.495] checking pkg-config is at least version 0.9.0... yes [00:58:07.511] checking whether to build with ICU support... no [00:58:07.511] checking whether to build with Tcl... no [00:58:07.511] checking whether to build Perl modules... no [00:58:07.511] checking whether to build Python modules... no [00:58:07.511] checking whether to build with GSSAPI support... no [00:58:07.512] checking whether to build with PAM support... no [00:58:07.512] checking whether to build with BSD Authentication support... no [00:58:07.513] checking whether to build with LDAP support... no [00:58:07.513] checking whether to build with Bonjour support... no [00:58:07.513] checking whether to build with SELinux support... no [00:58:07.513] checking whether to build with systemd support... no [00:58:07.513] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:58:07.513] checking whether to build with liburing support... no [00:58:07.513] checking whether to build with libcurl support... no [00:58:07.513] checking whether to build with libnuma support... no [00:58:07.514] checking whether to build with XML support... no [00:58:07.514] checking whether to build with LZ4 support... no [00:58:07.514] checking whether to build with ZSTD support... no [00:58:07.514] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:58:07.515] checking whether it is possible to strip libraries... yes [00:58:07.521] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:58:07.522] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:58:07.522] checking for a BSD-compatible install... /usr/bin/install -c [00:58:07.530] checking for tar... /usr/bin/tar [00:58:07.530] checking whether ln -s works... yes [00:58:07.530] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:58:07.532] checking for bison... /usr/bin/bison [00:58:07.535] configure: using bison (GNU Bison) 3.8.2 [00:58:07.537] checking for flex... /usr/bin/flex [00:58:07.539] configure: using flex 2.6.4 [00:58:07.539] checking for perl... /usr/bin/perl [00:58:07.542] configure: using perl 5.36.0 [00:58:07.544] checking for zic... /usr/sbin/zic [00:58:07.544] checking for a sed that does not truncate output... /usr/bin/sed [00:58:07.549] checking for grep that handles long lines and -e... /usr/bin/grep [00:58:07.550] checking for egrep... /usr/bin/grep -E [00:58:07.552] checking for ANSI C header files... yes [00:58:07.632] checking for sys/types.h... yes [00:58:07.647] checking for sys/stat.h... yes [00:58:07.705] checking for stdlib.h... yes [00:58:07.720] checking for string.h... yes [00:58:07.733] checking for memory.h... yes [00:58:07.747] checking for strings.h... yes [00:58:07.804] checking for inttypes.h... yes [00:58:07.866] checking for stdint.h... yes [00:58:07.901] checking for unistd.h... yes [00:58:07.917] checking for main in -lm... yes [00:58:07.964] checking for library containing setproctitle... no [00:58:08.050] checking for library containing dlsym... no [00:58:08.137] checking for library containing socket... -lws2_32 [00:58:08.261] checking for library containing getopt_long... none required [00:58:08.305] checking for library containing shm_open... no [00:58:08.389] checking for library containing shm_unlink... no [00:58:08.477] checking for library containing clock_gettime... no [00:58:08.563] checking for library containing shmget... no [00:58:08.651] checking for library containing backtrace_symbols... no [00:58:08.737] checking for library containing pthread_barrier_wait... -lpthread [00:58:08.822] checking for inflate in -lz... yes [00:58:08.868] checking atomic.h usability... no [00:58:08.922] checking atomic.h presence... no [00:58:08.940] checking for atomic.h... no [00:58:08.943] checking copyfile.h usability... no [00:58:08.997] checking copyfile.h presence... no [00:58:09.016] checking for copyfile.h... no [00:58:09.020] checking execinfo.h usability... no [00:58:09.076] checking execinfo.h presence... no [00:58:09.095] checking for execinfo.h... no [00:58:09.098] checking getopt.h usability... yes [00:58:09.105] checking getopt.h presence... yes [00:58:09.120] checking for getopt.h... yes [00:58:09.127] checking ifaddrs.h usability... no [00:58:09.181] checking ifaddrs.h presence... no [00:58:09.199] checking for ifaddrs.h... no [00:58:09.202] checking mbarrier.h usability... no [00:58:09.255] checking mbarrier.h presence... no [00:58:09.274] checking for mbarrier.h... no [00:58:09.277] checking sys/epoll.h usability... no [00:58:09.329] checking sys/epoll.h presence... no [00:58:09.348] checking for sys/epoll.h... no [00:58:09.351] checking sys/event.h usability... no [00:58:09.402] checking sys/event.h presence... no [00:58:09.420] checking for sys/event.h... no [00:58:09.423] checking sys/personality.h usability... no [00:58:09.475] checking sys/personality.h presence... no [00:58:09.493] checking for sys/personality.h... no [00:58:09.497] checking sys/prctl.h usability... no [00:58:09.551] checking sys/prctl.h presence... no [00:58:09.569] checking for sys/prctl.h... no [00:58:09.572] checking sys/procctl.h usability... no [00:58:09.624] checking sys/procctl.h presence... no [00:58:09.642] checking for sys/procctl.h... no [00:58:09.645] checking sys/signalfd.h usability... no [00:58:09.698] checking sys/signalfd.h presence... no [00:58:09.716] checking for sys/signalfd.h... no [00:58:09.720] checking sys/ucred.h usability... no [00:58:09.772] checking sys/ucred.h presence... no [00:58:09.792] checking for sys/ucred.h... no [00:58:09.796] checking termios.h usability... no [00:58:09.849] checking termios.h presence... no [00:58:09.866] checking for termios.h... no [00:58:09.869] checking ucred.h usability... no [00:58:09.922] checking ucred.h presence... no [00:58:09.939] checking for ucred.h... no [00:58:09.942] checking xlocale.h usability... no [00:58:09.994] checking xlocale.h presence... no [00:58:10.011] checking for xlocale.h... no [00:58:10.013] checking zlib.h usability... yes [00:58:10.045] checking zlib.h presence... yes [00:58:10.063] checking for zlib.h... yes [00:58:10.063] checking for lz4... /usr/bin/lz4 [00:58:10.064] checking for zstd... /usr/bin/zstd [00:58:10.064] checking for openssl... /usr/bin/openssl [00:58:10.069] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [00:58:10.069] checking crtdefs.h usability... yes [00:58:10.122] checking crtdefs.h presence... yes [00:58:10.136] checking for crtdefs.h... yes [00:58:10.137] checking whether byte ordering is bigendian... no [00:58:10.238] checking for inline... inline [00:58:10.265] checking for printf format archetype... gnu_printf [00:58:10.282] checking for _Static_assert... yes [00:58:10.322] checking for typeof... typeof [00:58:10.330] checking for __builtin_types_compatible_p... yes [00:58:10.340] checking for __builtin_constant_p... yes [00:58:10.350] checking for __builtin_mul_overflow... yes [00:58:10.394] checking for __builtin_unreachable... yes [00:58:10.433] checking for computed goto support... yes [00:58:10.440] checking for struct tm.tm_zone... no [00:58:10.516] checking for union semun... no [00:58:10.547] checking for socklen_t... yes [00:58:11.645] checking for struct sockaddr.sa_len... no [00:58:13.593] checking for C/C++ restrict keyword... __restrict [00:58:13.633] checking for struct option... yes [00:58:13.700] checking whether assembler supports x86_64 popcntq... yes [00:58:13.733] checking size of off_t... 4 [00:58:13.967] 0 [00:58:13.967] checking for int timezone... yes [00:58:14.017] checking for backtrace_symbols... no [00:58:14.067] checking for copyfile... no [00:58:14.115] checking for copy_file_range... no [00:58:14.163] checking for elf_aux_info... no [00:58:14.211] checking for getauxval... no [00:58:14.261] checking for getifaddrs... no [00:58:14.311] checking for getpeerucred... no [00:58:14.361] checking for inet_pton... yes [00:58:14.410] checking for kqueue... no [00:58:14.457] checking for localeconv_l... no [00:58:14.505] checking for mbstowcs_l... no [00:58:14.555] checking for posix_fallocate... no [00:58:14.603] checking for ppoll... no [00:58:14.653] checking for pthread_is_threaded_np... no [00:58:14.701] checking for setproctitle... no [00:58:14.750] checking for setproctitle_fast... no [00:58:14.799] checking for strsignal... no [00:58:14.848] checking for syncfs... no [00:58:14.897] checking for sync_file_range... no [00:58:14.945] checking for uselocale... no [00:58:14.993] checking for wcstombs_l... no [00:58:15.039] checking for __builtin_bswap16... yes [00:58:15.085] checking for __builtin_bswap32... yes [00:58:15.130] checking for __builtin_bswap64... yes [00:58:15.177] checking for __builtin_clz... yes [00:58:15.221] checking for __builtin_ctz... yes [00:58:15.269] checking for __builtin_popcount... yes [00:58:15.317] checking for __builtin_frame_address... yes [00:58:15.364] checking for _LARGEFILE_SOURCE value needed for large files... no [00:58:15.415] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:58:15.444] checking for posix_fadvise... no [00:58:15.494] checking whether posix_fadvise is declared... no [00:58:15.539] checking whether fdatasync is declared... no [00:58:15.582] checking whether strlcat is declared... no [00:58:15.644] checking whether strlcpy is declared... no [00:58:15.705] checking whether strnlen is declared... yes [00:58:15.717] checking whether strsep is declared... no [00:58:15.780] checking whether timingsafe_bcmp is declared... no [00:58:15.842] checking whether preadv is declared... no [00:58:15.876] checking whether pwritev is declared... no [00:58:15.909] checking whether strchrnul is declared... no [00:58:15.948] checking whether memset_s is declared... no [00:58:15.988] checking whether F_FULLFSYNC is declared... no [00:58:16.025] checking for explicit_bzero... no [00:58:16.070] checking for getopt... yes [00:58:16.113] checking for getpeereid... no [00:58:16.160] checking for inet_aton... no [00:58:16.208] checking for mkdtemp... no [00:58:16.256] checking for strlcat... no [00:58:16.304] checking for strlcpy... no [00:58:16.351] checking for strnlen... yes [00:58:16.397] checking for strsep... no [00:58:16.442] checking for timingsafe_bcmp... no [00:58:16.489] checking for pthread_barrier_wait... yes [00:58:16.531] configure: On mingw32 we will use our strtof wrapper. [00:58:16.531] checking for getopt_long... yes [00:58:16.574] checking for syslog... no [00:58:16.620] checking for opterr... yes [00:58:16.666] checking for optreset... no [00:58:16.715] checking test program... cross-compiling [00:58:16.715] checking size of void *... 8 [00:58:17.044] checking size of size_t... 8 [00:58:17.444] checking size of long... 4 [00:58:17.690] checking size of long long... 8 [00:58:18.040] checking alignment of short... 2 [00:58:18.246] checking alignment of int... 4 [00:58:18.564] checking alignment of long... 4 [00:58:18.913] checking alignment of int64_t... 8 [00:58:19.244] checking alignment of double... 8 [00:58:19.547] checking for __int128... yes [00:58:19.596] checking for __int128 alignment bug... assuming ok [00:58:19.596] checking alignment of PG_INT128_TYPE... 16 [00:58:20.029] checking for builtin __sync char locking functions... yes [00:58:20.070] checking for builtin __sync int32 locking functions... yes [00:58:20.111] checking for builtin __sync int32 atomic operations... yes [00:58:20.153] checking for builtin __sync int64 atomic operations... yes [00:58:20.196] checking for builtin __atomic int32 atomic operations... yes [00:58:20.236] checking for builtin __atomic int64 atomic operations... yes [00:58:20.279] checking for __get_cpuid... yes [00:58:20.325] checking for __get_cpuid_count... yes [00:58:20.368] checking for __cpuid... no [00:58:20.760] checking for __cpuidex... no [00:58:21.173] checking for _xgetbv... yes [00:58:21.565] checking for _mm512_popcnt_epi64... yes [00:58:21.974] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:58:22.072] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:58:22.094] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:58:22.112] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:58:22.131] 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 [00:58:22.187] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:58:22.187] checking for _mm512_clmulepi64_epi128... yes [00:58:22.586] checking for vectorized CRC-32C... AVX-512 with runtime check [00:58:22.586] checking which random number source to use... Windows native [00:58:22.588] checking for xmllint... /usr/bin/xmllint [00:58:22.588] checking for xsltproc... /usr/bin/xsltproc [00:58:22.588] checking for fop... /usr/bin/fop [00:58:22.589] checking for dbtoepub... no [00:58:22.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:58:22.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:58:22.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:58:22.600] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:58:22.600] 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 [00:58:22.600] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:58:22.600] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:58:22.688] configure: creating ./config.status [00:58:22.772] config.status: creating GNUmakefile [00:58:22.785] config.status: creating src/Makefile.global [00:58:22.800] config.status: creating src/include/pg_config.h [00:58:22.811] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:58:22.826] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:58:22.834] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:58:22.841] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:58:22.847] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:58:22.854] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:58:22.857] config.status: executing check_win32_symlinks commands [00:58:22.890] [00:58:22.890] real 0m17.426s [00:58:22.890] user 0m11.513s [00:58:22.890] sys 0m5.599s [00:58:22.890] make -s -j${BUILD_JOBS} clean [00:58:23.403] time make -s -j${BUILD_JOBS} world-bin [01:00:20.599] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [01:00:20.599] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [01:00:20.599] 2830 | JsonbValue jbvbuf; [01:00:20.599] | ^~~~~~~~~~ [01:00:20.599] cc1: all warnings being treated as errors [01:00:20.599] make[4]: *** [: jsonpath_exec.o] Error 1 [01:00:20.599] make[4]: *** Waiting for unfinished jobs.... [01:00:21.422] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [01:00:21.422] make[3]: *** Waiting for unfinished jobs.... [01:00:23.780] make[2]: *** [common.mk:37: utils-recursive] Error 2 [01:00:23.780] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [01:00:23.780] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [01:00:23.781] [01:00:23.781] real 2m0.378s [01:00:23.781] user 6m24.982s [01:00:23.781] sys 1m15.853s [01:00:23.781] [01:00:23.781] Exit status: 2