[00:19:06.855] time ./configure \ [00:19:06.855] --host=x86_64-w64-mingw32 \ [00:19:06.855] --enable-cassert \ [00:19:06.855] --without-icu \ [00:19:06.855] CC="ccache x86_64-w64-mingw32-gcc" \ [00:19:06.855] CXX="ccache x86_64-w64-mingw32-g++" [00:19:06.990] checking build system type... x86_64-pc-linux-gnu [00:19:07.183] checking host system type... x86_64-w64-mingw32 [00:19:07.189] checking which template to use... win32 [00:19:07.189] checking whether NLS is wanted... no [00:19:07.189] checking for default port number... 5432 [00:19:07.198] checking for block size... 8kB [00:19:07.199] checking for segment size... 1GB [00:19:07.201] checking for WAL block size... 8kB [00:19:07.203] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:19:07.235] checking whether the C compiler works... yes [00:19:07.364] checking for C compiler default output file name... a.exe [00:19:07.365] checking for suffix of executables... .exe [00:19:07.408] checking whether we are cross compiling... yes [00:19:07.489] checking for suffix of object files... o [00:19:07.497] checking whether we are using the GNU C compiler... yes [00:19:07.505] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:19:07.512] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:19:07.523] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:19:07.590] checking whether we are using the GNU C++ compiler... yes [00:19:07.598] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:19:07.675] checking for gawk... no [00:19:07.676] checking for mawk... mawk [00:19:07.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:19:07.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:19:07.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:19:07.742] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:19:07.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:19:07.903] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:19:07.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:19:07.917] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:19:07.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:19:07.932] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:19:07.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:19:07.947] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:19:07.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:19:07.961] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:19:07.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:19:07.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:19:07.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:19:08.023] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:19:08.031] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:19:08.039] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:19:08.047] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:19:08.054] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:19:08.061] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:19:08.086] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:19:08.093] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:19:08.100] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:19:08.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:19:08.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:19:08.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:19:08.199] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:19:08.236] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:19:08.243] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:19:08.250] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:19:08.258] checking whether the C compiler still works... yes [00:19:08.326] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:19:08.400] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:19:08.400] checking pkg-config is at least version 0.9.0... yes [00:19:08.416] checking whether to build with ICU support... no [00:19:08.417] checking whether to build with Tcl... no [00:19:08.417] checking whether to build Perl modules... no [00:19:08.417] checking whether to build Python modules... no [00:19:08.417] checking whether to build with GSSAPI support... no [00:19:08.418] checking whether to build with PAM support... no [00:19:08.418] checking whether to build with BSD Authentication support... no [00:19:08.418] checking whether to build with LDAP support... no [00:19:08.418] checking whether to build with Bonjour support... no [00:19:08.419] checking whether to build with SELinux support... no [00:19:08.419] checking whether to build with systemd support... no [00:19:08.419] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:19:08.419] checking whether to build with XML support... no [00:19:08.419] checking whether to build with LZ4 support... no [00:19:08.419] checking whether to build with ZSTD support... no [00:19:08.420] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:19:08.420] checking whether it is possible to strip libraries... yes [00:19:08.427] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:19:08.427] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:19:08.427] checking for a BSD-compatible install... /usr/bin/install -c [00:19:08.437] checking for tar... /usr/bin/tar [00:19:08.437] checking whether ln -s works... yes [00:19:08.437] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:19:08.439] checking for bison... /usr/bin/bison [00:19:08.442] configure: using bison (GNU Bison) 3.8.2 [00:19:08.444] checking for flex... /usr/bin/flex [00:19:08.446] configure: using flex 2.6.4 [00:19:08.447] checking for perl... /usr/bin/perl [00:19:08.449] configure: using perl 5.36.0 [00:19:08.452] checking for zic... /usr/sbin/zic [00:19:08.452] checking for a sed that does not truncate output... /usr/bin/sed [00:19:08.457] checking for grep that handles long lines and -e... /usr/bin/grep [00:19:08.459] checking for egrep... /usr/bin/grep -E [00:19:08.461] checking for ANSI C header files... yes [00:19:08.515] checking for sys/types.h... yes [00:19:08.535] checking for sys/stat.h... yes [00:19:08.554] checking for stdlib.h... yes [00:19:08.571] checking for string.h... yes [00:19:08.586] checking for memory.h... yes [00:19:08.603] checking for strings.h... yes [00:19:08.620] checking for inttypes.h... yes [00:19:08.639] checking for stdint.h... yes [00:19:08.656] checking for unistd.h... yes [00:19:08.674] checking for main in -lm... yes [00:19:08.727] checking for library containing setproctitle... no [00:19:08.823] checking for library containing dlsym... no [00:19:08.923] checking for library containing socket... -lws2_32 [00:19:09.066] checking for library containing getopt_long... none required [00:19:09.119] checking for library containing shm_open... no [00:19:09.222] checking for library containing shm_unlink... no [00:19:09.320] checking for library containing clock_gettime... no [00:19:09.416] checking for library containing shmget... no [00:19:09.511] checking for library containing backtrace_symbols... no [00:19:09.609] checking for library containing pthread_barrier_wait... -lpthread [00:19:09.703] checking for inflate in -lz... yes [00:19:09.752] checking atomic.h usability... no [00:19:09.814] checking atomic.h presence... no [00:19:09.837] checking for atomic.h... no [00:19:09.842] checking copyfile.h usability... no [00:19:09.904] checking copyfile.h presence... no [00:19:09.928] checking for copyfile.h... no [00:19:09.931] checking execinfo.h usability... no [00:19:09.994] checking execinfo.h presence... no [00:19:10.019] checking for execinfo.h... no [00:19:10.023] checking getopt.h usability... yes [00:19:10.032] checking getopt.h presence... yes [00:19:10.051] checking for getopt.h... yes [00:19:10.060] checking ifaddrs.h usability... no [00:19:10.125] checking ifaddrs.h presence... no [00:19:10.149] checking for ifaddrs.h... no [00:19:10.153] checking mbarrier.h usability... no [00:19:10.223] checking mbarrier.h presence... no [00:19:10.247] checking for mbarrier.h... no [00:19:10.251] checking sys/epoll.h usability... no [00:19:10.316] checking sys/epoll.h presence... no [00:19:10.340] checking for sys/epoll.h... no [00:19:10.343] checking sys/event.h usability... no [00:19:10.407] checking sys/event.h presence... no [00:19:10.431] checking for sys/event.h... no [00:19:10.435] checking sys/personality.h usability... no [00:19:10.500] checking sys/personality.h presence... no [00:19:10.521] checking for sys/personality.h... no [00:19:10.525] checking sys/prctl.h usability... no [00:19:10.589] checking sys/prctl.h presence... no [00:19:10.610] checking for sys/prctl.h... no [00:19:10.614] checking sys/procctl.h usability... no [00:19:10.673] checking sys/procctl.h presence... no [00:19:10.692] checking for sys/procctl.h... no [00:19:10.695] checking sys/signalfd.h usability... no [00:19:10.756] checking sys/signalfd.h presence... no [00:19:10.778] checking for sys/signalfd.h... no [00:19:10.781] checking sys/ucred.h usability... no [00:19:10.844] checking sys/ucred.h presence... no [00:19:10.866] checking for sys/ucred.h... no [00:19:10.870] checking termios.h usability... no [00:19:10.926] checking termios.h presence... no [00:19:10.947] checking for termios.h... no [00:19:10.950] checking ucred.h usability... no [00:19:11.013] checking ucred.h presence... no [00:19:11.035] checking for ucred.h... no [00:19:11.039] checking xlocale.h usability... no [00:19:11.102] checking xlocale.h presence... no [00:19:11.125] checking for xlocale.h... no [00:19:11.128] checking zlib.h usability... yes [00:19:11.140] checking zlib.h presence... yes [00:19:11.162] checking for zlib.h... yes [00:19:11.162] checking for lz4... /usr/bin/lz4 [00:19:11.163] checking for zstd... /usr/bin/zstd [00:19:11.163] checking for openssl... /usr/bin/openssl [00:19:11.168] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:19:11.169] checking crtdefs.h usability... yes [00:19:11.178] checking crtdefs.h presence... yes [00:19:11.195] checking for crtdefs.h... yes [00:19:11.197] checking whether byte ordering is bigendian... no [00:19:11.276] checking for inline... inline [00:19:11.284] checking for printf format archetype... gnu_printf [00:19:11.292] checking for _Static_assert... yes [00:19:11.334] checking for typeof... typeof [00:19:11.342] checking for __builtin_types_compatible_p... yes [00:19:11.354] checking for __builtin_constant_p... yes [00:19:11.366] checking for __builtin_mul_overflow... yes [00:19:11.416] checking for __builtin_unreachable... yes [00:19:11.461] checking for computed goto support... yes [00:19:11.468] checking for struct tm.tm_zone... no [00:19:11.553] checking for union semun... no [00:19:11.591] checking for socklen_t... yes [00:19:12.991] checking for struct sockaddr.sa_len... no [00:19:15.344] checking for C/C++ restrict keyword... __restrict [00:19:15.357] checking for struct option... yes [00:19:15.401] checking whether assembler supports x86_64 popcntq... yes [00:19:15.409] checking size of off_t... 4 [00:19:15.640] 0 [00:19:15.641] checking for int timezone... yes [00:19:15.696] checking for backtrace_symbols... no [00:19:15.750] checking for copyfile... no [00:19:15.805] checking for copy_file_range... no [00:19:15.862] checking for elf_aux_info... no [00:19:15.919] checking for getauxval... no [00:19:15.970] checking for getifaddrs... no [00:19:16.025] checking for getpeerucred... no [00:19:16.080] checking for inet_pton... yes [00:19:16.138] checking for kqueue... no [00:19:16.197] checking for mbstowcs_l... no [00:19:16.255] checking for memset_s... no [00:19:16.313] checking for posix_fallocate... no [00:19:16.369] checking for ppoll... no [00:19:16.425] checking for pthread_is_threaded_np... no [00:19:16.482] checking for setproctitle... no [00:19:16.539] checking for setproctitle_fast... no [00:19:16.597] checking for strchrnul... no [00:19:16.653] checking for strsignal... no [00:19:16.707] checking for syncfs... no [00:19:16.759] checking for sync_file_range... no [00:19:16.815] checking for uselocale... no [00:19:16.871] checking for wcstombs_l... no [00:19:16.923] checking for __builtin_bswap16... yes [00:19:16.979] checking for __builtin_bswap32... yes [00:19:17.030] checking for __builtin_bswap64... yes [00:19:17.085] checking for __builtin_clz... yes [00:19:17.139] checking for __builtin_ctz... yes [00:19:17.193] checking for __builtin_popcount... yes [00:19:17.243] checking for __builtin_frame_address... yes [00:19:17.292] checking for _LARGEFILE_SOURCE value needed for large files... no [00:19:17.347] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:19:17.380] checking for posix_fadvise... no [00:19:17.434] checking whether posix_fadvise is declared... no [00:19:17.480] checking whether fdatasync is declared... no [00:19:17.527] checking whether strlcat is declared... no [00:19:17.591] checking whether strlcpy is declared... no [00:19:17.659] checking whether strnlen is declared... yes [00:19:17.673] checking whether strsep is declared... no [00:19:17.741] checking whether preadv is declared... no [00:19:17.783] checking whether pwritev is declared... no [00:19:17.825] checking whether F_FULLFSYNC is declared... no [00:19:17.871] checking for explicit_bzero... no [00:19:17.921] checking for getopt... yes [00:19:17.968] checking for getpeereid... no [00:19:18.018] checking for inet_aton... no [00:19:18.066] checking for mkdtemp... no [00:19:18.114] checking for strlcat... no [00:19:18.162] checking for strlcpy... no [00:19:18.211] checking for strnlen... yes [00:19:18.261] checking for strsep... no [00:19:18.310] checking for pthread_barrier_wait... yes [00:19:18.356] configure: On mingw32 we will use our strtof wrapper. [00:19:18.356] checking for getopt_long... yes [00:19:18.403] checking for syslog... no [00:19:18.452] checking for opterr... yes [00:19:18.503] checking for optreset... no [00:19:18.558] checking test program... cross-compiling [00:19:18.558] checking size of void *... 8 [00:19:18.844] checking size of size_t... 8 [00:19:19.136] checking size of long... 4 [00:19:19.358] checking size of long long... 8 [00:19:19.650] checking alignment of short... 2 [00:19:19.804] checking alignment of int... 4 [00:19:20.057] checking alignment of long... 4 [00:19:20.283] checking alignment of int64_t... 8 [00:19:20.558] checking alignment of double... 8 [00:19:20.839] checking for __int128... yes [00:19:20.896] checking for __int128 alignment bug... assuming ok [00:19:20.896] checking alignment of PG_INT128_TYPE... 16 [00:19:21.266] checking for builtin __sync char locking functions... yes [00:19:21.313] checking for builtin __sync int32 locking functions... yes [00:19:21.360] checking for builtin __sync int32 atomic operations... yes [00:19:21.409] checking for builtin __sync int64 atomic operations... yes [00:19:21.458] checking for builtin __atomic int32 atomic operations... yes [00:19:21.502] checking for builtin __atomic int64 atomic operations... yes [00:19:21.552] checking for __get_cpuid... yes [00:19:21.604] checking for __get_cpuid_count... yes [00:19:21.656] checking for __cpuid... no [00:19:22.091] checking for __cpuidex... no [00:19:22.530] checking for _xgetbv... yes [00:19:22.965] checking for _mm512_popcnt_epi64... yes [00:19:23.413] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:19:23.515] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:19:23.538] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:19:23.556] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:19:23.575] 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 [00:19:23.634] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:19:23.634] checking which random number source to use... Windows native [00:19:23.636] checking for xmllint... /usr/bin/xmllint [00:19:23.637] checking for xsltproc... /usr/bin/xsltproc [00:19:23.637] checking for fop... /usr/bin/fop [00:19:23.637] checking for dbtoepub... no [00:19:23.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:19:23.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:19:23.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:19:23.649] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:19:23.649] 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 [00:19:23.649] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:19:23.649] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:19:23.733] configure: creating ./config.status [00:19:23.814] config.status: creating GNUmakefile [00:19:23.826] config.status: creating src/Makefile.global [00:19:23.843] config.status: creating src/include/pg_config.h [00:19:23.857] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:19:23.872] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:19:23.880] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:19:23.888] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:19:23.895] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:19:23.902] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:19:23.905] config.status: executing check_win32_symlinks commands [00:19:23.939] [00:19:23.939] real 0m17.084s [00:19:23.939] user 0m11.363s [00:19:23.939] sys 0m5.419s [00:19:23.939] make -s -j${BUILD_JOBS} clean [00:19:24.469] time make -s -j${BUILD_JOBS} world-bin [00:19:30.756] explain.c: In function ‘ParseExplainStmtOptions’: [00:19:30.756] explain.c:189:25: error: variable ‘buffers_set’ set but not used [-Werror=unused-but-set-variable] [00:19:30.756] 189 | bool buffers_set = false; [00:19:30.756] | ^~~~~~~~~~~ [00:19:30.756] cc1: all warnings being treated as errors [00:19:30.756] make[3]: *** [: explain.o] Error 1 [00:19:30.756] make[3]: *** Waiting for unfinished jobs.... [00:19:30.768] make[2]: *** [common.mk:37: commands-recursive] Error 2 [00:19:30.768] make[2]: *** Waiting for unfinished jobs.... [00:19:35.147] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:19:35.147] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:19:35.148] [00:19:35.148] real 0m10.678s [00:19:35.148] user 0m24.829s [00:19:35.148] sys 0m6.840s [00:19:35.148] [00:19:35.148] Exit status: 2