[22:10:49.222] time ./configure \ [22:10:49.222] --host=x86_64-w64-mingw32 \ [22:10:49.222] --enable-cassert \ [22:10:49.222] --without-icu \ [22:10:49.222] CC="ccache x86_64-w64-mingw32-gcc" \ [22:10:49.222] CXX="ccache x86_64-w64-mingw32-g++" [22:10:49.363] checking build system type... x86_64-pc-linux-gnu [22:10:49.605] checking host system type... x86_64-w64-mingw32 [22:10:49.612] checking which template to use... win32 [22:10:49.613] checking whether NLS is wanted... no [22:10:49.613] checking for default port number... 5432 [22:10:49.622] checking for block size... 8kB [22:10:49.623] checking for segment size... 1GB [22:10:49.626] checking for WAL block size... 8kB [22:10:49.627] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:10:49.670] checking whether the C compiler works... yes [22:10:49.843] checking for C compiler default output file name... a.exe [22:10:49.844] checking for suffix of executables... .exe [22:10:49.892] checking whether we are cross compiling... yes [22:10:49.984] checking for suffix of object files... o [22:10:49.994] checking whether we are using the GNU C compiler... yes [22:10:50.014] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:10:50.023] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:10:50.036] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:10:50.231] checking whether we are using the GNU C++ compiler... yes [22:10:50.431] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:10:50.513] checking for gawk... no [22:10:50.513] checking for mawk... mawk [22:10:50.516] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:10:50.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:10:50.544] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:10:50.598] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:10:50.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:10:50.659] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:10:50.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:10:50.677] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:10:50.685] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:10:50.693] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:10:50.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:10:50.710] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:10:50.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:10:50.726] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:10:50.807] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:10:50.817] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:10:50.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:10:50.901] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:10:50.910] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:10:50.930] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:10:50.970] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:10:50.979] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:10:50.988] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:10:51.018] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:10:51.027] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:10:51.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:10:51.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:10:51.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:10:51.165] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:10:51.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:10:51.216] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:10:51.226] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:10:51.246] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:10:51.268] checking whether the C compiler still works... yes [22:10:51.358] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:10:51.445] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:10:51.446] checking pkg-config is at least version 0.9.0... yes [22:10:51.465] checking whether to build with ICU support... no [22:10:51.465] checking whether to build with Tcl... no [22:10:51.465] checking whether to build Perl modules... no [22:10:51.466] checking whether to build Python modules... no [22:10:51.466] checking whether to build with GSSAPI support... no [22:10:51.467] checking whether to build with PAM support... no [22:10:51.467] checking whether to build with BSD Authentication support... no [22:10:51.467] checking whether to build with LDAP support... no [22:10:51.467] checking whether to build with Bonjour support... no [22:10:51.468] checking whether to build with SELinux support... no [22:10:51.468] checking whether to build with systemd support... no [22:10:51.468] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:10:51.468] checking whether to build with XML support... no [22:10:51.468] checking whether to build with LZ4 support... no [22:10:51.469] checking whether to build with ZSTD support... no [22:10:51.469] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:10:51.469] checking whether it is possible to strip libraries... yes [22:10:51.478] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:10:51.479] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:10:51.479] checking for a BSD-compatible install... /usr/bin/install -c [22:10:51.490] checking for tar... /usr/bin/tar [22:10:51.491] checking whether ln -s works... yes [22:10:51.491] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:10:51.494] checking for bison... /usr/bin/bison [22:10:51.497] configure: using bison (GNU Bison) 3.8.2 [22:10:51.500] checking for flex... /usr/bin/flex [22:10:51.516] configure: using flex 2.6.4 [22:10:51.516] checking for perl... /usr/bin/perl [22:10:51.520] configure: using perl 5.36.0 [22:10:51.523] checking for zic... /usr/sbin/zic [22:10:51.523] checking for a sed that does not truncate output... /usr/bin/sed [22:10:51.529] checking for grep that handles long lines and -e... /usr/bin/grep [22:10:51.532] checking for egrep... /usr/bin/grep -E [22:10:51.534] checking for ANSI C header files... yes [22:10:51.612] checking for sys/types.h... yes [22:10:51.634] checking for sys/stat.h... yes [22:10:51.657] checking for stdlib.h... yes [22:10:51.729] checking for string.h... yes [22:10:51.747] checking for memory.h... yes [22:10:51.815] checking for strings.h... yes [22:10:51.884] checking for inttypes.h... yes [22:10:51.958] checking for stdint.h... yes [22:10:52.027] checking for unistd.h... yes [22:10:52.046] checking for main in -lm... yes [22:10:52.100] checking for library containing setproctitle... no [22:10:52.203] checking for library containing dlsym... no [22:10:52.306] checking for library containing socket... -lws2_32 [22:10:52.453] checking for library containing getopt_long... none required [22:10:52.508] checking for library containing shm_open... no [22:10:52.615] checking for library containing shm_unlink... no [22:10:52.718] checking for library containing clock_gettime... no [22:10:52.820] checking for library containing shmget... no [22:10:52.922] checking for library containing backtrace_symbols... no [22:10:53.028] checking for library containing pthread_barrier_wait... -lpthread [22:10:53.137] checking for inflate in -lz... yes [22:10:53.193] checking for stdbool.h that conforms to C99... yes [22:10:53.208] checking for _Bool... yes [22:10:53.290] checking atomic.h usability... no [22:10:53.352] checking atomic.h presence... no [22:10:53.374] checking for atomic.h... no [22:10:53.378] checking copyfile.h usability... no [22:10:53.441] checking copyfile.h presence... no [22:10:53.463] checking for copyfile.h... no [22:10:53.467] checking execinfo.h usability... no [22:10:53.533] checking execinfo.h presence... no [22:10:53.557] checking for execinfo.h... no [22:10:53.562] checking getopt.h usability... yes [22:10:53.627] checking getopt.h presence... yes [22:10:53.646] checking for getopt.h... yes [22:10:53.655] checking ifaddrs.h usability... no [22:10:53.721] checking ifaddrs.h presence... no [22:10:53.744] checking for ifaddrs.h... no [22:10:53.748] checking mbarrier.h usability... no [22:10:53.815] checking mbarrier.h presence... no [22:10:53.838] checking for mbarrier.h... no [22:10:53.842] checking sys/epoll.h usability... no [22:10:53.908] checking sys/epoll.h presence... no [22:10:53.933] checking for sys/epoll.h... no [22:10:53.938] checking sys/event.h usability... no [22:10:54.002] checking sys/event.h presence... no [22:10:54.025] checking for sys/event.h... no [22:10:54.030] checking sys/personality.h usability... no [22:10:54.093] checking sys/personality.h presence... no [22:10:54.116] checking for sys/personality.h... no [22:10:54.120] checking sys/prctl.h usability... no [22:10:54.186] checking sys/prctl.h presence... no [22:10:54.210] checking for sys/prctl.h... no [22:10:54.215] checking sys/procctl.h usability... no [22:10:54.278] checking sys/procctl.h presence... no [22:10:54.301] checking for sys/procctl.h... no [22:10:54.305] checking sys/signalfd.h usability... no [22:10:54.370] checking sys/signalfd.h presence... no [22:10:54.393] checking for sys/signalfd.h... no [22:10:54.397] checking sys/ucred.h usability... no [22:10:54.460] checking sys/ucred.h presence... no [22:10:54.483] checking for sys/ucred.h... no [22:10:54.486] checking termios.h usability... no [22:10:54.550] checking termios.h presence... no [22:10:54.573] checking for termios.h... no [22:10:54.578] checking ucred.h usability... no [22:10:54.643] checking ucred.h presence... no [22:10:54.664] checking for ucred.h... no [22:10:54.668] checking xlocale.h usability... no [22:10:54.728] checking xlocale.h presence... no [22:10:54.752] checking for xlocale.h... no [22:10:54.755] checking zlib.h usability... yes [22:10:54.769] checking zlib.h presence... yes [22:10:54.792] checking for zlib.h... yes [22:10:54.793] checking for lz4... /usr/bin/lz4 [22:10:54.793] checking for zstd... /usr/bin/zstd [22:10:54.793] checking for openssl... /usr/bin/openssl [22:10:54.798] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [22:10:54.799] checking crtdefs.h usability... yes [22:10:54.866] checking crtdefs.h presence... yes [22:10:54.885] checking for crtdefs.h... yes [22:10:54.887] checking whether byte ordering is bigendian... no [22:10:55.013] checking for inline... inline [22:10:55.047] checking for printf format archetype... gnu_printf [22:10:55.057] checking for _Static_assert... yes [22:10:55.107] checking for typeof... typeof [22:10:55.115] checking for __builtin_types_compatible_p... yes [22:10:55.139] checking for __builtin_constant_p... yes [22:10:55.178] checking for __builtin_unreachable... yes [22:10:55.227] checking for computed goto support... yes [22:10:55.236] checking for struct tm.tm_zone... no [22:10:55.323] checking for union semun... no [22:10:55.363] checking for socklen_t... yes [22:10:56.632] checking for struct sockaddr.sa_len... no [22:10:58.921] checking for C/C++ restrict keyword... __restrict [22:10:58.937] checking for struct option... yes [22:10:58.988] checking whether assembler supports x86_64 popcntq... yes [22:10:58.998] checking size of off_t... 4 [22:10:59.312] 0 [22:10:59.313] checking size of bool... 1 [22:10:59.400] checking for int timezone... yes [22:10:59.461] checking for backtrace_symbols... no [22:10:59.517] checking for copyfile... no [22:10:59.574] checking for copy_file_range... no [22:10:59.632] checking for getifaddrs... no [22:10:59.690] checking for getpeerucred... no [22:10:59.749] checking for inet_pton... yes [22:10:59.809] checking for kqueue... no [22:10:59.868] checking for mbstowcs_l... no [22:10:59.926] checking for memset_s... no [22:10:59.986] checking for posix_fallocate... no [22:11:00.046] checking for ppoll... no [22:11:00.105] checking for pthread_is_threaded_np... no [22:11:00.165] checking for setproctitle... no [22:11:00.224] checking for setproctitle_fast... no [22:11:00.283] checking for strchrnul... no [22:11:00.340] checking for strsignal... no [22:11:00.399] checking for syncfs... no [22:11:00.458] checking for sync_file_range... no [22:11:00.514] checking for uselocale... no [22:11:00.572] checking for wcstombs_l... no [22:11:00.630] checking for __builtin_bswap16... yes [22:11:00.686] checking for __builtin_bswap32... yes [22:11:00.739] checking for __builtin_bswap64... yes [22:11:00.796] checking for __builtin_clz... yes [22:11:00.851] checking for __builtin_ctz... yes [22:11:00.905] checking for __builtin_popcount... yes [22:11:00.960] checking for __builtin_frame_address... yes [22:11:01.015] checking for _LARGEFILE_SOURCE value needed for large files... no [22:11:01.077] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:11:01.115] checking for posix_fadvise... no [22:11:01.178] checking whether posix_fadvise is declared... no [22:11:01.234] checking whether fdatasync is declared... no [22:11:01.290] checking whether strlcat is declared... no [22:11:01.363] checking whether strlcpy is declared... no [22:11:01.436] checking whether strnlen is declared... yes [22:11:01.452] checking whether strsep is declared... no [22:11:01.527] checking whether preadv is declared... no [22:11:01.575] checking whether pwritev is declared... no [22:11:01.622] checking whether F_FULLFSYNC is declared... no [22:11:01.670] checking for explicit_bzero... no [22:11:01.724] checking for getopt... yes [22:11:01.774] checking for getpeereid... no [22:11:01.828] checking for inet_aton... no [22:11:01.881] checking for mkdtemp... no [22:11:01.936] checking for strlcat... no [22:11:01.992] checking for strlcpy... no [22:11:02.046] checking for strnlen... yes [22:11:02.103] checking for strsep... no [22:11:02.158] checking for pthread_barrier_wait... yes [22:11:02.209] configure: On mingw32 we will use our strtof wrapper. [22:11:02.209] checking for getopt_long... yes [22:11:02.259] checking for _configthreadlocale... yes [22:11:02.311] checking for syslog... no [22:11:02.366] checking for opterr... yes [22:11:02.420] checking for optreset... no [22:11:02.478] checking test program... cross-compiling [22:11:02.478] checking whether long int is 64 bits... no [22:11:02.515] checking whether long long int is 64 bits... yes [22:11:02.528] checking for __builtin_mul_overflow... yes [22:11:02.577] checking size of void *... 8 [22:11:03.011] checking size of size_t... 8 [22:11:03.409] checking size of long... 4 [22:11:03.786] checking alignment of short... 2 [22:11:03.942] checking alignment of int... 4 [22:11:04.226] checking alignment of long... 4 [22:11:04.588] checking alignment of long long int... 8 [22:11:04.949] checking alignment of double... 8 [22:11:05.340] checking for __int128... yes [22:11:05.396] checking for __int128 alignment bug... assuming ok [22:11:05.396] checking alignment of PG_INT128_TYPE... 16 [22:11:05.922] checking for builtin __sync char locking functions... yes [22:11:05.972] checking for builtin __sync int32 locking functions... yes [22:11:06.023] checking for builtin __sync int32 atomic operations... yes [22:11:06.072] checking for builtin __sync int64 atomic operations... yes [22:11:06.120] checking for builtin __atomic int32 atomic operations... yes [22:11:06.169] checking for builtin __atomic int64 atomic operations... yes [22:11:06.218] checking for __get_cpuid... yes [22:11:06.271] checking for __get_cpuid_count... yes [22:11:06.320] checking for __cpuid... no [22:11:06.741] checking for __cpuidex... no [22:11:07.198] checking for _xgetbv with CFLAGS=... no [22:11:07.620] checking for _xgetbv with CFLAGS=-mxsave... yes [22:11:08.058] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:11:08.481] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:11:08.850] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:11:08.904] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:11:09.010] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:11:09.039] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:11:09.064] 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:11:09.127] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:11:09.128] checking which random number source to use... Windows native [22:11:09.130] checking for xmllint... /usr/bin/xmllint [22:11:09.131] checking for xsltproc... /usr/bin/xsltproc [22:11:09.131] checking for fop... /usr/bin/fop [22:11:09.131] checking for dbtoepub... no [22:11:09.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:11:09.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:11:09.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:11:09.144] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:11:09.145] 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:11:09.145] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:11:09.145] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:11:09.254] configure: creating ./config.status [22:11:09.352] config.status: creating GNUmakefile [22:11:09.366] config.status: creating src/Makefile.global [22:11:09.384] config.status: creating src/include/pg_config.h [22:11:09.399] config.status: creating src/include/pg_config_ext.h [22:11:09.415] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:11:09.434] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:11:09.443] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:11:09.452] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:11:09.462] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:11:09.472] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:11:09.477] config.status: executing check_win32_symlinks commands [22:11:09.520] [22:11:09.520] real 0m20.298s [22:11:09.520] user 0m13.098s [22:11:09.520] sys 0m6.703s [22:11:09.520] make -s -j${BUILD_JOBS} clean [22:11:10.106] time make -s -j${BUILD_JOBS} world-bin [22:13:23.731] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [22:13:23.731] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:13:23.731] 2829 | JsonbValue jbvbuf; [22:13:23.731] | ^~~~~~~~~~ [22:13:23.731] cc1: all warnings being treated as errors [22:13:23.731] make[4]: *** [: jsonpath_exec.o] Error 1 [22:13:23.731] make[4]: *** Waiting for unfinished jobs.... [22:13:24.078] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [22:13:24.078] make[3]: *** Waiting for unfinished jobs.... [22:13:25.435] make[2]: *** [common.mk:37: utils-recursive] Error 2 [22:13:25.436] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:13:25.436] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:13:25.436] [22:13:25.436] real 2m15.330s [22:13:25.436] user 7m21.551s [22:13:25.436] sys 1m24.508s [22:13:25.437] [22:13:25.437] Exit status: 2