[15:45:10.236] time ./configure \ [15:45:10.236] --host=x86_64-w64-mingw32 \ [15:45:10.236] --enable-cassert \ [15:45:10.236] --without-icu \ [15:45:10.236] CC="ccache x86_64-w64-mingw32-gcc" \ [15:45:10.236] CXX="ccache x86_64-w64-mingw32-g++" [15:45:10.343] checking build system type... x86_64-pc-linux-gnu [15:45:10.563] checking host system type... x86_64-w64-mingw32 [15:45:10.568] checking which template to use... win32 [15:45:10.568] checking whether NLS is wanted... no [15:45:10.569] checking for default port number... 5432 [15:45:10.575] checking for block size... 8kB [15:45:10.576] checking for segment size... 1GB [15:45:10.578] checking for WAL block size... 8kB [15:45:10.579] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:45:10.608] checking whether the C compiler works... yes [15:45:10.776] checking for C compiler default output file name... a.exe [15:45:10.777] checking for suffix of executables... .exe [15:45:10.815] checking whether we are cross compiling... yes [15:45:10.890] checking for suffix of object files... o [15:45:10.938] checking whether we are using the GNU C compiler... yes [15:45:10.944] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:45:10.950] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:45:11.021] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:45:11.078] checking whether we are using the GNU C++ compiler... yes [15:45:11.328] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:45:11.387] checking for gawk... no [15:45:11.387] checking for mawk... mawk [15:45:11.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:45:11.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:45:11.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:45:11.441] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:45:11.477] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:45:11.492] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:45:11.499] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:45:11.513] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:45:11.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:45:11.525] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:45:11.555] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:45:11.570] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:45:11.577] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:45:11.582] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:45:11.588] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:45:11.594] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:45:11.599] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:45:11.606] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:45:11.620] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:45:11.651] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:45:11.657] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:45:11.687] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:45:11.706] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:45:11.713] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:45:11.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:45:11.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:45:11.782] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:45:11.788] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:45:11.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:45:11.836] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:45:11.864] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:45:11.896] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:45:11.903] checking whether the C compiler still works... yes [15:45:11.974] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:45:12.039] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:45:12.039] checking pkg-config is at least version 0.9.0... yes [15:45:12.054] checking whether to build with ICU support... no [15:45:12.055] checking whether to build with Tcl... no [15:45:12.055] checking whether to build Perl modules... no [15:45:12.055] checking whether to build Python modules... no [15:45:12.055] checking whether to build with GSSAPI support... no [15:45:12.056] checking whether to build with PAM support... no [15:45:12.056] checking whether to build with BSD Authentication support... no [15:45:12.056] checking whether to build with LDAP support... no [15:45:12.056] checking whether to build with Bonjour support... no [15:45:12.056] checking whether to build with SELinux support... no [15:45:12.056] checking whether to build with systemd support... no [15:45:12.057] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:45:12.057] checking whether to build with XML support... no [15:45:12.057] checking whether to build with LZ4 support... no [15:45:12.057] checking whether to build with ZSTD support... no [15:45:12.058] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:45:12.058] checking whether it is possible to strip libraries... yes [15:45:12.068] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:45:12.068] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:45:12.068] checking for a BSD-compatible install... /usr/bin/install -c [15:45:12.074] checking for tar... /usr/bin/tar [15:45:12.074] checking whether ln -s works... yes [15:45:12.074] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:45:12.077] checking for bison... /usr/bin/bison [15:45:12.079] configure: using bison (GNU Bison) 3.7.5 [15:45:12.082] checking for flex... /usr/bin/flex [15:45:12.093] configure: using flex 2.6.4 [15:45:12.093] checking for perl... /usr/bin/perl [15:45:12.096] configure: using perl 5.32.1 [15:45:12.098] checking for zic... /usr/sbin/zic [15:45:12.099] checking for a sed that does not truncate output... /usr/bin/sed [15:45:12.103] checking for grep that handles long lines and -e... /usr/bin/grep [15:45:12.105] checking for egrep... /usr/bin/grep -E [15:45:12.107] checking for ANSI C header files... yes [15:45:12.152] checking for sys/types.h... yes [15:45:12.170] checking for sys/stat.h... yes [15:45:12.187] checking for stdlib.h... yes [15:45:12.203] checking for string.h... yes [15:45:12.218] checking for memory.h... yes [15:45:12.233] checking for strings.h... yes [15:45:12.248] checking for inttypes.h... yes [15:45:12.264] checking for stdint.h... yes [15:45:12.299] checking for unistd.h... yes [15:45:12.316] checking for main in -lm... yes [15:45:12.356] checking for library containing setproctitle... no [15:45:12.434] checking for library containing dlsym... no [15:45:12.507] checking for library containing socket... -lws2_32 [15:45:12.629] checking for library containing getopt_long... none required [15:45:12.677] checking for library containing shm_open... no [15:45:12.758] checking for library containing shm_unlink... no [15:45:12.835] checking for library containing clock_gettime... no [15:45:12.914] checking for library containing shmget... no [15:45:12.995] checking for library containing backtrace_symbols... no [15:45:13.078] checking for library containing pthread_barrier_wait... -lpthread [15:45:13.161] checking for inflate in -lz... yes [15:45:13.204] checking for stdbool.h that conforms to C99... yes [15:45:13.215] checking for _Bool... yes [15:45:13.278] checking atomic.h usability... no [15:45:13.331] checking atomic.h presence... no [15:45:13.349] checking for atomic.h... no [15:45:13.352] checking copyfile.h usability... no [15:45:13.402] checking copyfile.h presence... no [15:45:13.420] checking for copyfile.h... no [15:45:13.424] checking execinfo.h usability... no [15:45:13.476] checking execinfo.h presence... no [15:45:13.493] checking for execinfo.h... no [15:45:13.496] checking getopt.h usability... yes [15:45:13.503] checking getopt.h presence... yes [15:45:13.517] checking for getopt.h... yes [15:45:13.524] checking ifaddrs.h usability... no [15:45:13.575] checking ifaddrs.h presence... no [15:45:13.592] checking for ifaddrs.h... no [15:45:13.595] checking langinfo.h usability... no [15:45:13.643] checking langinfo.h presence... no [15:45:13.658] checking for langinfo.h... no [15:45:13.661] checking mbarrier.h usability... no [15:45:13.710] checking mbarrier.h presence... no [15:45:13.726] checking for mbarrier.h... no [15:45:13.729] checking sys/epoll.h usability... no [15:45:13.780] checking sys/epoll.h presence... no [15:45:13.797] checking for sys/epoll.h... no [15:45:13.800] checking sys/event.h usability... no [15:45:13.851] checking sys/event.h presence... no [15:45:13.867] checking for sys/event.h... no [15:45:13.870] checking sys/personality.h usability... no [15:45:13.920] checking sys/personality.h presence... no [15:45:13.938] checking for sys/personality.h... no [15:45:13.941] checking sys/prctl.h usability... no [15:45:13.988] checking sys/prctl.h presence... no [15:45:14.005] checking for sys/prctl.h... no [15:45:14.008] checking sys/procctl.h usability... no [15:45:14.057] checking sys/procctl.h presence... no [15:45:14.071] checking for sys/procctl.h... no [15:45:14.074] checking sys/signalfd.h usability... no [15:45:14.124] checking sys/signalfd.h presence... no [15:45:14.143] checking for sys/signalfd.h... no [15:45:14.146] checking sys/ucred.h usability... no [15:45:14.195] checking sys/ucred.h presence... no [15:45:14.213] checking for sys/ucred.h... no [15:45:14.216] checking termios.h usability... no [15:45:14.267] checking termios.h presence... no [15:45:14.284] checking for termios.h... no [15:45:14.287] checking ucred.h usability... no [15:45:14.336] checking ucred.h presence... no [15:45:14.353] checking for ucred.h... no [15:45:14.355] checking zlib.h usability... yes [15:45:14.411] checking zlib.h presence... yes [15:45:14.429] checking for zlib.h... yes [15:45:14.429] checking for lz4... /usr/bin/lz4 [15:45:14.429] checking for zstd... /usr/bin/zstd [15:45:14.430] checking for openssl... /usr/bin/openssl [15:45:14.433] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [15:45:14.434] checking crtdefs.h usability... yes [15:45:14.441] checking crtdefs.h presence... yes [15:45:14.455] checking for crtdefs.h... yes [15:45:14.456] checking whether byte ordering is bigendian... no [15:45:14.524] checking for inline... inline [15:45:14.539] checking for printf format archetype... gnu_printf [15:45:14.555] checking for _Static_assert... yes [15:45:14.592] checking for typeof... typeof [15:45:14.598] checking for __builtin_types_compatible_p... yes [15:45:14.614] checking for __builtin_constant_p... yes [15:45:14.624] checking for __builtin_unreachable... yes [15:45:14.665] checking for computed goto support... yes [15:45:14.698] checking for struct tm.tm_zone... no [15:45:14.770] checking for union semun... no [15:45:14.802] checking for socklen_t... yes [15:45:15.880] checking for struct sockaddr.sa_len... no [15:45:17.669] checking for locale_t... no [15:45:17.730] checking for C/C++ restrict keyword... __restrict [15:45:17.741] checking for struct option... yes [15:45:17.778] checking whether assembler supports x86_64 popcntq... yes [15:45:17.785] checking size of off_t... 4 [15:45:18.053] 0 [15:45:18.053] checking size of bool... 1 [15:45:18.127] checking for int timezone... yes [15:45:18.170] checking for wcstombs_l declaration... no [15:45:18.248] checking for backtrace_symbols... no [15:45:18.295] checking for copyfile... no [15:45:18.341] checking for copy_file_range... no [15:45:18.386] checking for getifaddrs... no [15:45:18.430] checking for getpeerucred... no [15:45:18.476] checking for inet_pton... yes [15:45:18.524] checking for kqueue... no [15:45:18.570] checking for mbstowcs_l... no [15:45:18.614] checking for memset_s... no [15:45:18.662] checking for posix_fallocate... no [15:45:18.709] checking for ppoll... no [15:45:18.754] checking for pthread_is_threaded_np... no [15:45:18.798] checking for setproctitle... no [15:45:18.842] checking for setproctitle_fast... no [15:45:18.888] checking for strchrnul... no [15:45:18.933] checking for strsignal... no [15:45:18.981] checking for syncfs... no [15:45:19.027] checking for sync_file_range... no [15:45:19.073] checking for uselocale... no [15:45:19.119] checking for wcstombs_l... no [15:45:19.162] checking for __builtin_bswap16... yes [15:45:19.204] checking for __builtin_bswap32... yes [15:45:19.250] checking for __builtin_bswap64... yes [15:45:19.295] checking for __builtin_clz... yes [15:45:19.340] checking for __builtin_ctz... yes [15:45:19.383] checking for __builtin_popcount... yes [15:45:19.428] checking for __builtin_frame_address... yes [15:45:19.475] checking for _LARGEFILE_SOURCE value needed for large files... no [15:45:19.525] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:45:19.553] checking for posix_fadvise... no [15:45:19.602] checking whether posix_fadvise is declared... no [15:45:19.648] checking whether fdatasync is declared... no [15:45:19.693] checking whether strlcat is declared... no [15:45:19.753] checking whether strlcpy is declared... no [15:45:19.815] checking whether strnlen is declared... yes [15:45:19.847] checking whether preadv is declared... no [15:45:19.885] checking whether pwritev is declared... no [15:45:19.917] checking whether F_FULLFSYNC is declared... no [15:45:19.953] checking for explicit_bzero... no [15:45:19.997] checking for getopt... yes [15:45:20.039] checking for getpeereid... no [15:45:20.081] checking for inet_aton... no [15:45:20.121] checking for mkdtemp... no [15:45:20.164] checking for strlcat... no [15:45:20.205] checking for strlcpy... no [15:45:20.248] checking for strnlen... yes [15:45:20.293] checking for pthread_barrier_wait... yes [15:45:20.336] configure: On mingw32 we will use our strtof wrapper. [15:45:20.337] checking for getopt_long... yes [15:45:20.377] checking for _configthreadlocale... yes [15:45:20.417] checking for syslog... no [15:45:20.459] checking for opterr... yes [15:45:20.502] checking for optreset... no [15:45:20.549] checking test program... cross-compiling [15:45:20.549] checking whether long int is 64 bits... no [15:45:20.577] checking whether long long int is 64 bits... yes [15:45:20.611] checking for __builtin_mul_overflow... yes [15:45:20.653] checking size of void *... 8 [15:45:20.928] checking size of size_t... 8 [15:45:21.281] checking size of long... 4 [15:45:21.530] checking alignment of short... 2 [15:45:21.708] checking alignment of int... 4 [15:45:21.975] checking alignment of long... 4 [15:45:22.178] checking alignment of long long int... 8 [15:45:22.534] checking alignment of double... 8 [15:45:22.860] checking for int8... no [15:45:22.899] checking for uint8... no [15:45:22.939] checking for int64... no [15:45:22.979] checking for uint64... no [15:45:23.017] checking for __int128... yes [15:45:23.060] checking for __int128 alignment bug... assuming ok [15:45:23.060] checking alignment of PG_INT128_TYPE... 16 [15:45:23.501] checking for builtin __sync char locking functions... yes [15:45:23.540] checking for builtin __sync int32 locking functions... yes [15:45:23.577] checking for builtin __sync int32 atomic operations... yes [15:45:23.617] checking for builtin __sync int64 atomic operations... yes [15:45:23.655] checking for builtin __atomic int32 atomic operations... yes [15:45:23.695] checking for builtin __atomic int64 atomic operations... yes [15:45:23.734] checking for __get_cpuid... yes [15:45:23.776] checking for __cpuid... no [15:45:24.025] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:45:24.065] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:45:24.149] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:45:24.172] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:45:24.190] 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 [15:45:24.240] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:45:24.240] checking which random number source to use... Windows native [15:45:24.242] checking for xmllint... /usr/bin/xmllint [15:45:24.242] checking for xsltproc... /usr/bin/xsltproc [15:45:24.242] checking for fop... /usr/bin/fop [15:45:24.242] checking for dbtoepub... no [15:45:24.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:45:24.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:45:24.253] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [15:45:24.253] 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 [15:45:24.253] configure: using CPPFLAGS= -I./src/include/port/win32 [15:45:24.253] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:45:24.339] configure: creating ./config.status [15:45:24.416] config.status: creating GNUmakefile [15:45:24.428] config.status: creating src/Makefile.global [15:45:24.442] config.status: creating src/include/pg_config.h [15:45:24.453] config.status: creating src/include/pg_config_ext.h [15:45:24.462] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:45:24.475] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:45:24.481] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:45:24.487] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:45:24.492] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:45:24.498] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:45:24.501] config.status: executing check_win32_symlinks commands [15:45:24.532] [15:45:24.532] real 0m14.296s [15:45:24.532] user 0m10.149s [15:45:24.532] sys 0m3.687s [15:45:24.532] make -s -j${BUILD_JOBS} clean [15:45:24.959] time make -s -j${BUILD_JOBS} world-bin [15:47:27.184] In file included from copy_file.c:22: [15:47:27.184] copy_file.c: In function ‘copy_file’: [15:47:27.184] ../../../src/include/common/logging.h:134:6: error: this statement may fall through [-Werror=implicit-fallthrough=] [15:47:27.184] 134 | if (unlikely(__pg_log_level <= PG_LOG_DEBUG)) \ [15:47:27.184] | ^ [15:47:27.184] copy_file.c:96:5: note: in expansion of macro ‘pg_log_debug’ [15:47:27.184] 96 | pg_log_debug("would copy \"%s\" to \"%s\" (copy_file_range)", [15:47:27.184] | ^~~~~~~~~~~~ [15:47:27.184] copy_file.c:99:4: note: here [15:47:27.184] 99 | case COPY_MODE_COPYFILE: [15:47:27.184] | ^~~~ [15:47:27.184] cc1: all warnings being treated as errors [15:47:27.185] make[3]: *** [: copy_file.o] Error 1 [15:47:27.185] make[2]: *** [Makefile:45: all-pg_combinebackup-recurse] Error 2 [15:47:27.185] make[2]: *** Waiting for unfinished jobs.... [15:47:30.223] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [15:47:30.223] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:47:30.224] [15:47:30.224] real 2m5.264s [15:47:30.224] user 6m33.379s [15:47:30.224] sys 0m48.936s [15:47:30.224] [15:47:30.224] Exit status: 2