[17:09:15.588] time ./configure \ [17:09:15.588] --host=x86_64-w64-mingw32 \ [17:09:15.588] --enable-cassert \ [17:09:15.588] --without-icu \ [17:09:15.588] CC="ccache x86_64-w64-mingw32-gcc" \ [17:09:15.588] CXX="ccache x86_64-w64-mingw32-g++" [17:09:15.720] checking build system type... x86_64-pc-linux-gnu [17:09:15.918] checking host system type... x86_64-w64-mingw32 [17:09:15.923] checking which template to use... win32 [17:09:15.923] checking whether NLS is wanted... no [17:09:15.923] checking for default port number... 5432 [17:09:15.930] checking for block size... 8kB [17:09:15.931] checking for segment size... 1GB [17:09:15.934] checking for WAL block size... 8kB [17:09:15.935] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:09:15.972] checking whether the C compiler works... yes [17:09:16.113] checking for C compiler default output file name... a.exe [17:09:16.114] checking for suffix of executables... .exe [17:09:16.158] checking whether we are cross compiling... yes [17:09:16.243] checking for suffix of object files... o [17:09:16.253] checking whether we are using the GNU C compiler... yes [17:09:16.260] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:09:16.268] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:09:16.280] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:09:16.349] checking whether we are using the GNU C++ compiler... yes [17:09:16.357] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:09:16.436] checking for gawk... no [17:09:16.436] checking for mawk... mawk [17:09:16.438] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:09:16.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:09:16.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:09:16.502] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:09:16.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:09:16.680] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:09:16.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:09:16.695] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:09:16.703] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:09:16.710] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:09:16.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:09:16.727] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:09:16.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:09:16.742] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:09:16.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:09:16.757] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:09:16.765] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:09:16.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:09:16.813] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:09:16.821] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:09:16.829] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:09:16.838] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:09:16.846] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:09:16.872] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:09:16.880] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:09:16.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:09:16.927] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:09:16.969] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:09:16.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:09:16.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:09:17.023] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:09:17.031] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:09:17.039] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:09:17.047] checking whether the C compiler still works... yes [17:09:17.114] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:09:17.192] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:09:17.194] checking pkg-config is at least version 0.9.0... yes [17:09:17.211] checking whether to build with ICU support... no [17:09:17.211] checking whether to build with Tcl... no [17:09:17.211] checking whether to build Perl modules... no [17:09:17.211] checking whether to build Python modules... no [17:09:17.211] checking whether to build with GSSAPI support... no [17:09:17.213] checking whether to build with PAM support... no [17:09:17.213] checking whether to build with BSD Authentication support... no [17:09:17.213] checking whether to build with LDAP support... no [17:09:17.213] checking whether to build with Bonjour support... no [17:09:17.213] checking whether to build with SELinux support... no [17:09:17.213] checking whether to build with systemd support... no [17:09:17.214] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:09:17.214] checking whether to build with liburing support... no [17:09:17.214] checking whether to build with libcurl support... no [17:09:17.214] checking whether to build with libnuma support... no [17:09:17.214] checking whether to build with XML support... no [17:09:17.215] checking whether to build with LZ4 support... no [17:09:17.215] checking whether to build with ZSTD support... no [17:09:17.215] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:09:17.215] checking whether it is possible to strip libraries... yes [17:09:17.227] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:09:17.227] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:09:17.228] checking for a BSD-compatible install... /usr/bin/install -c [17:09:17.237] checking for tar... /usr/bin/tar [17:09:17.237] checking whether ln -s works... yes [17:09:17.237] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:09:17.239] checking for bison... /usr/bin/bison [17:09:17.242] configure: using bison (GNU Bison) 3.8.2 [17:09:17.245] checking for flex... /usr/bin/flex [17:09:17.247] configure: using flex 2.6.4 [17:09:17.247] checking for perl... /usr/bin/perl [17:09:17.250] configure: using perl 5.36.0 [17:09:17.253] checking for zic... /usr/sbin/zic [17:09:17.253] checking for a sed that does not truncate output... /usr/bin/sed [17:09:17.259] checking for grep that handles long lines and -e... /usr/bin/grep [17:09:17.261] checking for egrep... /usr/bin/grep -E [17:09:17.263] checking for ANSI C header files... yes [17:09:17.317] checking for sys/types.h... yes [17:09:17.337] checking for sys/stat.h... yes [17:09:17.356] checking for stdlib.h... yes [17:09:17.373] checking for string.h... yes [17:09:17.389] checking for memory.h... yes [17:09:17.407] checking for strings.h... yes [17:09:17.427] checking for inttypes.h... yes [17:09:17.446] checking for stdint.h... yes [17:09:17.463] checking for unistd.h... yes [17:09:17.482] checking for main in -lm... yes [17:09:17.533] checking for library containing setproctitle... no [17:09:17.634] checking for library containing dlsym... no [17:09:17.734] checking for library containing socket... -lws2_32 [17:09:17.880] checking for library containing getopt_long... none required [17:09:17.931] checking for library containing shm_open... no [17:09:18.026] checking for library containing shm_unlink... no [17:09:18.122] checking for library containing clock_gettime... no [17:09:18.225] checking for library containing shmget... no [17:09:18.318] checking for library containing backtrace_symbols... no [17:09:18.415] checking for library containing pthread_barrier_wait... -lpthread [17:09:18.514] checking for inflate in -lz... yes [17:09:18.566] checking atomic.h usability... no [17:09:18.627] checking atomic.h presence... no [17:09:18.649] checking for atomic.h... no [17:09:18.653] checking copyfile.h usability... no [17:09:18.716] checking copyfile.h presence... no [17:09:18.736] checking for copyfile.h... no [17:09:18.740] checking execinfo.h usability... no [17:09:18.800] checking execinfo.h presence... no [17:09:18.822] checking for execinfo.h... no [17:09:18.825] checking getopt.h usability... yes [17:09:18.834] checking getopt.h presence... yes [17:09:18.851] checking for getopt.h... yes [17:09:18.859] checking ifaddrs.h usability... no [17:09:18.919] checking ifaddrs.h presence... no [17:09:18.940] checking for ifaddrs.h... no [17:09:18.944] checking mbarrier.h usability... no [17:09:19.008] checking mbarrier.h presence... no [17:09:19.030] checking for mbarrier.h... no [17:09:19.034] checking sys/epoll.h usability... no [17:09:19.094] checking sys/epoll.h presence... no [17:09:19.114] checking for sys/epoll.h... no [17:09:19.117] checking sys/event.h usability... no [17:09:19.174] checking sys/event.h presence... no [17:09:19.193] checking for sys/event.h... no [17:09:19.196] checking sys/personality.h usability... no [17:09:19.257] checking sys/personality.h presence... no [17:09:19.278] checking for sys/personality.h... no [17:09:19.281] checking sys/prctl.h usability... no [17:09:19.340] checking sys/prctl.h presence... no [17:09:19.361] checking for sys/prctl.h... no [17:09:19.364] checking sys/procctl.h usability... no [17:09:19.423] checking sys/procctl.h presence... no [17:09:19.444] checking for sys/procctl.h... no [17:09:19.448] checking sys/signalfd.h usability... no [17:09:19.508] checking sys/signalfd.h presence... no [17:09:19.530] checking for sys/signalfd.h... no [17:09:19.534] checking sys/ucred.h usability... no [17:09:19.598] checking sys/ucred.h presence... no [17:09:19.620] checking for sys/ucred.h... no [17:09:19.624] checking termios.h usability... no [17:09:19.686] checking termios.h presence... no [17:09:19.706] checking for termios.h... no [17:09:19.710] checking ucred.h usability... no [17:09:19.768] checking ucred.h presence... no [17:09:19.790] checking for ucred.h... no [17:09:19.794] checking xlocale.h usability... no [17:09:19.854] checking xlocale.h presence... no [17:09:19.875] checking for xlocale.h... no [17:09:19.878] checking zlib.h usability... yes [17:09:19.889] checking zlib.h presence... yes [17:09:19.910] checking for zlib.h... yes [17:09:19.910] checking for lz4... /usr/bin/lz4 [17:09:19.911] checking for zstd... /usr/bin/zstd [17:09:19.911] checking for openssl... /usr/bin/openssl [17:09:19.916] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:09:19.916] checking crtdefs.h usability... yes [17:09:19.924] checking crtdefs.h presence... yes [17:09:19.941] checking for crtdefs.h... yes [17:09:19.943] checking whether byte ordering is bigendian... no [17:09:20.029] checking for inline... inline [17:09:20.038] checking for printf format archetype... gnu_printf [17:09:20.047] checking for _Static_assert... yes [17:09:20.092] checking for typeof... typeof [17:09:20.101] checking for __builtin_types_compatible_p... yes [17:09:20.113] checking for __builtin_constant_p... yes [17:09:20.126] checking for __builtin_mul_overflow... yes [17:09:20.180] checking for __builtin_unreachable... yes [17:09:20.227] checking for computed goto support... yes [17:09:20.236] checking for struct tm.tm_zone... no [17:09:20.323] checking for union semun... no [17:09:20.362] checking for socklen_t... yes [17:09:21.697] checking for struct sockaddr.sa_len... no [17:09:23.943] checking for C/C++ restrict keyword... __restrict [17:09:23.959] checking for struct option... yes [17:09:24.008] checking whether assembler supports x86_64 popcntq... yes [17:09:24.017] checking size of off_t... 4 [17:09:24.241] 0 [17:09:24.242] checking for int timezone... yes [17:09:24.297] checking for backtrace_symbols... no [17:09:24.351] checking for copyfile... no [17:09:24.406] checking for copy_file_range... no [17:09:24.463] checking for elf_aux_info... no [17:09:24.519] checking for getauxval... no [17:09:24.574] checking for getifaddrs... no [17:09:24.630] checking for getpeerucred... no [17:09:24.683] checking for inet_pton... yes [17:09:24.737] checking for kqueue... no [17:09:24.791] checking for localeconv_l... no [17:09:24.846] checking for mbstowcs_l... no [17:09:24.901] checking for memset_s... no [17:09:24.957] checking for posix_fallocate... no [17:09:25.010] checking for ppoll... no [17:09:25.063] checking for pthread_is_threaded_np... no [17:09:25.118] checking for setproctitle... no [17:09:25.173] checking for setproctitle_fast... no [17:09:25.229] checking for strsignal... no [17:09:25.284] checking for syncfs... no [17:09:25.342] checking for sync_file_range... no [17:09:25.398] checking for uselocale... no [17:09:25.453] checking for wcstombs_l... no [17:09:25.503] checking for __builtin_bswap16... yes [17:09:25.556] checking for __builtin_bswap32... yes [17:09:25.609] checking for __builtin_bswap64... yes [17:09:25.661] checking for __builtin_clz... yes [17:09:25.716] checking for __builtin_ctz... yes [17:09:25.769] checking for __builtin_popcount... yes [17:09:25.821] checking for __builtin_frame_address... yes [17:09:25.873] checking for _LARGEFILE_SOURCE value needed for large files... no [17:09:25.933] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:09:25.970] checking for posix_fadvise... no [17:09:26.028] checking whether posix_fadvise is declared... no [17:09:26.079] checking whether fdatasync is declared... no [17:09:26.129] checking whether strlcat is declared... no [17:09:26.200] checking whether strlcpy is declared... no [17:09:26.272] checking whether strnlen is declared... yes [17:09:26.288] checking whether strsep is declared... no [17:09:26.357] checking whether timingsafe_bcmp is declared... no [17:09:26.426] checking whether preadv is declared... no [17:09:26.466] checking whether pwritev is declared... no [17:09:26.507] checking whether strchrnul is declared... no [17:09:26.553] checking whether F_FULLFSYNC is declared... no [17:09:26.597] checking for explicit_bzero... no [17:09:26.646] checking for getopt... yes [17:09:26.693] checking for getpeereid... no [17:09:26.743] checking for inet_aton... no [17:09:26.794] checking for mkdtemp... no [17:09:26.845] checking for strlcat... no [17:09:26.898] checking for strlcpy... no [17:09:26.950] checking for strnlen... yes [17:09:27.001] checking for strsep... no [17:09:27.053] checking for timingsafe_bcmp... no [17:09:27.106] checking for pthread_barrier_wait... yes [17:09:27.155] configure: On mingw32 we will use our strtof wrapper. [17:09:27.155] checking for getopt_long... yes [17:09:27.203] checking for syslog... no [17:09:27.255] checking for opterr... yes [17:09:27.307] checking for optreset... no [17:09:27.362] checking test program... cross-compiling [17:09:27.362] checking size of void *... 8 [17:09:27.657] checking size of size_t... 8 [17:09:27.958] checking size of long... 4 [17:09:28.182] checking size of long long... 8 [17:09:28.483] checking alignment of short... 2 [17:09:28.635] checking alignment of int... 4 [17:09:28.864] checking alignment of long... 4 [17:09:29.093] checking alignment of int64_t... 8 [17:09:29.383] checking alignment of double... 8 [17:09:29.671] checking for __int128... yes [17:09:29.725] checking for __int128 alignment bug... assuming ok [17:09:29.725] checking alignment of PG_INT128_TYPE... 16 [17:09:30.085] checking for builtin __sync char locking functions... yes [17:09:30.133] checking for builtin __sync int32 locking functions... yes [17:09:30.180] checking for builtin __sync int32 atomic operations... yes [17:09:30.227] checking for builtin __sync int64 atomic operations... yes [17:09:30.274] checking for builtin __atomic int32 atomic operations... yes [17:09:30.320] checking for builtin __atomic int64 atomic operations... yes [17:09:30.368] checking for __get_cpuid... yes [17:09:30.421] checking for __get_cpuid_count... yes [17:09:30.469] checking for __cpuid... no [17:09:30.878] checking for __cpuidex... no [17:09:31.315] checking for _xgetbv... yes [17:09:31.732] checking for _mm512_popcnt_epi64... yes [17:09:32.171] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:09:32.281] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:09:32.306] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:09:32.328] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:09:32.350] 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 [17:09:32.412] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:09:32.412] checking for _mm512_clmulepi64_epi128... yes [17:09:32.844] checking for vectorized CRC-32C... AVX-512 with runtime check [17:09:32.845] checking which random number source to use... Windows native [17:09:32.847] checking for xmllint... /usr/bin/xmllint [17:09:32.847] checking for xsltproc... /usr/bin/xsltproc [17:09:32.847] checking for fop... /usr/bin/fop [17:09:32.847] checking for dbtoepub... no [17:09:32.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:09:32.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:09:32.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:09:32.860] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:09:32.860] 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 [17:09:32.860] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:09:32.860] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:09:32.954] configure: creating ./config.status [17:09:33.049] config.status: creating GNUmakefile [17:09:33.063] config.status: creating src/Makefile.global [17:09:33.079] config.status: creating src/include/pg_config.h [17:09:33.093] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:09:33.110] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:09:33.117] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:09:33.124] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:09:33.132] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:09:33.139] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:09:33.143] config.status: executing check_win32_symlinks commands [17:09:33.187] [17:09:33.187] real 0m17.598s [17:09:33.187] user 0m11.960s [17:09:33.187] sys 0m5.289s [17:09:33.187] make -s -j${BUILD_JOBS} clean [17:09:33.732] time make -s -j${BUILD_JOBS} world-bin [17:09:44.438] common.c: In function ‘badFileStream’: [17:09:44.438] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [17:09:44.438] 51 | bool bad; [17:09:44.438] | ^~~ [17:09:44.438] cc1: all warnings being treated as errors [17:09:44.438] make[3]: *** [: common.o] Error 1 [17:09:44.438] make[3]: *** Waiting for unfinished jobs.... [17:09:45.948] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [17:09:45.948] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [17:09:45.949] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:09:45.949] [17:09:45.949] real 0m12.217s [17:09:45.949] user 0m19.221s [17:09:45.949] sys 0m11.921s [17:09:45.949] [17:09:45.949] Exit status: 2