[19:36:09.804] time ./configure \ [19:36:09.804] --host=x86_64-w64-mingw32 \ [19:36:09.804] --enable-cassert \ [19:36:09.804] --without-icu \ [19:36:09.804] CC="ccache x86_64-w64-mingw32-gcc" \ [19:36:09.804] CXX="ccache x86_64-w64-mingw32-g++" [19:36:09.918] checking build system type... x86_64-pc-linux-gnu [19:36:10.098] checking host system type... x86_64-w64-mingw32 [19:36:10.103] checking which template to use... win32 [19:36:10.103] checking whether NLS is wanted... no [19:36:10.103] checking for default port number... 5432 [19:36:10.110] checking for block size... 8kB [19:36:10.111] checking for segment size... 1GB [19:36:10.114] checking for WAL block size... 8kB [19:36:10.115] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:36:10.150] checking whether the C compiler works... yes [19:36:10.278] checking for C compiler default output file name... a.exe [19:36:10.279] checking for suffix of executables... .exe [19:36:10.320] checking whether we are cross compiling... yes [19:36:10.397] checking for suffix of object files... o [19:36:10.405] checking whether we are using the GNU C compiler... yes [19:36:10.412] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:36:10.419] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:36:10.500] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:36:10.561] checking whether we are using the GNU C++ compiler... yes [19:36:10.568] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:36:10.635] checking for gawk... no [19:36:10.635] checking for mawk... mawk [19:36:10.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:36:10.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:36:10.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:36:10.697] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:36:10.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:36:10.844] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:36:10.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:36:10.857] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:36:10.864] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:36:10.870] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:36:10.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:36:10.883] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:36:10.890] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:36:10.896] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:36:10.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:36:10.909] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:36:10.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:36:10.982] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:36:10.988] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:36:10.995] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:36:11.002] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:36:11.008] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:36:11.015] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:36:11.038] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:36:11.044] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:36:11.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:36:11.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:36:11.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:36:11.129] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:36:11.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:36:11.193] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:36:11.200] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:36:11.206] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:36:11.214] checking whether the C compiler still works... yes [19:36:11.259] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:36:11.327] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:36:11.327] checking pkg-config is at least version 0.9.0... yes [19:36:11.343] checking whether to build with ICU support... no [19:36:11.343] checking whether to build with Tcl... no [19:36:11.343] checking whether to build Perl modules... no [19:36:11.343] checking whether to build Python modules... no [19:36:11.343] checking whether to build with GSSAPI support... no [19:36:11.345] checking whether to build with PAM support... no [19:36:11.345] checking whether to build with BSD Authentication support... no [19:36:11.345] checking whether to build with LDAP support... no [19:36:11.345] checking whether to build with Bonjour support... no [19:36:11.345] checking whether to build with SELinux support... no [19:36:11.345] checking whether to build with systemd support... no [19:36:11.345] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:36:11.345] checking whether to build with libcurl support... no [19:36:11.345] checking whether to build with XML support... no [19:36:11.346] checking whether to build with LZ4 support... no [19:36:11.346] checking whether to build with ZSTD support... no [19:36:11.346] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:36:11.346] checking whether it is possible to strip libraries... yes [19:36:11.353] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:36:11.353] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:36:11.353] checking for a BSD-compatible install... /usr/bin/install -c [19:36:11.362] checking for tar... /usr/bin/tar [19:36:11.362] checking whether ln -s works... yes [19:36:11.362] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:36:11.364] checking for bison... /usr/bin/bison [19:36:11.366] configure: using bison (GNU Bison) 3.8.2 [19:36:11.369] checking for flex... /usr/bin/flex [19:36:11.371] configure: using flex 2.6.4 [19:36:11.371] checking for perl... /usr/bin/perl [19:36:11.374] configure: using perl 5.36.0 [19:36:11.376] checking for zic... /usr/sbin/zic [19:36:11.376] checking for a sed that does not truncate output... /usr/bin/sed [19:36:11.381] checking for grep that handles long lines and -e... /usr/bin/grep [19:36:11.383] checking for egrep... /usr/bin/grep -E [19:36:11.385] checking for ANSI C header files... yes [19:36:11.431] checking for sys/types.h... yes [19:36:11.450] checking for sys/stat.h... yes [19:36:11.512] checking for stdlib.h... yes [19:36:11.526] checking for string.h... yes [19:36:11.541] checking for memory.h... yes [19:36:11.557] checking for strings.h... yes [19:36:11.572] checking for inttypes.h... yes [19:36:11.588] checking for stdint.h... yes [19:36:11.603] checking for unistd.h... yes [19:36:11.621] checking for main in -lm... yes [19:36:11.667] checking for library containing setproctitle... no [19:36:11.756] checking for library containing dlsym... no [19:36:11.845] checking for library containing socket... -lws2_32 [19:36:11.976] checking for library containing getopt_long... none required [19:36:12.024] checking for library containing shm_open... no [19:36:12.111] checking for library containing shm_unlink... no [19:36:12.199] checking for library containing clock_gettime... no [19:36:12.287] checking for library containing shmget... no [19:36:12.375] checking for library containing backtrace_symbols... no [19:36:12.465] checking for library containing pthread_barrier_wait... -lpthread [19:36:12.555] checking for inflate in -lz... yes [19:36:12.603] checking atomic.h usability... no [19:36:12.662] checking atomic.h presence... no [19:36:12.682] checking for atomic.h... no [19:36:12.686] checking copyfile.h usability... no [19:36:12.742] checking copyfile.h presence... no [19:36:12.762] checking for copyfile.h... no [19:36:12.765] checking execinfo.h usability... no [19:36:12.821] checking execinfo.h presence... no [19:36:12.841] checking for execinfo.h... no [19:36:12.844] checking getopt.h usability... yes [19:36:12.852] checking getopt.h presence... yes [19:36:12.868] checking for getopt.h... yes [19:36:12.875] checking ifaddrs.h usability... no [19:36:12.931] checking ifaddrs.h presence... no [19:36:12.951] checking for ifaddrs.h... no [19:36:12.954] checking mbarrier.h usability... no [19:36:13.010] checking mbarrier.h presence... no [19:36:13.030] checking for mbarrier.h... no [19:36:13.034] checking sys/epoll.h usability... no [19:36:13.091] checking sys/epoll.h presence... no [19:36:13.110] checking for sys/epoll.h... no [19:36:13.114] checking sys/event.h usability... no [19:36:13.169] checking sys/event.h presence... no [19:36:13.189] checking for sys/event.h... no [19:36:13.192] checking sys/personality.h usability... no [19:36:13.249] checking sys/personality.h presence... no [19:36:13.269] checking for sys/personality.h... no [19:36:13.272] checking sys/prctl.h usability... no [19:36:13.329] checking sys/prctl.h presence... no [19:36:13.349] checking for sys/prctl.h... no [19:36:13.353] checking sys/procctl.h usability... no [19:36:13.410] checking sys/procctl.h presence... no [19:36:13.430] checking for sys/procctl.h... no [19:36:13.433] checking sys/signalfd.h usability... no [19:36:13.488] checking sys/signalfd.h presence... no [19:36:13.508] checking for sys/signalfd.h... no [19:36:13.512] checking sys/ucred.h usability... no [19:36:13.568] checking sys/ucred.h presence... no [19:36:13.588] checking for sys/ucred.h... no [19:36:13.591] checking termios.h usability... no [19:36:13.647] checking termios.h presence... no [19:36:13.666] checking for termios.h... no [19:36:13.670] checking ucred.h usability... no [19:36:13.727] checking ucred.h presence... no [19:36:13.746] checking for ucred.h... no [19:36:13.749] checking xlocale.h usability... no [19:36:13.806] checking xlocale.h presence... no [19:36:13.826] checking for xlocale.h... no [19:36:13.828] checking zlib.h usability... yes [19:36:13.838] checking zlib.h presence... yes [19:36:13.857] checking for zlib.h... yes [19:36:13.857] checking for lz4... /usr/bin/lz4 [19:36:13.858] checking for zstd... /usr/bin/zstd [19:36:13.858] checking for openssl... /usr/bin/openssl [19:36:13.862] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:36:13.863] checking crtdefs.h usability... yes [19:36:13.871] checking crtdefs.h presence... yes [19:36:13.886] checking for crtdefs.h... yes [19:36:13.888] checking whether byte ordering is bigendian... no [19:36:13.963] checking for inline... inline [19:36:13.970] checking for printf format archetype... gnu_printf [19:36:13.978] checking for _Static_assert... yes [19:36:14.020] checking for typeof... typeof [19:36:14.028] checking for __builtin_types_compatible_p... yes [19:36:14.039] checking for __builtin_constant_p... yes [19:36:14.049] checking for __builtin_mul_overflow... yes [19:36:14.095] checking for __builtin_unreachable... yes [19:36:14.137] checking for computed goto support... yes [19:36:14.144] checking for struct tm.tm_zone... no [19:36:14.224] checking for union semun... no [19:36:14.259] checking for socklen_t... yes [19:36:15.434] checking for struct sockaddr.sa_len... no [19:36:17.524] checking for C/C++ restrict keyword... __restrict [19:36:17.537] checking for struct option... yes [19:36:17.580] checking whether assembler supports x86_64 popcntq... yes [19:36:17.587] checking size of off_t... 4 [19:36:17.846] 0 [19:36:17.846] checking for int timezone... yes [19:36:17.896] checking for backtrace_symbols... no [19:36:17.947] checking for copyfile... no [19:36:17.998] checking for copy_file_range... no [19:36:18.049] checking for elf_aux_info... no [19:36:18.099] checking for getauxval... no [19:36:18.152] checking for getifaddrs... no [19:36:18.203] checking for getpeerucred... no [19:36:18.255] checking for inet_pton... yes [19:36:18.306] checking for kqueue... no [19:36:18.357] checking for mbstowcs_l... no [19:36:18.408] checking for memset_s... no [19:36:18.458] checking for posix_fallocate... no [19:36:18.508] checking for ppoll... no [19:36:18.560] checking for pthread_is_threaded_np... no [19:36:18.612] checking for setproctitle... no [19:36:18.663] checking for setproctitle_fast... no [19:36:18.714] checking for strchrnul... no [19:36:18.765] checking for strsignal... no [19:36:18.816] checking for syncfs... no [19:36:18.866] checking for sync_file_range... no [19:36:18.918] checking for uselocale... no [19:36:18.968] checking for wcstombs_l... no [19:36:19.017] checking for __builtin_bswap16... yes [19:36:19.067] checking for __builtin_bswap32... yes [19:36:19.116] checking for __builtin_bswap64... yes [19:36:19.164] checking for __builtin_clz... yes [19:36:19.212] checking for __builtin_ctz... yes [19:36:19.261] checking for __builtin_popcount... yes [19:36:19.309] checking for __builtin_frame_address... yes [19:36:19.358] checking for _LARGEFILE_SOURCE value needed for large files... no [19:36:19.410] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:36:19.443] checking for posix_fadvise... no [19:36:19.496] checking whether posix_fadvise is declared... no [19:36:19.543] checking whether fdatasync is declared... no [19:36:19.591] checking whether strlcat is declared... no [19:36:19.656] checking whether strlcpy is declared... no [19:36:19.722] checking whether strnlen is declared... yes [19:36:19.736] checking whether strsep is declared... no [19:36:19.802] checking whether preadv is declared... no [19:36:19.840] checking whether pwritev is declared... no [19:36:19.877] checking whether F_FULLFSYNC is declared... no [19:36:19.918] checking for explicit_bzero... no [19:36:19.966] checking for getopt... yes [19:36:20.011] checking for getpeereid... no [19:36:20.059] checking for inet_aton... no [19:36:20.108] checking for mkdtemp... no [19:36:20.156] checking for strlcat... no [19:36:20.203] checking for strlcpy... no [19:36:20.251] checking for strnlen... yes [19:36:20.299] checking for strsep... no [19:36:20.346] checking for pthread_barrier_wait... yes [19:36:20.389] configure: On mingw32 we will use our strtof wrapper. [19:36:20.389] checking for getopt_long... yes [19:36:20.434] checking for syslog... no [19:36:20.481] checking for opterr... yes [19:36:20.530] checking for optreset... no [19:36:20.580] checking test program... cross-compiling [19:36:20.580] checking size of void *... 8 [19:36:20.851] checking size of size_t... 8 [19:36:21.127] checking size of long... 4 [19:36:21.329] checking size of long long... 8 [19:36:21.601] checking alignment of short... 2 [19:36:21.760] checking alignment of int... 4 [19:36:22.010] checking alignment of long... 4 [19:36:22.227] checking alignment of int64_t... 8 [19:36:22.570] checking alignment of double... 8 [19:36:22.848] checking for __int128... yes [19:36:22.898] checking for __int128 alignment bug... assuming ok [19:36:22.898] checking alignment of PG_INT128_TYPE... 16 [19:36:23.284] checking for builtin __sync char locking functions... yes [19:36:23.327] checking for builtin __sync int32 locking functions... yes [19:36:23.369] checking for builtin __sync int32 atomic operations... yes [19:36:23.411] checking for builtin __sync int64 atomic operations... yes [19:36:23.455] checking for builtin __atomic int32 atomic operations... yes [19:36:23.498] checking for builtin __atomic int64 atomic operations... yes [19:36:23.542] checking for __get_cpuid... yes [19:36:23.590] checking for __get_cpuid_count... yes [19:36:23.635] checking for __cpuid... no [19:36:24.026] checking for __cpuidex... no [19:36:24.442] checking for _xgetbv... yes [19:36:24.840] checking for _mm512_popcnt_epi64... yes [19:36:25.261] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:36:25.362] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:36:25.386] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:36:25.406] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:36:25.425] 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 [19:36:25.481] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:36:25.481] checking which random number source to use... Windows native [19:36:25.483] checking for xmllint... /usr/bin/xmllint [19:36:25.483] checking for xsltproc... /usr/bin/xsltproc [19:36:25.484] checking for fop... /usr/bin/fop [19:36:25.484] checking for dbtoepub... no [19:36:25.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:36:25.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:36:25.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:36:25.496] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:36:25.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 [19:36:25.496] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:36:25.496] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:36:25.584] configure: creating ./config.status [19:36:25.672] config.status: creating GNUmakefile [19:36:25.684] config.status: creating src/Makefile.global [19:36:25.700] config.status: creating src/include/pg_config.h [19:36:25.713] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:36:25.729] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:36:25.736] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:36:25.744] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:36:25.751] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:36:25.758] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:36:25.761] config.status: executing check_win32_symlinks commands [19:36:25.795] [19:36:25.795] real 0m15.991s [19:36:25.795] user 0m10.433s [19:36:25.795] sys 0m5.270s [19:36:25.795] make -s -j${BUILD_JOBS} clean [19:36:26.312] time make -s -j${BUILD_JOBS} world-bin [19:37:08.502] relfilenumber.c: In function ‘transfer_relfile’: [19:37:08.502] relfilenumber.c:631:41: error: this statement may fall through [-Werror=implicit-fallthrough=] [19:37:08.502] 631 | linkFile(old_file, new_file, map->nspname, map->relname); [19:37:08.502] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [19:37:08.502] relfilenumber.c:632:33: note: here [19:37:08.502] 632 | case TRANSFER_MODE_SWAP: [19:37:08.502] | ^~~~ [19:37:08.502] cc1: all warnings being treated as errors [19:37:08.503] make[3]: *** [: relfilenumber.o] Error 1 [19:37:08.503] make[2]: *** [Makefile:45: all-pg_upgrade-recurse] Error 2 [19:37:08.503] make[2]: *** Waiting for unfinished jobs.... [19:37:11.663] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [19:37:11.663] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:37:11.664] [19:37:11.664] real 0m45.352s [19:37:11.664] user 2m10.198s [19:37:11.664] sys 0m31.495s [19:37:11.664] [19:37:11.664] Exit status: 2