[12:13:09.928] time ./configure \ [12:13:09.928] --host=x86_64-w64-mingw32 \ [12:13:09.928] --enable-cassert \ [12:13:09.928] --without-icu \ [12:13:09.928] CC="ccache x86_64-w64-mingw32-gcc" \ [12:13:09.928] CXX="ccache x86_64-w64-mingw32-g++" [12:13:10.041] checking build system type... x86_64-pc-linux-gnu [12:13:10.224] checking host system type... x86_64-w64-mingw32 [12:13:10.229] checking which template to use... win32 [12:13:10.230] checking whether NLS is wanted... no [12:13:10.230] checking for default port number... 5432 [12:13:10.236] checking for block size... 8kB [12:13:10.237] checking for segment size... 1GB [12:13:10.240] checking for WAL block size... 8kB [12:13:10.241] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:13:10.275] checking whether the C compiler works... yes [12:13:10.402] checking for C compiler default output file name... a.exe [12:13:10.403] checking for suffix of executables... .exe [12:13:10.443] checking whether we are cross compiling... yes [12:13:10.511] checking for suffix of object files... o [12:13:10.519] checking whether we are using the GNU C compiler... yes [12:13:10.527] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:13:10.544] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:13:10.569] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:13:10.628] checking whether we are using the GNU C++ compiler... yes [12:13:10.634] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:13:10.880] checking for gawk... no [12:13:10.880] checking for mawk... mawk [12:13:10.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:13:10.913] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:13:10.919] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:13:10.963] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:13:11.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:13:11.013] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:13:11.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:13:11.052] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:13:11.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:13:11.100] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:13:11.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:13:11.114] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:13:11.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:13:11.127] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:13:11.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:13:11.140] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:13:11.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:13:11.183] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:13:11.198] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:13:11.231] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:13:11.238] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:13:11.270] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:13:11.277] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:13:11.300] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:13:11.316] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:13:11.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:13:11.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:13:11.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:13:11.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:13:11.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:13:11.449] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:13:11.456] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:13:11.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:13:11.498] checking whether the C compiler still works... yes [12:13:11.561] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:13:11.628] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:13:11.628] checking pkg-config is at least version 0.9.0... yes [12:13:11.644] checking whether to build with ICU support... no [12:13:11.644] checking whether to build with Tcl... no [12:13:11.644] checking whether to build Perl modules... no [12:13:11.645] checking whether to build Python modules... no [12:13:11.645] checking whether to build with GSSAPI support... no [12:13:11.646] checking whether to build with PAM support... no [12:13:11.646] checking whether to build with BSD Authentication support... no [12:13:11.646] checking whether to build with LDAP support... no [12:13:11.646] checking whether to build with Bonjour support... no [12:13:11.646] checking whether to build with SELinux support... no [12:13:11.646] checking whether to build with systemd support... no [12:13:11.646] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:13:11.646] checking whether to build with libcurl support... no [12:13:11.647] checking whether to build with XML support... no [12:13:11.647] checking whether to build with LZ4 support... no [12:13:11.647] checking whether to build with ZSTD support... no [12:13:11.648] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:13:11.648] checking whether it is possible to strip libraries... yes [12:13:11.654] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:13:11.655] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:13:11.655] checking for a BSD-compatible install... /usr/bin/install -c [12:13:11.664] checking for tar... /usr/bin/tar [12:13:11.664] checking whether ln -s works... yes [12:13:11.664] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:13:11.666] checking for bison... /usr/bin/bison [12:13:11.668] configure: using bison (GNU Bison) 3.8.2 [12:13:11.671] checking for flex... /usr/bin/flex [12:13:11.673] configure: using flex 2.6.4 [12:13:11.673] checking for perl... /usr/bin/perl [12:13:11.676] configure: using perl 5.36.0 [12:13:11.678] checking for zic... /usr/sbin/zic [12:13:11.678] checking for a sed that does not truncate output... /usr/bin/sed [12:13:11.683] checking for grep that handles long lines and -e... /usr/bin/grep [12:13:11.685] checking for egrep... /usr/bin/grep -E [12:13:11.687] checking for ANSI C header files... yes [12:13:11.774] checking for sys/types.h... yes [12:13:11.790] checking for sys/stat.h... yes [12:13:11.806] checking for stdlib.h... yes [12:13:11.820] checking for string.h... yes [12:13:11.835] checking for memory.h... yes [12:13:11.850] checking for strings.h... yes [12:13:11.865] checking for inttypes.h... yes [12:13:11.902] checking for stdint.h... yes [12:13:11.916] checking for unistd.h... yes [12:13:11.931] checking for main in -lm... yes [12:13:11.976] checking for library containing setproctitle... no [12:13:12.063] checking for library containing dlsym... no [12:13:12.149] checking for library containing socket... -lws2_32 [12:13:12.275] checking for library containing getopt_long... none required [12:13:12.321] checking for library containing shm_open... no [12:13:12.406] checking for library containing shm_unlink... no [12:13:12.491] checking for library containing clock_gettime... no [12:13:12.576] checking for library containing shmget... no [12:13:12.662] checking for library containing backtrace_symbols... no [12:13:12.747] checking for library containing pthread_barrier_wait... -lpthread [12:13:12.834] checking for inflate in -lz... yes [12:13:12.884] checking atomic.h usability... no [12:13:12.939] checking atomic.h presence... no [12:13:12.957] checking for atomic.h... no [12:13:12.961] checking copyfile.h usability... no [12:13:13.014] checking copyfile.h presence... no [12:13:13.033] checking for copyfile.h... no [12:13:13.036] checking execinfo.h usability... no [12:13:13.091] checking execinfo.h presence... no [12:13:13.109] checking for execinfo.h... no [12:13:13.113] checking getopt.h usability... yes [12:13:13.165] checking getopt.h presence... yes [12:13:13.180] checking for getopt.h... yes [12:13:13.187] checking ifaddrs.h usability... no [12:13:13.240] checking ifaddrs.h presence... no [12:13:13.259] checking for ifaddrs.h... no [12:13:13.262] checking mbarrier.h usability... no [12:13:13.315] checking mbarrier.h presence... no [12:13:13.333] checking for mbarrier.h... no [12:13:13.336] checking sys/epoll.h usability... no [12:13:13.389] checking sys/epoll.h presence... no [12:13:13.408] checking for sys/epoll.h... no [12:13:13.411] checking sys/event.h usability... no [12:13:13.463] checking sys/event.h presence... no [12:13:13.481] checking for sys/event.h... no [12:13:13.485] checking sys/personality.h usability... no [12:13:13.538] checking sys/personality.h presence... no [12:13:13.557] checking for sys/personality.h... no [12:13:13.560] checking sys/prctl.h usability... no [12:13:13.614] checking sys/prctl.h presence... no [12:13:13.632] checking for sys/prctl.h... no [12:13:13.635] checking sys/procctl.h usability... no [12:13:13.689] checking sys/procctl.h presence... no [12:13:13.707] checking for sys/procctl.h... no [12:13:13.710] checking sys/signalfd.h usability... no [12:13:13.764] checking sys/signalfd.h presence... no [12:13:13.782] checking for sys/signalfd.h... no [12:13:13.786] checking sys/ucred.h usability... no [12:13:13.840] checking sys/ucred.h presence... no [12:13:13.858] checking for sys/ucred.h... no [12:13:13.861] checking termios.h usability... no [12:13:13.914] checking termios.h presence... no [12:13:13.931] checking for termios.h... no [12:13:13.934] checking ucred.h usability... no [12:13:13.985] checking ucred.h presence... no [12:13:14.002] checking for ucred.h... no [12:13:14.005] checking xlocale.h usability... no [12:13:14.057] checking xlocale.h presence... no [12:13:14.075] checking for xlocale.h... no [12:13:14.078] checking zlib.h usability... yes [12:13:14.087] checking zlib.h presence... yes [12:13:14.105] checking for zlib.h... yes [12:13:14.105] checking for lz4... /usr/bin/lz4 [12:13:14.105] checking for zstd... /usr/bin/zstd [12:13:14.105] checking for openssl... /usr/bin/openssl [12:13:14.110] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [12:13:14.110] checking crtdefs.h usability... yes [12:13:14.118] checking crtdefs.h presence... yes [12:13:14.132] checking for crtdefs.h... yes [12:13:14.133] checking whether byte ordering is bigendian... no [12:13:14.204] checking for inline... inline [12:13:14.219] checking for printf format archetype... gnu_printf [12:13:14.236] checking for _Static_assert... yes [12:13:14.276] checking for typeof... typeof [12:13:14.307] checking for __builtin_types_compatible_p... yes [12:13:14.319] checking for __builtin_constant_p... yes [12:13:14.329] checking for __builtin_mul_overflow... yes [12:13:14.376] checking for __builtin_unreachable... yes [12:13:14.415] checking for computed goto support... yes [12:13:14.426] checking for struct tm.tm_zone... no [12:13:14.506] checking for union semun... no [12:13:14.540] checking for socklen_t... yes [12:13:15.654] checking for struct sockaddr.sa_len... no [12:13:17.595] checking for C/C++ restrict keyword... __restrict [12:13:17.608] checking for struct option... yes [12:13:17.649] checking whether assembler supports x86_64 popcntq... yes [12:13:17.656] checking size of off_t... 4 [12:13:17.857] 0 [12:13:17.857] checking for int timezone... yes [12:13:17.908] checking for backtrace_symbols... no [12:13:17.957] checking for copyfile... no [12:13:18.007] checking for copy_file_range... no [12:13:18.056] checking for elf_aux_info... no [12:13:18.105] checking for getauxval... no [12:13:18.155] checking for getifaddrs... no [12:13:18.204] checking for getpeerucred... no [12:13:18.253] checking for inet_pton... yes [12:13:18.302] checking for kqueue... no [12:13:18.351] checking for mbstowcs_l... no [12:13:18.400] checking for memset_s... no [12:13:18.448] checking for posix_fallocate... no [12:13:18.497] checking for ppoll... no [12:13:18.545] checking for pthread_is_threaded_np... no [12:13:18.593] checking for setproctitle... no [12:13:18.642] checking for setproctitle_fast... no [12:13:18.692] checking for strchrnul... no [12:13:18.742] checking for strsignal... no [12:13:18.792] checking for syncfs... no [12:13:18.841] checking for sync_file_range... no [12:13:18.894] checking for uselocale... no [12:13:18.945] checking for wcstombs_l... no [12:13:18.990] checking for __builtin_bswap16... yes [12:13:19.040] checking for __builtin_bswap32... yes [12:13:19.086] checking for __builtin_bswap64... yes [12:13:19.134] checking for __builtin_clz... yes [12:13:19.181] checking for __builtin_ctz... yes [12:13:19.228] checking for __builtin_popcount... yes [12:13:19.274] checking for __builtin_frame_address... yes [12:13:19.324] checking for _LARGEFILE_SOURCE value needed for large files... no [12:13:19.376] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:13:19.407] checking for posix_fadvise... no [12:13:19.461] checking whether posix_fadvise is declared... no [12:13:19.505] checking whether fdatasync is declared... no [12:13:19.551] checking whether strlcat is declared... no [12:13:19.616] checking whether strlcpy is declared... no [12:13:19.676] checking whether strnlen is declared... yes [12:13:19.689] checking whether strsep is declared... no [12:13:19.750] checking whether preadv is declared... no [12:13:19.784] checking whether pwritev is declared... no [12:13:19.819] checking whether F_FULLFSYNC is declared... no [12:13:19.857] checking for explicit_bzero... no [12:13:19.902] checking for getopt... yes [12:13:19.946] checking for getpeereid... no [12:13:19.993] checking for inet_aton... no [12:13:20.039] checking for mkdtemp... no [12:13:20.085] checking for strlcat... no [12:13:20.131] checking for strlcpy... no [12:13:20.177] checking for strnlen... yes [12:13:20.223] checking for strsep... no [12:13:20.269] checking for pthread_barrier_wait... yes [12:13:20.311] configure: On mingw32 we will use our strtof wrapper. [12:13:20.312] checking for getopt_long... yes [12:13:20.354] checking for syslog... no [12:13:20.400] checking for opterr... yes [12:13:20.447] checking for optreset... no [12:13:20.496] checking test program... cross-compiling [12:13:20.496] checking size of void *... 8 [12:13:20.791] checking size of size_t... 8 [12:13:21.051] checking size of long... 4 [12:13:21.249] checking size of long long... 8 [12:13:21.531] checking alignment of short... 2 [12:13:21.687] checking alignment of int... 4 [12:13:21.884] checking alignment of long... 4 [12:13:22.185] checking alignment of int64_t... 8 [12:13:22.516] checking alignment of double... 8 [12:13:22.780] checking for __int128... yes [12:13:22.829] checking for __int128 alignment bug... assuming ok [12:13:22.829] checking alignment of PG_INT128_TYPE... 16 [12:13:23.158] checking for builtin __sync char locking functions... yes [12:13:23.199] checking for builtin __sync int32 locking functions... yes [12:13:23.240] checking for builtin __sync int32 atomic operations... yes [12:13:23.281] checking for builtin __sync int64 atomic operations... yes [12:13:23.323] checking for builtin __atomic int32 atomic operations... yes [12:13:23.363] checking for builtin __atomic int64 atomic operations... yes [12:13:23.407] checking for __get_cpuid... yes [12:13:23.452] checking for __get_cpuid_count... yes [12:13:23.495] checking for __cpuid... no [12:13:23.882] checking for __cpuidex... no [12:13:24.295] checking for _xgetbv... yes [12:13:24.692] checking for _mm512_popcnt_epi64... yes [12:13:25.105] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:13:25.203] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:13:25.224] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:13:25.243] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:13:25.261] 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 [12:13:25.315] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:13:25.315] checking which random number source to use... Windows native [12:13:25.317] checking for xmllint... /usr/bin/xmllint [12:13:25.317] checking for xsltproc... /usr/bin/xsltproc [12:13:25.317] checking for fop... /usr/bin/fop [12:13:25.318] checking for dbtoepub... no [12:13:25.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:13:25.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:13:25.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:13:25.328] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:13:25.328] 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 [12:13:25.328] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:13:25.328] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:13:25.412] configure: creating ./config.status [12:13:25.494] config.status: creating GNUmakefile [12:13:25.506] config.status: creating src/Makefile.global [12:13:25.522] config.status: creating src/include/pg_config.h [12:13:25.534] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:13:25.549] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:13:25.556] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:13:25.563] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:13:25.570] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:13:25.577] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:13:25.580] config.status: executing check_win32_symlinks commands [12:13:25.614] [12:13:25.614] real 0m15.686s [12:13:25.614] user 0m10.385s [12:13:25.614] sys 0m4.966s [12:13:25.614] make -s -j${BUILD_JOBS} clean [12:13:26.130] time make -s -j${BUILD_JOBS} world-bin [12:15:46.723] relfilenumber.c: In function ‘transfer_relfile’: [12:15:46.723] relfilenumber.c:631:41: error: this statement may fall through [-Werror=implicit-fallthrough=] [12:15:46.723] 631 | linkFile(old_file, new_file, map->nspname, map->relname); [12:15:46.723] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12:15:46.723] relfilenumber.c:632:33: note: here [12:15:46.723] 632 | case TRANSFER_MODE_SWAP: [12:15:46.723] | ^~~~ [12:15:46.723] cc1: all warnings being treated as errors [12:15:46.724] make[3]: *** [: relfilenumber.o] Error 1 [12:15:46.724] make[2]: *** [Makefile:45: all-pg_upgrade-recurse] Error 2 [12:15:46.724] make[2]: *** Waiting for unfinished jobs.... [12:15:50.038] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [12:15:50.039] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:15:50.039] [12:15:50.039] real 2m23.909s [12:15:50.039] user 7m28.344s [12:15:50.039] sys 1m27.445s [12:15:50.039] [12:15:50.039] Exit status: 2