[08:03:25.043] time ./configure \ [08:03:25.043] --host=x86_64-w64-mingw32 \ [08:03:25.043] --enable-cassert \ [08:03:25.043] --without-icu \ [08:03:25.043] CC="ccache x86_64-w64-mingw32-gcc" \ [08:03:25.043] CXX="ccache x86_64-w64-mingw32-g++" [08:03:25.145] checking build system type... x86_64-pc-linux-gnu [08:03:25.325] checking host system type... x86_64-w64-mingw32 [08:03:25.330] checking which template to use... win32 [08:03:25.331] checking whether NLS is wanted... no [08:03:25.331] checking for default port number... 5432 [08:03:25.337] checking for block size... 8kB [08:03:25.338] checking for segment size... 1GB [08:03:25.340] checking for WAL block size... 8kB [08:03:25.341] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:03:25.374] checking whether the C compiler works... yes [08:03:25.497] checking for C compiler default output file name... a.exe [08:03:25.498] checking for suffix of executables... .exe [08:03:25.540] checking whether we are cross compiling... yes [08:03:25.614] checking for suffix of object files... o [08:03:25.622] checking whether we are using the GNU C compiler... yes [08:03:25.628] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:03:25.635] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:03:25.650] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:03:25.708] checking whether we are using the GNU C++ compiler... yes [08:03:25.714] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:03:25.778] checking for gawk... no [08:03:25.779] checking for mawk... mawk [08:03:25.781] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:03:25.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:03:25.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:03:25.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:03:25.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:03:26.016] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:03:26.090] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:03:26.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:03:26.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:03:26.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:03:26.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:03:26.134] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:03:26.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:03:26.147] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:03:26.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:03:26.160] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:03:26.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:03:26.204] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:03:26.211] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:03:26.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:03:26.225] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:03:26.231] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:03:26.237] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:03:26.262] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:03:26.269] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:03:26.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:03:26.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:03:26.353] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:03:26.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:03:26.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:03:26.399] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:03:26.406] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:03:26.412] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:03:26.429] checking whether the C compiler still works... yes [08:03:26.491] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:03:26.565] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:03:26.565] checking pkg-config is at least version 0.9.0... yes [08:03:26.580] checking whether to build with ICU support... no [08:03:26.581] checking whether to build with Tcl... no [08:03:26.581] checking whether to build Perl modules... no [08:03:26.581] checking whether to build Python modules... no [08:03:26.581] checking whether to build with GSSAPI support... no [08:03:26.582] checking whether to build with PAM support... no [08:03:26.582] checking whether to build with BSD Authentication support... no [08:03:26.582] checking whether to build with LDAP support... no [08:03:26.582] checking whether to build with Bonjour support... no [08:03:26.582] checking whether to build with SELinux support... no [08:03:26.582] checking whether to build with systemd support... no [08:03:26.583] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:03:26.583] checking whether to build with liburing support... no [08:03:26.583] checking whether to build with libcurl support... no [08:03:26.583] checking whether to build with libnuma support... no [08:03:26.583] checking whether to build with XML support... no [08:03:26.584] checking whether to build with LZ4 support... no [08:03:26.584] checking whether to build with ZSTD support... no [08:03:26.584] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:03:26.584] checking whether it is possible to strip libraries... yes [08:03:26.591] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:03:26.591] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:03:26.592] checking for a BSD-compatible install... /usr/bin/install -c [08:03:26.600] checking for tar... /usr/bin/tar [08:03:26.600] checking whether ln -s works... yes [08:03:26.600] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:03:26.602] checking for bison... /usr/bin/bison [08:03:26.604] configure: using bison (GNU Bison) 3.8.2 [08:03:26.607] checking for flex... /usr/bin/flex [08:03:26.609] configure: using flex 2.6.4 [08:03:26.609] checking for perl... /usr/bin/perl [08:03:26.611] configure: using perl 5.36.0 [08:03:26.613] checking for zic... /usr/sbin/zic [08:03:26.613] checking for a sed that does not truncate output... /usr/bin/sed [08:03:26.618] checking for grep that handles long lines and -e... /usr/bin/grep [08:03:26.619] checking for egrep... /usr/bin/grep -E [08:03:26.621] checking for ANSI C header files... yes [08:03:26.668] checking for sys/types.h... yes [08:03:26.683] checking for sys/stat.h... yes [08:03:26.697] checking for stdlib.h... yes [08:03:26.710] checking for string.h... yes [08:03:26.723] checking for memory.h... yes [08:03:26.736] checking for strings.h... yes [08:03:26.750] checking for inttypes.h... yes [08:03:26.764] checking for stdint.h... yes [08:03:26.777] checking for unistd.h... yes [08:03:26.791] checking for main in -lm... yes [08:03:26.833] checking for library containing setproctitle... no [08:03:26.920] checking for library containing dlsym... no [08:03:27.003] checking for library containing socket... -lws2_32 [08:03:27.126] checking for library containing getopt_long... none required [08:03:27.173] checking for library containing shm_open... no [08:03:27.259] checking for library containing shm_unlink... no [08:03:27.339] checking for library containing clock_gettime... no [08:03:27.420] checking for library containing shmget... no [08:03:27.502] checking for library containing backtrace_symbols... no [08:03:27.583] checking for library containing pthread_barrier_wait... -lpthread [08:03:27.665] checking for inflate in -lz... yes [08:03:27.711] checking atomic.h usability... no [08:03:27.771] checking atomic.h presence... no [08:03:27.789] checking for atomic.h... no [08:03:27.792] checking copyfile.h usability... no [08:03:27.845] checking copyfile.h presence... no [08:03:27.863] checking for copyfile.h... no [08:03:27.866] checking execinfo.h usability... no [08:03:27.919] checking execinfo.h presence... no [08:03:27.936] checking for execinfo.h... no [08:03:27.939] checking getopt.h usability... yes [08:03:27.946] checking getopt.h presence... yes [08:03:27.961] checking for getopt.h... yes [08:03:27.967] checking ifaddrs.h usability... no [08:03:28.022] checking ifaddrs.h presence... no [08:03:28.040] checking for ifaddrs.h... no [08:03:28.043] checking mbarrier.h usability... no [08:03:28.097] checking mbarrier.h presence... no [08:03:28.117] checking for mbarrier.h... no [08:03:28.119] checking sys/epoll.h usability... no [08:03:28.172] checking sys/epoll.h presence... no [08:03:28.190] checking for sys/epoll.h... no [08:03:28.193] checking sys/event.h usability... no [08:03:28.246] checking sys/event.h presence... no [08:03:28.263] checking for sys/event.h... no [08:03:28.266] checking sys/personality.h usability... no [08:03:28.318] checking sys/personality.h presence... no [08:03:28.336] checking for sys/personality.h... no [08:03:28.338] checking sys/prctl.h usability... no [08:03:28.391] checking sys/prctl.h presence... no [08:03:28.409] checking for sys/prctl.h... no [08:03:28.412] checking sys/procctl.h usability... no [08:03:28.463] checking sys/procctl.h presence... no [08:03:28.480] checking for sys/procctl.h... no [08:03:28.483] checking sys/signalfd.h usability... no [08:03:28.535] checking sys/signalfd.h presence... no [08:03:28.553] checking for sys/signalfd.h... no [08:03:28.556] checking sys/ucred.h usability... no [08:03:28.608] checking sys/ucred.h presence... no [08:03:28.626] checking for sys/ucred.h... no [08:03:28.628] checking termios.h usability... no [08:03:28.684] checking termios.h presence... no [08:03:28.703] checking for termios.h... no [08:03:28.707] checking ucred.h usability... no [08:03:28.760] checking ucred.h presence... no [08:03:28.778] checking for ucred.h... no [08:03:28.781] checking xlocale.h usability... no [08:03:28.831] checking xlocale.h presence... no [08:03:28.850] checking for xlocale.h... no [08:03:28.853] checking zlib.h usability... yes [08:03:28.862] checking zlib.h presence... yes [08:03:28.881] checking for zlib.h... yes [08:03:28.882] checking for lz4... /usr/bin/lz4 [08:03:28.882] checking for zstd... /usr/bin/zstd [08:03:28.882] checking for openssl... /usr/bin/openssl [08:03:28.886] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [08:03:28.887] checking crtdefs.h usability... yes [08:03:28.894] checking crtdefs.h presence... yes [08:03:28.909] checking for crtdefs.h... yes [08:03:28.911] checking whether byte ordering is bigendian... no [08:03:28.980] checking for inline... inline [08:03:28.987] checking for printf format archetype... gnu_printf [08:03:28.994] checking for _Static_assert... yes [08:03:29.033] checking for typeof... typeof [08:03:29.040] checking for __builtin_types_compatible_p... yes [08:03:29.050] checking for __builtin_constant_p... yes [08:03:29.069] checking for __builtin_mul_overflow... yes [08:03:29.114] checking for __builtin_unreachable... yes [08:03:29.153] checking for computed goto support... yes [08:03:29.160] checking for struct tm.tm_zone... no [08:03:29.235] checking for union semun... no [08:03:29.267] checking for socklen_t... yes [08:03:30.411] checking for struct sockaddr.sa_len... no [08:03:32.527] checking for C/C++ restrict keyword... __restrict [08:03:32.540] checking for struct option... yes [08:03:32.584] checking whether assembler supports x86_64 popcntq... yes [08:03:32.591] checking size of off_t... 4 [08:03:32.794] 0 [08:03:32.794] checking for int timezone... yes [08:03:32.842] checking for backtrace_symbols... no [08:03:32.889] checking for copyfile... no [08:03:32.936] checking for copy_file_range... no [08:03:32.983] checking for elf_aux_info... no [08:03:33.031] checking for getauxval... no [08:03:33.079] checking for getifaddrs... no [08:03:33.126] checking for getpeerucred... no [08:03:33.173] checking for inet_pton... yes [08:03:33.220] checking for kqueue... no [08:03:33.270] checking for localeconv_l... no [08:03:33.318] checking for mbstowcs_l... no [08:03:33.366] checking for posix_fallocate... no [08:03:33.413] checking for ppoll... no [08:03:33.463] checking for pthread_is_threaded_np... no [08:03:33.510] checking for setproctitle... no [08:03:33.558] checking for setproctitle_fast... no [08:03:33.605] checking for strsignal... no [08:03:33.650] checking for syncfs... no [08:03:33.699] checking for sync_file_range... no [08:03:33.749] checking for uselocale... no [08:03:33.800] checking for wcstombs_l... no [08:03:33.846] checking for __builtin_bswap16... yes [08:03:33.892] checking for __builtin_bswap32... yes [08:03:33.937] checking for __builtin_bswap64... yes [08:03:33.985] checking for __builtin_clz... yes [08:03:34.035] checking for __builtin_ctz... yes [08:03:34.082] checking for __builtin_popcount... yes [08:03:34.129] checking for __builtin_frame_address... yes [08:03:34.177] checking for _LARGEFILE_SOURCE value needed for large files... no [08:03:34.229] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:03:34.261] checking for posix_fadvise... no [08:03:34.312] checking whether posix_fadvise is declared... no [08:03:34.356] checking whether fdatasync is declared... no [08:03:34.401] checking whether strlcat is declared... no [08:03:34.462] checking whether strlcpy is declared... no [08:03:34.523] checking whether strnlen is declared... yes [08:03:34.535] checking whether strsep is declared... no [08:03:34.595] checking whether timingsafe_bcmp is declared... no [08:03:34.655] checking whether preadv is declared... no [08:03:34.690] checking whether pwritev is declared... no [08:03:34.725] checking whether strchrnul is declared... no [08:03:34.765] checking whether memset_s is declared... no [08:03:34.804] checking whether F_FULLFSYNC is declared... no [08:03:34.843] checking for explicit_bzero... no [08:03:34.889] checking for getopt... yes [08:03:34.933] checking for getpeereid... no [08:03:34.980] checking for inet_aton... no [08:03:35.024] checking for mkdtemp... no [08:03:35.070] checking for strlcat... no [08:03:35.114] checking for strlcpy... no [08:03:35.158] checking for strnlen... yes [08:03:35.202] checking for strsep... no [08:03:35.245] checking for timingsafe_bcmp... no [08:03:35.288] checking for pthread_barrier_wait... yes [08:03:35.328] configure: On mingw32 we will use our strtof wrapper. [08:03:35.329] checking for getopt_long... yes [08:03:35.372] checking for syslog... no [08:03:35.416] checking for opterr... yes [08:03:35.462] checking for optreset... no [08:03:35.511] checking test program... cross-compiling [08:03:35.511] checking size of void *... 8 [08:03:35.763] checking size of size_t... 8 [08:03:36.015] checking size of long... 4 [08:03:36.217] checking size of long long... 8 [08:03:36.525] checking alignment of short... 2 [08:03:36.654] checking alignment of int... 4 [08:03:36.851] checking alignment of long... 4 [08:03:37.047] checking alignment of int64_t... 8 [08:03:37.305] checking alignment of double... 8 [08:03:37.606] checking for __int128... yes [08:03:37.653] checking for __int128 alignment bug... assuming ok [08:03:37.653] checking alignment of PG_INT128_TYPE... 16 [08:03:37.969] checking for builtin __sync char locking functions... yes [08:03:38.009] checking for builtin __sync int32 locking functions... yes [08:03:38.049] checking for builtin __sync int32 atomic operations... yes [08:03:38.089] checking for builtin __sync int64 atomic operations... yes [08:03:38.130] checking for builtin __atomic int32 atomic operations... yes [08:03:38.171] checking for builtin __atomic int64 atomic operations... yes [08:03:38.214] checking for __get_cpuid... yes [08:03:38.260] checking for __get_cpuid_count... yes [08:03:38.301] checking for __cpuid... no [08:03:38.673] checking for __cpuidex... no [08:03:39.087] checking for _xgetbv... yes [08:03:39.483] checking for _mm512_popcnt_epi64... yes [08:03:39.884] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:03:39.978] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:03:39.999] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:03:40.017] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:03:40.035] 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 [08:03:40.093] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:03:40.093] checking for _mm512_clmulepi64_epi128... yes [08:03:40.482] checking for vectorized CRC-32C... AVX-512 with runtime check [08:03:40.482] checking which random number source to use... Windows native [08:03:40.484] checking for xmllint... /usr/bin/xmllint [08:03:40.485] checking for xsltproc... /usr/bin/xsltproc [08:03:40.485] checking for fop... /usr/bin/fop [08:03:40.485] checking for dbtoepub... no [08:03:40.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:03:40.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:03:40.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:03:40.496] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:03:40.496] 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 [08:03:40.496] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:03:40.496] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:03:40.586] configure: creating ./config.status [08:03:40.662] config.status: creating GNUmakefile [08:03:40.676] config.status: creating src/Makefile.global [08:03:40.690] config.status: creating src/include/pg_config.h [08:03:40.702] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:03:40.717] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:03:40.725] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:03:40.733] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:03:40.741] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:03:40.749] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:03:40.753] config.status: executing check_win32_symlinks commands [08:03:40.787] [08:03:40.787] real 0m15.744s [08:03:40.787] user 0m10.681s [08:03:40.787] sys 0m4.721s [08:03:40.787] make -s -j${BUILD_JOBS} clean [08:03:41.301] time make -s -j${BUILD_JOBS} world-bin [08:05:17.655] common.c: In function ‘badFileStream’: [08:05:17.655] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [08:05:17.655] 51 | bool bad; [08:05:17.655] | ^~~ [08:05:17.655] cc1: all warnings being treated as errors [08:05:17.656] make[3]: *** [: common.o] Error 1 [08:05:17.656] make[3]: *** Waiting for unfinished jobs.... [08:05:18.714] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [08:05:18.715] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [08:05:18.715] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:05:18.715] [08:05:18.715] real 1m37.414s [08:05:18.715] user 4m52.125s [08:05:18.715] sys 1m4.491s [08:05:18.715] [08:05:18.715] Exit status: 2