[09:28:53.217] time ./configure \ [09:28:53.217] --host=x86_64-w64-mingw32 \ [09:28:53.217] --enable-cassert \ [09:28:53.217] --without-icu \ [09:28:53.217] CC="ccache x86_64-w64-mingw32-gcc" \ [09:28:53.217] CXX="ccache x86_64-w64-mingw32-g++" [09:28:53.329] checking build system type... x86_64-pc-linux-gnu [09:28:53.490] checking host system type... x86_64-w64-mingw32 [09:28:53.495] checking which template to use... win32 [09:28:53.495] checking whether NLS is wanted... no [09:28:53.495] checking for default port number... 5432 [09:28:53.502] checking for block size... 8kB [09:28:53.503] checking for segment size... 1GB [09:28:53.505] checking for WAL block size... 8kB [09:28:53.506] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:28:53.537] checking whether the C compiler works... yes [09:28:53.677] checking for C compiler default output file name... a.exe [09:28:53.678] checking for suffix of executables... .exe [09:28:53.717] checking whether we are cross compiling... yes [09:28:53.789] checking for suffix of object files... o [09:28:53.797] checking whether we are using the GNU C compiler... yes [09:28:53.804] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:28:53.811] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:28:53.821] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:28:53.883] checking whether we are using the GNU C++ compiler... yes [09:28:53.889] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:28:53.957] checking for gawk... no [09:28:53.957] checking for mawk... mawk [09:28:53.959] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:28:53.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:28:53.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:28:54.018] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:28:54.175] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:28:54.182] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:28:54.189] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:28:54.196] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:28:54.203] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:28:54.210] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:28:54.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:28:54.224] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:28:54.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:28:54.238] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:28:54.244] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:28:54.251] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:28:54.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:28:54.294] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:28:54.301] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:28:54.308] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:28:54.315] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:28:54.322] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:28:54.329] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:28:54.352] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:28:54.359] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:28:54.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:28:54.403] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:28:54.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:28:54.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:28:54.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:28:54.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:28:54.494] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:28:54.501] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:28:54.508] checking whether the C compiler still works... yes [09:28:54.571] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:28:54.640] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:28:54.640] checking pkg-config is at least version 0.9.0... yes [09:28:54.656] checking whether to build with ICU support... no [09:28:54.656] checking whether to build with Tcl... no [09:28:54.657] checking whether to build Perl modules... no [09:28:54.657] checking whether to build Python modules... no [09:28:54.657] checking whether to build with GSSAPI support... no [09:28:54.658] checking whether to build with PAM support... no [09:28:54.658] checking whether to build with BSD Authentication support... no [09:28:54.658] checking whether to build with LDAP support... no [09:28:54.658] checking whether to build with Bonjour support... no [09:28:54.658] checking whether to build with SELinux support... no [09:28:54.658] checking whether to build with systemd support... no [09:28:54.658] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:28:54.659] checking whether to build with XML support... no [09:28:54.659] checking whether to build with LZ4 support... no [09:28:54.659] checking whether to build with ZSTD support... no [09:28:54.659] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:28:54.660] checking whether it is possible to strip libraries... yes [09:28:54.666] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:28:54.666] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:28:54.667] checking for a BSD-compatible install... /usr/bin/install -c [09:28:54.675] checking for tar... /usr/bin/tar [09:28:54.675] checking whether ln -s works... yes [09:28:54.676] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:28:54.678] checking for bison... /usr/bin/bison [09:28:54.680] configure: using bison (GNU Bison) 3.8.2 [09:28:54.683] checking for flex... /usr/bin/flex [09:28:54.685] configure: using flex 2.6.4 [09:28:54.685] checking for perl... /usr/bin/perl [09:28:54.688] configure: using perl 5.36.0 [09:28:54.690] checking for zic... /usr/sbin/zic [09:28:54.690] checking for a sed that does not truncate output... /usr/bin/sed [09:28:54.695] checking for grep that handles long lines and -e... /usr/bin/grep [09:28:54.697] checking for egrep... /usr/bin/grep -E [09:28:54.699] checking for ANSI C header files... yes [09:28:54.742] checking for sys/types.h... yes [09:28:54.757] checking for sys/stat.h... yes [09:28:54.771] checking for stdlib.h... yes [09:28:54.784] checking for string.h... yes [09:28:54.797] checking for memory.h... yes [09:28:54.811] checking for strings.h... yes [09:28:54.825] checking for inttypes.h... yes [09:28:54.839] checking for stdint.h... yes [09:28:54.852] checking for unistd.h... yes [09:28:54.867] checking for main in -lm... yes [09:28:54.912] checking for library containing setproctitle... no [09:28:54.997] checking for library containing dlsym... no [09:28:55.079] checking for library containing socket... -lws2_32 [09:28:55.200] checking for library containing getopt_long... none required [09:28:55.244] checking for library containing shm_open... no [09:28:55.327] checking for library containing shm_unlink... no [09:28:55.412] checking for library containing clock_gettime... no [09:28:55.498] checking for library containing shmget... no [09:28:55.584] checking for library containing backtrace_symbols... no [09:28:55.671] checking for library containing pthread_barrier_wait... -lpthread [09:28:55.759] checking for inflate in -lz... yes [09:28:55.807] checking atomic.h usability... no [09:28:55.864] checking atomic.h presence... no [09:28:55.882] checking for atomic.h... no [09:28:55.886] checking copyfile.h usability... no [09:28:55.940] checking copyfile.h presence... no [09:28:55.960] checking for copyfile.h... no [09:28:55.963] checking execinfo.h usability... no [09:28:56.017] checking execinfo.h presence... no [09:28:56.035] checking for execinfo.h... no [09:28:56.039] checking getopt.h usability... yes [09:28:56.046] checking getopt.h presence... yes [09:28:56.061] checking for getopt.h... yes [09:28:56.068] checking ifaddrs.h usability... no [09:28:56.121] checking ifaddrs.h presence... no [09:28:56.140] checking for ifaddrs.h... no [09:28:56.143] checking mbarrier.h usability... no [09:28:56.197] checking mbarrier.h presence... no [09:28:56.215] checking for mbarrier.h... no [09:28:56.218] checking sys/epoll.h usability... no [09:28:56.273] checking sys/epoll.h presence... no [09:28:56.291] checking for sys/epoll.h... no [09:28:56.294] checking sys/event.h usability... no [09:28:56.349] checking sys/event.h presence... no [09:28:56.367] checking for sys/event.h... no [09:28:56.370] checking sys/personality.h usability... no [09:28:56.424] checking sys/personality.h presence... no [09:28:56.443] checking for sys/personality.h... no [09:28:56.446] checking sys/prctl.h usability... no [09:28:56.500] checking sys/prctl.h presence... no [09:28:56.519] checking for sys/prctl.h... no [09:28:56.522] checking sys/procctl.h usability... no [09:28:56.576] checking sys/procctl.h presence... no [09:28:56.595] checking for sys/procctl.h... no [09:28:56.598] checking sys/signalfd.h usability... no [09:28:56.652] checking sys/signalfd.h presence... no [09:28:56.670] checking for sys/signalfd.h... no [09:28:56.673] checking sys/ucred.h usability... no [09:28:56.726] checking sys/ucred.h presence... no [09:28:56.746] checking for sys/ucred.h... no [09:28:56.749] checking termios.h usability... no [09:28:56.803] checking termios.h presence... no [09:28:56.823] checking for termios.h... no [09:28:56.826] checking ucred.h usability... no [09:28:56.879] checking ucred.h presence... no [09:28:56.897] checking for ucred.h... no [09:28:56.901] checking xlocale.h usability... no [09:28:56.953] checking xlocale.h presence... no [09:28:56.972] checking for xlocale.h... no [09:28:56.975] checking zlib.h usability... yes [09:28:56.984] checking zlib.h presence... yes [09:28:57.003] checking for zlib.h... yes [09:28:57.003] checking for lz4... /usr/bin/lz4 [09:28:57.003] checking for zstd... /usr/bin/zstd [09:28:57.003] checking for openssl... /usr/bin/openssl [09:28:57.007] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:28:57.008] checking crtdefs.h usability... yes [09:28:57.015] checking crtdefs.h presence... yes [09:28:57.030] checking for crtdefs.h... yes [09:28:57.031] checking whether byte ordering is bigendian... no [09:28:57.106] checking for inline... inline [09:28:57.113] checking for printf format archetype... gnu_printf [09:28:57.122] checking for _Static_assert... yes [09:28:57.164] checking for typeof... typeof [09:28:57.171] checking for __builtin_types_compatible_p... yes [09:28:57.182] checking for __builtin_constant_p... yes [09:28:57.193] checking for __builtin_mul_overflow... yes [09:28:57.241] checking for __builtin_unreachable... yes [09:28:57.282] checking for computed goto support... yes [09:28:57.289] checking for struct tm.tm_zone... no [09:28:57.369] checking for union semun... no [09:28:57.403] checking for socklen_t... yes [09:28:58.517] checking for struct sockaddr.sa_len... no [09:29:00.460] checking for C/C++ restrict keyword... __restrict [09:29:00.473] checking for struct option... yes [09:29:00.513] checking whether assembler supports x86_64 popcntq... yes [09:29:00.520] checking size of off_t... 4 [09:29:00.708] 0 [09:29:00.708] checking for int timezone... yes [09:29:00.755] checking for backtrace_symbols... no [09:29:00.802] checking for copyfile... no [09:29:00.851] checking for copy_file_range... no [09:29:00.899] checking for elf_aux_info... no [09:29:00.947] checking for getauxval... no [09:29:00.995] checking for getifaddrs... no [09:29:01.044] checking for getpeerucred... no [09:29:01.093] checking for inet_pton... yes [09:29:01.141] checking for kqueue... no [09:29:01.190] checking for mbstowcs_l... no [09:29:01.237] checking for memset_s... no [09:29:01.286] checking for posix_fallocate... no [09:29:01.335] checking for ppoll... no [09:29:01.385] checking for pthread_is_threaded_np... no [09:29:01.434] checking for setproctitle... no [09:29:01.483] checking for setproctitle_fast... no [09:29:01.533] checking for strchrnul... no [09:29:01.582] checking for strsignal... no [09:29:01.633] checking for syncfs... no [09:29:01.685] checking for sync_file_range... no [09:29:01.735] checking for uselocale... no [09:29:01.785] checking for wcstombs_l... no [09:29:01.831] checking for __builtin_bswap16... yes [09:29:01.878] checking for __builtin_bswap32... yes [09:29:01.924] checking for __builtin_bswap64... yes [09:29:01.973] checking for __builtin_clz... yes [09:29:02.020] checking for __builtin_ctz... yes [09:29:02.067] checking for __builtin_popcount... yes [09:29:02.115] checking for __builtin_frame_address... yes [09:29:02.162] checking for _LARGEFILE_SOURCE value needed for large files... no [09:29:02.214] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:29:02.245] checking for posix_fadvise... no [09:29:02.296] checking whether posix_fadvise is declared... no [09:29:02.340] checking whether fdatasync is declared... no [09:29:02.385] checking whether strlcat is declared... no [09:29:02.445] checking whether strlcpy is declared... no [09:29:02.508] checking whether strnlen is declared... yes [09:29:02.521] checking whether strsep is declared... no [09:29:02.584] checking whether preadv is declared... no [09:29:02.620] checking whether pwritev is declared... no [09:29:02.654] checking whether F_FULLFSYNC is declared... no [09:29:02.692] checking for explicit_bzero... no [09:29:02.737] checking for getopt... yes [09:29:02.780] checking for getpeereid... no [09:29:02.824] checking for inet_aton... no [09:29:02.870] checking for mkdtemp... no [09:29:02.915] checking for strlcat... no [09:29:02.961] checking for strlcpy... no [09:29:03.006] checking for strnlen... yes [09:29:03.051] checking for strsep... no [09:29:03.096] checking for pthread_barrier_wait... yes [09:29:03.139] configure: On mingw32 we will use our strtof wrapper. [09:29:03.139] checking for getopt_long... yes [09:29:03.182] checking for syslog... no [09:29:03.228] checking for opterr... yes [09:29:03.275] checking for optreset... no [09:29:03.325] checking test program... cross-compiling [09:29:03.325] checking size of void *... 8 [09:29:03.591] checking size of size_t... 8 [09:29:03.856] checking size of long... 4 [09:29:04.058] checking size of long long... 8 [09:29:04.323] checking alignment of short... 2 [09:29:04.460] checking alignment of int... 4 [09:29:04.663] checking alignment of long... 4 [09:29:04.864] checking alignment of int64_t... 8 [09:29:05.128] checking alignment of double... 8 [09:29:05.395] checking for __int128... yes [09:29:05.444] checking for __int128 alignment bug... assuming ok [09:29:05.444] checking alignment of PG_INT128_TYPE... 16 [09:29:05.772] checking for builtin __sync char locking functions... yes [09:29:05.814] checking for builtin __sync int32 locking functions... yes [09:29:05.855] checking for builtin __sync int32 atomic operations... yes [09:29:05.898] checking for builtin __sync int64 atomic operations... yes [09:29:05.942] checking for builtin __atomic int32 atomic operations... yes [09:29:05.985] checking for builtin __atomic int64 atomic operations... yes [09:29:06.029] checking for __get_cpuid... yes [09:29:06.075] checking for __get_cpuid_count... yes [09:29:06.119] checking for __cpuid... no [09:29:06.510] checking for __cpuidex... no [09:29:06.928] checking for _xgetbv... yes [09:29:07.330] checking for _mm512_popcnt_epi64... yes [09:29:07.741] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:29:07.840] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:29:07.863] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:29:07.881] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:29:07.900] 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 [09:29:07.954] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:29:07.954] checking which random number source to use... Windows native [09:29:07.956] checking for xmllint... /usr/bin/xmllint [09:29:07.956] checking for xsltproc... /usr/bin/xsltproc [09:29:07.956] checking for fop... /usr/bin/fop [09:29:07.957] checking for dbtoepub... no [09:29:07.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:29:07.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:29:07.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:29:07.968] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:29:07.968] 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 [09:29:07.968] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:29:07.968] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:29:08.055] configure: creating ./config.status [09:29:08.137] config.status: creating GNUmakefile [09:29:08.149] config.status: creating src/Makefile.global [09:29:08.165] config.status: creating src/include/pg_config.h [09:29:08.177] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:29:08.193] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:29:08.200] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:29:08.208] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:29:08.215] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:29:08.223] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:29:08.226] config.status: executing check_win32_symlinks commands [09:29:08.260] [09:29:08.260] real 0m15.043s [09:29:08.260] user 0m9.780s [09:29:08.260] sys 0m4.971s [09:29:08.260] make -s -j${BUILD_JOBS} clean [09:29:08.754] time make -s -j${BUILD_JOBS} world-bin [09:29:15.006] explain.c: In function ‘ParseExplainStmtOptions’: [09:29:15.006] explain.c:189:25: error: variable ‘buffers_set’ set but not used [-Werror=unused-but-set-variable] [09:29:15.006] 189 | bool buffers_set = false; [09:29:15.006] | ^~~~~~~~~~~ [09:29:15.006] cc1: all warnings being treated as errors [09:29:15.007] make[3]: *** [: explain.o] Error 1 [09:29:15.007] make[2]: *** [common.mk:37: commands-recursive] Error 2 [09:29:15.007] make[2]: *** Waiting for unfinished jobs.... [09:29:18.344] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:29:18.344] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:29:18.344] [09:29:18.344] real 0m9.591s [09:29:18.344] user 0m22.574s [09:29:18.344] sys 0m6.677s [09:29:18.345] [09:29:18.345] Exit status: 2