[17:25:35.980] time ./configure \ [17:25:35.980] --host=x86_64-w64-mingw32 \ [17:25:35.980] --enable-cassert \ [17:25:35.980] --without-icu \ [17:25:35.980] CC="ccache x86_64-w64-mingw32-gcc" \ [17:25:35.980] CXX="ccache x86_64-w64-mingw32-g++" [17:25:36.092] checking build system type... x86_64-pc-linux-gnu [17:25:36.281] checking host system type... x86_64-w64-mingw32 [17:25:36.286] checking which template to use... win32 [17:25:36.286] checking whether NLS is wanted... no [17:25:36.286] checking for default port number... 5432 [17:25:36.293] checking for block size... 8kB [17:25:36.294] checking for segment size... 1GB [17:25:36.296] checking for WAL block size... 8kB [17:25:36.297] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:25:36.329] checking whether the C compiler works... yes [17:25:36.464] checking for C compiler default output file name... a.exe [17:25:36.465] checking for suffix of executables... .exe [17:25:36.506] checking whether we are cross compiling... yes [17:25:36.581] checking for suffix of object files... o [17:25:36.589] checking whether we are using the GNU C compiler... yes [17:25:36.596] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:25:36.603] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:25:36.612] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:25:36.670] checking whether we are using the GNU C++ compiler... yes [17:25:36.860] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:25:36.927] checking for gawk... no [17:25:36.927] checking for mawk... mawk [17:25:36.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:25:36.936] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:25:36.942] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:25:36.986] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:25:37.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:25:37.035] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:25:37.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:25:37.048] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:25:37.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:25:37.061] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:25:37.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:25:37.074] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:25:37.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:25:37.086] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:25:37.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:25:37.125] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:25:37.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:25:37.167] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:25:37.174] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:25:37.190] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:25:37.196] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:25:37.203] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:25:37.209] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:25:37.231] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:25:37.238] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:25:37.244] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:25:37.281] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:25:37.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:25:37.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:25:37.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:25:37.366] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:25:37.372] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:25:37.379] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:25:37.387] checking whether the C compiler still works... yes [17:25:37.449] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:25:37.516] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:25:37.516] checking pkg-config is at least version 0.9.0... yes [17:25:37.532] checking whether to build with ICU support... no [17:25:37.532] checking whether to build with Tcl... no [17:25:37.533] checking whether to build Perl modules... no [17:25:37.533] checking whether to build Python modules... no [17:25:37.533] checking whether to build with GSSAPI support... no [17:25:37.534] checking whether to build with PAM support... no [17:25:37.534] checking whether to build with BSD Authentication support... no [17:25:37.534] checking whether to build with LDAP support... no [17:25:37.534] checking whether to build with Bonjour support... no [17:25:37.534] checking whether to build with SELinux support... no [17:25:37.534] checking whether to build with systemd support... no [17:25:37.534] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:25:37.534] checking whether to build with XML support... no [17:25:37.535] checking whether to build with LZ4 support... no [17:25:37.535] checking whether to build with ZSTD support... no [17:25:37.535] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:25:37.535] checking whether it is possible to strip libraries... yes [17:25:37.542] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:25:37.543] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:25:37.543] checking for a BSD-compatible install... /usr/bin/install -c [17:25:37.551] checking for tar... /usr/bin/tar [17:25:37.551] checking whether ln -s works... yes [17:25:37.551] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:25:37.553] checking for bison... /usr/bin/bison [17:25:37.555] configure: using bison (GNU Bison) 3.8.2 [17:25:37.558] checking for flex... /usr/bin/flex [17:25:37.569] configure: using flex 2.6.4 [17:25:37.569] checking for perl... /usr/bin/perl [17:25:37.572] configure: using perl 5.36.0 [17:25:37.574] checking for zic... /usr/sbin/zic [17:25:37.574] checking for a sed that does not truncate output... /usr/bin/sed [17:25:37.579] checking for grep that handles long lines and -e... /usr/bin/grep [17:25:37.581] checking for egrep... /usr/bin/grep -E [17:25:37.582] checking for ANSI C header files... yes [17:25:37.624] checking for sys/types.h... yes [17:25:37.680] checking for sys/stat.h... yes [17:25:37.695] checking for stdlib.h... yes [17:25:37.726] checking for string.h... yes [17:25:37.738] checking for memory.h... yes [17:25:37.751] checking for strings.h... yes [17:25:37.765] checking for inttypes.h... yes [17:25:37.825] checking for stdint.h... yes [17:25:37.840] checking for unistd.h... yes [17:25:37.855] checking for main in -lm... yes [17:25:37.899] checking for library containing setproctitle... no [17:25:37.986] checking for library containing dlsym... no [17:25:38.071] checking for library containing socket... -lws2_32 [17:25:38.197] checking for library containing getopt_long... none required [17:25:38.240] checking for library containing shm_open... no [17:25:38.323] checking for library containing shm_unlink... no [17:25:38.409] checking for library containing clock_gettime... no [17:25:38.494] checking for library containing shmget... no [17:25:38.581] checking for library containing backtrace_symbols... no [17:25:38.667] checking for library containing pthread_barrier_wait... -lpthread [17:25:38.755] checking for inflate in -lz... yes [17:25:38.802] checking for stdbool.h that conforms to C99... yes [17:25:38.812] checking for _Bool... yes [17:25:38.883] checking atomic.h usability... no [17:25:38.938] checking atomic.h presence... no [17:25:38.957] checking for atomic.h... no [17:25:38.960] checking copyfile.h usability... no [17:25:39.016] checking copyfile.h presence... no [17:25:39.034] checking for copyfile.h... no [17:25:39.037] checking execinfo.h usability... no [17:25:39.094] checking execinfo.h presence... no [17:25:39.112] checking for execinfo.h... no [17:25:39.115] checking getopt.h usability... yes [17:25:39.123] checking getopt.h presence... yes [17:25:39.138] checking for getopt.h... yes [17:25:39.144] checking ifaddrs.h usability... no [17:25:39.201] checking ifaddrs.h presence... no [17:25:39.220] checking for ifaddrs.h... no [17:25:39.223] checking mbarrier.h usability... no [17:25:39.278] checking mbarrier.h presence... no [17:25:39.296] checking for mbarrier.h... no [17:25:39.299] checking sys/epoll.h usability... no [17:25:39.356] checking sys/epoll.h presence... no [17:25:39.376] checking for sys/epoll.h... no [17:25:39.379] checking sys/event.h usability... no [17:25:39.434] checking sys/event.h presence... no [17:25:39.452] checking for sys/event.h... no [17:25:39.455] checking sys/personality.h usability... no [17:25:39.507] checking sys/personality.h presence... no [17:25:39.525] checking for sys/personality.h... no [17:25:39.528] checking sys/prctl.h usability... no [17:25:39.581] checking sys/prctl.h presence... no [17:25:39.600] checking for sys/prctl.h... no [17:25:39.603] checking sys/procctl.h usability... no [17:25:39.657] checking sys/procctl.h presence... no [17:25:39.675] checking for sys/procctl.h... no [17:25:39.678] checking sys/signalfd.h usability... no [17:25:39.731] checking sys/signalfd.h presence... no [17:25:39.749] checking for sys/signalfd.h... no [17:25:39.752] checking sys/ucred.h usability... no [17:25:39.806] checking sys/ucred.h presence... no [17:25:39.825] checking for sys/ucred.h... no [17:25:39.828] checking termios.h usability... no [17:25:39.883] checking termios.h presence... no [17:25:39.902] checking for termios.h... no [17:25:39.905] checking ucred.h usability... no [17:25:39.958] checking ucred.h presence... no [17:25:39.977] checking for ucred.h... no [17:25:39.980] checking xlocale.h usability... no [17:25:40.036] checking xlocale.h presence... no [17:25:40.054] checking for xlocale.h... no [17:25:40.057] checking zlib.h usability... yes [17:25:40.066] checking zlib.h presence... yes [17:25:40.084] checking for zlib.h... yes [17:25:40.085] checking for lz4... /usr/bin/lz4 [17:25:40.085] checking for zstd... /usr/bin/zstd [17:25:40.085] checking for openssl... /usr/bin/openssl [17:25:40.089] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:25:40.090] checking crtdefs.h usability... yes [17:25:40.097] checking crtdefs.h presence... yes [17:25:40.111] checking for crtdefs.h... yes [17:25:40.113] checking whether byte ordering is bigendian... no [17:25:40.195] checking for inline... inline [17:25:40.202] checking for printf format archetype... gnu_printf [17:25:40.210] checking for _Static_assert... yes [17:25:40.251] checking for typeof... typeof [17:25:40.258] checking for __builtin_types_compatible_p... yes [17:25:40.269] checking for __builtin_constant_p... yes [17:25:40.280] checking for __builtin_unreachable... yes [17:25:40.321] checking for computed goto support... yes [17:25:40.328] checking for struct tm.tm_zone... no [17:25:40.405] checking for union semun... no [17:25:40.440] checking for socklen_t... yes [17:25:41.612] checking for struct sockaddr.sa_len... no [17:25:43.650] checking for C/C++ restrict keyword... __restrict [17:25:43.662] checking for struct option... yes [17:25:43.714] checking whether assembler supports x86_64 popcntq... yes [17:25:43.721] checking size of off_t... 4 [17:25:43.922] 0 [17:25:43.922] checking size of bool... 1 [17:25:43.967] checking for int timezone... yes [17:25:44.021] checking for backtrace_symbols... no [17:25:44.071] checking for copyfile... no [17:25:44.122] checking for copy_file_range... no [17:25:44.172] checking for getifaddrs... no [17:25:44.222] checking for getpeerucred... no [17:25:44.272] checking for inet_pton... yes [17:25:44.322] checking for kqueue... no [17:25:44.372] checking for mbstowcs_l... no [17:25:44.423] checking for memset_s... no [17:25:44.473] checking for posix_fallocate... no [17:25:44.522] checking for ppoll... no [17:25:44.570] checking for pthread_is_threaded_np... no [17:25:44.619] checking for setproctitle... no [17:25:44.668] checking for setproctitle_fast... no [17:25:44.717] checking for strchrnul... no [17:25:44.766] checking for strsignal... no [17:25:44.815] checking for syncfs... no [17:25:44.863] checking for sync_file_range... no [17:25:44.912] checking for uselocale... no [17:25:44.963] checking for wcstombs_l... no [17:25:45.009] checking for __builtin_bswap16... yes [17:25:45.055] checking for __builtin_bswap32... yes [17:25:45.101] checking for __builtin_bswap64... yes [17:25:45.147] checking for __builtin_clz... yes [17:25:45.193] checking for __builtin_ctz... yes [17:25:45.241] checking for __builtin_popcount... yes [17:25:45.289] checking for __builtin_frame_address... yes [17:25:45.336] checking for _LARGEFILE_SOURCE value needed for large files... no [17:25:45.387] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:25:45.418] checking for posix_fadvise... no [17:25:45.470] checking whether posix_fadvise is declared... no [17:25:45.516] checking whether fdatasync is declared... no [17:25:45.562] checking whether strlcat is declared... no [17:25:45.624] checking whether strlcpy is declared... no [17:25:45.686] checking whether strnlen is declared... yes [17:25:45.698] checking whether strsep is declared... no [17:25:45.762] checking whether preadv is declared... no [17:25:45.797] checking whether pwritev is declared... no [17:25:45.832] checking whether F_FULLFSYNC is declared... no [17:25:45.870] checking for explicit_bzero... no [17:25:45.917] checking for getopt... yes [17:25:45.961] checking for getpeereid... no [17:25:46.007] checking for inet_aton... no [17:25:46.054] checking for mkdtemp... no [17:25:46.100] checking for strlcat... no [17:25:46.146] checking for strlcpy... no [17:25:46.192] checking for strnlen... yes [17:25:46.238] checking for strsep... no [17:25:46.284] checking for pthread_barrier_wait... yes [17:25:46.326] configure: On mingw32 we will use our strtof wrapper. [17:25:46.326] checking for getopt_long... yes [17:25:46.370] checking for _configthreadlocale... yes [17:25:46.414] checking for syslog... no [17:25:46.460] checking for opterr... yes [17:25:46.507] checking for optreset... no [17:25:46.558] checking test program... cross-compiling [17:25:46.558] checking whether long int is 64 bits... no [17:25:46.590] checking whether long long int is 64 bits... yes [17:25:46.599] checking for __builtin_mul_overflow... yes [17:25:46.641] checking size of void *... 8 [17:25:46.985] checking size of size_t... 8 [17:25:47.253] checking size of long... 4 [17:25:47.524] checking alignment of short... 2 [17:25:47.658] checking alignment of int... 4 [17:25:47.932] checking alignment of long... 4 [17:25:48.136] checking alignment of long long int... 8 [17:25:48.403] checking alignment of double... 8 [17:25:48.665] checking for __int128... yes [17:25:48.714] checking for __int128 alignment bug... assuming ok [17:25:48.714] checking alignment of PG_INT128_TYPE... 16 [17:25:49.044] checking for builtin __sync char locking functions... yes [17:25:49.085] checking for builtin __sync int32 locking functions... yes [17:25:49.128] checking for builtin __sync int32 atomic operations... yes [17:25:49.170] checking for builtin __sync int64 atomic operations... yes [17:25:49.212] checking for builtin __atomic int32 atomic operations... yes [17:25:49.253] checking for builtin __atomic int64 atomic operations... yes [17:25:49.294] checking for __get_cpuid... yes [17:25:49.341] checking for __get_cpuid_count... yes [17:25:49.386] checking for __cpuid... no [17:25:49.781] checking for __cpuidex... no [17:25:50.199] checking for _xgetbv... yes [17:25:50.607] checking for _mm512_popcnt_epi64... yes [17:25:51.029] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:25:51.075] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:25:51.162] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:25:51.185] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:25:51.204] 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 [17:25:51.259] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:25:51.259] checking which random number source to use... Windows native [17:25:51.261] checking for xmllint... /usr/bin/xmllint [17:25:51.261] checking for xsltproc... /usr/bin/xsltproc [17:25:51.261] checking for fop... /usr/bin/fop [17:25:51.262] checking for dbtoepub... no [17:25:51.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:25:51.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:25:51.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:25:51.273] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:25:51.273] 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 [17:25:51.273] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:25:51.273] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:25:51.352] configure: creating ./config.status [17:25:51.432] config.status: creating GNUmakefile [17:25:51.443] config.status: creating src/Makefile.global [17:25:51.457] config.status: creating src/include/pg_config.h [17:25:51.469] config.status: creating src/include/pg_config_ext.h [17:25:51.480] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:25:51.495] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:25:51.502] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:25:51.509] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:25:51.515] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:25:51.522] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:25:51.525] config.status: executing check_win32_symlinks commands [17:25:51.558] [17:25:51.558] real 0m15.578s [17:25:51.558] user 0m10.201s [17:25:51.558] sys 0m5.020s [17:25:51.558] make -s -j${BUILD_JOBS} clean [17:25:52.052] time make -s -j${BUILD_JOBS} world-bin [17:26:15.180] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [17:26:15.180] jsonpath_exec.c:2827:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [17:26:15.180] 2827 | JsonbValue jbvbuf; [17:26:15.180] | ^~~~~~~~~~ [17:26:15.180] cc1: all warnings being treated as errors [17:26:15.180] make[4]: *** [: jsonpath_exec.o] Error 1 [17:26:15.180] make[4]: *** Waiting for unfinished jobs.... [17:26:16.937] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [17:26:16.938] make[2]: *** [common.mk:37: utils-recursive] Error 2 [17:26:16.938] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:26:16.938] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:26:16.939] [17:26:16.939] real 0m24.887s [17:26:16.939] user 1m8.300s [17:26:16.939] sys 0m17.342s [17:26:16.939] [17:26:16.939] Exit status: 2