[15:05:58.266] time ./configure \ [15:05:58.266] --host=x86_64-w64-mingw32 \ [15:05:58.266] --enable-cassert \ [15:05:58.266] --without-icu \ [15:05:58.266] CC="ccache x86_64-w64-mingw32-gcc" \ [15:05:58.266] CXX="ccache x86_64-w64-mingw32-g++" [15:05:58.348] checking build system type... x86_64-pc-linux-gnu [15:05:58.561] checking host system type... x86_64-w64-mingw32 [15:05:58.565] checking which template to use... win32 [15:05:58.566] checking whether NLS is wanted... no [15:05:58.566] checking for default port number... 5432 [15:05:58.571] checking for block size... 8kB [15:05:58.572] checking for segment size... 1GB [15:05:58.574] checking for WAL block size... 8kB [15:05:58.574] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:05:58.598] checking whether the C compiler works... yes [15:05:58.756] checking for C compiler default output file name... a.exe [15:05:58.757] checking for suffix of executables... .exe [15:05:58.790] checking whether we are cross compiling... yes [15:05:58.862] checking for suffix of object files... o [15:05:58.868] checking whether we are using the GNU C compiler... yes [15:05:58.873] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:05:58.878] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:05:58.886] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:05:58.938] checking whether we are using the GNU C++ compiler... yes [15:05:58.943] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:05:58.995] checking for gawk... no [15:05:58.995] checking for mawk... mawk [15:05:58.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:05:59.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:05:59.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:05:59.040] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:05:59.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:05:59.236] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:05:59.241] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:05:59.246] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:05:59.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:05:59.256] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:05:59.261] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:05:59.266] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:05:59.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:05:59.277] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:05:59.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:05:59.287] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:05:59.292] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:05:59.297] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:05:59.302] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:05:59.308] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:05:59.313] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:05:59.318] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:05:59.334] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:05:59.340] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:05:59.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:05:59.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:05:59.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:05:59.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:05:59.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:05:59.431] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:05:59.436] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:05:59.441] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:05:59.447] checking whether the C compiler still works... yes [15:05:59.497] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:05:59.544] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:05:59.544] checking pkg-config is at least version 0.9.0... yes [15:05:59.558] checking whether to build with ICU support... no [15:05:59.559] checking whether to build with Tcl... no [15:05:59.559] checking whether to build Perl modules... no [15:05:59.559] checking whether to build Python modules... no [15:05:59.559] checking whether to build with GSSAPI support... no [15:05:59.560] checking whether to build with PAM support... no [15:05:59.560] checking whether to build with BSD Authentication support... no [15:05:59.560] checking whether to build with LDAP support... no [15:05:59.560] checking whether to build with Bonjour support... no [15:05:59.560] checking whether to build with SELinux support... no [15:05:59.560] checking whether to build with systemd support... no [15:05:59.560] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:05:59.560] checking whether to build with XML support... no [15:05:59.560] checking whether to build with LZ4 support... no [15:05:59.561] checking whether to build with ZSTD support... no [15:05:59.561] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:05:59.561] checking whether it is possible to strip libraries... yes [15:05:59.572] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:05:59.573] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:05:59.573] checking for a BSD-compatible install... /usr/bin/install -c [15:05:59.579] checking for tar... /usr/bin/tar [15:05:59.579] checking whether ln -s works... yes [15:05:59.579] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:05:59.581] checking for bison... /usr/bin/bison [15:05:59.583] configure: using bison (GNU Bison) 3.7.5 [15:05:59.585] checking for flex... /usr/bin/flex [15:05:59.594] configure: using flex 2.6.4 [15:05:59.595] checking for perl... /usr/bin/perl [15:05:59.597] configure: using perl 5.32.1 [15:05:59.598] checking for zic... /usr/sbin/zic [15:05:59.599] checking for a sed that does not truncate output... /usr/bin/sed [15:05:59.602] checking for grep that handles long lines and -e... /usr/bin/grep [15:05:59.604] checking for egrep... /usr/bin/grep -E [15:05:59.605] checking for ANSI C header files... yes [15:05:59.638] checking for sys/types.h... yes [15:05:59.651] checking for sys/stat.h... yes [15:05:59.662] checking for stdlib.h... yes [15:05:59.671] checking for string.h... yes [15:05:59.682] checking for memory.h... yes [15:05:59.692] checking for strings.h... yes [15:05:59.701] checking for inttypes.h... yes [15:05:59.712] checking for stdint.h... yes [15:05:59.722] checking for unistd.h... yes [15:05:59.734] checking for main in -lm... yes [15:05:59.766] checking for library containing setproctitle... no [15:05:59.826] checking for library containing dlsym... no [15:05:59.890] checking for library containing socket... -lws2_32 [15:05:59.982] checking for library containing getopt_long... none required [15:06:00.019] checking for library containing shm_open... no [15:06:00.084] checking for library containing shm_unlink... no [15:06:00.141] checking for library containing clock_gettime... no [15:06:00.206] checking for library containing shmget... no [15:06:00.273] checking for library containing backtrace_symbols... no [15:06:00.341] checking for library containing pthread_barrier_wait... -lpthread [15:06:00.411] checking for inflate in -lz... yes [15:06:00.447] checking for stdbool.h that conforms to C99... yes [15:06:00.455] checking for _Bool... yes [15:06:00.515] checking atomic.h usability... no [15:06:00.561] checking atomic.h presence... no [15:06:00.575] checking for atomic.h... no [15:06:00.578] checking copyfile.h usability... no [15:06:00.616] checking copyfile.h presence... no [15:06:00.629] checking for copyfile.h... no [15:06:00.631] checking execinfo.h usability... no [15:06:00.669] checking execinfo.h presence... no [15:06:00.681] checking for execinfo.h... no [15:06:00.683] checking getopt.h usability... yes [15:06:00.688] checking getopt.h presence... yes [15:06:00.698] checking for getopt.h... yes [15:06:00.703] checking ifaddrs.h usability... no [15:06:00.740] checking ifaddrs.h presence... no [15:06:00.752] checking for ifaddrs.h... no [15:06:00.754] checking langinfo.h usability... no [15:06:00.797] checking langinfo.h presence... no [15:06:00.810] checking for langinfo.h... no [15:06:00.812] checking mbarrier.h usability... no [15:06:00.854] checking mbarrier.h presence... no [15:06:00.867] checking for mbarrier.h... no [15:06:00.869] checking sys/epoll.h usability... no [15:06:00.911] checking sys/epoll.h presence... no [15:06:00.925] checking for sys/epoll.h... no [15:06:00.927] checking sys/event.h usability... no [15:06:00.968] checking sys/event.h presence... no [15:06:00.981] checking for sys/event.h... no [15:06:00.984] checking sys/personality.h usability... no [15:06:01.025] checking sys/personality.h presence... no [15:06:01.038] checking for sys/personality.h... no [15:06:01.040] checking sys/prctl.h usability... no [15:06:01.082] checking sys/prctl.h presence... no [15:06:01.096] checking for sys/prctl.h... no [15:06:01.098] checking sys/procctl.h usability... no [15:06:01.158] checking sys/procctl.h presence... no [15:06:01.172] checking for sys/procctl.h... no [15:06:01.174] checking sys/signalfd.h usability... no [15:06:01.214] checking sys/signalfd.h presence... no [15:06:01.225] checking for sys/signalfd.h... no [15:06:01.227] checking sys/ucred.h usability... no [15:06:01.264] checking sys/ucred.h presence... no [15:06:01.278] checking for sys/ucred.h... no [15:06:01.280] checking termios.h usability... no [15:06:01.319] checking termios.h presence... no [15:06:01.332] checking for termios.h... no [15:06:01.334] checking ucred.h usability... no [15:06:01.377] checking ucred.h presence... no [15:06:01.390] checking for ucred.h... no [15:06:01.392] checking zlib.h usability... yes [15:06:01.398] checking zlib.h presence... yes [15:06:01.413] checking for zlib.h... yes [15:06:01.414] checking for lz4... /usr/bin/lz4 [15:06:01.414] checking for zstd... /usr/bin/zstd [15:06:01.414] checking for openssl... /usr/bin/openssl [15:06:01.417] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [15:06:01.418] checking crtdefs.h usability... yes [15:06:01.423] checking crtdefs.h presence... yes [15:06:01.433] checking for crtdefs.h... yes [15:06:01.434] checking whether byte ordering is bigendian... no [15:06:01.483] checking for inline... inline [15:06:01.488] checking for printf format archetype... gnu_printf [15:06:01.494] checking for _Static_assert... yes [15:06:01.526] checking for typeof... typeof [15:06:01.532] checking for __builtin_types_compatible_p... yes [15:06:01.539] checking for __builtin_constant_p... yes [15:06:01.547] checking for __builtin_unreachable... yes [15:06:01.577] checking for computed goto support... yes [15:06:01.583] checking for struct tm.tm_zone... no [15:06:01.638] checking for union semun... no [15:06:01.661] checking for socklen_t... yes [15:06:02.534] checking for struct sockaddr.sa_len... no [15:06:03.997] checking for locale_t... no [15:06:04.047] checking for C/C++ restrict keyword... __restrict [15:06:04.056] checking for struct option... yes [15:06:04.087] checking whether assembler supports x86_64 popcntq... yes [15:06:04.093] checking size of off_t... 4 [15:06:04.241] 0 [15:06:04.242] checking size of bool... 1 [15:06:04.272] checking for int timezone... yes [15:06:04.310] checking for wcstombs_l declaration... no [15:06:04.372] checking for backtrace_symbols... no [15:06:04.409] checking for copyfile... no [15:06:04.446] checking for copy_file_range... no [15:06:04.482] checking for getifaddrs... no [15:06:04.519] checking for getpeerucred... no [15:06:04.555] checking for inet_pton... yes [15:06:04.592] checking for kqueue... no [15:06:04.627] checking for mbstowcs_l... no [15:06:04.663] checking for memset_s... no [15:06:04.699] checking for posix_fallocate... no [15:06:04.735] checking for ppoll... no [15:06:04.773] checking for pthread_is_threaded_np... no [15:06:04.809] checking for setproctitle... no [15:06:04.844] checking for setproctitle_fast... no [15:06:04.878] checking for strchrnul... no [15:06:04.915] checking for strsignal... no [15:06:04.953] checking for syncfs... no [15:06:04.989] checking for sync_file_range... no [15:06:05.025] checking for uselocale... no [15:06:05.062] checking for wcstombs_l... no [15:06:05.096] checking for __builtin_bswap16... yes [15:06:05.133] checking for __builtin_bswap32... yes [15:06:05.168] checking for __builtin_bswap64... yes [15:06:05.205] checking for __builtin_clz... yes [15:06:05.242] checking for __builtin_ctz... yes [15:06:05.279] checking for __builtin_popcount... yes [15:06:05.316] checking for __builtin_frame_address... yes [15:06:05.349] checking for _LARGEFILE_SOURCE value needed for large files... no [15:06:05.391] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:06:05.410] checking for posix_fadvise... no [15:06:05.442] checking whether posix_fadvise is declared... no [15:06:05.471] checking whether fdatasync is declared... no [15:06:05.499] checking whether strlcat is declared... no [15:06:05.541] checking whether strlcpy is declared... no [15:06:05.586] checking whether strnlen is declared... yes [15:06:05.595] checking whether preadv is declared... no [15:06:05.618] checking whether pwritev is declared... no [15:06:05.643] checking whether F_FULLFSYNC is declared... no [15:06:05.668] checking for explicit_bzero... no [15:06:05.702] checking for getopt... yes [15:06:05.734] checking for getpeereid... no [15:06:05.765] checking for inet_aton... no [15:06:05.796] checking for mkdtemp... no [15:06:05.827] checking for strlcat... no [15:06:05.861] checking for strlcpy... no [15:06:05.895] checking for strnlen... yes [15:06:05.931] checking for pthread_barrier_wait... yes [15:06:05.963] configure: On mingw32 we will use our strtof wrapper. [15:06:05.963] checking for getopt_long... yes [15:06:05.994] checking for _configthreadlocale... yes [15:06:06.027] checking for syslog... no [15:06:06.063] checking for opterr... yes [15:06:06.100] checking for optreset... no [15:06:06.143] checking test program... cross-compiling [15:06:06.143] checking whether long int is 64 bits... no [15:06:06.166] checking whether long long int is 64 bits... yes [15:06:06.172] checking for __builtin_mul_overflow... yes [15:06:06.204] checking size of void *... 8 [15:06:06.408] checking size of size_t... 8 [15:06:06.603] checking size of long... 4 [15:06:06.756] checking alignment of short... 2 [15:06:06.860] checking alignment of int... 4 [15:06:07.012] checking alignment of long... 4 [15:06:07.162] checking alignment of long long int... 8 [15:06:07.346] checking alignment of double... 8 [15:06:07.545] checking for int8... no [15:06:07.575] checking for uint8... no [15:06:07.606] checking for int64... no [15:06:07.635] checking for uint64... no [15:06:07.665] checking for __int128... yes [15:06:07.701] checking for __int128 alignment bug... assuming ok [15:06:07.701] checking alignment of PG_INT128_TYPE... 16 [15:06:07.938] checking for builtin __sync char locking functions... yes [15:06:07.971] checking for builtin __sync int32 locking functions... yes [15:06:08.003] checking for builtin __sync int32 atomic operations... yes [15:06:08.035] checking for builtin __sync int64 atomic operations... yes [15:06:08.067] checking for builtin __atomic int32 atomic operations... yes [15:06:08.099] checking for builtin __atomic int64 atomic operations... yes [15:06:08.133] checking for __get_cpuid... yes [15:06:08.168] checking for __cpuid... no [15:06:08.395] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:06:08.429] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:06:08.491] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:06:08.505] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:06:08.517] 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:06:08.555] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:06:08.555] checking which random number source to use... Windows native [15:06:08.557] checking for xmllint... /usr/bin/xmllint [15:06:08.557] checking for xsltproc... /usr/bin/xsltproc [15:06:08.557] checking for fop... /usr/bin/fop [15:06:08.557] checking for dbtoepub... no [15:06:08.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:06:08.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:06:08.565] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [15:06:08.565] 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:06:08.565] configure: using CPPFLAGS= -I./src/include/port/win32 [15:06:08.565] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:06:08.625] configure: creating ./config.status [15:06:08.678] config.status: creating GNUmakefile [15:06:08.686] config.status: creating src/Makefile.global [15:06:08.696] config.status: creating src/include/pg_config.h [15:06:08.704] config.status: creating src/include/pg_config_ext.h [15:06:08.711] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:06:08.720] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:06:08.724] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:06:08.729] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:06:08.734] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:06:08.739] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:06:08.741] config.status: executing check_win32_symlinks commands [15:06:08.765] [15:06:08.765] real 0m10.499s [15:06:08.765] user 0m7.532s [15:06:08.765] sys 0m2.468s [15:06:08.765] make -s -j${BUILD_JOBS} clean [15:06:09.130] time make -s -j${BUILD_JOBS} world-bin [15:06:17.830] copy_file.c: In function ‘copy_file’: [15:06:17.830] copy_file.c:78:3: error: ‘copy_method’ undeclared (first use in this function); did you mean ‘copy_mode’? [15:06:17.830] 78 | copy_method = COPY_MODE_COPYFILE; [15:06:17.830] | ^~~~~~~~~~~ [15:06:17.830] | copy_mode [15:06:17.830] copy_file.c:78:3: note: each undeclared identifier is reported only once for each function it appears in [15:06:17.830] In file included from copy_file.c:22: [15:06:17.830] ../../../src/include/common/logging.h:134:6: error: this statement may fall through [-Werror=implicit-fallthrough=] [15:06:17.830] 134 | if (unlikely(__pg_log_level <= PG_LOG_DEBUG)) \ [15:06:17.830] | ^ [15:06:17.830] copy_file.c:99:5: note: in expansion of macro ‘pg_log_debug’ [15:06:17.830] 99 | pg_log_debug("would copy \"%s\" to \"%s\" (copy_file_range)", [15:06:17.830] | ^~~~~~~~~~~~ [15:06:17.830] copy_file.c:102:4: note: here [15:06:17.830] 102 | case COPY_MODE_COPYFILE: [15:06:17.830] | ^~~~ [15:06:17.830] cc1: all warnings being treated as errors [15:06:17.830] make[3]: *** [: copy_file.o] Error 1 [15:06:17.830] make[3]: *** Waiting for unfinished jobs.... [15:06:18.266] make[2]: *** [Makefile:45: all-pg_combinebackup-recurse] Error 2 [15:06:18.266] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [15:06:18.266] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:06:18.267] [15:06:18.267] real 0m9.137s [15:06:18.267] user 0m15.464s [15:06:18.267] sys 0m4.765s [15:06:18.267] [15:06:18.267] Exit status: 2