[18:37:21.118] time ./configure \ [18:37:21.118] --host=x86_64-w64-mingw32 \ [18:37:21.118] --enable-cassert \ [18:37:21.118] --without-icu \ [18:37:21.118] CC="ccache x86_64-w64-mingw32-gcc" \ [18:37:21.118] CXX="ccache x86_64-w64-mingw32-g++" [18:37:21.226] checking build system type... x86_64-pc-linux-gnu [18:37:21.409] checking host system type... x86_64-w64-mingw32 [18:37:21.413] checking which template to use... win32 [18:37:21.414] checking whether NLS is wanted... no [18:37:21.414] checking for default port number... 5432 [18:37:21.420] checking for block size... 8kB [18:37:21.421] checking for segment size... 1GB [18:37:21.423] checking for WAL block size... 8kB [18:37:21.424] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:37:21.455] checking whether the C compiler works... yes [18:37:21.591] checking for C compiler default output file name... a.exe [18:37:21.592] checking for suffix of executables... .exe [18:37:21.632] checking whether we are cross compiling... yes [18:37:21.707] checking for suffix of object files... o [18:37:21.715] checking whether we are using the GNU C compiler... yes [18:37:21.721] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:37:21.728] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:37:21.738] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:37:21.796] checking whether we are using the GNU C++ compiler... yes [18:37:21.802] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:37:21.864] checking for gawk... no [18:37:21.864] checking for mawk... mawk [18:37:21.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:37:21.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:37:21.879] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:37:21.925] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:37:22.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:37:22.102] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:37:22.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:37:22.115] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:37:22.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:37:22.127] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:37:22.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:37:22.139] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:37:22.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:37:22.152] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:37:22.158] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:37:22.164] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:37:22.171] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:37:22.206] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:37:22.212] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:37:22.219] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:37:22.225] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:37:22.231] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:37:22.238] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:37:22.260] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:37:22.267] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:37:22.273] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:37:22.309] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:37:22.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:37:22.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:37:22.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:37:22.393] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:37:22.401] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:37:22.408] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:37:22.416] checking whether the C compiler still works... yes [18:37:22.481] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:37:22.554] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:37:22.554] checking pkg-config is at least version 0.9.0... yes [18:37:22.570] checking whether to build with ICU support... no [18:37:22.570] checking whether to build with Tcl... no [18:37:22.571] checking whether to build Perl modules... no [18:37:22.571] checking whether to build Python modules... no [18:37:22.571] checking whether to build with GSSAPI support... no [18:37:22.572] checking whether to build with PAM support... no [18:37:22.572] checking whether to build with BSD Authentication support... no [18:37:22.572] checking whether to build with LDAP support... no [18:37:22.572] checking whether to build with Bonjour support... no [18:37:22.573] checking whether to build with SELinux support... no [18:37:22.573] checking whether to build with systemd support... no [18:37:22.573] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:37:22.573] checking whether to build with liburing support... no [18:37:22.573] checking whether to build with libcurl support... no [18:37:22.573] checking whether to build with libnuma support... no [18:37:22.573] checking whether to build with XML support... no [18:37:22.574] checking whether to build with LZ4 support... no [18:37:22.574] checking whether to build with ZSTD support... no [18:37:22.574] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:37:22.574] checking whether it is possible to strip libraries... yes [18:37:22.581] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:37:22.582] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:37:22.582] checking for a BSD-compatible install... /usr/bin/install -c [18:37:22.591] checking for tar... /usr/bin/tar [18:37:22.591] checking whether ln -s works... yes [18:37:22.591] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:37:22.593] checking for bison... /usr/bin/bison [18:37:22.596] configure: using bison (GNU Bison) 3.8.2 [18:37:22.599] checking for flex... /usr/bin/flex [18:37:22.601] configure: using flex 2.6.4 [18:37:22.601] checking for perl... /usr/bin/perl [18:37:22.604] configure: using perl 5.36.0 [18:37:22.606] checking for zic... /usr/sbin/zic [18:37:22.606] checking for a sed that does not truncate output... /usr/bin/sed [18:37:22.612] checking for grep that handles long lines and -e... /usr/bin/grep [18:37:22.614] checking for egrep... /usr/bin/grep -E [18:37:22.616] checking for ANSI C header files... yes [18:37:22.665] checking for sys/types.h... yes [18:37:22.683] checking for sys/stat.h... yes [18:37:22.702] checking for stdlib.h... yes [18:37:22.716] checking for string.h... yes [18:37:22.730] checking for memory.h... yes [18:37:22.744] checking for strings.h... yes [18:37:22.758] checking for inttypes.h... yes [18:37:22.774] checking for stdint.h... yes [18:37:22.787] checking for unistd.h... yes [18:37:22.804] checking for main in -lm... yes [18:37:22.850] checking for library containing setproctitle... no [18:37:22.936] checking for library containing dlsym... no [18:37:23.025] checking for library containing socket... -lws2_32 [18:37:23.151] checking for library containing getopt_long... none required [18:37:23.200] checking for library containing shm_open... no [18:37:23.289] checking for library containing shm_unlink... no [18:37:23.381] checking for library containing clock_gettime... no [18:37:23.468] checking for library containing shmget... no [18:37:23.557] checking for library containing backtrace_symbols... no [18:37:23.643] checking for library containing pthread_barrier_wait... -lpthread [18:37:23.729] checking for inflate in -lz... yes [18:37:23.775] checking atomic.h usability... no [18:37:23.834] checking atomic.h presence... no [18:37:23.854] checking for atomic.h... no [18:37:23.857] checking copyfile.h usability... no [18:37:23.914] checking copyfile.h presence... no [18:37:23.931] checking for copyfile.h... no [18:37:23.934] checking execinfo.h usability... no [18:37:23.987] checking execinfo.h presence... no [18:37:24.005] checking for execinfo.h... no [18:37:24.008] checking getopt.h usability... yes [18:37:24.015] checking getopt.h presence... yes [18:37:24.029] checking for getopt.h... yes [18:37:24.035] checking ifaddrs.h usability... no [18:37:24.087] checking ifaddrs.h presence... no [18:37:24.105] checking for ifaddrs.h... no [18:37:24.108] checking mbarrier.h usability... no [18:37:24.160] checking mbarrier.h presence... no [18:37:24.178] checking for mbarrier.h... no [18:37:24.181] checking sys/epoll.h usability... no [18:37:24.232] checking sys/epoll.h presence... no [18:37:24.249] checking for sys/epoll.h... no [18:37:24.252] checking sys/event.h usability... no [18:37:24.308] checking sys/event.h presence... no [18:37:24.327] checking for sys/event.h... no [18:37:24.331] checking sys/personality.h usability... no [18:37:24.385] checking sys/personality.h presence... no [18:37:24.404] checking for sys/personality.h... no [18:37:24.407] checking sys/prctl.h usability... no [18:37:24.461] checking sys/prctl.h presence... no [18:37:24.480] checking for sys/prctl.h... no [18:37:24.483] checking sys/procctl.h usability... no [18:37:24.536] checking sys/procctl.h presence... no [18:37:24.555] checking for sys/procctl.h... no [18:37:24.558] checking sys/signalfd.h usability... no [18:37:24.613] checking sys/signalfd.h presence... no [18:37:24.631] checking for sys/signalfd.h... no [18:37:24.634] checking sys/ucred.h usability... no [18:37:24.687] checking sys/ucred.h presence... no [18:37:24.705] checking for sys/ucred.h... no [18:37:24.708] checking termios.h usability... no [18:37:24.761] checking termios.h presence... no [18:37:24.779] checking for termios.h... no [18:37:24.782] checking ucred.h usability... no [18:37:24.836] checking ucred.h presence... no [18:37:24.854] checking for ucred.h... no [18:37:24.857] checking xlocale.h usability... no [18:37:24.909] checking xlocale.h presence... no [18:37:24.926] checking for xlocale.h... no [18:37:24.929] checking zlib.h usability... yes [18:37:24.939] checking zlib.h presence... yes [18:37:24.958] checking for zlib.h... yes [18:37:24.958] checking for lz4... /usr/bin/lz4 [18:37:24.959] checking for zstd... /usr/bin/zstd [18:37:24.959] checking for openssl... /usr/bin/openssl [18:37:24.963] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:37:24.963] checking crtdefs.h usability... yes [18:37:24.971] checking crtdefs.h presence... yes [18:37:24.985] checking for crtdefs.h... yes [18:37:24.986] checking whether byte ordering is bigendian... no [18:37:25.058] checking for inline... inline [18:37:25.065] checking for printf format archetype... gnu_printf [18:37:25.073] checking for _Static_assert... yes [18:37:25.115] checking for typeof... typeof [18:37:25.123] checking for __builtin_types_compatible_p... yes [18:37:25.134] checking for __builtin_constant_p... yes [18:37:25.145] checking for __builtin_mul_overflow... yes [18:37:25.192] checking for __builtin_unreachable... yes [18:37:25.233] checking for computed goto support... yes [18:37:25.241] checking for struct tm.tm_zone... no [18:37:25.314] checking for union semun... no [18:37:25.345] checking for socklen_t... yes [18:37:26.466] checking for struct sockaddr.sa_len... no [18:37:28.491] checking for C/C++ restrict keyword... __restrict [18:37:28.503] checking for struct option... yes [18:37:28.546] checking whether assembler supports x86_64 popcntq... yes [18:37:28.552] checking size of off_t... 4 [18:37:28.748] 0 [18:37:28.748] checking for int timezone... yes [18:37:28.799] checking for backtrace_symbols... no [18:37:28.849] checking for copyfile... no [18:37:28.897] checking for copy_file_range... no [18:37:28.947] checking for elf_aux_info... no [18:37:28.998] checking for getauxval... no [18:37:29.048] checking for getifaddrs... no [18:37:29.098] checking for getpeerucred... no [18:37:29.147] checking for inet_pton... yes [18:37:29.196] checking for kqueue... no [18:37:29.247] checking for localeconv_l... no [18:37:29.298] checking for mbstowcs_l... no [18:37:29.348] checking for memset_s... no [18:37:29.398] checking for posix_fallocate... no [18:37:29.448] checking for ppoll... no [18:37:29.496] checking for pthread_is_threaded_np... no [18:37:29.543] checking for setproctitle... no [18:37:29.595] checking for setproctitle_fast... no [18:37:29.648] checking for strsignal... no [18:37:29.697] checking for syncfs... no [18:37:29.745] checking for sync_file_range... no [18:37:29.792] checking for uselocale... no [18:37:29.841] checking for wcstombs_l... no [18:37:29.889] checking for __builtin_bswap16... yes [18:37:29.939] checking for __builtin_bswap32... yes [18:37:29.985] checking for __builtin_bswap64... yes [18:37:30.033] checking for __builtin_clz... yes [18:37:30.077] checking for __builtin_ctz... yes [18:37:30.121] checking for __builtin_popcount... yes [18:37:30.165] checking for __builtin_frame_address... yes [18:37:30.209] checking for _LARGEFILE_SOURCE value needed for large files... no [18:37:30.258] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:37:30.288] checking for posix_fadvise... no [18:37:30.340] checking whether posix_fadvise is declared... no [18:37:30.385] checking whether fdatasync is declared... no [18:37:30.433] checking whether strlcat is declared... no [18:37:30.494] checking whether strlcpy is declared... no [18:37:30.557] checking whether strnlen is declared... yes [18:37:30.570] checking whether strsep is declared... no [18:37:30.632] checking whether timingsafe_bcmp is declared... no [18:37:30.694] checking whether preadv is declared... no [18:37:30.728] checking whether pwritev is declared... no [18:37:30.763] checking whether strchrnul is declared... no [18:37:30.803] checking whether F_FULLFSYNC is declared... no [18:37:30.841] checking for explicit_bzero... no [18:37:30.886] checking for getopt... yes [18:37:30.933] checking for getpeereid... no [18:37:30.978] checking for inet_aton... no [18:37:31.025] checking for mkdtemp... no [18:37:31.071] checking for strlcat... no [18:37:31.118] checking for strlcpy... no [18:37:31.165] checking for strnlen... yes [18:37:31.211] checking for strsep... no [18:37:31.260] checking for timingsafe_bcmp... no [18:37:31.308] checking for pthread_barrier_wait... yes [18:37:31.352] configure: On mingw32 we will use our strtof wrapper. [18:37:31.352] checking for getopt_long... yes [18:37:31.397] checking for syslog... no [18:37:31.443] checking for opterr... yes [18:37:31.489] checking for optreset... no [18:37:31.538] checking test program... cross-compiling [18:37:31.538] checking size of void *... 8 [18:37:31.792] checking size of size_t... 8 [18:37:32.051] checking size of long... 4 [18:37:32.253] checking size of long long... 8 [18:37:32.510] checking alignment of short... 2 [18:37:32.649] checking alignment of int... 4 [18:37:32.853] checking alignment of long... 4 [18:37:33.051] checking alignment of int64_t... 8 [18:37:33.315] checking alignment of double... 8 [18:37:33.574] checking for __int128... yes [18:37:33.625] checking for __int128 alignment bug... assuming ok [18:37:33.625] checking alignment of PG_INT128_TYPE... 16 [18:37:33.959] checking for builtin __sync char locking functions... yes [18:37:34.000] checking for builtin __sync int32 locking functions... yes [18:37:34.041] checking for builtin __sync int32 atomic operations... yes [18:37:34.085] checking for builtin __sync int64 atomic operations... yes [18:37:34.129] checking for builtin __atomic int32 atomic operations... yes [18:37:34.171] checking for builtin __atomic int64 atomic operations... yes [18:37:34.216] checking for __get_cpuid... yes [18:37:34.262] checking for __get_cpuid_count... yes [18:37:34.308] checking for __cpuid... no [18:37:34.716] checking for __cpuidex... no [18:37:35.148] checking for _xgetbv... yes [18:37:35.560] checking for _mm512_popcnt_epi64... yes [18:37:35.967] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:37:36.067] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:37:36.089] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:37:36.108] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:37:36.128] 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 [18:37:36.185] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:37:36.185] checking for _mm512_clmulepi64_epi128... yes [18:37:36.593] checking for vectorized CRC-32C... AVX-512 with runtime check [18:37:36.594] checking which random number source to use... Windows native [18:37:36.596] checking for xmllint... /usr/bin/xmllint [18:37:36.596] checking for xsltproc... /usr/bin/xsltproc [18:37:36.596] checking for fop... /usr/bin/fop [18:37:36.596] checking for dbtoepub... no [18:37:36.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:37:36.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:37:36.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:37:36.608] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:37:36.608] 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 [18:37:36.608] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:37:36.608] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:37:36.697] configure: creating ./config.status [18:37:36.792] config.status: creating GNUmakefile [18:37:36.806] config.status: creating src/Makefile.global [18:37:36.823] config.status: creating src/include/pg_config.h [18:37:36.836] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:37:36.851] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:37:36.859] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:37:36.866] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:37:36.873] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:37:36.880] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:37:36.883] config.status: executing check_win32_symlinks commands [18:37:36.917] [18:37:36.917] real 0m15.799s [18:37:36.917] user 0m10.463s [18:37:36.917] sys 0m5.003s [18:37:36.917] make -s -j${BUILD_JOBS} clean [18:37:37.446] time make -s -j${BUILD_JOBS} world-bin [18:38:12.755] common.c: In function ‘badFileStream’: [18:38:12.755] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [18:38:12.755] 51 | bool bad; [18:38:12.755] | ^~~ [18:38:12.755] cc1: all warnings being treated as errors [18:38:12.755] make[3]: *** [: common.o] Error 1 [18:38:12.755] make[3]: *** Waiting for unfinished jobs.... [18:38:14.103] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [18:38:14.104] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [18:38:14.104] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:38:14.104] [18:38:14.104] real 0m36.659s [18:38:14.104] user 1m38.390s [18:38:14.104] sys 0m25.057s [18:38:14.104] [18:38:14.104] Exit status: 2