[18:05:31.981] time ./configure \ [18:05:31.981] --host=x86_64-w64-mingw32 \ [18:05:31.981] --enable-cassert \ [18:05:31.981] --without-icu \ [18:05:31.981] CC="ccache x86_64-w64-mingw32-gcc" \ [18:05:31.981] CXX="ccache x86_64-w64-mingw32-g++" [18:05:32.044] checking build system type... x86_64-pc-linux-gnu [18:05:32.220] checking host system type... x86_64-w64-mingw32 [18:05:32.224] checking which template to use... win32 [18:05:32.224] checking whether NLS is wanted... no [18:05:32.224] checking for default port number... 5432 [18:05:32.228] checking for block size... 8kB [18:05:32.229] checking for segment size... 1GB [18:05:32.230] checking for WAL block size... 8kB [18:05:32.231] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:05:32.250] checking whether the C compiler works... yes [18:05:32.386] checking for C compiler default output file name... a.exe [18:05:32.387] checking for suffix of executables... .exe [18:05:32.413] checking whether we are cross compiling... yes [18:05:32.466] checking for suffix of object files... o [18:05:32.471] checking whether we are using the GNU C compiler... yes [18:05:32.474] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:05:32.478] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:05:32.485] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:05:32.526] checking whether we are using the GNU C++ compiler... yes [18:05:32.529] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:05:32.567] checking for gawk... no [18:05:32.567] checking for mawk... mawk [18:05:32.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:05:32.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:05:32.576] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:05:32.605] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:05:32.738] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:05:32.741] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:05:32.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:05:32.749] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:05:32.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:05:32.756] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:05:32.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:05:32.763] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:05:32.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:05:32.770] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:05:32.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:05:32.777] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:05:32.781] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:05:32.785] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:05:32.788] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:05:32.792] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:05:32.795] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:05:32.799] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:05:32.811] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:05:32.814] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:05:32.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:05:32.839] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:05:32.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:05:32.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:05:32.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:05:32.889] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:05:32.892] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:05:32.896] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:05:32.900] checking whether the C compiler still works... yes [18:05:32.941] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:05:32.980] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:05:32.980] checking pkg-config is at least version 0.9.0... yes [18:05:32.992] checking whether to build with ICU support... no [18:05:32.993] checking whether to build with Tcl... no [18:05:32.993] checking whether to build Perl modules... no [18:05:32.993] checking whether to build Python modules... no [18:05:32.993] checking whether to build with GSSAPI support... no [18:05:32.994] checking whether to build with PAM support... no [18:05:32.994] checking whether to build with BSD Authentication support... no [18:05:32.994] checking whether to build with LDAP support... no [18:05:32.994] checking whether to build with Bonjour support... no [18:05:32.994] checking whether to build with SELinux support... no [18:05:32.994] checking whether to build with systemd support... no [18:05:32.994] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:05:32.994] checking whether to build with XML support... no [18:05:32.994] checking whether to build with LZ4 support... no [18:05:32.995] checking whether to build with ZSTD support... no [18:05:32.995] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:05:32.995] checking whether it is possible to strip libraries... yes [18:05:33.001] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:05:33.002] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:05:33.002] checking for a BSD-compatible install... /usr/bin/install -c [18:05:33.007] checking for tar... /usr/bin/tar [18:05:33.007] checking whether ln -s works... yes [18:05:33.007] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:05:33.008] checking for bison... /usr/bin/bison [18:05:33.009] configure: using bison (GNU Bison) 3.7.5 [18:05:33.011] checking for flex... /usr/bin/flex [18:05:33.018] configure: using flex 2.6.4 [18:05:33.018] checking for perl... /usr/bin/perl [18:05:33.020] configure: using perl 5.32.1 [18:05:33.021] checking for zic... /usr/sbin/zic [18:05:33.021] checking for a sed that does not truncate output... /usr/bin/sed [18:05:33.024] checking for grep that handles long lines and -e... /usr/bin/grep [18:05:33.025] checking for egrep... /usr/bin/grep -E [18:05:33.026] checking for ANSI C header files... yes [18:05:33.053] checking for sys/types.h... yes [18:05:33.062] checking for sys/stat.h... yes [18:05:33.071] checking for stdlib.h... yes [18:05:33.080] checking for string.h... yes [18:05:33.088] checking for memory.h... yes [18:05:33.098] checking for strings.h... yes [18:05:33.106] checking for inttypes.h... yes [18:05:33.115] checking for stdint.h... yes [18:05:33.123] checking for unistd.h... yes [18:05:33.132] checking for main in -lm... yes [18:05:33.159] checking for library containing setproctitle... no [18:05:33.210] checking for library containing dlsym... no [18:05:33.262] checking for library containing socket... -lws2_32 [18:05:33.340] checking for library containing getopt_long... none required [18:05:33.372] checking for library containing shm_open... no [18:05:33.427] checking for library containing shm_unlink... no [18:05:33.483] checking for library containing clock_gettime... no [18:05:33.539] checking for library containing shmget... no [18:05:33.594] checking for library containing backtrace_symbols... no [18:05:33.648] checking for library containing pthread_barrier_wait... -lpthread [18:05:33.708] checking for inflate in -lz... yes [18:05:33.742] checking for stdbool.h that conforms to C99... yes [18:05:33.749] checking for _Bool... yes [18:05:33.795] checking atomic.h usability... no [18:05:33.831] checking atomic.h presence... no [18:05:33.841] checking for atomic.h... no [18:05:33.842] checking copyfile.h usability... no [18:05:33.877] checking copyfile.h presence... no [18:05:33.887] checking for copyfile.h... no [18:05:33.889] checking execinfo.h usability... no [18:05:33.924] checking execinfo.h presence... no [18:05:33.935] checking for execinfo.h... no [18:05:33.937] checking getopt.h usability... yes [18:05:33.941] checking getopt.h presence... yes [18:05:33.950] checking for getopt.h... yes [18:05:33.955] checking ifaddrs.h usability... no [18:05:33.992] checking ifaddrs.h presence... no [18:05:34.003] checking for ifaddrs.h... no [18:05:34.005] checking langinfo.h usability... no [18:05:34.043] checking langinfo.h presence... no [18:05:34.053] checking for langinfo.h... no [18:05:34.055] checking mbarrier.h usability... no [18:05:34.091] checking mbarrier.h presence... no [18:05:34.101] checking for mbarrier.h... no [18:05:34.102] checking sys/epoll.h usability... no [18:05:34.138] checking sys/epoll.h presence... no [18:05:34.147] checking for sys/epoll.h... no [18:05:34.149] checking sys/event.h usability... no [18:05:34.184] checking sys/event.h presence... no [18:05:34.194] checking for sys/event.h... no [18:05:34.196] checking sys/personality.h usability... no [18:05:34.230] checking sys/personality.h presence... no [18:05:34.240] checking for sys/personality.h... no [18:05:34.242] checking sys/prctl.h usability... no [18:05:34.277] checking sys/prctl.h presence... no [18:05:34.287] checking for sys/prctl.h... no [18:05:34.289] checking sys/procctl.h usability... no [18:05:34.324] checking sys/procctl.h presence... no [18:05:34.334] checking for sys/procctl.h... no [18:05:34.336] checking sys/signalfd.h usability... no [18:05:34.371] checking sys/signalfd.h presence... no [18:05:34.381] checking for sys/signalfd.h... no [18:05:34.383] checking sys/ucred.h usability... no [18:05:34.418] checking sys/ucred.h presence... no [18:05:34.428] checking for sys/ucred.h... no [18:05:34.430] checking termios.h usability... no [18:05:34.465] checking termios.h presence... no [18:05:34.474] checking for termios.h... no [18:05:34.476] checking ucred.h usability... no [18:05:34.511] checking ucred.h presence... no [18:05:34.521] checking for ucred.h... no [18:05:34.522] checking zlib.h usability... yes [18:05:34.528] checking zlib.h presence... yes [18:05:34.539] checking for zlib.h... yes [18:05:34.539] checking for lz4... /usr/bin/lz4 [18:05:34.539] checking for zstd... /usr/bin/zstd [18:05:34.540] checking for openssl... /usr/bin/openssl [18:05:34.542] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [18:05:34.543] checking crtdefs.h usability... yes [18:05:34.547] checking crtdefs.h presence... yes [18:05:34.555] checking for crtdefs.h... yes [18:05:34.556] checking whether byte ordering is bigendian... no [18:05:34.595] checking for inline... inline [18:05:34.599] checking for printf format archetype... gnu_printf [18:05:34.604] checking for _Static_assert... yes [18:05:34.630] checking for typeof... typeof [18:05:34.633] checking for __builtin_types_compatible_p... yes [18:05:34.639] checking for __builtin_constant_p... yes [18:05:34.645] checking for __builtin_unreachable... yes [18:05:34.671] checking for computed goto support... yes [18:05:34.675] checking for struct tm.tm_zone... no [18:05:34.719] checking for union semun... no [18:05:34.737] checking for socklen_t... yes [18:05:35.547] checking for struct sockaddr.sa_len... no [18:05:36.858] checking for locale_t... no [18:05:36.896] checking for C/C++ restrict keyword... __restrict [18:05:36.903] checking for struct option... yes [18:05:36.926] checking whether assembler supports x86_64 popcntq... yes [18:05:36.930] checking size of off_t... 4 [18:05:37.056] 0 [18:05:37.056] checking size of bool... 1 [18:05:37.080] checking for int timezone... yes [18:05:37.112] checking for wcstombs_l declaration... no [18:05:37.161] checking for backtrace_symbols... no [18:05:37.192] checking for copyfile... no [18:05:37.222] checking for copy_file_range... no [18:05:37.252] checking for getifaddrs... no [18:05:37.282] checking for getpeerucred... no [18:05:37.312] checking for inet_pton... yes [18:05:37.344] checking for kqueue... no [18:05:37.374] checking for mbstowcs_l... no [18:05:37.404] checking for memset_s... no [18:05:37.434] checking for posix_fallocate... no [18:05:37.464] checking for ppoll... no [18:05:37.494] checking for pthread_is_threaded_np... no [18:05:37.524] checking for setproctitle... no [18:05:37.554] checking for setproctitle_fast... no [18:05:37.584] checking for strchrnul... no [18:05:37.614] checking for strsignal... no [18:05:37.644] checking for syncfs... no [18:05:37.674] checking for sync_file_range... no [18:05:37.704] checking for uselocale... no [18:05:37.734] checking for wcstombs_l... no [18:05:37.763] checking for __builtin_bswap16... yes [18:05:37.793] checking for __builtin_bswap32... yes [18:05:37.822] checking for __builtin_bswap64... yes [18:05:37.852] checking for __builtin_clz... yes [18:05:37.881] checking for __builtin_ctz... yes [18:05:37.910] checking for __builtin_popcount... yes [18:05:37.939] checking for __builtin_frame_address... yes [18:05:37.969] checking for _LARGEFILE_SOURCE value needed for large files... no [18:05:38.005] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:05:38.022] checking for posix_fadvise... no [18:05:38.054] checking whether posix_fadvise is declared... no [18:05:38.083] checking whether fdatasync is declared... no [18:05:38.110] checking whether strlcat is declared... no [18:05:38.150] checking whether strlcpy is declared... no [18:05:38.190] checking whether strnlen is declared... yes [18:05:38.197] checking whether preadv is declared... no [18:05:38.217] checking whether pwritev is declared... no [18:05:38.236] checking whether F_FULLFSYNC is declared... no [18:05:38.259] checking for explicit_bzero... no [18:05:38.288] checking for getopt... yes [18:05:38.315] checking for getpeereid... no [18:05:38.344] checking for inet_aton... no [18:05:38.372] checking for mkdtemp... no [18:05:38.401] checking for strlcat... no [18:05:38.430] checking for strlcpy... no [18:05:38.460] checking for strnlen... yes [18:05:38.490] checking for pthread_barrier_wait... yes [18:05:38.517] configure: On mingw32 we will use our strtof wrapper. [18:05:38.517] checking for getopt_long... yes [18:05:38.545] checking for _configthreadlocale... yes [18:05:38.573] checking for syslog... no [18:05:38.601] checking for opterr... yes [18:05:38.634] checking for optreset... no [18:05:38.665] checking test program... cross-compiling [18:05:38.665] checking whether long int is 64 bits... no [18:05:38.683] checking whether long long int is 64 bits... yes [18:05:38.688] checking for __builtin_mul_overflow... yes [18:05:38.715] checking size of void *... 8 [18:05:38.881] checking size of size_t... 8 [18:05:39.055] checking size of long... 4 [18:05:39.182] checking alignment of short... 2 [18:05:39.268] checking alignment of int... 4 [18:05:39.392] checking alignment of long... 4 [18:05:39.516] checking alignment of long long int... 8 [18:05:39.681] checking alignment of double... 8 [18:05:39.848] checking for int8... no [18:05:39.873] checking for uint8... no [18:05:39.898] checking for int64... no [18:05:39.923] checking for uint64... no [18:05:39.948] checking for __int128... yes [18:05:39.978] checking for __int128 alignment bug... assuming ok [18:05:39.978] checking alignment of PG_INT128_TYPE... 16 [18:05:40.185] checking for builtin __sync char locking functions... yes [18:05:40.211] checking for builtin __sync int32 locking functions... yes [18:05:40.238] checking for builtin __sync int32 atomic operations... yes [18:05:40.264] checking for builtin __sync int64 atomic operations... yes [18:05:40.290] checking for builtin __atomic int32 atomic operations... yes [18:05:40.316] checking for builtin __atomic int64 atomic operations... yes [18:05:40.343] checking for __get_cpuid... yes [18:05:40.372] checking for __cpuid... no [18:05:40.590] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:05:40.619] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:05:40.675] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:05:40.687] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:05:40.697] 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 [18:05:40.731] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:05:40.731] checking which random number source to use... Windows native [18:05:40.732] checking for xmllint... /usr/bin/xmllint [18:05:40.733] checking for xsltproc... /usr/bin/xsltproc [18:05:40.733] checking for fop... /usr/bin/fop [18:05:40.733] checking for dbtoepub... no [18:05:40.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:05:40.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:05:40.740] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [18:05:40.740] 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 [18:05:40.740] configure: using CPPFLAGS= -I./src/include/port/win32 [18:05:40.740] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:05:40.790] configure: creating ./config.status [18:05:40.835] config.status: creating GNUmakefile [18:05:40.842] config.status: creating src/Makefile.global [18:05:40.850] config.status: creating src/include/pg_config.h [18:05:40.857] config.status: creating src/include/pg_config_ext.h [18:05:40.864] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:05:40.872] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:05:40.876] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:05:40.879] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:05:40.883] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:05:40.887] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:05:40.889] config.status: executing check_win32_symlinks commands [18:05:40.911] [18:05:40.911] real 0m8.930s [18:05:40.911] user 0m6.626s [18:05:40.911] sys 0m1.936s [18:05:40.911] make -s -j${BUILD_JOBS} clean [18:05:41.259] time make -s -j${BUILD_JOBS} world-bin [18:05:50.031] In file included from copy_file.c:22: [18:05:50.031] copy_file.c: In function ‘copy_file’: [18:05:50.031] ../../../src/include/common/logging.h:134:6: error: this statement may fall through [-Werror=implicit-fallthrough=] [18:05:50.031] 134 | if (unlikely(__pg_log_level <= PG_LOG_DEBUG)) \ [18:05:50.031] | ^ [18:05:50.031] copy_file.c:96:5: note: in expansion of macro ‘pg_log_debug’ [18:05:50.031] 96 | pg_log_debug("would copy \"%s\" to \"%s\" (copy_file_range)", [18:05:50.031] | ^~~~~~~~~~~~ [18:05:50.031] copy_file.c:99:4: note: here [18:05:50.031] 99 | case COPY_MODE_COPYFILE: [18:05:50.031] | ^~~~ [18:05:50.031] cc1: all warnings being treated as errors [18:05:50.032] make[3]: *** [: copy_file.o] Error 1 [18:05:50.032] make[3]: *** Waiting for unfinished jobs.... [18:05:50.243] make[2]: *** [Makefile:45: all-pg_combinebackup-recurse] Error 2 [18:05:50.243] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [18:05:50.243] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:05:50.243] [18:05:50.243] real 0m8.984s [18:05:50.243] user 0m15.138s [18:05:50.243] sys 0m4.134s [18:05:50.243] [18:05:50.243] Exit status: 2