[07:48:51.084] time ./configure \ [07:48:51.084] --host=x86_64-w64-mingw32 \ [07:48:51.084] --enable-cassert \ [07:48:51.084] --without-icu \ [07:48:51.084] CC="ccache x86_64-w64-mingw32-gcc" \ [07:48:51.084] CXX="ccache x86_64-w64-mingw32-g++" [07:48:51.204] checking build system type... x86_64-pc-linux-gnu [07:48:51.379] checking host system type... x86_64-w64-mingw32 [07:48:51.384] checking which template to use... win32 [07:48:51.385] checking whether NLS is wanted... no [07:48:51.385] checking for default port number... 5432 [07:48:51.392] checking for block size... 8kB [07:48:51.393] checking for segment size... 1GB [07:48:51.396] checking for WAL block size... 8kB [07:48:51.397] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:48:51.430] checking whether the C compiler works... yes [07:48:51.563] checking for C compiler default output file name... a.exe [07:48:51.564] checking for suffix of executables... .exe [07:48:51.604] checking whether we are cross compiling... yes [07:48:51.677] checking for suffix of object files... o [07:48:51.685] checking whether we are using the GNU C compiler... yes [07:48:51.692] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:48:51.698] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:48:51.707] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:48:51.766] checking whether we are using the GNU C++ compiler... yes [07:48:51.773] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:48:51.837] checking for gawk... no [07:48:51.837] checking for mawk... mawk [07:48:51.839] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:48:51.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:48:51.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:48:51.900] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:48:52.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:48:52.059] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:48:52.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:48:52.074] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:48:52.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:48:52.088] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:48:52.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:48:52.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:48:52.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:48:52.118] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:48:52.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:48:52.133] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:48:52.140] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:48:52.178] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:48:52.185] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:48:52.192] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:48:52.199] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:48:52.206] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:48:52.213] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:48:52.236] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:48:52.243] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:48:52.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:48:52.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:48:52.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:48:52.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:48:52.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:48:52.374] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:48:52.382] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:48:52.389] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:48:52.396] checking whether the C compiler still works... yes [07:48:52.461] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:48:52.534] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:48:52.534] checking pkg-config is at least version 0.9.0... yes [07:48:52.551] checking whether to build with ICU support... no [07:48:52.551] checking whether to build with Tcl... no [07:48:52.551] checking whether to build Perl modules... no [07:48:52.551] checking whether to build Python modules... no [07:48:52.551] checking whether to build with GSSAPI support... no [07:48:52.552] checking whether to build with PAM support... no [07:48:52.552] checking whether to build with BSD Authentication support... no [07:48:52.552] checking whether to build with LDAP support... no [07:48:52.552] checking whether to build with Bonjour support... no [07:48:52.553] checking whether to build with SELinux support... no [07:48:52.553] checking whether to build with systemd support... no [07:48:52.553] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:48:52.553] checking whether to build with XML support... no [07:48:52.553] checking whether to build with LZ4 support... no [07:48:52.553] checking whether to build with ZSTD support... no [07:48:52.554] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:48:52.554] checking whether it is possible to strip libraries... yes [07:48:52.560] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:48:52.561] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:48:52.561] checking for a BSD-compatible install... /usr/bin/install -c [07:48:52.570] checking for tar... /usr/bin/tar [07:48:52.570] checking whether ln -s works... yes [07:48:52.570] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:48:52.572] checking for bison... /usr/bin/bison [07:48:52.575] configure: using bison (GNU Bison) 3.8.2 [07:48:52.577] checking for flex... /usr/bin/flex [07:48:52.579] configure: using flex 2.6.4 [07:48:52.580] checking for perl... /usr/bin/perl [07:48:52.583] configure: using perl 5.36.0 [07:48:52.585] checking for zic... /usr/sbin/zic [07:48:52.585] checking for a sed that does not truncate output... /usr/bin/sed [07:48:52.590] checking for grep that handles long lines and -e... /usr/bin/grep [07:48:52.592] checking for egrep... /usr/bin/grep -E [07:48:52.593] checking for ANSI C header files... yes [07:48:52.639] checking for sys/types.h... yes [07:48:52.654] checking for sys/stat.h... yes [07:48:52.669] checking for stdlib.h... yes [07:48:52.682] checking for string.h... yes [07:48:52.696] checking for memory.h... yes [07:48:52.710] checking for strings.h... yes [07:48:52.724] checking for inttypes.h... yes [07:48:52.739] checking for stdint.h... yes [07:48:52.753] checking for unistd.h... yes [07:48:52.772] checking for main in -lm... yes [07:48:52.816] checking for library containing setproctitle... no [07:48:52.899] checking for library containing dlsym... no [07:48:52.980] checking for library containing socket... -lws2_32 [07:48:53.107] checking for library containing getopt_long... none required [07:48:53.154] checking for library containing shm_open... no [07:48:53.242] checking for library containing shm_unlink... no [07:48:53.328] checking for library containing clock_gettime... no [07:48:53.418] checking for library containing shmget... no [07:48:53.507] checking for library containing backtrace_symbols... no [07:48:53.595] checking for library containing pthread_barrier_wait... -lpthread [07:48:53.684] checking for inflate in -lz... yes [07:48:53.733] checking atomic.h usability... no [07:48:53.793] checking atomic.h presence... no [07:48:53.813] checking for atomic.h... no [07:48:53.817] checking copyfile.h usability... no [07:48:53.875] checking copyfile.h presence... no [07:48:53.894] checking for copyfile.h... no [07:48:53.898] checking execinfo.h usability... no [07:48:53.953] checking execinfo.h presence... no [07:48:53.972] checking for execinfo.h... no [07:48:53.976] checking getopt.h usability... yes [07:48:53.984] checking getopt.h presence... yes [07:48:53.999] checking for getopt.h... yes [07:48:54.006] checking ifaddrs.h usability... no [07:48:54.060] checking ifaddrs.h presence... no [07:48:54.079] checking for ifaddrs.h... no [07:48:54.083] checking mbarrier.h usability... no [07:48:54.138] checking mbarrier.h presence... no [07:48:54.158] checking for mbarrier.h... no [07:48:54.162] checking sys/epoll.h usability... no [07:48:54.216] checking sys/epoll.h presence... no [07:48:54.236] checking for sys/epoll.h... no [07:48:54.239] checking sys/event.h usability... no [07:48:54.294] checking sys/event.h presence... no [07:48:54.313] checking for sys/event.h... no [07:48:54.317] checking sys/personality.h usability... no [07:48:54.374] checking sys/personality.h presence... no [07:48:54.393] checking for sys/personality.h... no [07:48:54.397] checking sys/prctl.h usability... no [07:48:54.452] checking sys/prctl.h presence... no [07:48:54.470] checking for sys/prctl.h... no [07:48:54.474] checking sys/procctl.h usability... no [07:48:54.528] checking sys/procctl.h presence... no [07:48:54.547] checking for sys/procctl.h... no [07:48:54.551] checking sys/signalfd.h usability... no [07:48:54.608] checking sys/signalfd.h presence... no [07:48:54.627] checking for sys/signalfd.h... no [07:48:54.630] checking sys/ucred.h usability... no [07:48:54.685] checking sys/ucred.h presence... no [07:48:54.704] checking for sys/ucred.h... no [07:48:54.707] checking termios.h usability... no [07:48:54.761] checking termios.h presence... no [07:48:54.779] checking for termios.h... no [07:48:54.783] checking ucred.h usability... no [07:48:54.836] checking ucred.h presence... no [07:48:54.855] checking for ucred.h... no [07:48:54.858] checking xlocale.h usability... no [07:48:54.912] checking xlocale.h presence... no [07:48:54.930] checking for xlocale.h... no [07:48:54.933] checking zlib.h usability... yes [07:48:54.943] checking zlib.h presence... yes [07:48:54.962] checking for zlib.h... yes [07:48:54.962] checking for lz4... /usr/bin/lz4 [07:48:54.962] checking for zstd... /usr/bin/zstd [07:48:54.963] checking for openssl... /usr/bin/openssl [07:48:54.966] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:48:54.967] checking crtdefs.h usability... yes [07:48:54.974] checking crtdefs.h presence... yes [07:48:54.987] checking for crtdefs.h... yes [07:48:54.988] checking whether byte ordering is bigendian... no [07:48:55.059] checking for inline... inline [07:48:55.065] checking for printf format archetype... gnu_printf [07:48:55.074] checking for _Static_assert... yes [07:48:55.115] checking for typeof... typeof [07:48:55.123] checking for __builtin_types_compatible_p... yes [07:48:55.134] checking for __builtin_constant_p... yes [07:48:55.145] checking for __builtin_mul_overflow... yes [07:48:55.192] checking for __builtin_unreachable... yes [07:48:55.233] checking for computed goto support... yes [07:48:55.241] checking for struct tm.tm_zone... no [07:48:55.315] checking for union semun... no [07:48:55.350] checking for socklen_t... yes [07:48:56.491] checking for struct sockaddr.sa_len... no [07:48:58.497] checking for C/C++ restrict keyword... __restrict [07:48:58.510] checking for struct option... yes [07:48:58.553] checking whether assembler supports x86_64 popcntq... yes [07:48:58.561] checking size of off_t... 4 [07:48:58.759] 0 [07:48:58.760] checking for int timezone... yes [07:48:58.807] checking for backtrace_symbols... no [07:48:58.858] checking for copyfile... no [07:48:58.907] checking for copy_file_range... no [07:48:58.956] checking for elf_aux_info... no [07:48:59.006] checking for getauxval... no [07:48:59.056] checking for getifaddrs... no [07:48:59.106] checking for getpeerucred... no [07:48:59.156] checking for inet_pton... yes [07:48:59.207] checking for kqueue... no [07:48:59.257] checking for mbstowcs_l... no [07:48:59.307] checking for memset_s... no [07:48:59.357] checking for posix_fallocate... no [07:48:59.406] checking for ppoll... no [07:48:59.456] checking for pthread_is_threaded_np... no [07:48:59.505] checking for setproctitle... no [07:48:59.555] checking for setproctitle_fast... no [07:48:59.606] checking for strchrnul... no [07:48:59.657] checking for strsignal... no [07:48:59.707] checking for syncfs... no [07:48:59.757] checking for sync_file_range... no [07:48:59.808] checking for uselocale... no [07:48:59.859] checking for wcstombs_l... no [07:48:59.904] checking for __builtin_bswap16... yes [07:48:59.951] checking for __builtin_bswap32... yes [07:48:59.997] checking for __builtin_bswap64... yes [07:49:00.042] checking for __builtin_clz... yes [07:49:00.090] checking for __builtin_ctz... yes [07:49:00.136] checking for __builtin_popcount... yes [07:49:00.184] checking for __builtin_frame_address... yes [07:49:00.232] checking for _LARGEFILE_SOURCE value needed for large files... no [07:49:00.283] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:49:00.314] checking for posix_fadvise... no [07:49:00.366] checking whether posix_fadvise is declared... no [07:49:00.411] checking whether fdatasync is declared... no [07:49:00.457] checking whether strlcat is declared... no [07:49:00.522] checking whether strlcpy is declared... no [07:49:00.585] checking whether strnlen is declared... yes [07:49:00.598] checking whether strsep is declared... no [07:49:00.662] checking whether preadv is declared... no [07:49:00.698] checking whether pwritev is declared... no [07:49:00.735] checking whether F_FULLFSYNC is declared... no [07:49:00.775] checking for explicit_bzero... no [07:49:00.820] checking for getopt... yes [07:49:00.862] checking for getpeereid... no [07:49:00.907] checking for inet_aton... no [07:49:00.954] checking for mkdtemp... no [07:49:01.001] checking for strlcat... no [07:49:01.048] checking for strlcpy... no [07:49:01.093] checking for strnlen... yes [07:49:01.139] checking for strsep... no [07:49:01.185] checking for pthread_barrier_wait... yes [07:49:01.226] configure: On mingw32 we will use our strtof wrapper. [07:49:01.227] checking for getopt_long... yes [07:49:01.269] checking for syslog... no [07:49:01.315] checking for opterr... yes [07:49:01.361] checking for optreset... no [07:49:01.410] checking test program... cross-compiling [07:49:01.410] checking size of void *... 8 [07:49:01.670] checking size of size_t... 8 [07:49:01.942] checking size of long... 4 [07:49:02.148] checking size of long long... 8 [07:49:02.416] checking alignment of short... 2 [07:49:02.557] checking alignment of int... 4 [07:49:02.763] checking alignment of long... 4 [07:49:02.970] checking alignment of int64_t... 8 [07:49:03.244] checking alignment of double... 8 [07:49:03.522] checking for __int128... yes [07:49:03.571] checking for __int128 alignment bug... assuming ok [07:49:03.572] checking alignment of PG_INT128_TYPE... 16 [07:49:03.907] checking for builtin __sync char locking functions... yes [07:49:03.948] checking for builtin __sync int32 locking functions... yes [07:49:03.991] checking for builtin __sync int32 atomic operations... yes [07:49:04.034] checking for builtin __sync int64 atomic operations... yes [07:49:04.079] checking for builtin __atomic int32 atomic operations... yes [07:49:04.121] checking for builtin __atomic int64 atomic operations... yes [07:49:04.167] checking for __get_cpuid... yes [07:49:04.214] checking for __get_cpuid_count... yes [07:49:04.259] checking for __cpuid... no [07:49:04.657] checking for __cpuidex... no [07:49:05.071] checking for _xgetbv... yes [07:49:05.463] checking for _mm512_popcnt_epi64... yes [07:49:05.884] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:49:05.983] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:49:06.006] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:49:06.025] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:49:06.044] 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 [07:49:06.099] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:49:06.099] checking which random number source to use... Windows native [07:49:06.101] checking for xmllint... /usr/bin/xmllint [07:49:06.101] checking for xsltproc... /usr/bin/xsltproc [07:49:06.102] checking for fop... /usr/bin/fop [07:49:06.102] checking for dbtoepub... no [07:49:06.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:49:06.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:49:06.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:49:06.113] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:49:06.113] 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 [07:49:06.113] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:49:06.113] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:49:06.196] configure: creating ./config.status [07:49:06.281] config.status: creating GNUmakefile [07:49:06.294] config.status: creating src/Makefile.global [07:49:06.308] config.status: creating src/include/pg_config.h [07:49:06.321] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:49:06.336] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:49:06.343] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:49:06.350] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:49:06.357] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:49:06.364] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:49:06.367] config.status: executing check_win32_symlinks commands [07:49:06.401] [07:49:06.401] real 0m15.318s [07:49:06.401] user 0m10.269s [07:49:06.401] sys 0m4.751s [07:49:06.401] make -s -j${BUILD_JOBS} clean [07:49:06.899] time make -s -j${BUILD_JOBS} world-bin [07:49:13.243] explain.c: In function ‘ParseExplainStmtOptions’: [07:49:13.243] explain.c:189:25: error: variable ‘buffers_set’ set but not used [-Werror=unused-but-set-variable] [07:49:13.243] 189 | bool buffers_set = false; [07:49:13.243] | ^~~~~~~~~~~ [07:49:13.243] cc1: all warnings being treated as errors [07:49:13.243] make[3]: *** [: explain.o] Error 1 [07:49:13.244] make[2]: *** [common.mk:37: commands-recursive] Error 2 [07:49:13.244] make[2]: *** Waiting for unfinished jobs.... [07:49:16.828] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:49:16.828] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:49:16.828] [07:49:16.828] real 0m9.929s [07:49:16.828] user 0m23.133s [07:49:16.828] sys 0m6.915s [07:49:16.829] [07:49:16.829] Exit status: 2