[18:48:33.483] time ./configure \ [18:48:33.483] --host=x86_64-w64-mingw32 \ [18:48:33.483] --enable-cassert \ [18:48:33.483] --without-icu \ [18:48:33.483] CC="ccache x86_64-w64-mingw32-gcc" \ [18:48:33.483] CXX="ccache x86_64-w64-mingw32-g++" [18:48:33.585] checking build system type... x86_64-pc-linux-gnu [18:48:33.766] checking host system type... x86_64-w64-mingw32 [18:48:33.771] checking which template to use... win32 [18:48:33.771] checking whether NLS is wanted... no [18:48:33.771] checking for default port number... 5432 [18:48:33.777] checking for block size... 8kB [18:48:33.778] checking for segment size... 1GB [18:48:33.780] checking for WAL block size... 8kB [18:48:33.781] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:48:33.811] checking whether the C compiler works... yes [18:48:33.944] checking for C compiler default output file name... a.exe [18:48:33.945] checking for suffix of executables... .exe [18:48:33.982] checking whether we are cross compiling... yes [18:48:34.053] checking for suffix of object files... o [18:48:34.060] checking whether we are using the GNU C compiler... yes [18:48:34.066] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:48:34.072] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:48:34.081] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:48:34.138] checking whether we are using the GNU C++ compiler... yes [18:48:34.144] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:48:34.204] checking for gawk... no [18:48:34.204] checking for mawk... mawk [18:48:34.206] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:48:34.212] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:48:34.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:48:34.259] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:48:34.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:48:34.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:48:34.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:48:34.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:48:34.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:48:34.452] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:48:34.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:48:34.464] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:48:34.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:48:34.476] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:48:34.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:48:34.488] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:48:34.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:48:34.527] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:48:34.533] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:48:34.539] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:48:34.545] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:48:34.550] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:48:34.556] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:48:34.578] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:48:34.584] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:48:34.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:48:34.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:48:34.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:48:34.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:48:34.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:48:34.702] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:48:34.708] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:48:34.714] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:48:34.720] checking whether the C compiler still works... yes [18:48:34.779] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:48:34.841] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:48:34.842] checking pkg-config is at least version 0.9.0... yes [18:48:34.857] checking whether to build with ICU support... no [18:48:34.857] checking whether to build with Tcl... no [18:48:34.857] checking whether to build Perl modules... no [18:48:34.858] checking whether to build Python modules... no [18:48:34.858] checking whether to build with GSSAPI support... no [18:48:34.859] checking whether to build with PAM support... no [18:48:34.859] checking whether to build with BSD Authentication support... no [18:48:34.859] checking whether to build with LDAP support... no [18:48:34.859] checking whether to build with Bonjour support... no [18:48:34.859] checking whether to build with SELinux support... no [18:48:34.859] checking whether to build with systemd support... no [18:48:34.859] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:48:34.859] checking whether to build with XML support... no [18:48:34.860] checking whether to build with LZ4 support... no [18:48:34.860] checking whether to build with ZSTD support... no [18:48:34.860] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:48:34.860] checking whether it is possible to strip libraries... yes [18:48:34.867] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:48:34.867] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:48:34.867] checking for a BSD-compatible install... /usr/bin/install -c [18:48:34.875] checking for tar... /usr/bin/tar [18:48:34.875] checking whether ln -s works... yes [18:48:34.875] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:48:34.877] checking for bison... /usr/bin/bison [18:48:34.879] configure: using bison (GNU Bison) 3.8.2 [18:48:34.882] checking for flex... /usr/bin/flex [18:48:34.892] configure: using flex 2.6.4 [18:48:34.892] checking for perl... /usr/bin/perl [18:48:34.895] configure: using perl 5.36.0 [18:48:34.896] checking for zic... /usr/sbin/zic [18:48:34.897] checking for a sed that does not truncate output... /usr/bin/sed [18:48:34.901] checking for grep that handles long lines and -e... /usr/bin/grep [18:48:34.903] checking for egrep... /usr/bin/grep -E [18:48:34.904] checking for ANSI C header files... yes [18:48:34.946] checking for sys/types.h... yes [18:48:34.960] checking for sys/stat.h... yes [18:48:34.974] checking for stdlib.h... yes [18:48:34.986] checking for string.h... yes [18:48:34.999] checking for memory.h... yes [18:48:35.012] checking for strings.h... yes [18:48:35.025] checking for inttypes.h... yes [18:48:35.045] checking for stdint.h... yes [18:48:35.059] checking for unistd.h... yes [18:48:35.076] checking for main in -lm... yes [18:48:35.121] checking for library containing setproctitle... no [18:48:35.202] checking for library containing dlsym... no [18:48:35.284] checking for library containing socket... -lws2_32 [18:48:35.403] checking for library containing getopt_long... none required [18:48:35.447] checking for library containing shm_open... no [18:48:35.528] checking for library containing shm_unlink... no [18:48:35.608] checking for library containing clock_gettime... no [18:48:35.687] checking for library containing shmget... no [18:48:35.771] checking for library containing backtrace_symbols... no [18:48:35.851] checking for library containing pthread_barrier_wait... -lpthread [18:48:35.932] checking for inflate in -lz... yes [18:48:35.974] checking for stdbool.h that conforms to C99... yes [18:48:35.985] checking for _Bool... yes [18:48:36.053] checking atomic.h usability... no [18:48:36.104] checking atomic.h presence... no [18:48:36.121] checking for atomic.h... no [18:48:36.125] checking copyfile.h usability... no [18:48:36.174] checking copyfile.h presence... no [18:48:36.191] checking for copyfile.h... no [18:48:36.194] checking execinfo.h usability... no [18:48:36.243] checking execinfo.h presence... no [18:48:36.261] checking for execinfo.h... no [18:48:36.264] checking getopt.h usability... yes [18:48:36.271] checking getopt.h presence... yes [18:48:36.284] checking for getopt.h... yes [18:48:36.291] checking ifaddrs.h usability... no [18:48:36.340] checking ifaddrs.h presence... no [18:48:36.356] checking for ifaddrs.h... no [18:48:36.360] checking mbarrier.h usability... no [18:48:36.411] checking mbarrier.h presence... no [18:48:36.428] checking for mbarrier.h... no [18:48:36.431] checking sys/epoll.h usability... no [18:48:36.482] checking sys/epoll.h presence... no [18:48:36.500] checking for sys/epoll.h... no [18:48:36.503] checking sys/event.h usability... no [18:48:36.553] checking sys/event.h presence... no [18:48:36.571] checking for sys/event.h... no [18:48:36.574] checking sys/personality.h usability... no [18:48:36.624] checking sys/personality.h presence... no [18:48:36.642] checking for sys/personality.h... no [18:48:36.645] checking sys/prctl.h usability... no [18:48:36.694] checking sys/prctl.h presence... no [18:48:36.710] checking for sys/prctl.h... no [18:48:36.713] checking sys/procctl.h usability... no [18:48:36.763] checking sys/procctl.h presence... no [18:48:36.780] checking for sys/procctl.h... no [18:48:36.782] checking sys/signalfd.h usability... no [18:48:36.831] checking sys/signalfd.h presence... no [18:48:36.847] checking for sys/signalfd.h... no [18:48:36.850] checking sys/ucred.h usability... no [18:48:36.899] checking sys/ucred.h presence... no [18:48:36.915] checking for sys/ucred.h... no [18:48:36.918] checking termios.h usability... no [18:48:36.969] checking termios.h presence... no [18:48:36.985] checking for termios.h... no [18:48:36.988] checking ucred.h usability... no [18:48:37.038] checking ucred.h presence... no [18:48:37.054] checking for ucred.h... no [18:48:37.057] checking xlocale.h usability... no [18:48:37.106] checking xlocale.h presence... no [18:48:37.122] checking for xlocale.h... no [18:48:37.125] checking zlib.h usability... yes [18:48:37.134] checking zlib.h presence... yes [18:48:37.152] checking for zlib.h... yes [18:48:37.152] checking for lz4... /usr/bin/lz4 [18:48:37.152] checking for zstd... /usr/bin/zstd [18:48:37.152] checking for openssl... /usr/bin/openssl [18:48:37.156] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:48:37.157] checking crtdefs.h usability... yes [18:48:37.163] checking crtdefs.h presence... yes [18:48:37.176] checking for crtdefs.h... yes [18:48:37.178] checking whether byte ordering is bigendian... no [18:48:37.245] checking for inline... inline [18:48:37.251] checking for printf format archetype... gnu_printf [18:48:37.259] checking for _Static_assert... yes [18:48:37.297] checking for typeof... typeof [18:48:37.304] checking for __builtin_types_compatible_p... yes [18:48:37.314] checking for __builtin_constant_p... yes [18:48:37.324] checking for __builtin_unreachable... yes [18:48:37.362] checking for computed goto support... yes [18:48:37.368] checking for struct tm.tm_zone... no [18:48:37.437] checking for union semun... no [18:48:37.467] checking for socklen_t... yes [18:48:38.539] checking for struct sockaddr.sa_len... no [18:48:40.373] checking for C/C++ restrict keyword... __restrict [18:48:40.385] checking for struct option... yes [18:48:40.423] checking whether assembler supports x86_64 popcntq... yes [18:48:40.429] checking size of off_t... 4 [18:48:40.609] 0 [18:48:40.609] checking size of bool... 1 [18:48:40.649] checking for int timezone... yes [18:48:40.696] checking for backtrace_symbols... no [18:48:40.742] checking for copyfile... no [18:48:40.786] checking for copy_file_range... no [18:48:40.830] checking for getifaddrs... no [18:48:40.874] checking for getpeerucred... no [18:48:40.918] checking for inet_pton... yes [18:48:40.963] checking for kqueue... no [18:48:41.008] checking for mbstowcs_l... no [18:48:41.053] checking for memset_s... no [18:48:41.100] checking for posix_fallocate... no [18:48:41.147] checking for ppoll... no [18:48:41.192] checking for pthread_is_threaded_np... no [18:48:41.237] checking for setproctitle... no [18:48:41.282] checking for setproctitle_fast... no [18:48:41.330] checking for strchrnul... no [18:48:41.378] checking for strsignal... no [18:48:41.426] checking for syncfs... no [18:48:41.474] checking for sync_file_range... no [18:48:41.522] checking for uselocale... no [18:48:41.568] checking for wcstombs_l... no [18:48:41.613] checking for __builtin_bswap16... yes [18:48:41.657] checking for __builtin_bswap32... yes [18:48:41.701] checking for __builtin_bswap64... yes [18:48:41.745] checking for __builtin_clz... yes [18:48:41.789] checking for __builtin_ctz... yes [18:48:41.831] checking for __builtin_popcount... yes [18:48:41.873] checking for __builtin_frame_address... yes [18:48:41.916] checking for _LARGEFILE_SOURCE value needed for large files... no [18:48:41.965] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:48:41.994] checking for posix_fadvise... no [18:48:42.040] checking whether posix_fadvise is declared... no [18:48:42.079] checking whether fdatasync is declared... no [18:48:42.120] checking whether strlcat is declared... no [18:48:42.176] checking whether strlcpy is declared... no [18:48:42.232] checking whether strnlen is declared... yes [18:48:42.244] checking whether strsep is declared... no [18:48:42.302] checking whether preadv is declared... no [18:48:42.333] checking whether pwritev is declared... no [18:48:42.365] checking whether F_FULLFSYNC is declared... no [18:48:42.400] checking for explicit_bzero... no [18:48:42.441] checking for getopt... yes [18:48:42.481] checking for getpeereid... no [18:48:42.524] checking for inet_aton... no [18:48:42.565] checking for mkdtemp... no [18:48:42.607] checking for strlcat... no [18:48:42.649] checking for strlcpy... no [18:48:42.690] checking for strnlen... yes [18:48:42.733] checking for strsep... no [18:48:42.776] checking for pthread_barrier_wait... yes [18:48:42.816] configure: On mingw32 we will use our strtof wrapper. [18:48:42.816] checking for getopt_long... yes [18:48:42.856] checking for _configthreadlocale... yes [18:48:42.897] checking for syslog... no [18:48:42.940] checking for opterr... yes [18:48:42.982] checking for optreset... no [18:48:43.028] checking test program... cross-compiling [18:48:43.028] checking whether long int is 64 bits... no [18:48:43.055] checking whether long long int is 64 bits... yes [18:48:43.063] checking for __builtin_mul_overflow... yes [18:48:43.100] checking size of void *... 8 [18:48:43.340] checking size of size_t... 8 [18:48:43.590] checking size of long... 4 [18:48:43.779] checking alignment of short... 2 [18:48:43.907] checking alignment of int... 4 [18:48:44.092] checking alignment of long... 4 [18:48:44.281] checking alignment of long long int... 8 [18:48:44.525] checking alignment of double... 8 [18:48:44.773] checking for __int128... yes [18:48:44.817] checking for __int128 alignment bug... assuming ok [18:48:44.818] checking alignment of PG_INT128_TYPE... 16 [18:48:45.119] checking for builtin __sync char locking functions... yes [18:48:45.157] checking for builtin __sync int32 locking functions... yes [18:48:45.196] checking for builtin __sync int32 atomic operations... yes [18:48:45.233] checking for builtin __sync int64 atomic operations... yes [18:48:45.271] checking for builtin __atomic int32 atomic operations... yes [18:48:45.309] checking for builtin __atomic int64 atomic operations... yes [18:48:45.348] checking for __get_cpuid... yes [18:48:45.390] checking for __get_cpuid_count... yes [18:48:45.432] checking for __cpuid... no [18:48:45.803] checking for __cpuidex... no [18:48:46.197] checking for _xgetbv with CFLAGS=... no [18:48:46.550] checking for _xgetbv with CFLAGS=-mxsave... yes [18:48:46.925] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:48:47.282] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:48:47.600] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:48:47.643] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:48:47.722] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:48:47.743] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:48:47.760] 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 [18:48:47.809] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:48:47.810] checking which random number source to use... Windows native [18:48:47.811] checking for xmllint... /usr/bin/xmllint [18:48:47.812] checking for xsltproc... /usr/bin/xsltproc [18:48:47.812] checking for fop... /usr/bin/fop [18:48:47.812] checking for dbtoepub... no [18:48:47.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:48:47.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:48:47.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:48:47.822] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:48:47.822] 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 [18:48:47.822] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:48:47.822] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:48:47.896] configure: creating ./config.status [18:48:47.969] config.status: creating GNUmakefile [18:48:47.980] config.status: creating src/Makefile.global [18:48:47.994] config.status: creating src/include/pg_config.h [18:48:48.005] config.status: creating src/include/pg_config_ext.h [18:48:48.016] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:48:48.029] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:48:48.035] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:48:48.041] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:48:48.047] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:48:48.054] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:48:48.056] config.status: executing check_win32_symlinks commands [18:48:48.086] [18:48:48.086] real 0m14.602s [18:48:48.086] user 0m9.760s [18:48:48.086] sys 0m4.475s [18:48:48.086] make -s -j${BUILD_JOBS} clean [18:48:48.541] time make -s -j${BUILD_JOBS} world-bin [18:48:54.927] jsonpath_exec.c: In function ‘executeStringInternalMethod’: [18:48:54.927] jsonpath_exec.c:2829:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [18:48:54.927] 2829 | JsonbValue jbvbuf; [18:48:54.927] | ^~~~~~~~~~ [18:48:54.927] cc1: all warnings being treated as errors [18:48:54.927] make[4]: *** [: jsonpath_exec.o] Error 1 [18:48:54.927] make[4]: *** Waiting for unfinished jobs.... [18:48:55.070] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [18:48:55.070] make[3]: *** Waiting for unfinished jobs.... [18:48:55.092] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:48:55.092] make[2]: *** Waiting for unfinished jobs.... [18:48:55.655] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:48:55.655] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:48:55.656] [18:48:55.656] real 0m7.114s [18:48:55.656] user 0m15.345s [18:48:55.656] sys 0m6.672s [18:48:55.656] [18:48:55.656] Exit status: 2