[06:09:35.655] time ./configure \ [06:09:35.655] --host=x86_64-w64-mingw32 \ [06:09:35.655] --enable-cassert \ [06:09:35.655] --without-icu \ [06:09:35.655] CC="ccache x86_64-w64-mingw32-gcc" \ [06:09:35.655] CXX="ccache x86_64-w64-mingw32-g++" [06:09:35.776] checking build system type... x86_64-pc-linux-gnu [06:09:35.968] checking host system type... x86_64-w64-mingw32 [06:09:35.973] checking which template to use... win32 [06:09:35.973] checking whether NLS is wanted... no [06:09:35.973] checking for default port number... 5432 [06:09:35.981] checking for block size... 8kB [06:09:35.982] checking for segment size... 1GB [06:09:35.985] checking for WAL block size... 8kB [06:09:35.986] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:09:36.022] checking whether the C compiler works... yes [06:09:36.162] checking for C compiler default output file name... a.exe [06:09:36.163] checking for suffix of executables... .exe [06:09:36.207] checking whether we are cross compiling... yes [06:09:36.289] checking for suffix of object files... o [06:09:36.308] checking whether we are using the GNU C compiler... yes [06:09:36.315] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:09:36.351] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:09:36.378] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:09:36.465] checking whether we are using the GNU C++ compiler... yes [06:09:36.602] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:09:36.735] checking for gawk... no [06:09:36.735] checking for mawk... mawk [06:09:36.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:09:36.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:09:36.791] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:09:36.840] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:09:36.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:09:36.895] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:09:36.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:09:36.910] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:09:36.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:09:36.954] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:09:36.972] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:09:36.980] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:09:36.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:09:37.006] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:09:37.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:09:37.049] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:09:37.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:09:37.097] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:09:37.105] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:09:37.141] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:09:37.149] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:09:37.156] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:09:37.174] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:09:37.201] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:09:37.219] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:09:37.238] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:09:37.278] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:09:37.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:09:37.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:09:37.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:09:37.399] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:09:37.436] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:09:37.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:09:37.514] checking whether the C compiler still works... yes [06:09:37.581] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:09:37.654] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:09:37.654] checking pkg-config is at least version 0.9.0... yes [06:09:37.671] checking whether to build with ICU support... no [06:09:37.671] checking whether to build with Tcl... no [06:09:37.671] checking whether to build Perl modules... no [06:09:37.671] checking whether to build Python modules... no [06:09:37.671] checking whether to build with GSSAPI support... no [06:09:37.673] checking whether to build with PAM support... no [06:09:37.673] checking whether to build with BSD Authentication support... no [06:09:37.673] checking whether to build with LDAP support... no [06:09:37.673] checking whether to build with Bonjour support... no [06:09:37.673] checking whether to build with SELinux support... no [06:09:37.673] checking whether to build with systemd support... no [06:09:37.673] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:09:37.673] checking whether to build with liburing support... no [06:09:37.673] checking whether to build with libcurl support... no [06:09:37.674] checking whether to build with libnuma support... no [06:09:37.674] checking whether to build with XML support... no [06:09:37.674] checking whether to build with LZ4 support... no [06:09:37.674] checking whether to build with ZSTD support... no [06:09:37.675] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:09:37.675] checking whether it is possible to strip libraries... yes [06:09:37.681] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:09:37.682] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:09:37.682] checking for a BSD-compatible install... /usr/bin/install -c [06:09:37.693] checking for tar... /usr/bin/tar [06:09:37.693] checking whether ln -s works... yes [06:09:37.693] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:09:37.696] checking for bison... /usr/bin/bison [06:09:37.698] configure: using bison (GNU Bison) 3.8.2 [06:09:37.701] checking for flex... /usr/bin/flex [06:09:37.704] configure: using flex 2.6.4 [06:09:37.704] checking for perl... /usr/bin/perl [06:09:37.707] configure: using perl 5.36.0 [06:09:37.709] checking for zic... /usr/sbin/zic [06:09:37.709] checking for a sed that does not truncate output... /usr/bin/sed [06:09:37.715] checking for grep that handles long lines and -e... /usr/bin/grep [06:09:37.717] checking for egrep... /usr/bin/grep -E [06:09:37.719] checking for ANSI C header files... yes [06:09:37.768] checking for sys/types.h... yes [06:09:37.784] checking for sys/stat.h... yes [06:09:37.823] checking for stdlib.h... yes [06:09:37.838] checking for string.h... yes [06:09:37.874] checking for memory.h... yes [06:09:37.939] checking for strings.h... yes [06:09:38.003] checking for inttypes.h... yes [06:09:38.071] checking for stdint.h... yes [06:09:38.088] checking for unistd.h... yes [06:09:38.159] checking for main in -lm... yes [06:09:38.208] checking for library containing setproctitle... no [06:09:38.303] checking for library containing dlsym... no [06:09:38.398] checking for library containing socket... -lws2_32 [06:09:38.535] checking for library containing getopt_long... none required [06:09:38.584] checking for library containing shm_open... no [06:09:38.673] checking for library containing shm_unlink... no [06:09:38.763] checking for library containing clock_gettime... no [06:09:38.852] checking for library containing shmget... no [06:09:38.944] checking for library containing backtrace_symbols... no [06:09:39.040] checking for library containing pthread_barrier_wait... -lpthread [06:09:39.136] checking for inflate in -lz... yes [06:09:39.187] checking atomic.h usability... no [06:09:39.246] checking atomic.h presence... no [06:09:39.267] checking for atomic.h... no [06:09:39.270] checking copyfile.h usability... no [06:09:39.326] checking copyfile.h presence... no [06:09:39.347] checking for copyfile.h... no [06:09:39.351] checking execinfo.h usability... no [06:09:39.410] checking execinfo.h presence... no [06:09:39.432] checking for execinfo.h... no [06:09:39.436] checking getopt.h usability... yes [06:09:39.444] checking getopt.h presence... yes [06:09:39.461] checking for getopt.h... yes [06:09:39.469] checking ifaddrs.h usability... no [06:09:39.529] checking ifaddrs.h presence... no [06:09:39.551] checking for ifaddrs.h... no [06:09:39.554] checking mbarrier.h usability... no [06:09:39.614] checking mbarrier.h presence... no [06:09:39.634] checking for mbarrier.h... no [06:09:39.638] checking sys/epoll.h usability... no [06:09:39.695] checking sys/epoll.h presence... no [06:09:39.715] checking for sys/epoll.h... no [06:09:39.718] checking sys/event.h usability... no [06:09:39.778] checking sys/event.h presence... no [06:09:39.799] checking for sys/event.h... no [06:09:39.803] checking sys/personality.h usability... no [06:09:39.865] checking sys/personality.h presence... no [06:09:39.887] checking for sys/personality.h... no [06:09:39.891] checking sys/prctl.h usability... no [06:09:39.950] checking sys/prctl.h presence... no [06:09:39.972] checking for sys/prctl.h... no [06:09:39.976] checking sys/procctl.h usability... no [06:09:40.035] checking sys/procctl.h presence... no [06:09:40.056] checking for sys/procctl.h... no [06:09:40.060] checking sys/signalfd.h usability... no [06:09:40.119] checking sys/signalfd.h presence... no [06:09:40.141] checking for sys/signalfd.h... no [06:09:40.144] checking sys/ucred.h usability... no [06:09:40.203] checking sys/ucred.h presence... no [06:09:40.224] checking for sys/ucred.h... no [06:09:40.227] checking termios.h usability... no [06:09:40.284] checking termios.h presence... no [06:09:40.304] checking for termios.h... no [06:09:40.308] checking ucred.h usability... no [06:09:40.365] checking ucred.h presence... no [06:09:40.386] checking for ucred.h... no [06:09:40.390] checking xlocale.h usability... no [06:09:40.448] checking xlocale.h presence... no [06:09:40.469] checking for xlocale.h... no [06:09:40.472] checking zlib.h usability... yes [06:09:40.508] checking zlib.h presence... yes [06:09:40.528] checking for zlib.h... yes [06:09:40.529] checking for lz4... /usr/bin/lz4 [06:09:40.529] checking for zstd... /usr/bin/zstd [06:09:40.529] checking for openssl... /usr/bin/openssl [06:09:40.534] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [06:09:40.534] checking crtdefs.h usability... yes [06:09:40.543] checking crtdefs.h presence... yes [06:09:40.559] checking for crtdefs.h... yes [06:09:40.561] checking whether byte ordering is bigendian... no [06:09:40.676] checking for inline... inline [06:09:40.684] checking for printf format archetype... gnu_printf [06:09:40.703] checking for _Static_assert... yes [06:09:40.747] checking for typeof... typeof [06:09:40.755] checking for __builtin_types_compatible_p... yes [06:09:40.767] checking for __builtin_constant_p... yes [06:09:40.778] checking for __builtin_mul_overflow... yes [06:09:40.828] checking for __builtin_unreachable... yes [06:09:40.872] checking for computed goto support... yes [06:09:40.880] checking for struct tm.tm_zone... no [06:09:40.961] checking for union semun... no [06:09:40.995] checking for socklen_t... yes [06:09:42.613] checking for struct sockaddr.sa_len... no [06:09:44.766] checking for C/C++ restrict keyword... __restrict [06:09:44.790] checking for struct option... yes [06:09:44.836] checking whether assembler supports x86_64 popcntq... yes [06:09:44.873] checking size of off_t... 4 [06:09:45.156] 0 [06:09:45.156] checking for int timezone... yes [06:09:45.211] checking for backtrace_symbols... no [06:09:45.266] checking for copyfile... no [06:09:45.317] checking for copy_file_range... no [06:09:45.368] checking for elf_aux_info... no [06:09:45.421] checking for getauxval... no [06:09:45.475] checking for getifaddrs... no [06:09:45.528] checking for getpeerucred... no [06:09:45.584] checking for inet_pton... yes [06:09:45.637] checking for kqueue... no [06:09:45.689] checking for localeconv_l... no [06:09:45.744] checking for mbstowcs_l... no [06:09:45.797] checking for posix_fallocate... no [06:09:45.850] checking for ppoll... no [06:09:45.902] checking for pthread_is_threaded_np... no [06:09:45.954] checking for setproctitle... no [06:09:46.008] checking for setproctitle_fast... no [06:09:46.061] checking for strsignal... no [06:09:46.115] checking for syncfs... no [06:09:46.170] checking for sync_file_range... no [06:09:46.224] checking for uselocale... no [06:09:46.279] checking for wcstombs_l... no [06:09:46.331] checking for __builtin_bswap16... yes [06:09:46.382] checking for __builtin_bswap32... yes [06:09:46.431] checking for __builtin_bswap64... yes [06:09:46.483] checking for __builtin_clz... yes [06:09:46.533] checking for __builtin_ctz... yes [06:09:46.585] checking for __builtin_popcount... yes [06:09:46.637] checking for __builtin_frame_address... yes [06:09:46.690] checking for _LARGEFILE_SOURCE value needed for large files... no [06:09:46.745] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:09:46.779] checking for posix_fadvise... no [06:09:46.834] checking whether posix_fadvise is declared... no [06:09:46.882] checking whether fdatasync is declared... no [06:09:46.932] checking whether strlcat is declared... no [06:09:47.001] checking whether strlcpy is declared... no [06:09:47.070] checking whether strnlen is declared... yes [06:09:47.085] checking whether strsep is declared... no [06:09:47.153] checking whether timingsafe_bcmp is declared... no [06:09:47.222] checking whether preadv is declared... no [06:09:47.258] checking whether pwritev is declared... no [06:09:47.294] checking whether strchrnul is declared... no [06:09:47.337] checking whether memset_s is declared... no [06:09:47.381] checking whether F_FULLFSYNC is declared... no [06:09:47.423] checking for explicit_bzero... no [06:09:47.472] checking for getopt... yes [06:09:47.517] checking for getpeereid... no [06:09:47.565] checking for inet_aton... no [06:09:47.617] checking for mkdtemp... no [06:09:47.668] checking for strlcat... no [06:09:47.718] checking for strlcpy... no [06:09:47.769] checking for strnlen... yes [06:09:47.819] checking for strsep... no [06:09:47.869] checking for timingsafe_bcmp... no [06:09:47.920] checking for pthread_barrier_wait... yes [06:09:47.967] configure: On mingw32 we will use our strtof wrapper. [06:09:47.967] checking for getopt_long... yes [06:09:48.014] checking for syslog... no [06:09:48.065] checking for opterr... yes [06:09:48.116] checking for optreset... no [06:09:48.171] checking test program... cross-compiling [06:09:48.171] checking size of void *... 8 [06:09:48.571] checking size of size_t... 8 [06:09:48.909] checking size of long... 4 [06:09:49.227] checking size of long long... 8 [06:09:49.655] checking alignment of short... 2 [06:09:49.826] checking alignment of int... 4 [06:09:50.046] checking alignment of long... 4 [06:09:50.376] checking alignment of int64_t... 8 [06:09:50.768] checking alignment of double... 8 [06:09:51.136] checking for __int128... yes [06:09:51.188] checking for __int128 alignment bug... assuming ok [06:09:51.188] checking alignment of PG_INT128_TYPE... 16 [06:09:51.658] checking for builtin __sync char locking functions... yes [06:09:51.702] checking for builtin __sync int32 locking functions... yes [06:09:51.746] checking for builtin __sync int32 atomic operations... yes [06:09:51.792] checking for builtin __sync int64 atomic operations... yes [06:09:51.838] checking for builtin __atomic int32 atomic operations... yes [06:09:51.881] checking for builtin __atomic int64 atomic operations... yes [06:09:51.925] checking for __get_cpuid... yes [06:09:51.974] checking for __get_cpuid_count... yes [06:09:52.020] checking for __cpuid... no [06:09:52.421] checking for __cpuidex... no [06:09:52.857] checking for _xgetbv... yes [06:09:53.267] checking for _mm512_popcnt_epi64... yes [06:09:53.687] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:09:53.795] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:09:53.820] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:09:53.840] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:09:53.861] 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 [06:09:53.918] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:09:53.918] checking for _mm512_clmulepi64_epi128... yes [06:09:54.333] checking for vectorized CRC-32C... AVX-512 with runtime check [06:09:54.333] checking which random number source to use... Windows native [06:09:54.335] checking for xmllint... /usr/bin/xmllint [06:09:54.336] checking for xsltproc... /usr/bin/xsltproc [06:09:54.336] checking for fop... /usr/bin/fop [06:09:54.336] checking for dbtoepub... no [06:09:54.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:09:54.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:09:54.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:09:54.349] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:09:54.349] 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 [06:09:54.349] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:09:54.349] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:09:54.447] configure: creating ./config.status [06:09:54.540] config.status: creating GNUmakefile [06:09:54.553] config.status: creating src/Makefile.global [06:09:54.569] config.status: creating src/include/pg_config.h [06:09:54.581] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:09:54.597] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:09:54.605] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:09:54.612] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:09:54.620] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:09:54.627] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:09:54.630] config.status: executing check_win32_symlinks commands [06:09:54.666] [06:09:54.666] real 0m19.010s [06:09:54.666] user 0m12.489s [06:09:54.666] sys 0m6.184s [06:09:54.666] make -s -j${BUILD_JOBS} clean [06:09:55.191] time make -s -j${BUILD_JOBS} world-bin [06:11:55.509] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [06:11:55.509] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [06:11:55.509] 2830 | JsonbValue jbvbuf; [06:11:55.509] | ^~~~~~~~~~ [06:11:55.509] cc1: all warnings being treated as errors [06:11:55.509] make[4]: *** [: jsonpath_exec.o] Error 1 [06:11:55.509] make[4]: *** Waiting for unfinished jobs.... [06:11:56.324] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [06:11:56.324] make[3]: *** Waiting for unfinished jobs.... [06:11:58.509] make[2]: *** [common.mk:37: utils-recursive] Error 2 [06:11:58.509] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:11:58.510] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:11:58.510] [06:11:58.510] real 2m3.319s [06:11:58.510] user 6m40.885s [06:11:58.510] sys 1m16.320s [06:11:58.510] [06:11:58.510] Exit status: 2