[10:39:08.307] time ./configure \ [10:39:08.307] --host=x86_64-w64-mingw32 \ [10:39:08.307] --enable-cassert \ [10:39:08.307] --without-icu \ [10:39:08.307] CC="ccache x86_64-w64-mingw32-gcc" \ [10:39:08.307] CXX="ccache x86_64-w64-mingw32-g++" [10:39:08.432] checking build system type... x86_64-pc-linux-gnu [10:39:08.634] checking host system type... x86_64-w64-mingw32 [10:39:08.641] checking which template to use... win32 [10:39:08.641] checking whether NLS is wanted... no [10:39:08.641] checking for default port number... 5432 [10:39:08.649] checking for block size... 8kB [10:39:08.650] checking for segment size... 1GB [10:39:08.653] checking for WAL block size... 8kB [10:39:08.655] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:39:08.692] checking whether the C compiler works... yes [10:39:08.834] checking for C compiler default output file name... a.exe [10:39:08.835] checking for suffix of executables... .exe [10:39:08.878] checking whether we are cross compiling... yes [10:39:08.958] checking for suffix of object files... o [10:39:08.967] checking whether we are using the GNU C compiler... yes [10:39:08.974] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:39:08.982] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:39:08.993] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:39:09.057] checking whether we are using the GNU C++ compiler... yes [10:39:09.065] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:39:09.140] checking for gawk... no [10:39:09.140] checking for mawk... mawk [10:39:09.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:39:09.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:39:09.158] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:39:09.208] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:39:09.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:39:09.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:39:09.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:39:09.393] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:39:09.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:39:09.408] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:39:09.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:39:09.423] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:39:09.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:39:09.437] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:39:09.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:39:09.452] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:39:09.459] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:39:09.498] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:39:09.506] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:39:09.513] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:39:09.520] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:39:09.528] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:39:09.535] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:39:09.560] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:39:09.568] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:39:09.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:39:09.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:39:09.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:39:09.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:39:09.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:39:09.702] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:39:09.710] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:39:09.717] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:39:09.725] checking whether the C compiler still works... yes [10:39:09.794] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:39:09.873] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:39:09.873] checking pkg-config is at least version 0.9.0... yes [10:39:09.889] checking whether to build with ICU support... no [10:39:09.890] checking whether to build with Tcl... no [10:39:09.890] checking whether to build Perl modules... no [10:39:09.890] checking whether to build Python modules... no [10:39:09.890] checking whether to build with GSSAPI support... no [10:39:09.891] checking whether to build with PAM support... no [10:39:09.891] checking whether to build with BSD Authentication support... no [10:39:09.892] checking whether to build with LDAP support... no [10:39:09.892] checking whether to build with Bonjour support... no [10:39:09.892] checking whether to build with SELinux support... no [10:39:09.892] checking whether to build with systemd support... no [10:39:09.892] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:39:09.892] checking whether to build with liburing support... no [10:39:09.892] checking whether to build with libcurl support... no [10:39:09.892] checking whether to build with libnuma support... no [10:39:09.893] checking whether to build with XML support... no [10:39:09.893] checking whether to build with LZ4 support... no [10:39:09.893] checking whether to build with ZSTD support... no [10:39:09.894] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:39:09.894] checking whether it is possible to strip libraries... yes [10:39:09.901] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:39:09.902] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:39:09.902] checking for a BSD-compatible install... /usr/bin/install -c [10:39:09.912] checking for tar... /usr/bin/tar [10:39:09.912] checking whether ln -s works... yes [10:39:09.912] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:39:09.915] checking for bison... /usr/bin/bison [10:39:09.917] configure: using bison (GNU Bison) 3.8.2 [10:39:09.920] checking for flex... /usr/bin/flex [10:39:09.922] configure: using flex 2.6.4 [10:39:09.922] checking for perl... /usr/bin/perl [10:39:09.925] configure: using perl 5.36.0 [10:39:09.928] checking for zic... /usr/sbin/zic [10:39:09.928] checking for a sed that does not truncate output... /usr/bin/sed [10:39:09.933] checking for grep that handles long lines and -e... /usr/bin/grep [10:39:09.935] checking for egrep... /usr/bin/grep -E [10:39:09.937] checking for ANSI C header files... yes [10:39:09.990] checking for sys/types.h... yes [10:39:10.008] checking for sys/stat.h... yes [10:39:10.025] checking for stdlib.h... yes [10:39:10.041] checking for string.h... yes [10:39:10.055] checking for memory.h... yes [10:39:10.071] checking for strings.h... yes [10:39:10.087] checking for inttypes.h... yes [10:39:10.104] checking for stdint.h... yes [10:39:10.118] checking for unistd.h... yes [10:39:10.133] checking for main in -lm... yes [10:39:10.182] checking for library containing setproctitle... no [10:39:10.272] checking for library containing dlsym... no [10:39:10.363] checking for library containing socket... -lws2_32 [10:39:10.497] checking for library containing getopt_long... none required [10:39:10.545] checking for library containing shm_open... no [10:39:10.649] checking for library containing shm_unlink... no [10:39:10.742] checking for library containing clock_gettime... no [10:39:10.838] checking for library containing shmget... no [10:39:10.934] checking for library containing backtrace_symbols... no [10:39:11.030] checking for library containing pthread_barrier_wait... -lpthread [10:39:11.125] checking for inflate in -lz... yes [10:39:11.179] checking atomic.h usability... no [10:39:11.243] checking atomic.h presence... no [10:39:11.264] checking for atomic.h... no [10:39:11.268] checking copyfile.h usability... no [10:39:11.327] checking copyfile.h presence... no [10:39:11.347] checking for copyfile.h... no [10:39:11.351] checking execinfo.h usability... no [10:39:11.406] checking execinfo.h presence... no [10:39:11.426] checking for execinfo.h... no [10:39:11.430] checking getopt.h usability... yes [10:39:11.438] checking getopt.h presence... yes [10:39:11.453] checking for getopt.h... yes [10:39:11.461] checking ifaddrs.h usability... no [10:39:11.521] checking ifaddrs.h presence... no [10:39:11.542] checking for ifaddrs.h... no [10:39:11.546] checking mbarrier.h usability... no [10:39:11.605] checking mbarrier.h presence... no [10:39:11.625] checking for mbarrier.h... no [10:39:11.629] checking sys/epoll.h usability... no [10:39:11.687] checking sys/epoll.h presence... no [10:39:11.708] checking for sys/epoll.h... no [10:39:11.711] checking sys/event.h usability... no [10:39:11.769] checking sys/event.h presence... no [10:39:11.789] checking for sys/event.h... no [10:39:11.793] checking sys/personality.h usability... no [10:39:11.853] checking sys/personality.h presence... no [10:39:11.873] checking for sys/personality.h... no [10:39:11.877] checking sys/prctl.h usability... no [10:39:11.936] checking sys/prctl.h presence... no [10:39:11.956] checking for sys/prctl.h... no [10:39:11.959] checking sys/procctl.h usability... no [10:39:12.016] checking sys/procctl.h presence... no [10:39:12.035] checking for sys/procctl.h... no [10:39:12.039] checking sys/signalfd.h usability... no [10:39:12.094] checking sys/signalfd.h presence... no [10:39:12.115] checking for sys/signalfd.h... no [10:39:12.118] checking sys/ucred.h usability... no [10:39:12.176] checking sys/ucred.h presence... no [10:39:12.196] checking for sys/ucred.h... no [10:39:12.200] checking termios.h usability... no [10:39:12.258] checking termios.h presence... no [10:39:12.278] checking for termios.h... no [10:39:12.281] checking ucred.h usability... no [10:39:12.339] checking ucred.h presence... no [10:39:12.359] checking for ucred.h... no [10:39:12.362] checking xlocale.h usability... no [10:39:12.419] checking xlocale.h presence... no [10:39:12.439] checking for xlocale.h... no [10:39:12.441] checking zlib.h usability... yes [10:39:12.451] checking zlib.h presence... yes [10:39:12.471] checking for zlib.h... yes [10:39:12.471] checking for lz4... /usr/bin/lz4 [10:39:12.471] checking for zstd... /usr/bin/zstd [10:39:12.471] checking for openssl... /usr/bin/openssl [10:39:12.476] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [10:39:12.477] checking crtdefs.h usability... yes [10:39:12.485] checking crtdefs.h presence... yes [10:39:12.501] checking for crtdefs.h... yes [10:39:12.502] checking whether byte ordering is bigendian... no [10:39:12.580] checking for inline... inline [10:39:12.588] checking for printf format archetype... gnu_printf [10:39:12.597] checking for _Static_assert... yes [10:39:12.642] checking for typeof... typeof [10:39:12.650] checking for __builtin_types_compatible_p... yes [10:39:12.663] checking for __builtin_constant_p... yes [10:39:12.675] checking for __builtin_mul_overflow... yes [10:39:12.726] checking for __builtin_unreachable... yes [10:39:12.770] checking for computed goto support... yes [10:39:12.779] checking for struct tm.tm_zone... no [10:39:12.864] checking for union semun... no [10:39:12.902] checking for socklen_t... yes [10:39:14.109] checking for struct sockaddr.sa_len... no [10:39:16.280] checking for C/C++ restrict keyword... __restrict [10:39:16.295] checking for struct option... yes [10:39:16.339] checking whether assembler supports x86_64 popcntq... yes [10:39:16.347] checking size of off_t... 4 [10:39:16.563] 0 [10:39:16.563] checking for int timezone... yes [10:39:16.620] checking for backtrace_symbols... no [10:39:16.674] checking for copyfile... no [10:39:16.729] checking for copy_file_range... no [10:39:16.782] checking for elf_aux_info... no [10:39:16.837] checking for getauxval... no [10:39:16.893] checking for getifaddrs... no [10:39:16.948] checking for getpeerucred... no [10:39:17.003] checking for inet_pton... yes [10:39:17.056] checking for kqueue... no [10:39:17.108] checking for localeconv_l... no [10:39:17.160] checking for mbstowcs_l... no [10:39:17.213] checking for memset_s... no [10:39:17.268] checking for posix_fallocate... no [10:39:17.320] checking for ppoll... no [10:39:17.371] checking for pthread_is_threaded_np... no [10:39:17.421] checking for setproctitle... no [10:39:17.472] checking for setproctitle_fast... no [10:39:17.526] checking for strsignal... no [10:39:17.579] checking for syncfs... no [10:39:17.631] checking for sync_file_range... no [10:39:17.684] checking for uselocale... no [10:39:17.735] checking for wcstombs_l... no [10:39:17.783] checking for __builtin_bswap16... yes [10:39:17.834] checking for __builtin_bswap32... yes [10:39:17.883] checking for __builtin_bswap64... yes [10:39:17.934] checking for __builtin_clz... yes [10:39:17.988] checking for __builtin_ctz... yes [10:39:18.038] checking for __builtin_popcount... yes [10:39:18.085] checking for __builtin_frame_address... yes [10:39:18.135] checking for _LARGEFILE_SOURCE value needed for large files... no [10:39:18.189] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:39:18.223] checking for posix_fadvise... no [10:39:18.278] checking whether posix_fadvise is declared... no [10:39:18.325] checking whether fdatasync is declared... no [10:39:18.375] checking whether strlcat is declared... no [10:39:18.439] checking whether strlcpy is declared... no [10:39:18.503] checking whether strnlen is declared... yes [10:39:18.518] checking whether strsep is declared... no [10:39:18.586] checking whether timingsafe_bcmp is declared... no [10:39:18.651] checking whether preadv is declared... no [10:39:18.687] checking whether pwritev is declared... no [10:39:18.724] checking whether strchrnul is declared... no [10:39:18.771] checking whether F_FULLFSYNC is declared... no [10:39:18.815] checking for explicit_bzero... no [10:39:18.863] checking for getopt... yes [10:39:18.909] checking for getpeereid... no [10:39:18.959] checking for inet_aton... no [10:39:19.012] checking for mkdtemp... no [10:39:19.064] checking for strlcat... no [10:39:19.114] checking for strlcpy... no [10:39:19.164] checking for strnlen... yes [10:39:19.215] checking for strsep... no [10:39:19.266] checking for timingsafe_bcmp... no [10:39:19.318] checking for pthread_barrier_wait... yes [10:39:19.364] configure: On mingw32 we will use our strtof wrapper. [10:39:19.364] checking for getopt_long... yes [10:39:19.412] checking for syslog... no [10:39:19.462] checking for opterr... yes [10:39:19.513] checking for optreset... no [10:39:19.567] checking test program... cross-compiling [10:39:19.567] checking size of void *... 8 [10:39:19.848] checking size of size_t... 8 [10:39:20.136] checking size of long... 4 [10:39:20.350] checking size of long long... 8 [10:39:20.634] checking alignment of short... 2 [10:39:20.781] checking alignment of int... 4 [10:39:21.003] checking alignment of long... 4 [10:39:21.221] checking alignment of int64_t... 8 [10:39:21.514] checking alignment of double... 8 [10:39:21.798] checking for __int128... yes [10:39:21.849] checking for __int128 alignment bug... assuming ok [10:39:21.849] checking alignment of PG_INT128_TYPE... 16 [10:39:22.202] checking for builtin __sync char locking functions... yes [10:39:22.246] checking for builtin __sync int32 locking functions... yes [10:39:22.291] checking for builtin __sync int32 atomic operations... yes [10:39:22.335] checking for builtin __sync int64 atomic operations... yes [10:39:22.382] checking for builtin __atomic int32 atomic operations... yes [10:39:22.426] checking for builtin __atomic int64 atomic operations... yes [10:39:22.473] checking for __get_cpuid... yes [10:39:22.522] checking for __get_cpuid_count... yes [10:39:22.568] checking for __cpuid... no [10:39:22.973] checking for __cpuidex... no [10:39:23.402] checking for _xgetbv... yes [10:39:23.812] checking for _mm512_popcnt_epi64... yes [10:39:24.234] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:39:24.340] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:39:24.364] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:39:24.385] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:39:24.405] 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:39:24.464] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:39:24.464] checking for _mm512_clmulepi64_epi128... yes [10:39:24.878] checking for vectorized CRC-32C... AVX-512 with runtime check [10:39:24.879] checking which random number source to use... Windows native [10:39:24.880] checking for xmllint... /usr/bin/xmllint [10:39:24.881] checking for xsltproc... /usr/bin/xsltproc [10:39:24.881] checking for fop... /usr/bin/fop [10:39:24.881] checking for dbtoepub... no [10:39:24.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:39:24.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:39:24.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:39:24.892] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:39:24.892] 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:39:24.892] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:39:24.893] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:39:24.976] configure: creating ./config.status [10:39:25.058] config.status: creating GNUmakefile [10:39:25.070] config.status: creating src/Makefile.global [10:39:25.087] config.status: creating src/include/pg_config.h [10:39:25.101] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:39:25.119] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:39:25.127] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:39:25.135] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:39:25.143] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:39:25.151] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:39:25.155] config.status: executing check_win32_symlinks commands [10:39:25.193] [10:39:25.193] real 0m16.886s [10:39:25.193] user 0m11.188s [10:39:25.193] sys 0m5.370s [10:39:25.193] make -s -j${BUILD_JOBS} clean [10:39:25.735] time make -s -j${BUILD_JOBS} world-bin [10:39:36.272] common.c: In function ‘badFileStream’: [10:39:36.272] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [10:39:36.272] 51 | bool bad; [10:39:36.272] | ^~~ [10:39:36.272] cc1: all warnings being treated as errors [10:39:36.273] make[3]: *** [: common.o] Error 1 [10:39:36.273] make[3]: *** Waiting for unfinished jobs.... [10:39:37.614] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [10:39:37.614] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [10:39:37.615] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:39:37.615] [10:39:37.615] real 0m11.880s [10:39:37.615] user 0m19.373s [10:39:37.615] sys 0m11.551s [10:39:37.615] [10:39:37.615] Exit status: 2