[06:03:22.246] time ./configure \ [06:03:22.246] --host=x86_64-w64-mingw32 \ [06:03:22.246] --enable-cassert \ [06:03:22.246] --without-icu \ [06:03:22.246] CC="ccache x86_64-w64-mingw32-gcc" \ [06:03:22.246] CXX="ccache x86_64-w64-mingw32-g++" [06:03:22.359] checking build system type... x86_64-pc-linux-gnu [06:03:22.548] checking host system type... x86_64-w64-mingw32 [06:03:22.553] checking which template to use... win32 [06:03:22.554] checking whether NLS is wanted... no [06:03:22.554] checking for default port number... 5432 [06:03:22.560] checking for block size... 8kB [06:03:22.561] checking for segment size... 1GB [06:03:22.563] checking for WAL block size... 8kB [06:03:22.564] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:03:22.596] checking whether the C compiler works... yes [06:03:22.740] checking for C compiler default output file name... a.exe [06:03:22.742] checking for suffix of executables... .exe [06:03:22.780] checking whether we are cross compiling... yes [06:03:22.856] checking for suffix of object files... o [06:03:22.864] checking whether we are using the GNU C compiler... yes [06:03:22.879] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:03:22.887] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:03:22.913] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:03:23.067] checking whether we are using the GNU C++ compiler... yes [06:03:23.220] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:03:23.288] checking for gawk... no [06:03:23.289] checking for mawk... mawk [06:03:23.291] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:03:23.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:03:23.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:03:23.373] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:03:23.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:03:23.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:03:23.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:03:23.446] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:03:23.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:03:23.484] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:03:23.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:03:23.497] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:03:23.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:03:23.520] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:03:23.528] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:03:23.545] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:03:23.562] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:03:23.599] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:03:23.606] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:03:23.613] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:03:23.629] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:03:23.694] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:03:23.727] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:03:23.750] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:03:23.757] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:03:23.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:03:23.800] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:03:23.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:03:23.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:03:23.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:03:23.884] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:03:23.891] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:03:23.898] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:03:23.932] checking whether the C compiler still works... yes [06:03:24.008] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:03:24.076] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:03:24.077] checking pkg-config is at least version 0.9.0... yes [06:03:24.094] checking whether to build with ICU support... no [06:03:24.094] checking whether to build with Tcl... no [06:03:24.095] checking whether to build Perl modules... no [06:03:24.095] checking whether to build Python modules... no [06:03:24.095] checking whether to build with GSSAPI support... no [06:03:24.096] checking whether to build with PAM support... no [06:03:24.096] checking whether to build with BSD Authentication support... no [06:03:24.096] checking whether to build with LDAP support... no [06:03:24.096] checking whether to build with Bonjour support... no [06:03:24.096] checking whether to build with SELinux support... no [06:03:24.096] checking whether to build with systemd support... no [06:03:24.096] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:03:24.097] checking whether to build with XML support... no [06:03:24.097] checking whether to build with LZ4 support... no [06:03:24.097] checking whether to build with ZSTD support... no [06:03:24.098] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:03:24.098] checking whether it is possible to strip libraries... yes [06:03:24.106] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:03:24.106] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:03:24.106] checking for a BSD-compatible install... /usr/bin/install -c [06:03:24.115] checking for tar... /usr/bin/tar [06:03:24.115] checking whether ln -s works... yes [06:03:24.115] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:03:24.118] checking for bison... /usr/bin/bison [06:03:24.120] configure: using bison (GNU Bison) 3.8.2 [06:03:24.123] checking for flex... /usr/bin/flex [06:03:24.135] configure: using flex 2.6.4 [06:03:24.135] checking for perl... /usr/bin/perl [06:03:24.137] configure: using perl 5.36.0 [06:03:24.140] checking for zic... /usr/sbin/zic [06:03:24.140] checking for a sed that does not truncate output... /usr/bin/sed [06:03:24.145] checking for grep that handles long lines and -e... /usr/bin/grep [06:03:24.147] checking for egrep... /usr/bin/grep -E [06:03:24.148] checking for ANSI C header files... yes [06:03:24.234] checking for sys/types.h... yes [06:03:24.251] checking for sys/stat.h... yes [06:03:24.269] checking for stdlib.h... yes [06:03:24.283] checking for string.h... yes [06:03:24.297] checking for memory.h... yes [06:03:24.356] checking for strings.h... yes [06:03:24.370] checking for inttypes.h... yes [06:03:24.387] checking for stdint.h... yes [06:03:24.400] checking for unistd.h... yes [06:03:24.415] checking for main in -lm... yes [06:03:24.461] checking for library containing setproctitle... no [06:03:24.542] checking for library containing dlsym... no [06:03:24.627] checking for library containing socket... -lws2_32 [06:03:24.753] checking for library containing getopt_long... none required [06:03:24.797] checking for library containing shm_open... no [06:03:24.880] checking for library containing shm_unlink... no [06:03:24.962] checking for library containing clock_gettime... no [06:03:25.045] checking for library containing shmget... no [06:03:25.134] checking for library containing backtrace_symbols... no [06:03:25.218] checking for library containing pthread_barrier_wait... -lpthread [06:03:25.306] checking for inflate in -lz... yes [06:03:25.351] checking for stdbool.h that conforms to C99... yes [06:03:25.371] checking for _Bool... yes [06:03:25.438] checking atomic.h usability... no [06:03:25.490] checking atomic.h presence... no [06:03:25.507] checking for atomic.h... no [06:03:25.510] checking copyfile.h usability... no [06:03:25.561] checking copyfile.h presence... no [06:03:25.579] checking for copyfile.h... no [06:03:25.582] checking execinfo.h usability... no [06:03:25.635] checking execinfo.h presence... no [06:03:25.653] checking for execinfo.h... no [06:03:25.656] checking getopt.h usability... yes [06:03:25.664] checking getopt.h presence... yes [06:03:25.677] checking for getopt.h... yes [06:03:25.684] checking ifaddrs.h usability... no [06:03:25.737] checking ifaddrs.h presence... no [06:03:25.754] checking for ifaddrs.h... no [06:03:25.757] checking mbarrier.h usability... no [06:03:25.809] checking mbarrier.h presence... no [06:03:25.827] checking for mbarrier.h... no [06:03:25.830] checking sys/epoll.h usability... no [06:03:25.881] checking sys/epoll.h presence... no [06:03:25.898] checking for sys/epoll.h... no [06:03:25.901] checking sys/event.h usability... no [06:03:25.954] checking sys/event.h presence... no [06:03:25.971] checking for sys/event.h... no [06:03:25.975] checking sys/personality.h usability... no [06:03:26.028] checking sys/personality.h presence... no [06:03:26.046] checking for sys/personality.h... no [06:03:26.049] checking sys/prctl.h usability... no [06:03:26.102] checking sys/prctl.h presence... no [06:03:26.120] checking for sys/prctl.h... no [06:03:26.123] checking sys/procctl.h usability... no [06:03:26.177] checking sys/procctl.h presence... no [06:03:26.196] checking for sys/procctl.h... no [06:03:26.199] checking sys/signalfd.h usability... no [06:03:26.253] checking sys/signalfd.h presence... no [06:03:26.271] checking for sys/signalfd.h... no [06:03:26.274] checking sys/ucred.h usability... no [06:03:26.327] checking sys/ucred.h presence... no [06:03:26.345] checking for sys/ucred.h... no [06:03:26.349] checking termios.h usability... no [06:03:26.404] checking termios.h presence... no [06:03:26.422] checking for termios.h... no [06:03:26.426] checking ucred.h usability... no [06:03:26.482] checking ucred.h presence... no [06:03:26.501] checking for ucred.h... no [06:03:26.504] checking xlocale.h usability... no [06:03:26.558] checking xlocale.h presence... no [06:03:26.576] checking for xlocale.h... no [06:03:26.579] checking zlib.h usability... yes [06:03:26.589] checking zlib.h presence... yes [06:03:26.608] checking for zlib.h... yes [06:03:26.608] checking for lz4... /usr/bin/lz4 [06:03:26.609] checking for zstd... /usr/bin/zstd [06:03:26.609] checking for openssl... /usr/bin/openssl [06:03:26.613] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [06:03:26.614] checking crtdefs.h usability... yes [06:03:26.622] checking crtdefs.h presence... yes [06:03:26.637] checking for crtdefs.h... yes [06:03:26.639] checking whether byte ordering is bigendian... no [06:03:26.712] checking for inline... inline [06:03:26.719] checking for printf format archetype... gnu_printf [06:03:26.728] checking for _Static_assert... yes [06:03:26.769] checking for typeof... typeof [06:03:26.776] checking for __builtin_types_compatible_p... yes [06:03:26.787] checking for __builtin_constant_p... yes [06:03:26.799] checking for __builtin_unreachable... yes [06:03:26.839] checking for computed goto support... yes [06:03:26.847] checking for struct tm.tm_zone... no [06:03:26.925] checking for union semun... no [06:03:26.959] checking for socklen_t... yes [06:03:28.518] checking for struct sockaddr.sa_len... no [06:03:30.540] checking for C/C++ restrict keyword... __restrict [06:03:30.553] checking for struct option... yes [06:03:30.604] checking whether assembler supports x86_64 popcntq... yes [06:03:30.611] checking size of off_t... 4 [06:03:30.802] 0 [06:03:30.802] checking size of bool... 1 [06:03:30.843] checking for int timezone... yes [06:03:30.893] checking for backtrace_symbols... no [06:03:30.946] checking for copyfile... no [06:03:30.995] checking for copy_file_range... no [06:03:31.045] checking for getifaddrs... no [06:03:31.095] checking for getpeerucred... no [06:03:31.144] checking for inet_pton... yes [06:03:31.195] checking for kqueue... no [06:03:31.244] checking for mbstowcs_l... no [06:03:31.292] checking for memset_s... no [06:03:31.339] checking for posix_fallocate... no [06:03:31.385] checking for ppoll... no [06:03:31.432] checking for pthread_is_threaded_np... no [06:03:31.480] checking for setproctitle... no [06:03:31.528] checking for setproctitle_fast... no [06:03:31.577] checking for strchrnul... no [06:03:31.625] checking for strsignal... no [06:03:31.673] checking for syncfs... no [06:03:31.720] checking for sync_file_range... no [06:03:31.767] checking for uselocale... no [06:03:31.814] checking for wcstombs_l... no [06:03:31.859] checking for __builtin_bswap16... yes [06:03:31.908] checking for __builtin_bswap32... yes [06:03:31.953] checking for __builtin_bswap64... yes [06:03:32.000] checking for __builtin_clz... yes [06:03:32.045] checking for __builtin_ctz... yes [06:03:32.095] checking for __builtin_popcount... yes [06:03:32.143] checking for __builtin_frame_address... yes [06:03:32.189] checking for _LARGEFILE_SOURCE value needed for large files... no [06:03:32.243] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:03:32.277] checking for posix_fadvise... no [06:03:32.329] checking whether posix_fadvise is declared... no [06:03:32.374] checking whether fdatasync is declared... no [06:03:32.418] checking whether strlcat is declared... no [06:03:32.480] checking whether strlcpy is declared... no [06:03:32.542] checking whether strnlen is declared... yes [06:03:32.555] checking whether strsep is declared... no [06:03:32.615] checking whether preadv is declared... no [06:03:32.649] checking whether pwritev is declared... no [06:03:32.682] checking whether F_FULLFSYNC is declared... no [06:03:32.718] checking for explicit_bzero... no [06:03:32.762] checking for getopt... yes [06:03:32.804] checking for getpeereid... no [06:03:32.848] checking for inet_aton... no [06:03:32.892] checking for mkdtemp... no [06:03:32.938] checking for strlcat... no [06:03:32.984] checking for strlcpy... no [06:03:33.028] checking for strnlen... yes [06:03:33.073] checking for strsep... no [06:03:33.117] checking for pthread_barrier_wait... yes [06:03:33.159] configure: On mingw32 we will use our strtof wrapper. [06:03:33.159] checking for getopt_long... yes [06:03:33.201] checking for _configthreadlocale... yes [06:03:33.244] checking for syslog... no [06:03:33.290] checking for opterr... yes [06:03:33.336] checking for optreset... no [06:03:33.384] checking test program... cross-compiling [06:03:33.384] checking whether long int is 64 bits... no [06:03:33.413] checking whether long long int is 64 bits... yes [06:03:33.421] checking for __builtin_mul_overflow... yes [06:03:33.461] checking size of void *... 8 [06:03:33.820] checking size of size_t... 8 [06:03:34.178] checking size of long... 4 [06:03:34.423] checking alignment of short... 2 [06:03:34.628] checking alignment of int... 4 [06:03:34.823] checking alignment of long... 4 [06:03:35.079] checking alignment of long long int... 8 [06:03:35.341] checking alignment of double... 8 [06:03:35.654] checking for int8... no [06:03:35.696] checking for uint8... no [06:03:35.738] checking for int64... no [06:03:35.779] checking for uint64... no [06:03:35.819] checking for __int128... yes [06:03:35.864] checking for __int128 alignment bug... assuming ok [06:03:35.864] checking alignment of PG_INT128_TYPE... 16 [06:03:36.324] checking for builtin __sync char locking functions... yes [06:03:36.367] checking for builtin __sync int32 locking functions... yes [06:03:36.408] checking for builtin __sync int32 atomic operations... yes [06:03:36.447] checking for builtin __sync int64 atomic operations... yes [06:03:36.487] checking for builtin __atomic int32 atomic operations... yes [06:03:36.528] checking for builtin __atomic int64 atomic operations... yes [06:03:36.571] checking for __get_cpuid... yes [06:03:36.618] checking for __get_cpuid_count... yes [06:03:36.663] checking for __cpuid... no [06:03:37.062] checking for __cpuidex... no [06:03:37.479] checking for _xgetbv with CFLAGS=... no [06:03:37.846] checking for _xgetbv with CFLAGS=-mxsave... yes [06:03:38.241] checking for _mm512_popcnt_epi64 with CFLAGS=... no [06:03:38.621] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [06:03:38.967] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:03:39.013] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:03:39.102] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:03:39.123] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:03:39.141] 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 [06:03:39.193] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:03:39.194] checking which random number source to use... Windows native [06:03:39.195] checking for xmllint... /usr/bin/xmllint [06:03:39.196] checking for xsltproc... /usr/bin/xsltproc [06:03:39.196] checking for fop... /usr/bin/fop [06:03:39.196] checking for dbtoepub... no [06:03:39.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:03:39.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:03:39.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:03:39.207] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:03:39.207] 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 [06:03:39.207] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:03:39.207] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:03:39.286] configure: creating ./config.status [06:03:39.367] config.status: creating GNUmakefile [06:03:39.378] config.status: creating src/Makefile.global [06:03:39.394] config.status: creating src/include/pg_config.h [06:03:39.406] config.status: creating src/include/pg_config_ext.h [06:03:39.419] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:03:39.433] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:03:39.441] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:03:39.448] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:03:39.455] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:03:39.462] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:03:39.465] config.status: executing check_win32_symlinks commands [06:03:39.500] [06:03:39.500] real 0m17.254s [06:03:39.500] user 0m11.494s [06:03:39.500] sys 0m5.335s [06:03:39.500] make -s -j${BUILD_JOBS} clean [06:03:40.008] time make -s -j${BUILD_JOBS} world-bin [06:05:49.251] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [06:05:49.251] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [06:05:49.251] 2829 | JsonbValue jbvbuf; [06:05:49.251] | ^~~~~~~~~~ [06:05:49.251] cc1: all warnings being treated as errors [06:05:49.251] make[4]: *** [: jsonpath_exec.o] Error 1 [06:05:49.251] make[4]: *** Waiting for unfinished jobs.... [06:05:49.776] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [06:05:49.776] make[3]: *** Waiting for unfinished jobs.... [06:05:52.838] make[2]: *** [common.mk:37: utils-recursive] Error 2 [06:05:52.838] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:05:52.838] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:05:52.838] [06:05:52.838] real 2m12.831s [06:05:52.838] user 7m14.278s [06:05:52.838] sys 1m23.897s [06:05:52.839] [06:05:52.839] Exit status: 2