[22:45:04.721] time ./configure \ [22:45:04.721] --host=x86_64-w64-mingw32 \ [22:45:04.721] --enable-cassert \ [22:45:04.721] --without-icu \ [22:45:04.721] CC="ccache x86_64-w64-mingw32-gcc" \ [22:45:04.721] CXX="ccache x86_64-w64-mingw32-g++" [22:45:04.858] checking build system type... x86_64-pc-linux-gnu [22:45:05.105] checking host system type... x86_64-w64-mingw32 [22:45:05.112] checking which template to use... win32 [22:45:05.112] checking whether NLS is wanted... no [22:45:05.112] checking for default port number... 5432 [22:45:05.120] checking for block size... 8kB [22:45:05.122] checking for segment size... 1GB [22:45:05.124] checking for WAL block size... 8kB [22:45:05.126] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:45:05.164] checking whether the C compiler works... yes [22:45:05.338] checking for C compiler default output file name... a.exe [22:45:05.340] checking for suffix of executables... .exe [22:45:05.385] checking whether we are cross compiling... yes [22:45:05.476] checking for suffix of object files... o [22:45:05.486] checking whether we are using the GNU C compiler... yes [22:45:05.494] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:45:05.501] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:45:05.515] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:45:05.590] checking whether we are using the GNU C++ compiler... yes [22:45:05.598] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:45:05.677] checking for gawk... no [22:45:05.677] checking for mawk... mawk [22:45:05.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:45:05.689] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:45:05.697] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:45:05.747] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:45:05.951] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:45:05.958] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:45:05.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:45:05.974] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:45:05.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:45:05.990] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:45:05.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:45:06.006] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:45:06.014] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:45:06.021] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:45:06.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:45:06.036] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:45:06.044] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:45:06.083] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:45:06.091] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:45:06.100] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:45:06.108] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:45:06.116] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:45:06.124] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:45:06.150] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:45:06.157] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:45:06.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:45:06.206] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:45:06.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:45:06.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:45:06.266] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:45:06.303] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:45:06.312] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:45:06.321] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:45:06.331] checking whether the C compiler still works... yes [22:45:06.404] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:45:06.489] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:45:06.489] checking pkg-config is at least version 0.9.0... yes [22:45:06.507] checking whether to build with ICU support... no [22:45:06.507] checking whether to build with Tcl... no [22:45:06.507] checking whether to build Perl modules... no [22:45:06.507] checking whether to build Python modules... no [22:45:06.507] checking whether to build with GSSAPI support... no [22:45:06.509] checking whether to build with PAM support... no [22:45:06.509] checking whether to build with BSD Authentication support... no [22:45:06.509] checking whether to build with LDAP support... no [22:45:06.509] checking whether to build with Bonjour support... no [22:45:06.509] checking whether to build with SELinux support... no [22:45:06.509] checking whether to build with systemd support... no [22:45:06.510] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:45:06.510] checking whether to build with XML support... no [22:45:06.510] checking whether to build with LZ4 support... no [22:45:06.510] checking whether to build with ZSTD support... no [22:45:06.511] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:45:06.511] checking whether it is possible to strip libraries... yes [22:45:06.519] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:45:06.520] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:45:06.520] checking for a BSD-compatible install... /usr/bin/install -c [22:45:06.531] checking for tar... /usr/bin/tar [22:45:06.531] checking whether ln -s works... yes [22:45:06.531] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:45:06.534] checking for bison... /usr/bin/bison [22:45:06.536] configure: using bison (GNU Bison) 3.8.2 [22:45:06.540] checking for flex... /usr/bin/flex [22:45:06.554] configure: using flex 2.6.4 [22:45:06.555] checking for perl... /usr/bin/perl [22:45:06.558] configure: using perl 5.36.0 [22:45:06.560] checking for zic... /usr/sbin/zic [22:45:06.561] checking for a sed that does not truncate output... /usr/bin/sed [22:45:06.567] checking for grep that handles long lines and -e... /usr/bin/grep [22:45:06.570] checking for egrep... /usr/bin/grep -E [22:45:06.572] checking for ANSI C header files... yes [22:45:06.628] checking for sys/types.h... yes [22:45:06.649] checking for sys/stat.h... yes [22:45:06.669] checking for stdlib.h... yes [22:45:06.688] checking for string.h... yes [22:45:06.706] checking for memory.h... yes [22:45:06.724] checking for strings.h... yes [22:45:06.743] checking for inttypes.h... yes [22:45:06.761] checking for stdint.h... yes [22:45:06.778] checking for unistd.h... yes [22:45:06.797] checking for main in -lm... yes [22:45:06.848] checking for library containing setproctitle... no [22:45:06.942] checking for library containing dlsym... no [22:45:07.037] checking for library containing socket... -lws2_32 [22:45:07.182] checking for library containing getopt_long... none required [22:45:07.235] checking for library containing shm_open... no [22:45:07.333] checking for library containing shm_unlink... no [22:45:07.431] checking for library containing clock_gettime... no [22:45:07.529] checking for library containing shmget... no [22:45:07.628] checking for library containing backtrace_symbols... no [22:45:07.728] checking for library containing pthread_barrier_wait... -lpthread [22:45:07.829] checking for inflate in -lz... yes [22:45:07.881] checking for stdbool.h that conforms to C99... yes [22:45:07.895] checking for _Bool... yes [22:45:07.980] checking atomic.h usability... no [22:45:08.042] checking atomic.h presence... no [22:45:08.065] checking for atomic.h... no [22:45:08.069] checking copyfile.h usability... no [22:45:08.131] checking copyfile.h presence... no [22:45:08.153] checking for copyfile.h... no [22:45:08.158] checking execinfo.h usability... no [22:45:08.220] checking execinfo.h presence... no [22:45:08.242] checking for execinfo.h... no [22:45:08.246] checking getopt.h usability... yes [22:45:08.255] checking getopt.h presence... yes [22:45:08.272] checking for getopt.h... yes [22:45:08.281] checking ifaddrs.h usability... no [22:45:08.345] checking ifaddrs.h presence... no [22:45:08.368] checking for ifaddrs.h... no [22:45:08.372] checking mbarrier.h usability... no [22:45:08.434] checking mbarrier.h presence... no [22:45:08.457] checking for mbarrier.h... no [22:45:08.461] checking sys/epoll.h usability... no [22:45:08.523] checking sys/epoll.h presence... no [22:45:08.545] checking for sys/epoll.h... no [22:45:08.549] checking sys/event.h usability... no [22:45:08.611] checking sys/event.h presence... no [22:45:08.633] checking for sys/event.h... no [22:45:08.637] checking sys/personality.h usability... no [22:45:08.700] checking sys/personality.h presence... no [22:45:08.722] checking for sys/personality.h... no [22:45:08.726] checking sys/prctl.h usability... no [22:45:08.787] checking sys/prctl.h presence... no [22:45:08.810] checking for sys/prctl.h... no [22:45:08.814] checking sys/procctl.h usability... no [22:45:08.877] checking sys/procctl.h presence... no [22:45:08.899] checking for sys/procctl.h... no [22:45:08.903] checking sys/signalfd.h usability... no [22:45:08.964] checking sys/signalfd.h presence... no [22:45:08.986] checking for sys/signalfd.h... no [22:45:08.990] checking sys/ucred.h usability... no [22:45:09.052] checking sys/ucred.h presence... no [22:45:09.073] checking for sys/ucred.h... no [22:45:09.077] checking termios.h usability... no [22:45:09.138] checking termios.h presence... no [22:45:09.160] checking for termios.h... no [22:45:09.164] checking ucred.h usability... no [22:45:09.226] checking ucred.h presence... no [22:45:09.248] checking for ucred.h... no [22:45:09.253] checking xlocale.h usability... no [22:45:09.314] checking xlocale.h presence... no [22:45:09.335] checking for xlocale.h... no [22:45:09.339] checking zlib.h usability... yes [22:45:09.351] checking zlib.h presence... yes [22:45:09.373] checking for zlib.h... yes [22:45:09.373] checking for lz4... /usr/bin/lz4 [22:45:09.373] checking for zstd... /usr/bin/zstd [22:45:09.374] checking for openssl... /usr/bin/openssl [22:45:09.379] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:45:09.379] checking crtdefs.h usability... yes [22:45:09.388] checking crtdefs.h presence... yes [22:45:09.405] checking for crtdefs.h... yes [22:45:09.406] checking whether byte ordering is bigendian... no [22:45:09.489] checking for inline... inline [22:45:09.497] checking for printf format archetype... gnu_printf [22:45:09.506] checking for _Static_assert... yes [22:45:09.551] checking for typeof... typeof [22:45:09.560] checking for __builtin_types_compatible_p... yes [22:45:09.573] checking for __builtin_constant_p... yes [22:45:09.587] checking for __builtin_unreachable... yes [22:45:09.633] checking for computed goto support... yes [22:45:09.642] checking for struct tm.tm_zone... no [22:45:09.732] checking for union semun... no [22:45:09.772] checking for socklen_t... yes [22:45:11.060] checking for struct sockaddr.sa_len... no [22:45:13.303] checking for C/C++ restrict keyword... __restrict [22:45:13.319] checking for struct option... yes [22:45:13.368] checking whether assembler supports x86_64 popcntq... yes [22:45:13.377] checking size of off_t... 4 [22:45:13.602] 0 [22:45:13.603] checking size of bool... 1 [22:45:13.656] checking for int timezone... yes [22:45:13.717] checking for backtrace_symbols... no [22:45:13.774] checking for copyfile... no [22:45:13.830] checking for copy_file_range... no [22:45:13.886] checking for elf_aux_info... no [22:45:13.943] checking for getauxval... no [22:45:14.000] checking for getifaddrs... no [22:45:14.057] checking for getpeerucred... no [22:45:14.114] checking for inet_pton... yes [22:45:14.172] checking for kqueue... no [22:45:14.228] checking for mbstowcs_l... no [22:45:14.286] checking for memset_s... no [22:45:14.344] checking for posix_fallocate... no [22:45:14.400] checking for ppoll... no [22:45:14.453] checking for pthread_is_threaded_np... no [22:45:14.509] checking for setproctitle... no [22:45:14.565] checking for setproctitle_fast... no [22:45:14.622] checking for strchrnul... no [22:45:14.679] checking for strsignal... no [22:45:14.737] checking for syncfs... no [22:45:14.796] checking for sync_file_range... no [22:45:14.852] checking for uselocale... no [22:45:14.908] checking for wcstombs_l... no [22:45:14.961] checking for __builtin_bswap16... yes [22:45:15.016] checking for __builtin_bswap32... yes [22:45:15.069] checking for __builtin_bswap64... yes [22:45:15.122] checking for __builtin_clz... yes [22:45:15.177] checking for __builtin_ctz... yes [22:45:15.230] checking for __builtin_popcount... yes [22:45:15.285] checking for __builtin_frame_address... yes [22:45:15.337] checking for _LARGEFILE_SOURCE value needed for large files... no [22:45:15.396] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:45:15.431] checking for posix_fadvise... no [22:45:15.487] checking whether posix_fadvise is declared... no [22:45:15.540] checking whether fdatasync is declared... no [22:45:15.593] checking whether strlcat is declared... no [22:45:15.664] checking whether strlcpy is declared... no [22:45:15.736] checking whether strnlen is declared... yes [22:45:15.752] checking whether strsep is declared... no [22:45:15.824] checking whether preadv is declared... no [22:45:15.869] checking whether pwritev is declared... no [22:45:15.915] checking whether F_FULLFSYNC is declared... no [22:45:15.961] checking for explicit_bzero... no [22:45:16.015] checking for getopt... yes [22:45:16.065] checking for getpeereid... no [22:45:16.119] checking for inet_aton... no [22:45:16.173] checking for mkdtemp... no [22:45:16.226] checking for strlcat... no [22:45:16.280] checking for strlcpy... no [22:45:16.332] checking for strnlen... yes [22:45:16.384] checking for strsep... no [22:45:16.436] checking for pthread_barrier_wait... yes [22:45:16.484] configure: On mingw32 we will use our strtof wrapper. [22:45:16.485] checking for getopt_long... yes [22:45:16.534] checking for _configthreadlocale... yes [22:45:16.585] checking for syslog... no [22:45:16.639] checking for opterr... yes [22:45:16.693] checking for optreset... no [22:45:16.749] checking test program... cross-compiling [22:45:16.750] checking whether long int is 64 bits... no [22:45:16.785] checking whether long long int is 64 bits... yes [22:45:16.796] checking for __builtin_mul_overflow... yes [22:45:16.844] checking size of void *... 8 [22:45:17.146] checking size of size_t... 8 [22:45:17.452] checking size of long... 4 [22:45:17.678] checking alignment of short... 2 [22:45:17.835] checking alignment of int... 4 [22:45:18.064] checking alignment of long... 4 [22:45:18.289] checking alignment of long long int... 8 [22:45:18.587] checking alignment of double... 8 [22:45:18.886] checking for __int128... yes [22:45:18.941] checking for __int128 alignment bug... assuming ok [22:45:18.941] checking alignment of PG_INT128_TYPE... 16 [22:45:19.311] checking for builtin __sync char locking functions... yes [22:45:19.358] checking for builtin __sync int32 locking functions... yes [22:45:19.405] checking for builtin __sync int32 atomic operations... yes [22:45:19.451] checking for builtin __sync int64 atomic operations... yes [22:45:19.498] checking for builtin __atomic int32 atomic operations... yes [22:45:19.546] checking for builtin __atomic int64 atomic operations... yes [22:45:19.596] checking for __get_cpuid... yes [22:45:19.647] checking for __get_cpuid_count... yes [22:45:19.696] checking for __cpuid... no [22:45:20.106] checking for __cpuidex... no [22:45:20.538] checking for _xgetbv... yes [22:45:20.954] checking for _mm512_popcnt_epi64... yes [22:45:21.390] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:45:21.441] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:45:21.540] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:45:21.567] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:45:21.590] 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 [22:45:21.651] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:45:21.651] checking which random number source to use... Windows native [22:45:21.653] checking for xmllint... /usr/bin/xmllint [22:45:21.653] checking for xsltproc... /usr/bin/xsltproc [22:45:21.654] checking for fop... /usr/bin/fop [22:45:21.654] checking for dbtoepub... no [22:45:21.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:45:21.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:45:21.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:45:21.667] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:45:21.667] 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 [22:45:21.667] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:45:21.667] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:45:21.772] configure: creating ./config.status [22:45:21.876] config.status: creating GNUmakefile [22:45:21.891] config.status: creating src/Makefile.global [22:45:21.909] config.status: creating src/include/pg_config.h [22:45:21.925] config.status: creating src/include/pg_config_ext.h [22:45:21.940] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:45:21.959] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:45:21.968] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:45:21.977] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:45:21.986] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:45:21.995] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:45:21.999] config.status: executing check_win32_symlinks commands [22:45:22.038] [22:45:22.038] real 0m17.317s [22:45:22.038] user 0m11.095s [22:45:22.038] sys 0m5.737s [22:45:22.038] make -s -j${BUILD_JOBS} clean [22:45:22.586] time make -s -j${BUILD_JOBS} world-bin [22:45:29.740] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:45:29.740] jsonpath_exec.c:2827:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:45:29.740] 2827 | JsonbValue jbvbuf; [22:45:29.740] | ^~~~~~~~~~ [22:45:29.740] cc1: all warnings being treated as errors [22:45:29.742] make[4]: *** [: jsonpath_exec.o] Error 1 [22:45:29.742] make[4]: *** Waiting for unfinished jobs.... [22:45:30.715] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:45:30.715] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:45:30.716] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:45:30.716] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:45:30.716] [22:45:30.716] real 0m8.130s [22:45:30.716] user 0m17.632s [22:45:30.716] sys 0m8.140s [22:45:30.717] [22:45:30.717] Exit status: 2