[10:07:48.835] time ./configure \ [10:07:48.835] --host=x86_64-w64-mingw32 \ [10:07:48.835] --enable-cassert \ [10:07:48.835] --without-icu \ [10:07:48.835] CC="ccache x86_64-w64-mingw32-gcc" \ [10:07:48.835] CXX="ccache x86_64-w64-mingw32-g++" [10:07:48.973] checking build system type... x86_64-pc-linux-gnu [10:07:49.188] checking host system type... x86_64-w64-mingw32 [10:07:49.195] checking which template to use... win32 [10:07:49.195] checking whether NLS is wanted... no [10:07:49.195] checking for default port number... 5432 [10:07:49.203] checking for block size... 8kB [10:07:49.205] checking for segment size... 1GB [10:07:49.208] checking for WAL block size... 8kB [10:07:49.209] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:07:49.248] checking whether the C compiler works... yes [10:07:49.388] checking for C compiler default output file name... a.exe [10:07:49.389] checking for suffix of executables... .exe [10:07:49.434] checking whether we are cross compiling... yes [10:07:49.516] checking for suffix of object files... o [10:07:49.526] checking whether we are using the GNU C compiler... yes [10:07:49.533] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:07:49.541] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:07:49.554] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:07:49.616] checking whether we are using the GNU C++ compiler... yes [10:07:49.623] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:07:49.698] checking for gawk... no [10:07:49.699] checking for mawk... mawk [10:07:49.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:07:49.709] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:07:49.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:07:49.766] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:07:49.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:07:49.962] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:07:49.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:07:49.978] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:07:49.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:07:49.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:07:50.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:07:50.010] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:07:50.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:07:50.025] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:07:50.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:07:50.041] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:07:50.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:07:50.090] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:07:50.099] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:07:50.107] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:07:50.115] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:07:50.122] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:07:50.130] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:07:50.157] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:07:50.165] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:07:50.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:07:50.216] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:07:50.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:07:50.267] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:07:50.275] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:07:50.313] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:07:50.322] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:07:50.331] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:07:50.340] checking whether the C compiler still works... yes [10:07:50.411] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:07:50.492] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:07:50.493] checking pkg-config is at least version 0.9.0... yes [10:07:50.513] checking whether to build with ICU support... no [10:07:50.514] checking whether to build with Tcl... no [10:07:50.514] checking whether to build Perl modules... no [10:07:50.514] checking whether to build Python modules... no [10:07:50.514] checking whether to build with GSSAPI support... no [10:07:50.515] checking whether to build with PAM support... no [10:07:50.515] checking whether to build with BSD Authentication support... no [10:07:50.516] checking whether to build with LDAP support... no [10:07:50.516] checking whether to build with Bonjour support... no [10:07:50.516] checking whether to build with SELinux support... no [10:07:50.516] checking whether to build with systemd support... no [10:07:50.516] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:07:50.516] checking whether to build with liburing support... no [10:07:50.516] checking whether to build with libcurl support... no [10:07:50.517] checking whether to build with libnuma support... no [10:07:50.517] checking whether to build with XML support... no [10:07:50.517] checking whether to build with LZ4 support... no [10:07:50.518] checking whether to build with ZSTD support... no [10:07:50.518] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:07:50.518] checking whether it is possible to strip libraries... yes [10:07:50.526] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:07:50.526] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:07:50.526] checking for a BSD-compatible install... /usr/bin/install -c [10:07:50.537] checking for tar... /usr/bin/tar [10:07:50.537] checking whether ln -s works... yes [10:07:50.537] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:07:50.540] checking for bison... /usr/bin/bison [10:07:50.542] configure: using bison (GNU Bison) 3.8.2 [10:07:50.546] checking for flex... /usr/bin/flex [10:07:50.548] configure: using flex 2.6.4 [10:07:50.548] checking for perl... /usr/bin/perl [10:07:50.551] configure: using perl 5.36.0 [10:07:50.554] checking for zic... /usr/sbin/zic [10:07:50.554] checking for a sed that does not truncate output... /usr/bin/sed [10:07:50.560] checking for grep that handles long lines and -e... /usr/bin/grep [10:07:50.562] checking for egrep... /usr/bin/grep -E [10:07:50.564] checking for ANSI C header files... yes [10:07:50.619] checking for sys/types.h... yes [10:07:50.638] checking for sys/stat.h... yes [10:07:50.656] checking for stdlib.h... yes [10:07:50.673] checking for string.h... yes [10:07:50.690] checking for memory.h... yes [10:07:50.708] checking for strings.h... yes [10:07:50.726] checking for inttypes.h... yes [10:07:50.744] checking for stdint.h... yes [10:07:50.761] checking for unistd.h... yes [10:07:50.778] checking for main in -lm... yes [10:07:50.832] checking for library containing setproctitle... no [10:07:50.934] checking for library containing dlsym... no [10:07:51.035] checking for library containing socket... -lws2_32 [10:07:51.184] checking for library containing getopt_long... none required [10:07:51.239] checking for library containing shm_open... no [10:07:51.338] checking for library containing shm_unlink... no [10:07:51.436] checking for library containing clock_gettime... no [10:07:51.535] checking for library containing shmget... no [10:07:51.633] checking for library containing backtrace_symbols... no [10:07:51.732] checking for library containing pthread_barrier_wait... -lpthread [10:07:51.832] checking for inflate in -lz... yes [10:07:51.885] checking atomic.h usability... no [10:07:51.952] checking atomic.h presence... no [10:07:51.974] checking for atomic.h... no [10:07:51.978] checking copyfile.h usability... no [10:07:52.040] checking copyfile.h presence... no [10:07:52.062] checking for copyfile.h... no [10:07:52.066] checking execinfo.h usability... no [10:07:52.129] checking execinfo.h presence... no [10:07:52.151] checking for execinfo.h... no [10:07:52.155] checking getopt.h usability... yes [10:07:52.163] checking getopt.h presence... yes [10:07:52.181] checking for getopt.h... yes [10:07:52.190] checking ifaddrs.h usability... no [10:07:52.253] checking ifaddrs.h presence... no [10:07:52.274] checking for ifaddrs.h... no [10:07:52.278] checking mbarrier.h usability... no [10:07:52.338] checking mbarrier.h presence... no [10:07:52.358] checking for mbarrier.h... no [10:07:52.362] checking sys/epoll.h usability... no [10:07:52.420] checking sys/epoll.h presence... no [10:07:52.441] checking for sys/epoll.h... no [10:07:52.445] checking sys/event.h usability... no [10:07:52.506] checking sys/event.h presence... no [10:07:52.527] checking for sys/event.h... no [10:07:52.530] checking sys/personality.h usability... no [10:07:52.591] checking sys/personality.h presence... no [10:07:52.613] checking for sys/personality.h... no [10:07:52.616] checking sys/prctl.h usability... no [10:07:52.676] checking sys/prctl.h presence... no [10:07:52.697] checking for sys/prctl.h... no [10:07:52.701] checking sys/procctl.h usability... no [10:07:52.761] checking sys/procctl.h presence... no [10:07:52.781] checking for sys/procctl.h... no [10:07:52.785] checking sys/signalfd.h usability... no [10:07:52.843] checking sys/signalfd.h presence... no [10:07:52.865] checking for sys/signalfd.h... no [10:07:52.869] checking sys/ucred.h usability... no [10:07:52.930] checking sys/ucred.h presence... no [10:07:52.950] checking for sys/ucred.h... no [10:07:52.954] checking termios.h usability... no [10:07:53.015] checking termios.h presence... no [10:07:53.036] checking for termios.h... no [10:07:53.039] checking ucred.h usability... no [10:07:53.099] checking ucred.h presence... no [10:07:53.120] checking for ucred.h... no [10:07:53.125] checking xlocale.h usability... no [10:07:53.186] checking xlocale.h presence... no [10:07:53.207] checking for xlocale.h... no [10:07:53.210] checking zlib.h usability... yes [10:07:53.222] checking zlib.h presence... yes [10:07:53.243] checking for zlib.h... yes [10:07:53.244] checking for lz4... /usr/bin/lz4 [10:07:53.244] checking for zstd... /usr/bin/zstd [10:07:53.244] checking for openssl... /usr/bin/openssl [10:07:53.249] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [10:07:53.250] checking crtdefs.h usability... yes [10:07:53.259] checking crtdefs.h presence... yes [10:07:53.276] checking for crtdefs.h... yes [10:07:53.278] checking whether byte ordering is bigendian... no [10:07:53.363] checking for inline... inline [10:07:53.372] checking for printf format archetype... gnu_printf [10:07:53.381] checking for _Static_assert... yes [10:07:53.427] checking for typeof... typeof [10:07:53.435] checking for __builtin_types_compatible_p... yes [10:07:53.447] checking for __builtin_constant_p... yes [10:07:53.460] checking for __builtin_mul_overflow... yes [10:07:53.512] checking for __builtin_unreachable... yes [10:07:53.557] checking for computed goto support... yes [10:07:53.566] checking for struct tm.tm_zone... no [10:07:53.649] checking for union semun... no [10:07:53.687] checking for socklen_t... yes [10:07:54.988] checking for struct sockaddr.sa_len... no [10:07:57.215] checking for C/C++ restrict keyword... __restrict [10:07:57.230] checking for struct option... yes [10:07:57.277] checking whether assembler supports x86_64 popcntq... yes [10:07:57.286] checking size of off_t... 4 [10:07:57.514] 0 [10:07:57.514] checking for int timezone... yes [10:07:57.573] checking for backtrace_symbols... no [10:07:57.630] checking for copyfile... no [10:07:57.686] checking for copy_file_range... no [10:07:57.742] checking for elf_aux_info... no [10:07:57.798] checking for getauxval... no [10:07:57.854] checking for getifaddrs... no [10:07:57.911] checking for getpeerucred... no [10:07:57.967] checking for inet_pton... yes [10:07:58.023] checking for kqueue... no [10:07:58.078] checking for localeconv_l... no [10:07:58.133] checking for mbstowcs_l... no [10:07:58.188] checking for memset_s... no [10:07:58.243] checking for posix_fallocate... no [10:07:58.299] checking for ppoll... no [10:07:58.356] checking for pthread_is_threaded_np... no [10:07:58.413] checking for setproctitle... no [10:07:58.469] checking for setproctitle_fast... no [10:07:58.525] checking for strsignal... no [10:07:58.582] checking for syncfs... no [10:07:58.641] checking for sync_file_range... no [10:07:58.698] checking for uselocale... no [10:07:58.755] checking for wcstombs_l... no [10:07:58.809] checking for __builtin_bswap16... yes [10:07:58.867] checking for __builtin_bswap32... yes [10:07:58.922] checking for __builtin_bswap64... yes [10:07:58.977] checking for __builtin_clz... yes [10:07:59.033] checking for __builtin_ctz... yes [10:07:59.088] checking for __builtin_popcount... yes [10:07:59.145] checking for __builtin_frame_address... yes [10:07:59.200] checking for _LARGEFILE_SOURCE value needed for large files... no [10:07:59.261] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:07:59.297] checking for posix_fadvise... no [10:07:59.354] checking whether posix_fadvise is declared... no [10:07:59.406] checking whether fdatasync is declared... no [10:07:59.456] checking whether strlcat is declared... no [10:07:59.527] checking whether strlcpy is declared... no [10:07:59.600] checking whether strnlen is declared... yes [10:07:59.615] checking whether strsep is declared... no [10:07:59.687] checking whether timingsafe_bcmp is declared... no [10:07:59.759] checking whether preadv is declared... no [10:07:59.802] checking whether pwritev is declared... no [10:07:59.846] checking whether strchrnul is declared... no [10:07:59.894] checking whether F_FULLFSYNC is declared... no [10:07:59.942] checking for explicit_bzero... no [10:07:59.997] checking for getopt... yes [10:08:00.048] checking for getpeereid... no [10:08:00.103] checking for inet_aton... no [10:08:00.158] checking for mkdtemp... no [10:08:00.212] checking for strlcat... no [10:08:00.265] checking for strlcpy... no [10:08:00.318] checking for strnlen... yes [10:08:00.372] checking for strsep... no [10:08:00.424] checking for timingsafe_bcmp... no [10:08:00.478] checking for pthread_barrier_wait... yes [10:08:00.528] configure: On mingw32 we will use our strtof wrapper. [10:08:00.528] checking for getopt_long... yes [10:08:00.579] checking for syslog... no [10:08:00.634] checking for opterr... yes [10:08:00.688] checking for optreset... no [10:08:00.747] checking test program... cross-compiling [10:08:00.747] checking size of void *... 8 [10:08:01.050] checking size of size_t... 8 [10:08:01.344] checking size of long... 4 [10:08:01.576] checking size of long long... 8 [10:08:01.886] checking alignment of short... 2 [10:08:02.038] checking alignment of int... 4 [10:08:02.268] checking alignment of long... 4 [10:08:02.492] checking alignment of int64_t... 8 [10:08:02.803] checking alignment of double... 8 [10:08:03.107] checking for __int128... yes [10:08:03.163] checking for __int128 alignment bug... assuming ok [10:08:03.164] checking alignment of PG_INT128_TYPE... 16 [10:08:03.538] checking for builtin __sync char locking functions... yes [10:08:03.587] checking for builtin __sync int32 locking functions... yes [10:08:03.635] checking for builtin __sync int32 atomic operations... yes [10:08:03.683] checking for builtin __sync int64 atomic operations... yes [10:08:03.732] checking for builtin __atomic int32 atomic operations... yes [10:08:03.780] checking for builtin __atomic int64 atomic operations... yes [10:08:03.829] checking for __get_cpuid... yes [10:08:03.882] checking for __get_cpuid_count... yes [10:08:03.931] checking for __cpuid... no [10:08:04.346] checking for __cpuidex... no [10:08:04.788] checking for _xgetbv... yes [10:08:05.211] checking for _mm512_popcnt_epi64... yes [10:08:05.649] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:08:05.762] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:08:05.789] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:08:05.810] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:08:05.832] 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 [10:08:05.892] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:08:05.892] checking for _mm512_clmulepi64_epi128... yes [10:08:06.312] checking for vectorized CRC-32C... AVX-512 with runtime check [10:08:06.312] checking which random number source to use... Windows native [10:08:06.315] checking for xmllint... /usr/bin/xmllint [10:08:06.315] checking for xsltproc... /usr/bin/xsltproc [10:08:06.315] checking for fop... /usr/bin/fop [10:08:06.316] checking for dbtoepub... no [10:08:06.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:08:06.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:08:06.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:08:06.328] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:08:06.328] 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 [10:08:06.328] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:08:06.328] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:08:06.429] configure: creating ./config.status [10:08:06.525] config.status: creating GNUmakefile [10:08:06.539] config.status: creating src/Makefile.global [10:08:06.556] config.status: creating src/include/pg_config.h [10:08:06.571] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:08:06.588] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:08:06.596] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:08:06.604] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:08:06.612] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:08:06.621] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:08:06.625] config.status: executing check_win32_symlinks commands [10:08:06.664] [10:08:06.664] real 0m17.828s [10:08:06.664] user 0m11.777s [10:08:06.664] sys 0m5.731s [10:08:06.664] make -s -j${BUILD_JOBS} clean [10:08:07.225] time make -s -j${BUILD_JOBS} world-bin [10:08:48.013] common.c: In function ‘badFileStream’: [10:08:48.013] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [10:08:48.013] 51 | bool bad; [10:08:48.013] | ^~~ [10:08:48.013] cc1: all warnings being treated as errors [10:08:48.013] make[3]: *** [: common.o] Error 1 [10:08:48.013] make[3]: *** Waiting for unfinished jobs.... [10:08:49.412] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [10:08:49.412] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [10:08:49.412] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:08:49.413] [10:08:49.413] real 0m42.188s [10:08:49.413] user 1m58.584s [10:08:49.413] sys 0m29.055s [10:08:49.413] [10:08:49.413] Exit status: 2