[13:58:09.987] time ./configure \ [13:58:09.987] --host=x86_64-w64-mingw32 \ [13:58:09.987] --enable-cassert \ [13:58:09.987] --without-icu \ [13:58:09.987] CC="ccache x86_64-w64-mingw32-gcc" \ [13:58:09.987] CXX="ccache x86_64-w64-mingw32-g++" [13:58:10.107] checking build system type... x86_64-pc-linux-gnu [13:58:10.313] checking host system type... x86_64-w64-mingw32 [13:58:10.318] checking which template to use... win32 [13:58:10.318] checking whether NLS is wanted... no [13:58:10.319] checking for default port number... 5432 [13:58:10.325] checking for block size... 8kB [13:58:10.327] checking for segment size... 1GB [13:58:10.330] checking for WAL block size... 8kB [13:58:10.331] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:58:10.368] checking whether the C compiler works... yes [13:58:10.500] checking for C compiler default output file name... a.exe [13:58:10.501] checking for suffix of executables... .exe [13:58:10.545] checking whether we are cross compiling... yes [13:58:10.626] checking for suffix of object files... o [13:58:10.635] checking whether we are using the GNU C compiler... yes [13:58:10.643] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:58:10.650] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:58:10.664] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:58:10.729] checking whether we are using the GNU C++ compiler... yes [13:58:10.736] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:58:10.811] checking for gawk... no [13:58:10.811] checking for mawk... mawk [13:58:10.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:58:10.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:58:10.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:58:10.876] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:58:11.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:58:11.041] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:58:11.048] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:58:11.055] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:58:11.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:58:11.068] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:58:11.075] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:58:11.081] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:58:11.088] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:58:11.094] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:58:11.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:58:11.107] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:58:11.114] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:58:11.150] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:58:11.157] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:58:11.164] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:58:11.170] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:58:11.177] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:58:11.183] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:58:11.206] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:58:11.213] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:58:11.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:58:11.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:58:11.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:58:11.309] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:58:11.317] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:58:11.353] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:58:11.361] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:58:11.368] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:58:11.377] checking whether the C compiler still works... yes [13:58:11.447] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:58:11.525] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:58:11.525] checking pkg-config is at least version 0.9.0... yes [13:58:11.543] checking whether to build with ICU support... no [13:58:11.544] checking whether to build with Tcl... no [13:58:11.544] checking whether to build Perl modules... no [13:58:11.544] checking whether to build Python modules... no [13:58:11.544] checking whether to build with GSSAPI support... no [13:58:11.545] checking whether to build with PAM support... no [13:58:11.545] checking whether to build with BSD Authentication support... no [13:58:11.545] checking whether to build with LDAP support... no [13:58:11.545] checking whether to build with Bonjour support... no [13:58:11.546] checking whether to build with SELinux support... no [13:58:11.546] checking whether to build with systemd support... no [13:58:11.546] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:58:11.546] checking whether to build with XML support... no [13:58:11.546] checking whether to build with LZ4 support... no [13:58:11.547] checking whether to build with ZSTD support... no [13:58:11.547] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:58:11.547] checking whether it is possible to strip libraries... yes [13:58:11.555] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:58:11.556] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:58:11.556] checking for a BSD-compatible install... /usr/bin/install -c [13:58:11.566] checking for tar... /usr/bin/tar [13:58:11.566] checking whether ln -s works... yes [13:58:11.566] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:58:11.568] checking for bison... /usr/bin/bison [13:58:11.571] configure: using bison (GNU Bison) 3.8.2 [13:58:11.574] checking for flex... /usr/bin/flex [13:58:11.576] configure: using flex 2.6.4 [13:58:11.576] checking for perl... /usr/bin/perl [13:58:11.579] configure: using perl 5.36.0 [13:58:11.581] checking for zic... /usr/sbin/zic [13:58:11.581] checking for a sed that does not truncate output... /usr/bin/sed [13:58:11.587] checking for grep that handles long lines and -e... /usr/bin/grep [13:58:11.589] checking for egrep... /usr/bin/grep -E [13:58:11.591] checking for ANSI C header files... yes [13:58:11.643] checking for sys/types.h... yes [13:58:11.661] checking for sys/stat.h... yes [13:58:11.679] checking for stdlib.h... yes [13:58:11.695] checking for string.h... yes [13:58:11.711] checking for memory.h... yes [13:58:11.728] checking for strings.h... yes [13:58:11.744] checking for inttypes.h... yes [13:58:11.761] checking for stdint.h... yes [13:58:11.776] checking for unistd.h... yes [13:58:11.793] checking for main in -lm... yes [13:58:11.845] checking for library containing setproctitle... no [13:58:11.940] checking for library containing dlsym... no [13:58:12.033] checking for library containing socket... -lws2_32 [13:58:12.161] checking for library containing getopt_long... none required [13:58:12.207] checking for library containing shm_open... no [13:58:12.299] checking for library containing shm_unlink... no [13:58:12.391] checking for library containing clock_gettime... no [13:58:12.483] checking for library containing shmget... no [13:58:12.575] checking for library containing backtrace_symbols... no [13:58:12.667] checking for library containing pthread_barrier_wait... -lpthread [13:58:12.761] checking for inflate in -lz... yes [13:58:12.810] checking atomic.h usability... no [13:58:12.871] checking atomic.h presence... no [13:58:12.889] checking for atomic.h... no [13:58:12.892] checking copyfile.h usability... no [13:58:12.949] checking copyfile.h presence... no [13:58:12.968] checking for copyfile.h... no [13:58:12.972] checking execinfo.h usability... no [13:58:13.027] checking execinfo.h presence... no [13:58:13.046] checking for execinfo.h... no [13:58:13.049] checking getopt.h usability... yes [13:58:13.057] checking getopt.h presence... yes [13:58:13.072] checking for getopt.h... yes [13:58:13.079] checking ifaddrs.h usability... no [13:58:13.136] checking ifaddrs.h presence... no [13:58:13.155] checking for ifaddrs.h... no [13:58:13.158] checking mbarrier.h usability... no [13:58:13.214] checking mbarrier.h presence... no [13:58:13.233] checking for mbarrier.h... no [13:58:13.237] checking sys/epoll.h usability... no [13:58:13.295] checking sys/epoll.h presence... no [13:58:13.315] checking for sys/epoll.h... no [13:58:13.319] checking sys/event.h usability... no [13:58:13.377] checking sys/event.h presence... no [13:58:13.397] checking for sys/event.h... no [13:58:13.401] checking sys/personality.h usability... no [13:58:13.459] checking sys/personality.h presence... no [13:58:13.479] checking for sys/personality.h... no [13:58:13.483] checking sys/prctl.h usability... no [13:58:13.540] checking sys/prctl.h presence... no [13:58:13.560] checking for sys/prctl.h... no [13:58:13.564] checking sys/procctl.h usability... no [13:58:13.623] checking sys/procctl.h presence... no [13:58:13.644] checking for sys/procctl.h... no [13:58:13.648] checking sys/signalfd.h usability... no [13:58:13.707] checking sys/signalfd.h presence... no [13:58:13.727] checking for sys/signalfd.h... no [13:58:13.731] checking sys/ucred.h usability... no [13:58:13.790] checking sys/ucred.h presence... no [13:58:13.811] checking for sys/ucred.h... no [13:58:13.814] checking termios.h usability... no [13:58:13.873] checking termios.h presence... no [13:58:13.895] checking for termios.h... no [13:58:13.899] checking ucred.h usability... no [13:58:13.957] checking ucred.h presence... no [13:58:13.978] checking for ucred.h... no [13:58:13.981] checking xlocale.h usability... no [13:58:14.039] checking xlocale.h presence... no [13:58:14.060] checking for xlocale.h... no [13:58:14.063] checking zlib.h usability... yes [13:58:14.074] checking zlib.h presence... yes [13:58:14.092] checking for zlib.h... yes [13:58:14.093] checking for lz4... /usr/bin/lz4 [13:58:14.093] checking for zstd... /usr/bin/zstd [13:58:14.093] checking for openssl... /usr/bin/openssl [13:58:14.097] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:58:14.098] checking crtdefs.h usability... yes [13:58:14.105] checking crtdefs.h presence... yes [13:58:14.118] checking for crtdefs.h... yes [13:58:14.120] checking whether byte ordering is bigendian... no [13:58:14.187] checking for inline... inline [13:58:14.194] checking for printf format archetype... gnu_printf [13:58:14.201] checking for _Static_assert... yes [13:58:14.244] checking for typeof... typeof [13:58:14.253] checking for __builtin_types_compatible_p... yes [13:58:14.264] checking for __builtin_constant_p... yes [13:58:14.275] checking for __builtin_mul_overflow... yes [13:58:14.325] checking for __builtin_unreachable... yes [13:58:14.367] checking for computed goto support... yes [13:58:14.375] checking for struct tm.tm_zone... no [13:58:14.457] checking for union semun... no [13:58:14.492] checking for socklen_t... yes [13:58:15.699] checking for struct sockaddr.sa_len... no [13:58:17.877] checking for C/C++ restrict keyword... __restrict [13:58:17.892] checking for struct option... yes [13:58:17.939] checking whether assembler supports x86_64 popcntq... yes [13:58:17.947] checking size of off_t... 4 [13:58:18.160] 0 [13:58:18.161] checking for int timezone... yes [13:58:18.213] checking for backtrace_symbols... no [13:58:18.267] checking for copyfile... no [13:58:18.322] checking for copy_file_range... no [13:58:18.375] checking for elf_aux_info... no [13:58:18.429] checking for getauxval... no [13:58:18.483] checking for getifaddrs... no [13:58:18.539] checking for getpeerucred... no [13:58:18.593] checking for inet_pton... yes [13:58:18.648] checking for kqueue... no [13:58:18.703] checking for mbstowcs_l... no [13:58:18.759] checking for memset_s... no [13:58:18.813] checking for posix_fallocate... no [13:58:18.869] checking for ppoll... no [13:58:18.924] checking for pthread_is_threaded_np... no [13:58:18.980] checking for setproctitle... no [13:58:19.035] checking for setproctitle_fast... no [13:58:19.089] checking for strchrnul... no [13:58:19.144] checking for strsignal... no [13:58:19.201] checking for syncfs... no [13:58:19.260] checking for sync_file_range... no [13:58:19.315] checking for uselocale... no [13:58:19.371] checking for wcstombs_l... no [13:58:19.422] checking for __builtin_bswap16... yes [13:58:19.475] checking for __builtin_bswap32... yes [13:58:19.527] checking for __builtin_bswap64... yes [13:58:19.580] checking for __builtin_clz... yes [13:58:19.634] checking for __builtin_ctz... yes [13:58:19.686] checking for __builtin_popcount... yes [13:58:19.736] checking for __builtin_frame_address... yes [13:58:19.785] checking for _LARGEFILE_SOURCE value needed for large files... no [13:58:19.841] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:58:19.875] checking for posix_fadvise... no [13:58:19.930] checking whether posix_fadvise is declared... no [13:58:19.978] checking whether fdatasync is declared... no [13:58:20.027] checking whether strlcat is declared... no [13:58:20.094] checking whether strlcpy is declared... no [13:58:20.159] checking whether strnlen is declared... yes [13:58:20.172] checking whether strsep is declared... no [13:58:20.240] checking whether preadv is declared... no [13:58:20.283] checking whether pwritev is declared... no [13:58:20.323] checking whether F_FULLFSYNC is declared... no [13:58:20.365] checking for explicit_bzero... no [13:58:20.414] checking for getopt... yes [13:58:20.461] checking for getpeereid... no [13:58:20.510] checking for inet_aton... no [13:58:20.560] checking for mkdtemp... no [13:58:20.611] checking for strlcat... no [13:58:20.662] checking for strlcpy... no [13:58:20.714] checking for strnlen... yes [13:58:20.767] checking for strsep... no [13:58:20.819] checking for pthread_barrier_wait... yes [13:58:20.866] configure: On mingw32 we will use our strtof wrapper. [13:58:20.866] checking for getopt_long... yes [13:58:20.914] checking for syslog... no [13:58:20.965] checking for opterr... yes [13:58:21.017] checking for optreset... no [13:58:21.072] checking test program... cross-compiling [13:58:21.072] checking size of void *... 8 [13:58:21.366] checking size of size_t... 8 [13:58:21.676] checking size of long... 4 [13:58:21.907] checking size of long long... 8 [13:58:22.202] checking alignment of short... 2 [13:58:22.358] checking alignment of int... 4 [13:58:22.576] checking alignment of long... 4 [13:58:22.798] checking alignment of int64_t... 8 [13:58:23.095] checking alignment of double... 8 [13:58:23.389] checking for __int128... yes [13:58:23.446] checking for __int128 alignment bug... assuming ok [13:58:23.446] checking alignment of PG_INT128_TYPE... 16 [13:58:23.813] checking for builtin __sync char locking functions... yes [13:58:23.859] checking for builtin __sync int32 locking functions... yes [13:58:23.906] checking for builtin __sync int32 atomic operations... yes [13:58:23.954] checking for builtin __sync int64 atomic operations... yes [13:58:24.003] checking for builtin __atomic int32 atomic operations... yes [13:58:24.050] checking for builtin __atomic int64 atomic operations... yes [13:58:24.098] checking for __get_cpuid... yes [13:58:24.148] checking for __get_cpuid_count... yes [13:58:24.194] checking for __cpuid... no [13:58:24.610] checking for __cpuidex... no [13:58:25.046] checking for _xgetbv... yes [13:58:25.458] checking for _mm512_popcnt_epi64... yes [13:58:25.897] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:58:26.009] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:58:26.037] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:58:26.059] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:58:26.082] 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 [13:58:26.142] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:58:26.142] checking which random number source to use... Windows native [13:58:26.144] checking for xmllint... /usr/bin/xmllint [13:58:26.145] checking for xsltproc... /usr/bin/xsltproc [13:58:26.145] checking for fop... /usr/bin/fop [13:58:26.145] checking for dbtoepub... no [13:58:26.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:58:26.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:58:26.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:58:26.157] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:58:26.157] 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 [13:58:26.157] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:58:26.157] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:58:26.253] configure: creating ./config.status [13:58:26.354] config.status: creating GNUmakefile [13:58:26.367] config.status: creating src/Makefile.global [13:58:26.384] config.status: creating src/include/pg_config.h [13:58:26.399] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:58:26.418] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:58:26.426] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:58:26.435] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:58:26.443] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:58:26.452] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:58:26.456] config.status: executing check_win32_symlinks commands [13:58:26.495] [13:58:26.495] real 0m16.508s [13:58:26.495] user 0m10.844s [13:58:26.495] sys 0m5.330s [13:58:26.495] make -s -j${BUILD_JOBS} clean [13:58:27.031] time make -s -j${BUILD_JOBS} world-bin [13:58:33.766] explain.c: In function ‘ParseExplainStmtOptions’: [13:58:33.766] explain.c:189:25: error: variable ‘buffers_set’ set but not used [-Werror=unused-but-set-variable] [13:58:33.766] 189 | bool buffers_set = false; [13:58:33.766] | ^~~~~~~~~~~ [13:58:33.766] cc1: all warnings being treated as errors [13:58:33.766] make[3]: *** [: explain.o] Error 1 [13:58:33.767] make[2]: *** [common.mk:37: commands-recursive] Error 2 [13:58:33.767] make[2]: *** Waiting for unfinished jobs.... [13:58:38.325] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:58:38.325] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:58:38.325] [13:58:38.325] real 0m11.294s [13:58:38.325] user 0m27.144s [13:58:38.325] sys 0m7.950s [13:58:38.325] [13:58:38.325] Exit status: 2