[19:16:37.208] time ./configure \ [19:16:37.208] --host=x86_64-w64-mingw32 \ [19:16:37.208] --enable-cassert \ [19:16:37.208] --without-icu \ [19:16:37.208] CC="ccache x86_64-w64-mingw32-gcc" \ [19:16:37.208] CXX="ccache x86_64-w64-mingw32-g++" [19:16:37.324] checking build system type... x86_64-pc-linux-gnu [19:16:37.508] checking host system type... x86_64-w64-mingw32 [19:16:37.513] checking which template to use... win32 [19:16:37.513] checking whether NLS is wanted... no [19:16:37.513] checking for default port number... 5432 [19:16:37.520] checking for block size... 8kB [19:16:37.522] checking for segment size... 1GB [19:16:37.524] checking for WAL block size... 8kB [19:16:37.526] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:16:37.561] checking whether the C compiler works... yes [19:16:37.706] checking for C compiler default output file name... a.exe [19:16:37.707] checking for suffix of executables... .exe [19:16:37.746] checking whether we are cross compiling... yes [19:16:37.818] checking for suffix of object files... o [19:16:37.826] checking whether we are using the GNU C compiler... yes [19:16:37.832] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:16:37.838] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:16:37.847] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:16:37.902] checking whether we are using the GNU C++ compiler... yes [19:16:37.908] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:16:37.974] checking for gawk... no [19:16:37.974] checking for mawk... mawk [19:16:37.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:16:37.983] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:16:37.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:16:38.036] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:16:38.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:16:38.215] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:16:38.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:16:38.228] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:16:38.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:16:38.241] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:16:38.248] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:16:38.254] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:16:38.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:16:38.269] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:16:38.276] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:16:38.283] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:16:38.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:16:38.328] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:16:38.335] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:16:38.342] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:16:38.349] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:16:38.356] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:16:38.363] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:16:38.387] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:16:38.394] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:16:38.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:16:38.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:16:38.479] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:16:38.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:16:38.493] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:16:38.528] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:16:38.536] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:16:38.543] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:16:38.552] checking whether the C compiler still works... yes [19:16:38.618] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:16:38.693] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:16:38.693] checking pkg-config is at least version 0.9.0... yes [19:16:38.710] checking whether to build with ICU support... no [19:16:38.710] checking whether to build with Tcl... no [19:16:38.710] checking whether to build Perl modules... no [19:16:38.710] checking whether to build Python modules... no [19:16:38.710] checking whether to build with GSSAPI support... no [19:16:38.712] checking whether to build with PAM support... no [19:16:38.712] checking whether to build with BSD Authentication support... no [19:16:38.712] checking whether to build with LDAP support... no [19:16:38.712] checking whether to build with Bonjour support... no [19:16:38.712] checking whether to build with SELinux support... no [19:16:38.712] checking whether to build with systemd support... no [19:16:38.712] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:16:38.712] checking whether to build with XML support... no [19:16:38.713] checking whether to build with LZ4 support... no [19:16:38.713] checking whether to build with ZSTD support... no [19:16:38.713] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:16:38.713] checking whether it is possible to strip libraries... yes [19:16:38.720] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:16:38.721] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:16:38.721] checking for a BSD-compatible install... /usr/bin/install -c [19:16:38.730] checking for tar... /usr/bin/tar [19:16:38.730] checking whether ln -s works... yes [19:16:38.730] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:16:38.732] checking for bison... /usr/bin/bison [19:16:38.734] configure: using bison (GNU Bison) 3.8.2 [19:16:38.737] checking for flex... /usr/bin/flex [19:16:38.749] configure: using flex 2.6.4 [19:16:38.749] checking for perl... /usr/bin/perl [19:16:38.751] configure: using perl 5.36.0 [19:16:38.753] checking for zic... /usr/sbin/zic [19:16:38.754] checking for a sed that does not truncate output... /usr/bin/sed [19:16:38.758] checking for grep that handles long lines and -e... /usr/bin/grep [19:16:38.760] checking for egrep... /usr/bin/grep -E [19:16:38.762] checking for ANSI C header files... yes [19:16:38.809] checking for sys/types.h... yes [19:16:38.825] checking for sys/stat.h... yes [19:16:38.840] checking for stdlib.h... yes [19:16:38.854] checking for string.h... yes [19:16:38.867] checking for memory.h... yes [19:16:38.882] checking for strings.h... yes [19:16:38.895] checking for inttypes.h... yes [19:16:38.912] checking for stdint.h... yes [19:16:38.926] checking for unistd.h... yes [19:16:38.940] checking for main in -lm... yes [19:16:38.989] checking for library containing setproctitle... no [19:16:39.083] checking for library containing dlsym... no [19:16:39.171] checking for library containing socket... -lws2_32 [19:16:39.301] checking for library containing getopt_long... none required [19:16:39.350] checking for library containing shm_open... no [19:16:39.438] checking for library containing shm_unlink... no [19:16:39.528] checking for library containing clock_gettime... no [19:16:39.617] checking for library containing shmget... no [19:16:39.705] checking for library containing backtrace_symbols... no [19:16:39.791] checking for library containing pthread_barrier_wait... -lpthread [19:16:39.880] checking for inflate in -lz... yes [19:16:39.927] checking for stdbool.h that conforms to C99... yes [19:16:39.939] checking for _Bool... yes [19:16:40.015] checking atomic.h usability... no [19:16:40.070] checking atomic.h presence... no [19:16:40.089] checking for atomic.h... no [19:16:40.092] checking copyfile.h usability... no [19:16:40.147] checking copyfile.h presence... no [19:16:40.167] checking for copyfile.h... no [19:16:40.170] checking execinfo.h usability... no [19:16:40.227] checking execinfo.h presence... no [19:16:40.245] checking for execinfo.h... no [19:16:40.248] checking getopt.h usability... yes [19:16:40.255] checking getopt.h presence... yes [19:16:40.270] checking for getopt.h... yes [19:16:40.278] checking ifaddrs.h usability... no [19:16:40.337] checking ifaddrs.h presence... no [19:16:40.357] checking for ifaddrs.h... no [19:16:40.361] checking mbarrier.h usability... no [19:16:40.417] checking mbarrier.h presence... no [19:16:40.436] checking for mbarrier.h... no [19:16:40.440] checking sys/epoll.h usability... no [19:16:40.495] checking sys/epoll.h presence... no [19:16:40.514] checking for sys/epoll.h... no [19:16:40.517] checking sys/event.h usability... no [19:16:40.571] checking sys/event.h presence... no [19:16:40.590] checking for sys/event.h... no [19:16:40.593] checking sys/personality.h usability... no [19:16:40.650] checking sys/personality.h presence... no [19:16:40.669] checking for sys/personality.h... no [19:16:40.672] checking sys/prctl.h usability... no [19:16:40.728] checking sys/prctl.h presence... no [19:16:40.747] checking for sys/prctl.h... no [19:16:40.750] checking sys/procctl.h usability... no [19:16:40.804] checking sys/procctl.h presence... no [19:16:40.824] checking for sys/procctl.h... no [19:16:40.827] checking sys/signalfd.h usability... no [19:16:40.886] checking sys/signalfd.h presence... no [19:16:40.905] checking for sys/signalfd.h... no [19:16:40.909] checking sys/ucred.h usability... no [19:16:40.965] checking sys/ucred.h presence... no [19:16:40.985] checking for sys/ucred.h... no [19:16:40.988] checking termios.h usability... no [19:16:41.045] checking termios.h presence... no [19:16:41.065] checking for termios.h... no [19:16:41.068] checking ucred.h usability... no [19:16:41.124] checking ucred.h presence... no [19:16:41.143] checking for ucred.h... no [19:16:41.146] checking xlocale.h usability... no [19:16:41.201] checking xlocale.h presence... no [19:16:41.220] checking for xlocale.h... no [19:16:41.223] checking zlib.h usability... yes [19:16:41.232] checking zlib.h presence... yes [19:16:41.251] checking for zlib.h... yes [19:16:41.251] checking for lz4... /usr/bin/lz4 [19:16:41.252] checking for zstd... /usr/bin/zstd [19:16:41.252] checking for openssl... /usr/bin/openssl [19:16:41.256] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:16:41.256] checking crtdefs.h usability... yes [19:16:41.264] checking crtdefs.h presence... yes [19:16:41.278] checking for crtdefs.h... yes [19:16:41.280] checking whether byte ordering is bigendian... no [19:16:41.352] checking for inline... inline [19:16:41.359] checking for printf format archetype... gnu_printf [19:16:41.367] checking for _Static_assert... yes [19:16:41.409] checking for typeof... typeof [19:16:41.416] checking for __builtin_types_compatible_p... yes [19:16:41.426] checking for __builtin_constant_p... yes [19:16:41.437] checking for __builtin_unreachable... yes [19:16:41.478] checking for computed goto support... yes [19:16:41.485] checking for struct tm.tm_zone... no [19:16:41.561] checking for union semun... no [19:16:41.596] checking for socklen_t... yes [19:16:42.799] checking for struct sockaddr.sa_len... no [19:16:44.923] checking for C/C++ restrict keyword... __restrict [19:16:44.937] checking for struct option... yes [19:16:44.983] checking whether assembler supports x86_64 popcntq... yes [19:16:44.991] checking size of off_t... 4 [19:16:45.210] 0 [19:16:45.210] checking size of bool... 1 [19:16:45.258] checking for int timezone... yes [19:16:45.315] checking for backtrace_symbols... no [19:16:45.366] checking for copyfile... no [19:16:45.417] checking for copy_file_range... no [19:16:45.469] checking for getifaddrs... no [19:16:45.521] checking for getpeerucred... no [19:16:45.573] checking for inet_pton... yes [19:16:45.626] checking for kqueue... no [19:16:45.681] checking for mbstowcs_l... no [19:16:45.737] checking for memset_s... no [19:16:45.794] checking for posix_fallocate... no [19:16:45.848] checking for ppoll... no [19:16:45.901] checking for pthread_is_threaded_np... no [19:16:45.954] checking for setproctitle... no [19:16:46.006] checking for setproctitle_fast... no [19:16:46.058] checking for strchrnul... no [19:16:46.108] checking for strsignal... no [19:16:46.158] checking for syncfs... no [19:16:46.208] checking for sync_file_range... no [19:16:46.259] checking for uselocale... no [19:16:46.309] checking for wcstombs_l... no [19:16:46.356] checking for __builtin_bswap16... yes [19:16:46.404] checking for __builtin_bswap32... yes [19:16:46.453] checking for __builtin_bswap64... yes [19:16:46.502] checking for __builtin_clz... yes [19:16:46.552] checking for __builtin_ctz... yes [19:16:46.603] checking for __builtin_popcount... yes [19:16:46.653] checking for __builtin_frame_address... yes [19:16:46.702] checking for _LARGEFILE_SOURCE value needed for large files... no [19:16:46.756] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:16:46.789] checking for posix_fadvise... no [19:16:46.844] checking whether posix_fadvise is declared... no [19:16:46.889] checking whether fdatasync is declared... no [19:16:46.938] checking whether strlcat is declared... no [19:16:47.005] checking whether strlcpy is declared... no [19:16:47.070] checking whether strnlen is declared... yes [19:16:47.084] checking whether strsep is declared... no [19:16:47.148] checking whether preadv is declared... no [19:16:47.186] checking whether pwritev is declared... no [19:16:47.225] checking whether F_FULLFSYNC is declared... no [19:16:47.264] checking for explicit_bzero... no [19:16:47.312] checking for getopt... yes [19:16:47.357] checking for getpeereid... no [19:16:47.406] checking for inet_aton... no [19:16:47.456] checking for mkdtemp... no [19:16:47.504] checking for strlcat... no [19:16:47.553] checking for strlcpy... no [19:16:47.602] checking for strnlen... yes [19:16:47.651] checking for strsep... no [19:16:47.700] checking for pthread_barrier_wait... yes [19:16:47.745] configure: On mingw32 we will use our strtof wrapper. [19:16:47.745] checking for getopt_long... yes [19:16:47.790] checking for _configthreadlocale... yes [19:16:47.836] checking for syslog... no [19:16:47.886] checking for opterr... yes [19:16:47.934] checking for optreset... no [19:16:47.987] checking test program... cross-compiling [19:16:47.987] checking whether long int is 64 bits... no [19:16:48.021] checking whether long long int is 64 bits... yes [19:16:48.031] checking for __builtin_mul_overflow... yes [19:16:48.074] checking size of void *... 8 [19:16:48.351] checking size of size_t... 8 [19:16:48.627] checking size of long... 4 [19:16:48.840] checking alignment of short... 2 [19:16:48.984] checking alignment of int... 4 [19:16:49.191] checking alignment of long... 4 [19:16:49.397] checking alignment of long long int... 8 [19:16:49.671] checking alignment of double... 8 [19:16:49.944] checking for __int128... yes [19:16:49.995] checking for __int128 alignment bug... assuming ok [19:16:49.995] checking alignment of PG_INT128_TYPE... 16 [19:16:50.334] checking for builtin __sync char locking functions... yes [19:16:50.377] checking for builtin __sync int32 locking functions... yes [19:16:50.419] checking for builtin __sync int32 atomic operations... yes [19:16:50.463] checking for builtin __sync int64 atomic operations... yes [19:16:50.507] checking for builtin __atomic int32 atomic operations... yes [19:16:50.551] checking for builtin __atomic int64 atomic operations... yes [19:16:50.595] checking for __get_cpuid... yes [19:16:50.642] checking for __get_cpuid_count... yes [19:16:50.687] checking for __cpuid... no [19:16:51.082] checking for __cpuidex... no [19:16:51.506] checking for _xgetbv... yes [19:16:51.919] checking for _mm512_popcnt_epi64... yes [19:16:52.351] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:16:52.399] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:16:52.489] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:16:52.513] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:16:52.532] 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 [19:16:52.586] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:16:52.587] checking which random number source to use... Windows native [19:16:52.589] checking for xmllint... /usr/bin/xmllint [19:16:52.589] checking for xsltproc... /usr/bin/xsltproc [19:16:52.589] checking for fop... /usr/bin/fop [19:16:52.589] checking for dbtoepub... no [19:16:52.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:16:52.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:16:52.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:16:52.600] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:16:52.600] 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 [19:16:52.600] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:16:52.600] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:16:52.682] configure: creating ./config.status [19:16:52.764] config.status: creating GNUmakefile [19:16:52.776] config.status: creating src/Makefile.global [19:16:52.791] config.status: creating src/include/pg_config.h [19:16:52.803] config.status: creating src/include/pg_config_ext.h [19:16:52.815] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:16:52.830] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:16:52.837] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:16:52.844] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:16:52.851] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:16:52.859] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:16:52.862] config.status: executing check_win32_symlinks commands [19:16:52.897] [19:16:52.897] real 0m15.689s [19:16:52.897] user 0m10.411s [19:16:52.897] sys 0m4.947s [19:16:52.897] make -s -j${BUILD_JOBS} clean [19:16:53.418] time make -s -j${BUILD_JOBS} world-bin [19:17:01.048] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [19:17:01.048] jsonpath_exec.c:2827:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [19:17:01.048] 2827 | JsonbValue jbvbuf; [19:17:01.048] | ^~~~~~~~~~ [19:17:01.048] cc1: all warnings being treated as errors [19:17:01.050] make[4]: *** [: jsonpath_exec.o] Error 1 [19:17:01.050] make[4]: *** Waiting for unfinished jobs.... [19:17:01.551] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [19:17:01.551] make[2]: *** [common.mk:37: utils-recursive] Error 2 [19:17:01.551] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:17:01.551] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:17:01.552] [19:17:01.552] real 0m8.133s [19:17:01.552] user 0m17.401s [19:17:01.552] sys 0m7.525s [19:17:01.552] [19:17:01.552] Exit status: 2