[07:46:05.575] time ./configure \ [07:46:05.575] --host=x86_64-w64-mingw32 \ [07:46:05.575] --enable-cassert \ [07:46:05.575] --without-icu \ [07:46:05.575] CC="ccache x86_64-w64-mingw32-gcc" \ [07:46:05.575] CXX="ccache x86_64-w64-mingw32-g++" [07:46:05.690] checking build system type... x86_64-pc-linux-gnu [07:46:05.858] checking host system type... x86_64-w64-mingw32 [07:46:05.863] checking which template to use... win32 [07:46:05.863] checking whether NLS is wanted... no [07:46:05.863] checking for default port number... 5432 [07:46:05.870] checking for block size... 8kB [07:46:05.871] checking for segment size... 1GB [07:46:05.873] checking for WAL block size... 8kB [07:46:05.874] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:46:05.906] checking whether the C compiler works... yes [07:46:06.022] checking for C compiler default output file name... a.exe [07:46:06.023] checking for suffix of executables... .exe [07:46:06.062] checking whether we are cross compiling... yes [07:46:06.130] checking for suffix of object files... o [07:46:06.138] checking whether we are using the GNU C compiler... yes [07:46:06.144] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:46:06.150] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:46:06.160] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:46:06.219] checking whether we are using the GNU C++ compiler... yes [07:46:06.226] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:46:06.291] checking for gawk... no [07:46:06.291] checking for mawk... mawk [07:46:06.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:46:06.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:46:06.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:46:06.351] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:46:06.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:46:06.510] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:46:06.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:46:06.523] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:46:06.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:46:06.537] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:46:06.544] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:46:06.551] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:46:06.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:46:06.564] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:46:06.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:46:06.577] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:46:06.584] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:46:06.620] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:46:06.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:46:06.633] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:46:06.639] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:46:06.646] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:46:06.653] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:46:06.675] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:46:06.682] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:46:06.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:46:06.725] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:46:06.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:46:06.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:46:06.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:46:06.809] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:46:06.815] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:46:06.822] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:46:06.830] checking whether the C compiler still works... yes [07:46:06.891] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:46:06.959] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:46:06.959] checking pkg-config is at least version 0.9.0... yes [07:46:06.975] checking whether to build with ICU support... no [07:46:06.975] checking whether to build with Tcl... no [07:46:06.975] checking whether to build Perl modules... no [07:46:06.975] checking whether to build Python modules... no [07:46:06.975] checking whether to build with GSSAPI support... no [07:46:06.977] checking whether to build with PAM support... no [07:46:06.977] checking whether to build with BSD Authentication support... no [07:46:06.977] checking whether to build with LDAP support... no [07:46:06.977] checking whether to build with Bonjour support... no [07:46:06.977] checking whether to build with SELinux support... no [07:46:06.977] checking whether to build with systemd support... no [07:46:06.977] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:46:06.977] checking whether to build with liburing support... no [07:46:06.977] checking whether to build with libcurl support... no [07:46:06.978] checking whether to build with libnuma support... no [07:46:06.978] checking whether to build with XML support... no [07:46:06.978] checking whether to build with LZ4 support... no [07:46:06.978] checking whether to build with ZSTD support... no [07:46:06.978] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:46:06.979] checking whether it is possible to strip libraries... yes [07:46:06.985] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:46:06.985] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:46:06.986] checking for a BSD-compatible install... /usr/bin/install -c [07:46:06.994] checking for tar... /usr/bin/tar [07:46:06.994] checking whether ln -s works... yes [07:46:06.994] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:46:06.996] checking for bison... /usr/bin/bison [07:46:06.999] configure: using bison (GNU Bison) 3.8.2 [07:46:07.001] checking for flex... /usr/bin/flex [07:46:07.004] configure: using flex 2.6.4 [07:46:07.004] checking for perl... /usr/bin/perl [07:46:07.006] configure: using perl 5.36.0 [07:46:07.009] checking for zic... /usr/sbin/zic [07:46:07.009] checking for a sed that does not truncate output... /usr/bin/sed [07:46:07.014] checking for grep that handles long lines and -e... /usr/bin/grep [07:46:07.016] checking for egrep... /usr/bin/grep -E [07:46:07.018] checking for ANSI C header files... yes [07:46:07.064] checking for sys/types.h... yes [07:46:07.079] checking for sys/stat.h... yes [07:46:07.094] checking for stdlib.h... yes [07:46:07.107] checking for string.h... yes [07:46:07.120] checking for memory.h... yes [07:46:07.134] checking for strings.h... yes [07:46:07.147] checking for inttypes.h... yes [07:46:07.162] checking for stdint.h... yes [07:46:07.175] checking for unistd.h... yes [07:46:07.188] checking for main in -lm... yes [07:46:07.232] checking for library containing setproctitle... no [07:46:07.316] checking for library containing dlsym... no [07:46:07.401] checking for library containing socket... -lws2_32 [07:46:07.524] checking for library containing getopt_long... none required [07:46:07.569] checking for library containing shm_open... no [07:46:07.652] checking for library containing shm_unlink... no [07:46:07.735] checking for library containing clock_gettime... no [07:46:07.819] checking for library containing shmget... no [07:46:07.900] checking for library containing backtrace_symbols... no [07:46:07.983] checking for library containing pthread_barrier_wait... -lpthread [07:46:08.067] checking for inflate in -lz... yes [07:46:08.116] checking atomic.h usability... no [07:46:08.171] checking atomic.h presence... no [07:46:08.189] checking for atomic.h... no [07:46:08.192] checking copyfile.h usability... no [07:46:08.243] checking copyfile.h presence... no [07:46:08.261] checking for copyfile.h... no [07:46:08.265] checking execinfo.h usability... no [07:46:08.317] checking execinfo.h presence... no [07:46:08.335] checking for execinfo.h... no [07:46:08.338] checking getopt.h usability... yes [07:46:08.345] checking getopt.h presence... yes [07:46:08.359] checking for getopt.h... yes [07:46:08.366] checking ifaddrs.h usability... no [07:46:08.418] checking ifaddrs.h presence... no [07:46:08.434] checking for ifaddrs.h... no [07:46:08.437] checking mbarrier.h usability... no [07:46:08.487] checking mbarrier.h presence... no [07:46:08.506] checking for mbarrier.h... no [07:46:08.509] checking sys/epoll.h usability... no [07:46:08.562] checking sys/epoll.h presence... no [07:46:08.581] checking for sys/epoll.h... no [07:46:08.584] checking sys/event.h usability... no [07:46:08.636] checking sys/event.h presence... no [07:46:08.653] checking for sys/event.h... no [07:46:08.656] checking sys/personality.h usability... no [07:46:08.706] checking sys/personality.h presence... no [07:46:08.723] checking for sys/personality.h... no [07:46:08.726] checking sys/prctl.h usability... no [07:46:08.776] checking sys/prctl.h presence... no [07:46:08.793] checking for sys/prctl.h... no [07:46:08.796] checking sys/procctl.h usability... no [07:46:08.845] checking sys/procctl.h presence... no [07:46:08.862] checking for sys/procctl.h... no [07:46:08.865] checking sys/signalfd.h usability... no [07:46:08.916] checking sys/signalfd.h presence... no [07:46:08.934] checking for sys/signalfd.h... no [07:46:08.937] checking sys/ucred.h usability... no [07:46:08.990] checking sys/ucred.h presence... no [07:46:09.007] checking for sys/ucred.h... no [07:46:09.010] checking termios.h usability... no [07:46:09.063] checking termios.h presence... no [07:46:09.080] checking for termios.h... no [07:46:09.084] checking ucred.h usability... no [07:46:09.137] checking ucred.h presence... no [07:46:09.155] checking for ucred.h... no [07:46:09.158] checking xlocale.h usability... no [07:46:09.211] checking xlocale.h presence... no [07:46:09.228] checking for xlocale.h... no [07:46:09.231] checking zlib.h usability... yes [07:46:09.243] checking zlib.h presence... yes [07:46:09.260] checking for zlib.h... yes [07:46:09.261] checking for lz4... /usr/bin/lz4 [07:46:09.261] checking for zstd... /usr/bin/zstd [07:46:09.261] checking for openssl... /usr/bin/openssl [07:46:09.265] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [07:46:09.266] checking crtdefs.h usability... yes [07:46:09.273] checking crtdefs.h presence... yes [07:46:09.286] checking for crtdefs.h... yes [07:46:09.288] checking whether byte ordering is bigendian... no [07:46:09.357] checking for inline... inline [07:46:09.364] checking for printf format archetype... gnu_printf [07:46:09.373] checking for _Static_assert... yes [07:46:09.412] checking for typeof... typeof [07:46:09.419] checking for __builtin_types_compatible_p... yes [07:46:09.429] checking for __builtin_constant_p... yes [07:46:09.439] checking for __builtin_mul_overflow... yes [07:46:09.484] checking for __builtin_unreachable... yes [07:46:09.525] checking for computed goto support... yes [07:46:09.532] checking for struct tm.tm_zone... no [07:46:09.606] checking for union semun... no [07:46:09.637] checking for socklen_t... yes [07:46:10.730] checking for struct sockaddr.sa_len... no [07:46:12.664] checking for C/C++ restrict keyword... __restrict [07:46:12.677] checking for struct option... yes [07:46:12.720] checking whether assembler supports x86_64 popcntq... yes [07:46:12.727] checking size of off_t... 4 [07:46:12.916] 0 [07:46:12.916] checking for int timezone... yes [07:46:12.964] checking for backtrace_symbols... no [07:46:13.012] checking for copyfile... no [07:46:13.061] checking for copy_file_range... no [07:46:13.108] checking for elf_aux_info... no [07:46:13.155] checking for getauxval... no [07:46:13.201] checking for getifaddrs... no [07:46:13.247] checking for getpeerucred... no [07:46:13.293] checking for inet_pton... yes [07:46:13.339] checking for kqueue... no [07:46:13.385] checking for localeconv_l... no [07:46:13.431] checking for mbstowcs_l... no [07:46:13.478] checking for posix_fallocate... no [07:46:13.525] checking for ppoll... no [07:46:13.571] checking for pthread_is_threaded_np... no [07:46:13.616] checking for setproctitle... no [07:46:13.662] checking for setproctitle_fast... no [07:46:13.708] checking for strsignal... no [07:46:13.754] checking for syncfs... no [07:46:13.801] checking for sync_file_range... no [07:46:13.847] checking for uselocale... no [07:46:13.892] checking for wcstombs_l... no [07:46:13.936] checking for __builtin_bswap16... yes [07:46:13.982] checking for __builtin_bswap32... yes [07:46:14.025] checking for __builtin_bswap64... yes [07:46:14.069] checking for __builtin_clz... yes [07:46:14.113] checking for __builtin_ctz... yes [07:46:14.157] checking for __builtin_popcount... yes [07:46:14.202] checking for __builtin_frame_address... yes [07:46:14.246] checking for _LARGEFILE_SOURCE value needed for large files... no [07:46:14.296] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:46:14.325] checking for posix_fadvise... no [07:46:14.373] checking whether posix_fadvise is declared... no [07:46:14.414] checking whether fdatasync is declared... no [07:46:14.457] checking whether strlcat is declared... no [07:46:14.515] checking whether strlcpy is declared... no [07:46:14.573] checking whether strnlen is declared... yes [07:46:14.585] checking whether strsep is declared... no [07:46:14.643] checking whether timingsafe_bcmp is declared... no [07:46:14.702] checking whether preadv is declared... no [07:46:14.734] checking whether pwritev is declared... no [07:46:14.766] checking whether strchrnul is declared... no [07:46:14.803] checking whether memset_s is declared... no [07:46:14.841] checking whether F_FULLFSYNC is declared... no [07:46:14.876] checking for explicit_bzero... no [07:46:14.920] checking for getopt... yes [07:46:14.962] checking for getpeereid... no [07:46:15.006] checking for inet_aton... no [07:46:15.050] checking for mkdtemp... no [07:46:15.095] checking for strlcat... no [07:46:15.139] checking for strlcpy... no [07:46:15.183] checking for strnlen... yes [07:46:15.228] checking for strsep... no [07:46:15.273] checking for timingsafe_bcmp... no [07:46:15.317] checking for pthread_barrier_wait... yes [07:46:15.359] configure: On mingw32 we will use our strtof wrapper. [07:46:15.359] checking for getopt_long... yes [07:46:15.400] checking for syslog... no [07:46:15.444] checking for opterr... yes [07:46:15.489] checking for optreset... no [07:46:15.536] checking test program... cross-compiling [07:46:15.536] checking size of void *... 8 [07:46:15.784] checking size of size_t... 8 [07:46:16.029] checking size of long... 4 [07:46:16.221] checking size of long long... 8 [07:46:16.471] checking alignment of short... 2 [07:46:16.597] checking alignment of int... 4 [07:46:16.787] checking alignment of long... 4 [07:46:16.976] checking alignment of int64_t... 8 [07:46:17.226] checking alignment of double... 8 [07:46:17.473] checking for __int128... yes [07:46:17.519] checking for __int128 alignment bug... assuming ok [07:46:17.519] checking alignment of PG_INT128_TYPE... 16 [07:46:17.823] checking for builtin __sync char locking functions... yes [07:46:17.861] checking for builtin __sync int32 locking functions... yes [07:46:17.900] checking for builtin __sync int32 atomic operations... yes [07:46:17.939] checking for builtin __sync int64 atomic operations... yes [07:46:17.980] checking for builtin __atomic int32 atomic operations... yes [07:46:18.019] checking for builtin __atomic int64 atomic operations... yes [07:46:18.060] checking for __get_cpuid... yes [07:46:18.102] checking for __get_cpuid_count... yes [07:46:18.143] checking for __cpuid... no [07:46:18.536] checking for __cpuidex... no [07:46:18.949] checking for _xgetbv... yes [07:46:19.344] checking for _mm512_popcnt_epi64... yes [07:46:19.748] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:46:19.843] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:46:19.865] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:46:19.883] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:46:19.900] 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 [07:46:19.952] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:46:19.952] checking for _mm512_clmulepi64_epi128... yes [07:46:20.347] checking for vectorized CRC-32C... AVX-512 with runtime check [07:46:20.347] checking which random number source to use... Windows native [07:46:20.349] checking for xmllint... /usr/bin/xmllint [07:46:20.349] checking for xsltproc... /usr/bin/xsltproc [07:46:20.349] checking for fop... /usr/bin/fop [07:46:20.349] checking for dbtoepub... no [07:46:20.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:46:20.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:46:20.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:46:20.360] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:46:20.360] 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 [07:46:20.360] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:46:20.361] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:46:20.441] configure: creating ./config.status [07:46:20.518] config.status: creating GNUmakefile [07:46:20.529] config.status: creating src/Makefile.global [07:46:20.542] config.status: creating src/include/pg_config.h [07:46:20.554] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:46:20.567] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:46:20.574] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:46:20.580] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:46:20.587] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:46:20.593] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:46:20.596] config.status: executing check_win32_symlinks commands [07:46:20.627] [07:46:20.627] real 0m15.052s [07:46:20.627] user 0m10.099s [07:46:20.627] sys 0m4.679s [07:46:20.627] make -s -j${BUILD_JOBS} clean [07:46:21.127] time make -s -j${BUILD_JOBS} world-bin [07:46:42.916] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [07:46:42.916] jsonpath_exec.c:2830:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [07:46:42.916] 2830 | JsonbValue jbvbuf; [07:46:42.916] | ^~~~~~~~~~ [07:46:42.916] cc1: all warnings being treated as errors [07:46:42.916] make[4]: *** [: jsonpath_exec.o] Error 1 [07:46:42.916] make[4]: *** Waiting for unfinished jobs.... [07:46:42.926] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [07:46:42.926] make[2]: *** [common.mk:37: utils-recursive] Error 2 [07:46:42.926] make[2]: *** Waiting for unfinished jobs.... [07:46:49.036] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:46:49.037] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:46:49.037] [07:46:49.037] real 0m27.910s [07:46:49.037] user 1m25.248s [07:46:49.037] sys 0m18.980s [07:46:49.037] [07:46:49.037] Exit status: 2