[20:12:21.465] time ./configure \ [20:12:21.465] --host=x86_64-w64-mingw32 \ [20:12:21.465] --enable-cassert \ [20:12:21.465] --without-icu \ [20:12:21.465] CC="ccache x86_64-w64-mingw32-gcc" \ [20:12:21.465] CXX="ccache x86_64-w64-mingw32-g++" [20:12:21.579] checking build system type... x86_64-pc-linux-gnu [20:12:21.744] checking host system type... x86_64-w64-mingw32 [20:12:21.749] checking which template to use... win32 [20:12:21.749] checking whether NLS is wanted... no [20:12:21.749] checking for default port number... 5432 [20:12:21.756] checking for block size... 8kB [20:12:21.757] checking for segment size... 1GB [20:12:21.759] checking for WAL block size... 8kB [20:12:21.761] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:12:21.793] checking whether the C compiler works... yes [20:12:21.942] checking for C compiler default output file name... a.exe [20:12:21.943] checking for suffix of executables... .exe [20:12:21.982] checking whether we are cross compiling... yes [20:12:22.055] checking for suffix of object files... o [20:12:22.062] checking whether we are using the GNU C compiler... yes [20:12:22.069] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:12:22.075] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:12:22.085] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:12:22.139] checking whether we are using the GNU C++ compiler... yes [20:12:22.145] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:12:22.340] checking for gawk... no [20:12:22.340] checking for mawk... mawk [20:12:22.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:12:22.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:12:22.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:12:22.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:12:22.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:12:22.456] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:12:22.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:12:22.469] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:12:22.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:12:22.482] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:12:22.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:12:22.495] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:12:22.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:12:22.559] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:12:22.566] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:12:22.572] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:12:22.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:12:22.614] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:12:22.621] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:12:22.627] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:12:22.634] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:12:22.640] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:12:22.647] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:12:22.669] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:12:22.676] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:12:22.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:12:22.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:12:22.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:12:22.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:12:22.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:12:22.802] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:12:22.808] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:12:22.814] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:12:22.821] checking whether the C compiler still works... yes [20:12:22.882] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:12:22.950] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:12:22.950] checking pkg-config is at least version 0.9.0... yes [20:12:22.966] checking whether to build with ICU support... no [20:12:22.966] checking whether to build with Tcl... no [20:12:22.967] checking whether to build Perl modules... no [20:12:22.967] checking whether to build Python modules... no [20:12:22.967] checking whether to build with GSSAPI support... no [20:12:22.968] checking whether to build with PAM support... no [20:12:22.968] checking whether to build with BSD Authentication support... no [20:12:22.968] checking whether to build with LDAP support... no [20:12:22.968] checking whether to build with Bonjour support... no [20:12:22.968] checking whether to build with SELinux support... no [20:12:22.968] checking whether to build with systemd support... no [20:12:22.968] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:12:22.968] checking whether to build with liburing support... no [20:12:22.969] checking whether to build with libcurl support... no [20:12:22.969] checking whether to build with libnuma support... no [20:12:22.969] checking whether to build with XML support... no [20:12:22.969] checking whether to build with LZ4 support... no [20:12:22.970] checking whether to build with ZSTD support... no [20:12:22.970] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:12:22.970] checking whether it is possible to strip libraries... yes [20:12:22.976] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:12:22.977] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:12:22.977] checking for a BSD-compatible install... /usr/bin/install -c [20:12:22.985] checking for tar... /usr/bin/tar [20:12:22.986] checking whether ln -s works... yes [20:12:22.986] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:12:22.988] checking for bison... /usr/bin/bison [20:12:22.990] configure: using bison (GNU Bison) 3.8.2 [20:12:22.993] checking for flex... /usr/bin/flex [20:12:22.995] configure: using flex 2.6.4 [20:12:22.995] checking for perl... /usr/bin/perl [20:12:22.998] configure: using perl 5.36.0 [20:12:23.000] checking for zic... /usr/sbin/zic [20:12:23.000] checking for a sed that does not truncate output... /usr/bin/sed [20:12:23.009] checking for grep that handles long lines and -e... /usr/bin/grep [20:12:23.012] checking for egrep... /usr/bin/grep -E [20:12:23.013] checking for ANSI C header files... yes [20:12:23.058] checking for sys/types.h... yes [20:12:23.074] checking for sys/stat.h... yes [20:12:23.090] checking for stdlib.h... yes [20:12:23.103] checking for string.h... yes [20:12:23.117] checking for memory.h... yes [20:12:23.150] checking for strings.h... yes [20:12:23.165] checking for inttypes.h... yes [20:12:23.179] checking for stdint.h... yes [20:12:23.192] checking for unistd.h... yes [20:12:23.206] checking for main in -lm... yes [20:12:23.251] checking for library containing setproctitle... no [20:12:23.338] checking for library containing dlsym... no [20:12:23.422] checking for library containing socket... -lws2_32 [20:12:23.544] checking for library containing getopt_long... none required [20:12:23.587] checking for library containing shm_open... no [20:12:23.670] checking for library containing shm_unlink... no [20:12:23.752] checking for library containing clock_gettime... no [20:12:23.835] checking for library containing shmget... no [20:12:23.919] checking for library containing backtrace_symbols... no [20:12:24.001] checking for library containing pthread_barrier_wait... -lpthread [20:12:24.086] checking for inflate in -lz... yes [20:12:24.132] checking atomic.h usability... no [20:12:24.186] checking atomic.h presence... no [20:12:24.204] checking for atomic.h... no [20:12:24.208] checking copyfile.h usability... no [20:12:24.259] checking copyfile.h presence... no [20:12:24.277] checking for copyfile.h... no [20:12:24.280] checking execinfo.h usability... no [20:12:24.333] checking execinfo.h presence... no [20:12:24.350] checking for execinfo.h... no [20:12:24.354] checking getopt.h usability... yes [20:12:24.361] checking getopt.h presence... yes [20:12:24.374] checking for getopt.h... yes [20:12:24.381] checking ifaddrs.h usability... no [20:12:24.433] checking ifaddrs.h presence... no [20:12:24.451] checking for ifaddrs.h... no [20:12:24.454] checking mbarrier.h usability... no [20:12:24.505] checking mbarrier.h presence... no [20:12:24.522] checking for mbarrier.h... no [20:12:24.526] checking sys/epoll.h usability... no [20:12:24.577] checking sys/epoll.h presence... no [20:12:24.595] checking for sys/epoll.h... no [20:12:24.598] checking sys/event.h usability... no [20:12:24.649] checking sys/event.h presence... no [20:12:24.667] checking for sys/event.h... no [20:12:24.670] checking sys/personality.h usability... no [20:12:24.722] checking sys/personality.h presence... no [20:12:24.739] checking for sys/personality.h... no [20:12:24.743] checking sys/prctl.h usability... no [20:12:24.793] checking sys/prctl.h presence... no [20:12:24.811] checking for sys/prctl.h... no [20:12:24.814] checking sys/procctl.h usability... no [20:12:24.865] checking sys/procctl.h presence... no [20:12:24.882] checking for sys/procctl.h... no [20:12:24.885] checking sys/signalfd.h usability... no [20:12:24.937] checking sys/signalfd.h presence... no [20:12:24.955] checking for sys/signalfd.h... no [20:12:24.959] checking sys/ucred.h usability... no [20:12:25.011] checking sys/ucred.h presence... no [20:12:25.029] checking for sys/ucred.h... no [20:12:25.032] checking termios.h usability... no [20:12:25.084] checking termios.h presence... no [20:12:25.102] checking for termios.h... no [20:12:25.105] checking ucred.h usability... no [20:12:25.156] checking ucred.h presence... no [20:12:25.174] checking for ucred.h... no [20:12:25.177] checking xlocale.h usability... no [20:12:25.228] checking xlocale.h presence... no [20:12:25.245] checking for xlocale.h... no [20:12:25.248] checking zlib.h usability... yes [20:12:25.258] checking zlib.h presence... yes [20:12:25.276] checking for zlib.h... yes [20:12:25.276] checking for lz4... /usr/bin/lz4 [20:12:25.276] checking for zstd... /usr/bin/zstd [20:12:25.276] checking for openssl... /usr/bin/openssl [20:12:25.281] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [20:12:25.281] checking crtdefs.h usability... yes [20:12:25.288] checking crtdefs.h presence... yes [20:12:25.302] checking for crtdefs.h... yes [20:12:25.303] checking whether byte ordering is bigendian... no [20:12:25.372] checking for inline... inline [20:12:25.379] checking for printf format archetype... gnu_printf [20:12:25.387] checking for _Static_assert... yes [20:12:25.425] checking for typeof... typeof [20:12:25.432] checking for __builtin_types_compatible_p... yes [20:12:25.443] checking for __builtin_constant_p... yes [20:12:25.453] checking for __builtin_mul_overflow... yes [20:12:25.499] checking for __builtin_unreachable... yes [20:12:25.538] checking for computed goto support... yes [20:12:25.553] checking for struct tm.tm_zone... no [20:12:25.625] checking for union semun... no [20:12:25.657] checking for socklen_t... yes [20:12:26.750] checking for struct sockaddr.sa_len... no [20:12:28.671] checking for C/C++ restrict keyword... __restrict [20:12:28.683] checking for struct option... yes [20:12:28.723] checking whether assembler supports x86_64 popcntq... yes [20:12:28.729] checking size of off_t... 4 [20:12:28.925] 0 [20:12:28.925] checking for int timezone... yes [20:12:28.975] checking for backtrace_symbols... no [20:12:29.024] checking for copyfile... no [20:12:29.072] checking for copy_file_range... no [20:12:29.120] checking for elf_aux_info... no [20:12:29.168] checking for getauxval... no [20:12:29.216] checking for getifaddrs... no [20:12:29.265] checking for getpeerucred... no [20:12:29.313] checking for inet_pton... yes [20:12:29.361] checking for kqueue... no [20:12:29.409] checking for localeconv_l... no [20:12:29.457] checking for mbstowcs_l... no [20:12:29.505] checking for posix_fallocate... no [20:12:29.552] checking for ppoll... no [20:12:29.599] checking for pthread_is_threaded_np... no [20:12:29.646] checking for setproctitle... no [20:12:29.694] checking for setproctitle_fast... no [20:12:29.742] checking for strsignal... no [20:12:29.789] checking for syncfs... no [20:12:29.837] checking for sync_file_range... no [20:12:29.885] checking for uselocale... no [20:12:29.933] checking for wcstombs_l... no [20:12:29.978] checking for __builtin_bswap16... yes [20:12:30.024] checking for __builtin_bswap32... yes [20:12:30.069] checking for __builtin_bswap64... yes [20:12:30.115] checking for __builtin_clz... yes [20:12:30.162] checking for __builtin_ctz... yes [20:12:30.206] checking for __builtin_popcount... yes [20:12:30.251] checking for __builtin_frame_address... yes [20:12:30.296] checking for _LARGEFILE_SOURCE value needed for large files... no [20:12:30.348] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:12:30.376] checking for posix_fadvise... no [20:12:30.425] checking whether posix_fadvise is declared... no [20:12:30.467] checking whether fdatasync is declared... no [20:12:30.510] checking whether strlcat is declared... no [20:12:30.569] checking whether strlcpy is declared... no [20:12:30.628] checking whether strnlen is declared... yes [20:12:30.641] checking whether strsep is declared... no [20:12:30.701] checking whether timingsafe_bcmp is declared... no [20:12:30.762] checking whether preadv is declared... no [20:12:30.795] checking whether pwritev is declared... no [20:12:30.829] checking whether strchrnul is declared... no [20:12:30.869] checking whether memset_s is declared... no [20:12:30.909] checking whether F_FULLFSYNC is declared... no [20:12:30.947] checking for explicit_bzero... no [20:12:30.992] checking for getopt... yes [20:12:31.034] checking for getpeereid... no [20:12:31.079] checking for inet_aton... no [20:12:31.124] checking for mkdtemp... no [20:12:31.169] checking for strlcat... no [20:12:31.212] checking for strlcpy... no [20:12:31.257] checking for strnlen... yes [20:12:31.302] checking for strsep... no [20:12:31.348] checking for timingsafe_bcmp... no [20:12:31.393] checking for pthread_barrier_wait... yes [20:12:31.434] configure: On mingw32 we will use our strtof wrapper. [20:12:31.434] checking for getopt_long... yes [20:12:31.476] checking for syslog... no [20:12:31.521] checking for opterr... yes [20:12:31.567] checking for optreset... no [20:12:31.617] checking test program... cross-compiling [20:12:31.617] checking size of void *... 8 [20:12:31.918] checking size of size_t... 8 [20:12:32.191] checking size of long... 4 [20:12:32.384] checking size of long long... 8 [20:12:32.636] checking alignment of short... 2 [20:12:32.866] checking alignment of int... 4 [20:12:33.061] checking alignment of long... 4 [20:12:33.273] checking alignment of int64_t... 8 [20:12:33.629] checking alignment of double... 8 [20:12:33.886] checking for __int128... yes [20:12:33.934] checking for __int128 alignment bug... assuming ok [20:12:33.934] checking alignment of PG_INT128_TYPE... 16 [20:12:34.267] checking for builtin __sync char locking functions... yes [20:12:34.307] checking for builtin __sync int32 locking functions... yes [20:12:34.346] checking for builtin __sync int32 atomic operations... yes [20:12:34.386] checking for builtin __sync int64 atomic operations... yes [20:12:34.429] checking for builtin __atomic int32 atomic operations... yes [20:12:34.469] checking for builtin __atomic int64 atomic operations... yes [20:12:34.510] checking for __get_cpuid... yes [20:12:34.555] checking for __get_cpuid_count... yes [20:12:34.598] checking for __cpuid... no [20:12:34.985] checking for __cpuidex... no [20:12:35.394] checking for _xgetbv... yes [20:12:35.789] checking for _mm512_popcnt_epi64... yes [20:12:36.192] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:12:36.289] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:12:36.311] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:12:36.329] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:12:36.347] 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 [20:12:36.400] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:12:36.400] checking for _mm512_clmulepi64_epi128... yes [20:12:36.794] checking for vectorized CRC-32C... AVX-512 with runtime check [20:12:36.794] checking which random number source to use... Windows native [20:12:36.796] checking for xmllint... /usr/bin/xmllint [20:12:36.796] checking for xsltproc... /usr/bin/xsltproc [20:12:36.796] checking for fop... /usr/bin/fop [20:12:36.796] checking for dbtoepub... no [20:12:36.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:12:36.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:12:36.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:12:36.807] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:12:36.807] 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 [20:12:36.807] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:12:36.807] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:12:36.893] configure: creating ./config.status [20:12:36.977] config.status: creating GNUmakefile [20:12:36.989] config.status: creating src/Makefile.global [20:12:37.004] config.status: creating src/include/pg_config.h [20:12:37.017] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:12:37.032] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:12:37.040] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:12:37.047] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:12:37.054] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:12:37.061] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:12:37.064] config.status: executing check_win32_symlinks commands [20:12:37.098] [20:12:37.098] real 0m15.632s [20:12:37.098] user 0m10.354s [20:12:37.098] sys 0m4.949s [20:12:37.098] make -s -j${BUILD_JOBS} clean [20:12:37.602] time make -s -j${BUILD_JOBS} world-bin [20:13:20.976] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [20:13:20.976] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [20:13:20.976] 2830 | JsonbValue jbvbuf; [20:13:20.976] | ^~~~~~~~~~ [20:13:20.976] cc1: all warnings being treated as errors [20:13:20.978] make[4]: *** [: jsonpath_exec.o] Error 1 [20:13:20.978] make[4]: *** Waiting for unfinished jobs.... [20:13:21.789] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [20:13:21.789] make[3]: *** Waiting for unfinished jobs.... [20:13:23.221] make[2]: *** [common.mk:37: utils-recursive] Error 2 [20:13:23.221] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:13:23.222] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:13:23.222] [20:13:23.222] real 0m45.620s [20:13:23.222] user 2m21.362s [20:13:23.222] sys 0m29.410s [20:13:23.222] [20:13:23.222] Exit status: 2