[21:05:04.154] time ./configure \ [21:05:04.154] --host=x86_64-w64-mingw32 \ [21:05:04.154] --enable-cassert \ [21:05:04.154] --without-icu \ [21:05:04.154] CC="ccache x86_64-w64-mingw32-gcc" \ [21:05:04.154] CXX="ccache x86_64-w64-mingw32-g++" [21:05:04.262] checking build system type... x86_64-pc-linux-gnu [21:05:04.434] checking host system type... x86_64-w64-mingw32 [21:05:04.439] checking which template to use... win32 [21:05:04.439] checking whether NLS is wanted... no [21:05:04.439] checking for default port number... 5432 [21:05:04.445] checking for block size... 8kB [21:05:04.446] checking for segment size... 1GB [21:05:04.448] checking for WAL block size... 8kB [21:05:04.450] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:05:04.482] checking whether the C compiler works... yes [21:05:04.612] checking for C compiler default output file name... a.exe [21:05:04.614] checking for suffix of executables... .exe [21:05:04.652] checking whether we are cross compiling... yes [21:05:04.722] checking for suffix of object files... o [21:05:04.730] checking whether we are using the GNU C compiler... yes [21:05:04.737] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:05:04.743] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:05:04.768] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:05:04.823] checking whether we are using the GNU C++ compiler... yes [21:05:04.829] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:05:04.890] checking for gawk... no [21:05:04.891] checking for mawk... mawk [21:05:04.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:05:04.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:05:04.905] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:05:04.949] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:05:05.091] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:05:05.098] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:05:05.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:05:05.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:05:05.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:05:05.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:05:05.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:05:05.160] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:05:05.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:05:05.173] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:05:05.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:05:05.186] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:05:05.192] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:05:05.228] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:05:05.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:05:05.249] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:05:05.255] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:05:05.261] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:05:05.268] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:05:05.289] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:05:05.296] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:05:05.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:05:05.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:05:05.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:05:05.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:05:05.389] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:05:05.422] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:05:05.428] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:05:05.435] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:05:05.506] checking whether the C compiler still works... yes [21:05:05.565] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:05:05.633] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:05:05.633] checking pkg-config is at least version 0.9.0... yes [21:05:05.648] checking whether to build with ICU support... no [21:05:05.648] checking whether to build with Tcl... no [21:05:05.648] checking whether to build Perl modules... no [21:05:05.648] checking whether to build Python modules... no [21:05:05.649] checking whether to build with GSSAPI support... no [21:05:05.650] checking whether to build with PAM support... no [21:05:05.650] checking whether to build with BSD Authentication support... no [21:05:05.650] checking whether to build with LDAP support... no [21:05:05.650] checking whether to build with Bonjour support... no [21:05:05.650] checking whether to build with SELinux support... no [21:05:05.650] checking whether to build with systemd support... no [21:05:05.650] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:05:05.650] checking whether to build with libcurl support... no [21:05:05.650] checking whether to build with XML support... no [21:05:05.651] checking whether to build with LZ4 support... no [21:05:05.651] checking whether to build with ZSTD support... no [21:05:05.651] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:05:05.651] checking whether it is possible to strip libraries... yes [21:05:05.658] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:05:05.658] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:05:05.658] checking for a BSD-compatible install... /usr/bin/install -c [21:05:05.667] checking for tar... /usr/bin/tar [21:05:05.667] checking whether ln -s works... yes [21:05:05.667] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:05:05.669] checking for bison... /usr/bin/bison [21:05:05.671] configure: using bison (GNU Bison) 3.8.2 [21:05:05.674] checking for flex... /usr/bin/flex [21:05:05.676] configure: using flex 2.6.4 [21:05:05.676] checking for perl... /usr/bin/perl [21:05:05.679] configure: using perl 5.36.0 [21:05:05.681] checking for zic... /usr/sbin/zic [21:05:05.681] checking for a sed that does not truncate output... /usr/bin/sed [21:05:05.685] checking for grep that handles long lines and -e... /usr/bin/grep [21:05:05.688] checking for egrep... /usr/bin/grep -E [21:05:05.689] checking for ANSI C header files... yes [21:05:05.771] checking for sys/types.h... yes [21:05:05.787] checking for sys/stat.h... yes [21:05:05.803] checking for stdlib.h... yes [21:05:05.817] checking for string.h... yes [21:05:05.830] checking for memory.h... yes [21:05:05.844] checking for strings.h... yes [21:05:05.858] checking for inttypes.h... yes [21:05:05.873] checking for stdint.h... yes [21:05:05.887] checking for unistd.h... yes [21:05:05.902] checking for main in -lm... yes [21:05:05.946] checking for library containing setproctitle... no [21:05:06.030] checking for library containing dlsym... no [21:05:06.109] checking for library containing socket... -lws2_32 [21:05:06.231] checking for library containing getopt_long... none required [21:05:06.273] checking for library containing shm_open... no [21:05:06.354] checking for library containing shm_unlink... no [21:05:06.435] checking for library containing clock_gettime... no [21:05:06.518] checking for library containing shmget... no [21:05:06.601] checking for library containing backtrace_symbols... no [21:05:06.682] checking for library containing pthread_barrier_wait... -lpthread [21:05:06.767] checking for inflate in -lz... yes [21:05:06.812] checking atomic.h usability... no [21:05:06.865] checking atomic.h presence... no [21:05:06.883] checking for atomic.h... no [21:05:06.886] checking copyfile.h usability... no [21:05:06.936] checking copyfile.h presence... no [21:05:06.953] checking for copyfile.h... no [21:05:06.956] checking execinfo.h usability... no [21:05:07.009] checking execinfo.h presence... no [21:05:07.025] checking for execinfo.h... no [21:05:07.028] checking getopt.h usability... yes [21:05:07.035] checking getopt.h presence... yes [21:05:07.049] checking for getopt.h... yes [21:05:07.055] checking ifaddrs.h usability... no [21:05:07.106] checking ifaddrs.h presence... no [21:05:07.123] checking for ifaddrs.h... no [21:05:07.126] checking mbarrier.h usability... no [21:05:07.176] checking mbarrier.h presence... no [21:05:07.192] checking for mbarrier.h... no [21:05:07.195] checking sys/epoll.h usability... no [21:05:07.245] checking sys/epoll.h presence... no [21:05:07.263] checking for sys/epoll.h... no [21:05:07.266] checking sys/event.h usability... no [21:05:07.317] checking sys/event.h presence... no [21:05:07.334] checking for sys/event.h... no [21:05:07.337] checking sys/personality.h usability... no [21:05:07.388] checking sys/personality.h presence... no [21:05:07.406] checking for sys/personality.h... no [21:05:07.410] checking sys/prctl.h usability... no [21:05:07.460] checking sys/prctl.h presence... no [21:05:07.478] checking for sys/prctl.h... no [21:05:07.481] checking sys/procctl.h usability... no [21:05:07.532] checking sys/procctl.h presence... no [21:05:07.550] checking for sys/procctl.h... no [21:05:07.553] checking sys/signalfd.h usability... no [21:05:07.605] checking sys/signalfd.h presence... no [21:05:07.622] checking for sys/signalfd.h... no [21:05:07.625] checking sys/ucred.h usability... no [21:05:07.678] checking sys/ucred.h presence... no [21:05:07.695] checking for sys/ucred.h... no [21:05:07.698] checking termios.h usability... no [21:05:07.749] checking termios.h presence... no [21:05:07.767] checking for termios.h... no [21:05:07.770] checking ucred.h usability... no [21:05:07.826] checking ucred.h presence... no [21:05:07.844] checking for ucred.h... no [21:05:07.847] checking xlocale.h usability... no [21:05:07.899] checking xlocale.h presence... no [21:05:07.917] checking for xlocale.h... no [21:05:07.920] checking zlib.h usability... yes [21:05:07.928] checking zlib.h presence... yes [21:05:07.946] checking for zlib.h... yes [21:05:07.946] checking for lz4... /usr/bin/lz4 [21:05:07.946] checking for zstd... /usr/bin/zstd [21:05:07.946] checking for openssl... /usr/bin/openssl [21:05:07.950] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [21:05:07.951] checking crtdefs.h usability... yes [21:05:07.958] checking crtdefs.h presence... yes [21:05:07.971] checking for crtdefs.h... yes [21:05:07.973] checking whether byte ordering is bigendian... no [21:05:08.042] checking for inline... inline [21:05:08.049] checking for printf format archetype... gnu_printf [21:05:08.057] checking for _Static_assert... yes [21:05:08.095] checking for typeof... typeof [21:05:08.102] checking for __builtin_types_compatible_p... yes [21:05:08.113] checking for __builtin_constant_p... yes [21:05:08.124] checking for __builtin_mul_overflow... yes [21:05:08.169] checking for __builtin_unreachable... yes [21:05:08.208] checking for computed goto support... yes [21:05:08.215] checking for struct tm.tm_zone... no [21:05:08.287] checking for union semun... no [21:05:08.319] checking for socklen_t... yes [21:05:09.411] checking for struct sockaddr.sa_len... no [21:05:11.329] checking for C/C++ restrict keyword... __restrict [21:05:11.341] checking for struct option... yes [21:05:11.380] checking whether assembler supports x86_64 popcntq... yes [21:05:11.387] checking size of off_t... 4 [21:05:11.577] 0 [21:05:11.577] checking for int timezone... yes [21:05:11.624] checking for backtrace_symbols... no [21:05:11.670] checking for copyfile... no [21:05:11.720] checking for copy_file_range... no [21:05:11.767] checking for elf_aux_info... no [21:05:11.814] checking for getauxval... no [21:05:11.860] checking for getifaddrs... no [21:05:11.906] checking for getpeerucred... no [21:05:11.953] checking for inet_pton... yes [21:05:12.002] checking for kqueue... no [21:05:12.050] checking for mbstowcs_l... no [21:05:12.097] checking for memset_s... no [21:05:12.145] checking for posix_fallocate... no [21:05:12.193] checking for ppoll... no [21:05:12.240] checking for pthread_is_threaded_np... no [21:05:12.287] checking for setproctitle... no [21:05:12.334] checking for setproctitle_fast... no [21:05:12.380] checking for strchrnul... no [21:05:12.427] checking for strsignal... no [21:05:12.473] checking for syncfs... no [21:05:12.518] checking for sync_file_range... no [21:05:12.564] checking for uselocale... no [21:05:12.610] checking for wcstombs_l... no [21:05:12.655] checking for __builtin_bswap16... yes [21:05:12.699] checking for __builtin_bswap32... yes [21:05:12.742] checking for __builtin_bswap64... yes [21:05:12.786] checking for __builtin_clz... yes [21:05:12.832] checking for __builtin_ctz... yes [21:05:12.877] checking for __builtin_popcount... yes [21:05:12.923] checking for __builtin_frame_address... yes [21:05:12.970] checking for _LARGEFILE_SOURCE value needed for large files... no [21:05:13.021] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:05:13.051] checking for posix_fadvise... no [21:05:13.099] checking whether posix_fadvise is declared... no [21:05:13.141] checking whether fdatasync is declared... no [21:05:13.184] checking whether strlcat is declared... no [21:05:13.245] checking whether strlcpy is declared... no [21:05:13.304] checking whether strnlen is declared... yes [21:05:13.316] checking whether strsep is declared... no [21:05:13.376] checking whether preadv is declared... no [21:05:13.410] checking whether pwritev is declared... no [21:05:13.444] checking whether F_FULLFSYNC is declared... no [21:05:13.481] checking for explicit_bzero... no [21:05:13.525] checking for getopt... yes [21:05:13.565] checking for getpeereid... no [21:05:13.609] checking for inet_aton... no [21:05:13.655] checking for mkdtemp... no [21:05:13.699] checking for strlcat... no [21:05:13.742] checking for strlcpy... no [21:05:13.786] checking for strnlen... yes [21:05:13.830] checking for strsep... no [21:05:13.874] checking for pthread_barrier_wait... yes [21:05:13.916] configure: On mingw32 we will use our strtof wrapper. [21:05:13.916] checking for getopt_long... yes [21:05:13.955] checking for syslog... no [21:05:13.999] checking for opterr... yes [21:05:14.046] checking for optreset... no [21:05:14.094] checking test program... cross-compiling [21:05:14.094] checking size of void *... 8 [21:05:14.389] checking size of size_t... 8 [21:05:14.636] checking size of long... 4 [21:05:14.823] checking size of long long... 8 [21:05:15.073] checking alignment of short... 2 [21:05:15.201] checking alignment of int... 4 [21:05:15.388] checking alignment of long... 4 [21:05:15.576] checking alignment of int64_t... 8 [21:05:15.820] checking alignment of double... 8 [21:05:16.068] checking for __int128... yes [21:05:16.115] checking for __int128 alignment bug... assuming ok [21:05:16.115] checking alignment of PG_INT128_TYPE... 16 [21:05:16.431] checking for builtin __sync char locking functions... yes [21:05:16.471] checking for builtin __sync int32 locking functions... yes [21:05:16.510] checking for builtin __sync int32 atomic operations... yes [21:05:16.550] checking for builtin __sync int64 atomic operations... yes [21:05:16.591] checking for builtin __atomic int32 atomic operations... yes [21:05:16.631] checking for builtin __atomic int64 atomic operations... yes [21:05:16.671] checking for __get_cpuid... yes [21:05:16.717] checking for __get_cpuid_count... yes [21:05:16.759] checking for __cpuid... no [21:05:17.141] checking for __cpuidex... no [21:05:17.554] checking for _xgetbv... yes [21:05:17.931] checking for _mm512_popcnt_epi64... yes [21:05:18.329] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:05:18.422] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:05:18.444] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:05:18.462] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:05:18.479] 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 [21:05:18.529] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:05:18.529] checking which random number source to use... Windows native [21:05:18.531] checking for xmllint... /usr/bin/xmllint [21:05:18.531] checking for xsltproc... /usr/bin/xsltproc [21:05:18.531] checking for fop... /usr/bin/fop [21:05:18.531] checking for dbtoepub... no [21:05:18.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:05:18.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:05:18.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:05:18.542] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:05:18.542] 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 [21:05:18.542] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:05:18.542] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:05:18.622] configure: creating ./config.status [21:05:18.704] config.status: creating GNUmakefile [21:05:18.716] config.status: creating src/Makefile.global [21:05:18.731] config.status: creating src/include/pg_config.h [21:05:18.744] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:05:18.759] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:05:18.766] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:05:18.773] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:05:18.780] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:05:18.787] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:05:18.790] config.status: executing check_win32_symlinks commands [21:05:18.823] [21:05:18.823] real 0m14.669s [21:05:18.823] user 0m9.882s [21:05:18.823] sys 0m4.460s [21:05:18.823] make -s -j${BUILD_JOBS} clean [21:05:19.327] time make -s -j${BUILD_JOBS} world-bin [21:05:58.220] relfilenumber.c: In function ‘transfer_relfile’: [21:05:58.220] relfilenumber.c:631:41: error: this statement may fall through [-Werror=implicit-fallthrough=] [21:05:58.220] 631 | linkFile(old_file, new_file, map->nspname, map->relname); [21:05:58.220] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [21:05:58.220] relfilenumber.c:632:33: note: here [21:05:58.220] 632 | case TRANSFER_MODE_SWAP: [21:05:58.220] | ^~~~ [21:05:58.220] cc1: all warnings being treated as errors [21:05:58.220] make[3]: *** [: relfilenumber.o] Error 1 [21:05:58.220] make[2]: *** [Makefile:45: all-pg_upgrade-recurse] Error 2 [21:05:58.220] make[2]: *** Waiting for unfinished jobs.... [21:06:01.012] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [21:06:01.012] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:06:01.012] [21:06:01.012] real 0m41.685s [21:06:01.012] user 1m54.025s [21:06:01.012] sys 0m27.603s [21:06:01.012] [21:06:01.012] Exit status: 2