[14:05:48.105] time ./configure \ [14:05:48.105] --host=x86_64-w64-mingw32 \ [14:05:48.105] --enable-cassert \ [14:05:48.105] --without-icu \ [14:05:48.105] CC="ccache x86_64-w64-mingw32-gcc" \ [14:05:48.105] CXX="ccache x86_64-w64-mingw32-g++" [14:05:48.177] checking build system type... x86_64-pc-linux-gnu [14:05:48.356] checking host system type... x86_64-w64-mingw32 [14:05:48.359] checking which template to use... win32 [14:05:48.359] checking whether NLS is wanted... no [14:05:48.359] checking for default port number... 5432 [14:05:48.363] checking for block size... 8kB [14:05:48.364] checking for segment size... 1GB [14:05:48.365] checking for WAL block size... 8kB [14:05:48.366] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:05:48.386] checking whether the C compiler works... yes [14:05:48.526] checking for C compiler default output file name... a.exe [14:05:48.527] checking for suffix of executables... .exe [14:05:48.554] checking whether we are cross compiling... yes [14:05:48.618] checking for suffix of object files... o [14:05:48.624] checking whether we are using the GNU C compiler... yes [14:05:48.628] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:05:48.632] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:05:48.639] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:05:48.683] checking whether we are using the GNU C++ compiler... yes [14:05:48.687] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:05:48.731] checking for gawk... no [14:05:48.731] checking for mawk... mawk [14:05:48.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:05:48.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:05:48.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:05:48.773] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:05:48.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:05:48.919] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:05:48.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:05:48.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:05:48.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:05:48.933] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:05:48.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:05:48.941] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:05:48.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:05:48.949] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:05:48.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:05:48.958] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:05:48.963] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:05:48.967] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:05:48.971] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:05:48.975] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:05:48.979] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:05:48.982] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:05:48.995] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:05:48.998] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:05:49.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:05:49.024] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:05:49.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:05:49.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:05:49.056] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:05:49.077] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:05:49.081] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:05:49.085] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:05:49.089] checking whether the C compiler still works... yes [14:05:49.133] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:05:49.177] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:05:49.177] checking pkg-config is at least version 0.9.0... yes [14:05:49.191] checking whether to build with ICU support... no [14:05:49.191] checking whether to build with Tcl... no [14:05:49.191] checking whether to build Perl modules... no [14:05:49.191] checking whether to build Python modules... no [14:05:49.191] checking whether to build with GSSAPI support... no [14:05:49.192] checking whether to build with PAM support... no [14:05:49.192] checking whether to build with BSD Authentication support... no [14:05:49.192] checking whether to build with LDAP support... no [14:05:49.192] checking whether to build with Bonjour support... no [14:05:49.192] checking whether to build with SELinux support... no [14:05:49.192] checking whether to build with systemd support... no [14:05:49.192] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:05:49.192] checking whether to build with XML support... no [14:05:49.193] checking whether to build with LZ4 support... no [14:05:49.193] checking whether to build with ZSTD support... no [14:05:49.193] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:05:49.193] checking whether it is possible to strip libraries... yes [14:05:49.200] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:05:49.201] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:05:49.201] checking for a BSD-compatible install... /usr/bin/install -c [14:05:49.206] checking for tar... /usr/bin/tar [14:05:49.206] checking whether ln -s works... yes [14:05:49.206] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:05:49.207] checking for bison... /usr/bin/bison [14:05:49.209] configure: using bison (GNU Bison) 3.7.5 [14:05:49.211] checking for flex... /usr/bin/flex [14:05:49.219] configure: using flex 2.6.4 [14:05:49.219] checking for perl... /usr/bin/perl [14:05:49.221] configure: using perl 5.32.1 [14:05:49.223] checking for zic... /usr/sbin/zic [14:05:49.223] checking for a sed that does not truncate output... /usr/bin/sed [14:05:49.227] checking for grep that handles long lines and -e... /usr/bin/grep [14:05:49.229] checking for egrep... /usr/bin/grep -E [14:05:49.230] checking for ANSI C header files... yes [14:05:49.264] checking for sys/types.h... yes [14:05:49.276] checking for sys/stat.h... yes [14:05:49.288] checking for stdlib.h... yes [14:05:49.298] checking for string.h... yes [14:05:49.307] checking for memory.h... yes [14:05:49.317] checking for strings.h... yes [14:05:49.326] checking for inttypes.h... yes [14:05:49.336] checking for stdint.h... yes [14:05:49.345] checking for unistd.h... yes [14:05:49.356] checking for main in -lm... yes [14:05:49.387] checking for library containing setproctitle... no [14:05:49.441] checking for library containing dlsym... no [14:05:49.496] checking for library containing socket... -lws2_32 [14:05:49.581] checking for library containing getopt_long... none required [14:05:49.620] checking for library containing shm_open... no [14:05:49.674] checking for library containing shm_unlink... no [14:05:49.729] checking for library containing clock_gettime... no [14:05:49.786] checking for library containing shmget... no [14:05:49.844] checking for library containing backtrace_symbols... no [14:05:49.908] checking for library containing pthread_barrier_wait... -lpthread [14:05:49.974] checking for inflate in -lz... yes [14:05:50.008] checking for stdbool.h that conforms to C99... yes [14:05:50.015] checking for _Bool... yes [14:05:50.065] checking atomic.h usability... no [14:05:50.105] checking atomic.h presence... no [14:05:50.116] checking for atomic.h... no [14:05:50.118] checking copyfile.h usability... no [14:05:50.159] checking copyfile.h presence... no [14:05:50.172] checking for copyfile.h... no [14:05:50.174] checking execinfo.h usability... no [14:05:50.211] checking execinfo.h presence... no [14:05:50.221] checking for execinfo.h... no [14:05:50.222] checking getopt.h usability... yes [14:05:50.226] checking getopt.h presence... yes [14:05:50.235] checking for getopt.h... yes [14:05:50.238] checking ifaddrs.h usability... no [14:05:50.277] checking ifaddrs.h presence... no [14:05:50.289] checking for ifaddrs.h... no [14:05:50.291] checking langinfo.h usability... no [14:05:50.328] checking langinfo.h presence... no [14:05:50.340] checking for langinfo.h... no [14:05:50.342] checking mbarrier.h usability... no [14:05:50.382] checking mbarrier.h presence... no [14:05:50.392] checking for mbarrier.h... no [14:05:50.394] checking sys/epoll.h usability... no [14:05:50.432] checking sys/epoll.h presence... no [14:05:50.443] checking for sys/epoll.h... no [14:05:50.445] checking sys/event.h usability... no [14:05:50.482] checking sys/event.h presence... no [14:05:50.493] checking for sys/event.h... no [14:05:50.495] checking sys/personality.h usability... no [14:05:50.536] checking sys/personality.h presence... no [14:05:50.549] checking for sys/personality.h... no [14:05:50.551] checking sys/prctl.h usability... no [14:05:50.590] checking sys/prctl.h presence... no [14:05:50.602] checking for sys/prctl.h... no [14:05:50.604] checking sys/procctl.h usability... no [14:05:50.641] checking sys/procctl.h presence... no [14:05:50.652] checking for sys/procctl.h... no [14:05:50.654] checking sys/signalfd.h usability... no [14:05:50.693] checking sys/signalfd.h presence... no [14:05:50.704] checking for sys/signalfd.h... no [14:05:50.706] checking sys/ucred.h usability... no [14:05:50.744] checking sys/ucred.h presence... no [14:05:50.756] checking for sys/ucred.h... no [14:05:50.759] checking termios.h usability... no [14:05:50.796] checking termios.h presence... no [14:05:50.807] checking for termios.h... no [14:05:50.810] checking ucred.h usability... no [14:05:50.850] checking ucred.h presence... no [14:05:50.862] checking for ucred.h... no [14:05:50.864] checking zlib.h usability... yes [14:05:50.871] checking zlib.h presence... yes [14:05:50.884] checking for zlib.h... yes [14:05:50.884] checking for lz4... /usr/bin/lz4 [14:05:50.884] checking for zstd... /usr/bin/zstd [14:05:50.884] checking for openssl... /usr/bin/openssl [14:05:50.888] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [14:05:50.888] checking crtdefs.h usability... yes [14:05:50.893] checking crtdefs.h presence... yes [14:05:50.903] checking for crtdefs.h... yes [14:05:50.903] checking whether byte ordering is bigendian... no [14:05:50.950] checking for inline... inline [14:05:50.954] checking for printf format archetype... gnu_printf [14:05:50.958] checking for _Static_assert... yes [14:05:50.985] checking for typeof... typeof [14:05:50.989] checking for __builtin_types_compatible_p... yes [14:05:50.995] checking for __builtin_constant_p... yes [14:05:51.000] checking for __builtin_unreachable... yes [14:05:51.026] checking for computed goto support... yes [14:05:51.030] checking for struct tm.tm_zone... no [14:05:51.079] checking for union semun... no [14:05:51.099] checking for socklen_t... yes [14:05:51.944] checking for struct sockaddr.sa_len... no [14:05:53.474] checking for locale_t... no [14:05:53.517] checking for C/C++ restrict keyword... __restrict [14:05:53.524] checking for struct option... yes [14:05:53.550] checking whether assembler supports x86_64 popcntq... yes [14:05:53.555] checking size of off_t... 4 [14:05:53.696] 0 [14:05:53.696] checking size of bool... 1 [14:05:53.724] checking for int timezone... yes [14:05:53.757] checking for wcstombs_l declaration... no [14:05:53.815] checking for backtrace_symbols... no [14:05:53.848] checking for copyfile... no [14:05:53.879] checking for copy_file_range... no [14:05:53.909] checking for getifaddrs... no [14:05:53.939] checking for getpeerucred... no [14:05:53.970] checking for inet_pton... yes [14:05:54.001] checking for kqueue... no [14:05:54.031] checking for mbstowcs_l... no [14:05:54.062] checking for memset_s... no [14:05:54.094] checking for posix_fallocate... no [14:05:54.126] checking for ppoll... no [14:05:54.161] checking for pthread_is_threaded_np... no [14:05:54.196] checking for setproctitle... no [14:05:54.230] checking for setproctitle_fast... no [14:05:54.265] checking for strchrnul... no [14:05:54.300] checking for strsignal... no [14:05:54.334] checking for syncfs... no [14:05:54.370] checking for sync_file_range... no [14:05:54.408] checking for uselocale... no [14:05:54.447] checking for wcstombs_l... no [14:05:54.482] checking for __builtin_bswap16... yes [14:05:54.515] checking for __builtin_bswap32... yes [14:05:54.544] checking for __builtin_bswap64... yes [14:05:54.579] checking for __builtin_clz... yes [14:05:54.612] checking for __builtin_ctz... yes [14:05:54.643] checking for __builtin_popcount... yes [14:05:54.677] checking for __builtin_frame_address... yes [14:05:54.711] checking for _LARGEFILE_SOURCE value needed for large files... no [14:05:54.753] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:05:54.773] checking for posix_fadvise... no [14:05:54.812] checking whether posix_fadvise is declared... no [14:05:54.843] checking whether fdatasync is declared... no [14:05:54.871] checking whether strlcat is declared... no [14:05:54.911] checking whether strlcpy is declared... no [14:05:54.951] checking whether strnlen is declared... yes [14:05:54.958] checking whether preadv is declared... no [14:05:54.979] checking whether pwritev is declared... no [14:05:54.998] checking whether F_FULLFSYNC is declared... no [14:05:55.022] checking for explicit_bzero... no [14:05:55.052] checking for getopt... yes [14:05:55.083] checking for getpeereid... no [14:05:55.113] checking for inet_aton... no [14:05:55.142] checking for mkdtemp... no [14:05:55.171] checking for strlcat... no [14:05:55.201] checking for strlcpy... no [14:05:55.233] checking for strnlen... yes [14:05:55.264] checking for pthread_barrier_wait... yes [14:05:55.293] configure: On mingw32 we will use our strtof wrapper. [14:05:55.293] checking for getopt_long... yes [14:05:55.321] checking for _configthreadlocale... yes [14:05:55.350] checking for syslog... no [14:05:55.379] checking for opterr... yes [14:05:55.413] checking for optreset... no [14:05:55.447] checking test program... cross-compiling [14:05:55.447] checking whether long int is 64 bits... no [14:05:55.466] checking whether long long int is 64 bits... yes [14:05:55.471] checking for __builtin_mul_overflow... yes [14:05:55.501] checking size of void *... 8 [14:05:55.686] checking size of size_t... 8 [14:05:55.860] checking size of long... 4 [14:05:56.006] checking alignment of short... 2 [14:05:56.100] checking alignment of int... 4 [14:05:56.239] checking alignment of long... 4 [14:05:56.372] checking alignment of long long int... 8 [14:05:56.558] checking alignment of double... 8 [14:05:56.752] checking for int8... no [14:05:56.784] checking for uint8... no [14:05:56.815] checking for int64... no [14:05:56.844] checking for uint64... no [14:05:56.874] checking for __int128... yes [14:05:56.909] checking for __int128 alignment bug... assuming ok [14:05:56.909] checking alignment of PG_INT128_TYPE... 16 [14:05:57.149] checking for builtin __sync char locking functions... yes [14:05:57.179] checking for builtin __sync int32 locking functions... yes [14:05:57.208] checking for builtin __sync int32 atomic operations... yes [14:05:57.240] checking for builtin __sync int64 atomic operations... yes [14:05:57.270] checking for builtin __atomic int32 atomic operations... yes [14:05:57.298] checking for builtin __atomic int64 atomic operations... yes [14:05:57.327] checking for __get_cpuid... yes [14:05:57.361] checking for __cpuid... no [14:05:57.599] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:05:57.631] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:05:57.694] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:05:57.708] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:05:57.718] 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 [14:05:57.754] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:05:57.755] checking which random number source to use... Windows native [14:05:57.756] checking for xmllint... /usr/bin/xmllint [14:05:57.756] checking for xsltproc... /usr/bin/xsltproc [14:05:57.756] checking for fop... /usr/bin/fop [14:05:57.757] checking for dbtoepub... no [14:05:57.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:05:57.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:05:57.764] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [14:05:57.764] 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 [14:05:57.764] configure: using CPPFLAGS= -I./src/include/port/win32 [14:05:57.764] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:05:57.823] configure: creating ./config.status [14:05:57.870] config.status: creating GNUmakefile [14:05:57.876] config.status: creating src/Makefile.global [14:05:57.885] config.status: creating src/include/pg_config.h [14:05:57.892] config.status: creating src/include/pg_config_ext.h [14:05:57.898] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:05:57.906] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:05:57.910] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:05:57.913] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:05:57.918] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:05:57.922] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:05:57.924] config.status: executing check_win32_symlinks commands [14:05:57.948] [14:05:57.948] real 0m9.843s [14:05:57.948] user 0m7.342s [14:05:57.948] sys 0m2.116s [14:05:57.948] make -s -j${BUILD_JOBS} clean [14:05:58.299] time make -s -j${BUILD_JOBS} world-bin [14:06:07.290] In file included from copy_file.c:22: [14:06:07.290] copy_file.c: In function ‘copy_file’: [14:06:07.290] ../../../src/include/common/logging.h:134:6: error: this statement may fall through [-Werror=implicit-fallthrough=] [14:06:07.290] 134 | if (unlikely(__pg_log_level <= PG_LOG_DEBUG)) \ [14:06:07.290] | ^ [14:06:07.290] copy_file.c:96:5: note: in expansion of macro ‘pg_log_debug’ [14:06:07.290] 96 | pg_log_debug("would copy \"%s\" to \"%s\" (copy_file_range)", [14:06:07.290] | ^~~~~~~~~~~~ [14:06:07.290] copy_file.c:99:4: note: here [14:06:07.290] 99 | case COPY_MODE_COPYFILE: [14:06:07.290] | ^~~~ [14:06:07.290] cc1: all warnings being treated as errors [14:06:07.291] make[3]: *** [: copy_file.o] Error 1 [14:06:07.291] make[3]: *** Waiting for unfinished jobs.... [14:06:07.477] make[2]: *** [Makefile:45: all-pg_combinebackup-recurse] Error 2 [14:06:07.477] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [14:06:07.478] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:06:07.478] [14:06:07.478] real 0m9.179s [14:06:07.478] user 0m15.568s [14:06:07.478] sys 0m4.414s [14:06:07.478] [14:06:07.478] Exit status: 2