[08:05:07.348] time ./configure \ [08:05:07.348] --host=x86_64-w64-mingw32 \ [08:05:07.348] --enable-cassert \ [08:05:07.348] --without-icu \ [08:05:07.348] CC="ccache x86_64-w64-mingw32-gcc" \ [08:05:07.348] CXX="ccache x86_64-w64-mingw32-g++" [08:05:07.461] checking build system type... x86_64-pc-linux-gnu [08:05:07.657] checking host system type... x86_64-w64-mingw32 [08:05:07.662] checking which template to use... win32 [08:05:07.663] checking whether NLS is wanted... no [08:05:07.663] checking for default port number... 5432 [08:05:07.669] checking for block size... 8kB [08:05:07.670] checking for segment size... 1GB [08:05:07.672] checking for WAL block size... 8kB [08:05:07.674] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:05:07.704] checking whether the C compiler works... yes [08:05:07.827] checking for C compiler default output file name... a.exe [08:05:07.828] checking for suffix of executables... .exe [08:05:07.868] checking whether we are cross compiling... yes [08:05:07.944] checking for suffix of object files... o [08:05:07.952] checking whether we are using the GNU C compiler... yes [08:05:07.959] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:05:07.965] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:05:07.974] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:05:08.029] checking whether we are using the GNU C++ compiler... yes [08:05:08.036] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:05:08.099] checking for gawk... no [08:05:08.099] checking for mawk... mawk [08:05:08.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:05:08.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:05:08.114] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:05:08.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:05:08.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:05:08.340] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:05:08.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:05:08.353] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:05:08.359] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:05:08.366] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:05:08.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:05:08.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:05:08.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:05:08.391] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:05:08.398] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:05:08.404] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:05:08.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:05:08.446] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:05:08.453] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:05:08.459] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:05:08.466] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:05:08.473] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:05:08.479] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:05:08.502] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:05:08.508] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:05:08.515] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:05:08.551] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:05:08.588] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:05:08.594] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:05:08.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:05:08.634] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:05:08.640] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:05:08.648] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:05:08.655] checking whether the C compiler still works... yes [08:05:08.715] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:05:08.778] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:05:08.779] checking pkg-config is at least version 0.9.0... yes [08:05:08.794] checking whether to build with ICU support... no [08:05:08.794] checking whether to build with Tcl... no [08:05:08.795] checking whether to build Perl modules... no [08:05:08.795] checking whether to build Python modules... no [08:05:08.795] checking whether to build with GSSAPI support... no [08:05:08.796] checking whether to build with PAM support... no [08:05:08.796] checking whether to build with BSD Authentication support... no [08:05:08.796] checking whether to build with LDAP support... no [08:05:08.796] checking whether to build with Bonjour support... no [08:05:08.796] checking whether to build with SELinux support... no [08:05:08.796] checking whether to build with systemd support... no [08:05:08.796] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:05:08.796] checking whether to build with liburing support... no [08:05:08.797] checking whether to build with libcurl support... no [08:05:08.797] checking whether to build with libnuma support... no [08:05:08.797] checking whether to build with XML support... no [08:05:08.797] checking whether to build with LZ4 support... no [08:05:08.798] checking whether to build with ZSTD support... no [08:05:08.798] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:05:08.798] checking whether it is possible to strip libraries... yes [08:05:08.805] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:05:08.806] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:05:08.806] checking for a BSD-compatible install... /usr/bin/install -c [08:05:08.814] checking for tar... /usr/bin/tar [08:05:08.814] checking whether ln -s works... yes [08:05:08.814] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:05:08.816] checking for bison... /usr/bin/bison [08:05:08.818] configure: using bison (GNU Bison) 3.8.2 [08:05:08.821] checking for flex... /usr/bin/flex [08:05:08.823] configure: using flex 2.6.4 [08:05:08.823] checking for perl... /usr/bin/perl [08:05:08.825] configure: using perl 5.36.0 [08:05:08.827] checking for zic... /usr/sbin/zic [08:05:08.827] checking for a sed that does not truncate output... /usr/bin/sed [08:05:08.832] checking for grep that handles long lines and -e... /usr/bin/grep [08:05:08.834] checking for egrep... /usr/bin/grep -E [08:05:08.835] checking for ANSI C header files... yes [08:05:08.879] checking for sys/types.h... yes [08:05:08.894] checking for sys/stat.h... yes [08:05:08.907] checking for stdlib.h... yes [08:05:08.920] checking for string.h... yes [08:05:08.933] checking for memory.h... yes [08:05:08.946] checking for strings.h... yes [08:05:08.959] checking for inttypes.h... yes [08:05:08.973] checking for stdint.h... yes [08:05:08.986] checking for unistd.h... yes [08:05:09.000] checking for main in -lm... yes [08:05:09.047] checking for library containing setproctitle... no [08:05:09.132] checking for library containing dlsym... no [08:05:09.211] checking for library containing socket... -lws2_32 [08:05:09.336] checking for library containing getopt_long... none required [08:05:09.381] checking for library containing shm_open... no [08:05:09.464] checking for library containing shm_unlink... no [08:05:09.545] checking for library containing clock_gettime... no [08:05:09.628] checking for library containing shmget... no [08:05:09.712] checking for library containing backtrace_symbols... no [08:05:09.796] checking for library containing pthread_barrier_wait... -lpthread [08:05:09.882] checking for inflate in -lz... yes [08:05:09.929] checking atomic.h usability... no [08:05:09.987] checking atomic.h presence... no [08:05:10.005] checking for atomic.h... no [08:05:10.009] checking copyfile.h usability... no [08:05:10.061] checking copyfile.h presence... no [08:05:10.078] checking for copyfile.h... no [08:05:10.081] checking execinfo.h usability... no [08:05:10.132] checking execinfo.h presence... no [08:05:10.150] checking for execinfo.h... no [08:05:10.153] checking getopt.h usability... yes [08:05:10.161] checking getopt.h presence... yes [08:05:10.174] checking for getopt.h... yes [08:05:10.182] checking ifaddrs.h usability... no [08:05:10.235] checking ifaddrs.h presence... no [08:05:10.254] checking for ifaddrs.h... no [08:05:10.257] checking mbarrier.h usability... no [08:05:10.310] checking mbarrier.h presence... no [08:05:10.328] checking for mbarrier.h... no [08:05:10.331] checking sys/epoll.h usability... no [08:05:10.384] checking sys/epoll.h presence... no [08:05:10.402] checking for sys/epoll.h... no [08:05:10.405] checking sys/event.h usability... no [08:05:10.459] checking sys/event.h presence... no [08:05:10.477] checking for sys/event.h... no [08:05:10.480] checking sys/personality.h usability... no [08:05:10.534] checking sys/personality.h presence... no [08:05:10.552] checking for sys/personality.h... no [08:05:10.556] checking sys/prctl.h usability... no [08:05:10.608] checking sys/prctl.h presence... no [08:05:10.625] checking for sys/prctl.h... no [08:05:10.628] checking sys/procctl.h usability... no [08:05:10.680] checking sys/procctl.h presence... no [08:05:10.698] checking for sys/procctl.h... no [08:05:10.701] checking sys/signalfd.h usability... no [08:05:10.753] checking sys/signalfd.h presence... no [08:05:10.770] checking for sys/signalfd.h... no [08:05:10.773] checking sys/ucred.h usability... no [08:05:10.827] checking sys/ucred.h presence... no [08:05:10.845] checking for sys/ucred.h... no [08:05:10.848] checking termios.h usability... no [08:05:10.900] checking termios.h presence... no [08:05:10.917] checking for termios.h... no [08:05:10.920] checking ucred.h usability... no [08:05:10.972] checking ucred.h presence... no [08:05:10.991] checking for ucred.h... no [08:05:10.994] checking xlocale.h usability... no [08:05:11.050] checking xlocale.h presence... no [08:05:11.069] checking for xlocale.h... no [08:05:11.072] checking zlib.h usability... yes [08:05:11.083] checking zlib.h presence... yes [08:05:11.103] checking for zlib.h... yes [08:05:11.103] checking for lz4... /usr/bin/lz4 [08:05:11.103] checking for zstd... /usr/bin/zstd [08:05:11.103] checking for openssl... /usr/bin/openssl [08:05:11.108] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [08:05:11.108] checking crtdefs.h usability... yes [08:05:11.116] checking crtdefs.h presence... yes [08:05:11.130] checking for crtdefs.h... yes [08:05:11.132] checking whether byte ordering is bigendian... no [08:05:11.204] checking for inline... inline [08:05:11.211] checking for printf format archetype... gnu_printf [08:05:11.220] checking for _Static_assert... yes [08:05:11.261] checking for typeof... typeof [08:05:11.268] checking for __builtin_types_compatible_p... yes [08:05:11.279] checking for __builtin_constant_p... yes [08:05:11.290] checking for __builtin_mul_overflow... yes [08:05:11.336] checking for __builtin_unreachable... yes [08:05:11.377] checking for computed goto support... yes [08:05:11.384] checking for struct tm.tm_zone... no [08:05:11.459] checking for union semun... no [08:05:11.492] checking for socklen_t... yes [08:05:12.609] checking for struct sockaddr.sa_len... no [08:05:14.573] checking for C/C++ restrict keyword... __restrict [08:05:14.586] checking for struct option... yes [08:05:14.627] checking whether assembler supports x86_64 popcntq... yes [08:05:14.634] checking size of off_t... 4 [08:05:14.828] 0 [08:05:14.828] checking for int timezone... yes [08:05:14.877] checking for backtrace_symbols... no [08:05:14.924] checking for copyfile... no [08:05:14.971] checking for copy_file_range... no [08:05:15.018] checking for elf_aux_info... no [08:05:15.067] checking for getauxval... no [08:05:15.115] checking for getifaddrs... no [08:05:15.164] checking for getpeerucred... no [08:05:15.212] checking for inet_pton... yes [08:05:15.259] checking for kqueue... no [08:05:15.306] checking for localeconv_l... no [08:05:15.352] checking for mbstowcs_l... no [08:05:15.399] checking for memset_s... no [08:05:15.447] checking for posix_fallocate... no [08:05:15.496] checking for ppoll... no [08:05:15.543] checking for pthread_is_threaded_np... no [08:05:15.590] checking for setproctitle... no [08:05:15.637] checking for setproctitle_fast... no [08:05:15.684] checking for strsignal... no [08:05:15.731] checking for syncfs... no [08:05:15.778] checking for sync_file_range... no [08:05:15.824] checking for uselocale... no [08:05:15.871] checking for wcstombs_l... no [08:05:15.915] checking for __builtin_bswap16... yes [08:05:15.960] checking for __builtin_bswap32... yes [08:05:16.005] checking for __builtin_bswap64... yes [08:05:16.050] checking for __builtin_clz... yes [08:05:16.096] checking for __builtin_ctz... yes [08:05:16.141] checking for __builtin_popcount... yes [08:05:16.187] checking for __builtin_frame_address... yes [08:05:16.232] checking for _LARGEFILE_SOURCE value needed for large files... no [08:05:16.281] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:05:16.310] checking for posix_fadvise... no [08:05:16.357] checking whether posix_fadvise is declared... no [08:05:16.401] checking whether fdatasync is declared... no [08:05:16.443] checking whether strlcat is declared... no [08:05:16.502] checking whether strlcpy is declared... no [08:05:16.563] checking whether strnlen is declared... yes [08:05:16.576] checking whether strsep is declared... no [08:05:16.638] checking whether timingsafe_bcmp is declared... no [08:05:16.700] checking whether preadv is declared... no [08:05:16.735] checking whether pwritev is declared... no [08:05:16.771] checking whether strchrnul is declared... no [08:05:16.811] checking whether F_FULLFSYNC is declared... no [08:05:16.848] checking for explicit_bzero... no [08:05:16.893] checking for getopt... yes [08:05:16.934] checking for getpeereid... no [08:05:16.979] checking for inet_aton... no [08:05:17.023] checking for mkdtemp... no [08:05:17.069] checking for strlcat... no [08:05:17.113] checking for strlcpy... no [08:05:17.158] checking for strnlen... yes [08:05:17.203] checking for strsep... no [08:05:17.248] checking for timingsafe_bcmp... no [08:05:17.293] checking for pthread_barrier_wait... yes [08:05:17.335] configure: On mingw32 we will use our strtof wrapper. [08:05:17.335] checking for getopt_long... yes [08:05:17.378] checking for syslog... no [08:05:17.424] checking for opterr... yes [08:05:17.470] checking for optreset... no [08:05:17.518] checking test program... cross-compiling [08:05:17.518] checking size of void *... 8 [08:05:17.773] checking size of size_t... 8 [08:05:18.029] checking size of long... 4 [08:05:18.236] checking size of long long... 8 [08:05:18.506] checking alignment of short... 2 [08:05:18.644] checking alignment of int... 4 [08:05:18.853] checking alignment of long... 4 [08:05:19.055] checking alignment of int64_t... 8 [08:05:19.311] checking alignment of double... 8 [08:05:19.563] checking for __int128... yes [08:05:19.611] checking for __int128 alignment bug... assuming ok [08:05:19.611] checking alignment of PG_INT128_TYPE... 16 [08:05:19.924] checking for builtin __sync char locking functions... yes [08:05:19.963] checking for builtin __sync int32 locking functions... yes [08:05:20.004] checking for builtin __sync int32 atomic operations... yes [08:05:20.045] checking for builtin __sync int64 atomic operations... yes [08:05:20.087] checking for builtin __atomic int32 atomic operations... yes [08:05:20.128] checking for builtin __atomic int64 atomic operations... yes [08:05:20.171] checking for __get_cpuid... yes [08:05:20.216] checking for __get_cpuid_count... yes [08:05:20.259] checking for __cpuid... no [08:05:20.650] checking for __cpuidex... no [08:05:21.059] checking for _xgetbv... yes [08:05:21.452] checking for _mm512_popcnt_epi64... yes [08:05:21.860] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:05:21.956] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:05:21.977] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:05:21.993] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:05:22.010] 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:05:22.063] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:05:22.063] checking for _mm512_clmulepi64_epi128... yes [08:05:22.467] checking for vectorized CRC-32C... AVX-512 with runtime check [08:05:22.468] checking which random number source to use... Windows native [08:05:22.470] checking for xmllint... /usr/bin/xmllint [08:05:22.470] checking for xsltproc... /usr/bin/xsltproc [08:05:22.470] checking for fop... /usr/bin/fop [08:05:22.470] checking for dbtoepub... no [08:05:22.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:05:22.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:05:22.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:05:22.481] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:05:22.481] 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:05:22.481] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:05:22.481] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:05:22.569] configure: creating ./config.status [08:05:22.653] config.status: creating GNUmakefile [08:05:22.665] config.status: creating src/Makefile.global [08:05:22.680] config.status: creating src/include/pg_config.h [08:05:22.692] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:05:22.707] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:05:22.714] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:05:22.721] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:05:22.728] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:05:22.735] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:05:22.738] config.status: executing check_win32_symlinks commands [08:05:22.771] [08:05:22.771] real 0m15.422s [08:05:22.771] user 0m10.082s [08:05:22.771] sys 0m4.998s [08:05:22.771] make -s -j${BUILD_JOBS} clean [08:05:23.285] time make -s -j${BUILD_JOBS} world-bin [08:05:35.667] common.c: In function ‘badFileStream’: [08:05:35.667] common.c:51:25: error: unused variable ‘bad’ [-Werror=unused-variable] [08:05:35.667] 51 | bool bad; [08:05:35.667] | ^~~ [08:05:35.667] cc1: all warnings being treated as errors [08:05:35.667] make[3]: *** [: common.o] Error 1 [08:05:35.667] make[3]: *** Waiting for unfinished jobs.... [08:05:36.989] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [08:05:36.989] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [08:05:36.989] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:05:36.989] [08:05:36.989] real 0m13.704s [08:05:36.989] user 0m24.815s [08:05:36.989] sys 0m12.288s [08:05:36.990] [08:05:36.990] Exit status: 2