[07:28:40.544] time ./configure \ [07:28:40.544] --host=x86_64-w64-mingw32 \ [07:28:40.544] --enable-cassert \ [07:28:40.544] --without-icu \ [07:28:40.544] CC="ccache x86_64-w64-mingw32-gcc" \ [07:28:40.544] CXX="ccache x86_64-w64-mingw32-g++" [07:28:40.629] checking build system type... x86_64-pc-linux-gnu [07:28:40.812] checking host system type... x86_64-w64-mingw32 [07:28:40.817] checking which template to use... win32 [07:28:40.817] checking whether NLS is wanted... no [07:28:40.817] checking for default port number... 5432 [07:28:40.822] checking for block size... 8kB [07:28:40.823] checking for segment size... 1GB [07:28:40.825] checking for WAL block size... 8kB [07:28:40.826] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:28:40.851] checking whether the C compiler works... yes [07:28:41.008] checking for C compiler default output file name... a.exe [07:28:41.009] checking for suffix of executables... .exe [07:28:41.043] checking whether we are cross compiling... yes [07:28:41.115] checking for suffix of object files... o [07:28:41.122] checking whether we are using the GNU C compiler... yes [07:28:41.127] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:28:41.132] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:28:41.140] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:28:41.191] checking whether we are using the GNU C++ compiler... yes [07:28:41.196] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:28:41.251] checking for gawk... no [07:28:41.251] checking for mawk... mawk [07:28:41.253] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:28:41.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:28:41.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:28:41.300] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:28:41.465] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:28:41.470] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:28:41.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:28:41.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:28:41.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:28:41.491] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:28:41.496] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:28:41.501] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:28:41.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:28:41.511] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:28:41.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:28:41.522] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:28:41.527] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:28:41.533] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:28:41.538] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:28:41.543] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:28:41.548] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:28:41.553] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:28:41.571] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:28:41.576] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:28:41.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:28:41.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:28:41.636] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:28:41.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:28:41.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:28:41.671] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:28:41.676] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:28:41.680] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:28:41.685] checking whether the C compiler still works... yes [07:28:41.735] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:28:41.792] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:28:41.792] checking pkg-config is at least version 0.9.0... yes [07:28:41.807] checking whether to build with ICU support... no [07:28:41.807] checking whether to build with Tcl... no [07:28:41.807] checking whether to build Perl modules... no [07:28:41.807] checking whether to build Python modules... no [07:28:41.807] checking whether to build with GSSAPI support... no [07:28:41.808] checking whether to build with PAM support... no [07:28:41.808] checking whether to build with BSD Authentication support... no [07:28:41.808] checking whether to build with LDAP support... no [07:28:41.809] checking whether to build with Bonjour support... no [07:28:41.809] checking whether to build with SELinux support... no [07:28:41.809] checking whether to build with systemd support... no [07:28:41.809] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:28:41.809] checking whether to build with XML support... no [07:28:41.809] checking whether to build with LZ4 support... no [07:28:41.810] checking whether to build with ZSTD support... no [07:28:41.810] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:28:41.810] checking whether it is possible to strip libraries... yes [07:28:41.818] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:28:41.818] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:28:41.818] checking for a BSD-compatible install... /usr/bin/install -c [07:28:41.825] checking for tar... /usr/bin/tar [07:28:41.825] checking whether ln -s works... yes [07:28:41.825] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:28:41.827] checking for bison... /usr/bin/bison [07:28:41.829] configure: using bison (GNU Bison) 3.7.5 [07:28:41.831] checking for flex... /usr/bin/flex [07:28:41.842] configure: using flex 2.6.4 [07:28:41.842] checking for perl... /usr/bin/perl [07:28:41.844] configure: using perl 5.32.1 [07:28:41.846] checking for zic... /usr/sbin/zic [07:28:41.847] checking for a sed that does not truncate output... /usr/bin/sed [07:28:41.851] checking for grep that handles long lines and -e... /usr/bin/grep [07:28:41.852] checking for egrep... /usr/bin/grep -E [07:28:41.854] checking for ANSI C header files... yes [07:28:41.893] checking for sys/types.h... yes [07:28:41.909] checking for sys/stat.h... yes [07:28:41.922] checking for stdlib.h... yes [07:28:41.934] checking for string.h... yes [07:28:41.945] checking for memory.h... yes [07:28:41.958] checking for strings.h... yes [07:28:41.971] checking for inttypes.h... yes [07:28:41.984] checking for stdint.h... yes [07:28:41.995] checking for unistd.h... yes [07:28:42.008] checking for main in -lm... yes [07:28:42.044] checking for library containing setproctitle... no [07:28:42.116] checking for library containing dlsym... no [07:28:42.189] checking for library containing socket... -lws2_32 [07:28:42.300] checking for library containing getopt_long... none required [07:28:42.338] checking for library containing shm_open... no [07:28:42.402] checking for library containing shm_unlink... no [07:28:42.469] checking for library containing clock_gettime... no [07:28:42.539] checking for library containing shmget... no [07:28:42.606] checking for library containing backtrace_symbols... no [07:28:42.675] checking for library containing pthread_barrier_wait... -lpthread [07:28:42.749] checking for inflate in -lz... yes [07:28:42.788] checking for stdbool.h that conforms to C99... yes [07:28:42.797] checking for _Bool... yes [07:28:42.854] checking atomic.h usability... no [07:28:42.898] checking atomic.h presence... no [07:28:42.912] checking for atomic.h... no [07:28:42.915] checking copyfile.h usability... no [07:28:42.958] checking copyfile.h presence... no [07:28:42.972] checking for copyfile.h... no [07:28:42.975] checking execinfo.h usability... no [07:28:43.018] checking execinfo.h presence... no [07:28:43.031] checking for execinfo.h... no [07:28:43.034] checking getopt.h usability... yes [07:28:43.040] checking getopt.h presence... yes [07:28:43.052] checking for getopt.h... yes [07:28:43.057] checking ifaddrs.h usability... no [07:28:43.101] checking ifaddrs.h presence... no [07:28:43.115] checking for ifaddrs.h... no [07:28:43.118] checking langinfo.h usability... no [07:28:43.162] checking langinfo.h presence... no [07:28:43.175] checking for langinfo.h... no [07:28:43.178] checking mbarrier.h usability... no [07:28:43.223] checking mbarrier.h presence... no [07:28:43.236] checking for mbarrier.h... no [07:28:43.238] checking sys/epoll.h usability... no [07:28:43.281] checking sys/epoll.h presence... no [07:28:43.296] checking for sys/epoll.h... no [07:28:43.298] checking sys/event.h usability... no [07:28:43.340] checking sys/event.h presence... no [07:28:43.353] checking for sys/event.h... no [07:28:43.355] checking sys/personality.h usability... no [07:28:43.399] checking sys/personality.h presence... no [07:28:43.413] checking for sys/personality.h... no [07:28:43.415] checking sys/prctl.h usability... no [07:28:43.457] checking sys/prctl.h presence... no [07:28:43.472] checking for sys/prctl.h... no [07:28:43.474] checking sys/procctl.h usability... no [07:28:43.516] checking sys/procctl.h presence... no [07:28:43.530] checking for sys/procctl.h... no [07:28:43.533] checking sys/signalfd.h usability... no [07:28:43.576] checking sys/signalfd.h presence... no [07:28:43.590] checking for sys/signalfd.h... no [07:28:43.593] checking sys/ucred.h usability... no [07:28:43.634] checking sys/ucred.h presence... no [07:28:43.647] checking for sys/ucred.h... no [07:28:43.649] checking termios.h usability... no [07:28:43.691] checking termios.h presence... no [07:28:43.705] checking for termios.h... no [07:28:43.708] checking ucred.h usability... no [07:28:43.753] checking ucred.h presence... no [07:28:43.766] checking for ucred.h... no [07:28:43.768] checking zlib.h usability... yes [07:28:43.779] checking zlib.h presence... yes [07:28:43.795] checking for zlib.h... yes [07:28:43.795] checking for lz4... /usr/bin/lz4 [07:28:43.795] checking for zstd... /usr/bin/zstd [07:28:43.796] checking for openssl... /usr/bin/openssl [07:28:43.800] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [07:28:43.800] checking crtdefs.h usability... yes [07:28:43.806] checking crtdefs.h presence... yes [07:28:43.817] checking for crtdefs.h... yes [07:28:43.818] checking whether byte ordering is bigendian... no [07:28:43.874] checking for inline... inline [07:28:43.879] checking for printf format archetype... gnu_printf [07:28:43.885] checking for _Static_assert... yes [07:28:43.917] checking for typeof... typeof [07:28:43.922] checking for __builtin_types_compatible_p... yes [07:28:43.929] checking for __builtin_constant_p... yes [07:28:43.937] checking for __builtin_unreachable... yes [07:28:43.971] checking for computed goto support... yes [07:28:43.977] checking for struct tm.tm_zone... no [07:28:44.033] checking for union semun... no [07:28:44.058] checking for socklen_t... yes [07:28:45.031] checking for struct sockaddr.sa_len... no [07:28:46.639] checking for locale_t... no [07:28:46.690] checking for C/C++ restrict keyword... __restrict [07:28:46.700] checking for struct option... yes [07:28:46.735] checking whether assembler supports x86_64 popcntq... yes [07:28:46.741] checking size of off_t... 4 [07:28:46.910] 0 [07:28:46.910] checking size of bool... 1 [07:28:46.950] checking for int timezone... yes [07:28:46.991] checking for wcstombs_l declaration... no [07:28:47.058] checking for backtrace_symbols... no [07:28:47.096] checking for copyfile... no [07:28:47.138] checking for copy_file_range... no [07:28:47.178] checking for getifaddrs... no [07:28:47.218] checking for getpeerucred... no [07:28:47.258] checking for inet_pton... yes [07:28:47.299] checking for kqueue... no [07:28:47.339] checking for mbstowcs_l... no [07:28:47.376] checking for memset_s... no [07:28:47.414] checking for posix_fallocate... no [07:28:47.454] checking for ppoll... no [07:28:47.492] checking for pthread_is_threaded_np... no [07:28:47.531] checking for setproctitle... no [07:28:47.572] checking for setproctitle_fast... no [07:28:47.611] checking for strchrnul... no [07:28:47.653] checking for strsignal... no [07:28:47.692] checking for syncfs... no [07:28:47.728] checking for sync_file_range... no [07:28:47.766] checking for uselocale... no [07:28:47.805] checking for wcstombs_l... no [07:28:47.843] checking for __builtin_bswap16... yes [07:28:47.882] checking for __builtin_bswap32... yes [07:28:47.920] checking for __builtin_bswap64... yes [07:28:47.956] checking for __builtin_clz... yes [07:28:47.994] checking for __builtin_ctz... yes [07:28:48.031] checking for __builtin_popcount... yes [07:28:48.071] checking for __builtin_frame_address... yes [07:28:48.109] checking for _LARGEFILE_SOURCE value needed for large files... no [07:28:48.153] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:28:48.178] checking for posix_fadvise... no [07:28:48.219] checking whether posix_fadvise is declared... no [07:28:48.254] checking whether fdatasync is declared... no [07:28:48.290] checking whether strlcat is declared... no [07:28:48.340] checking whether strlcpy is declared... no [07:28:48.392] checking whether strnlen is declared... yes [07:28:48.403] checking whether preadv is declared... no [07:28:48.433] checking whether pwritev is declared... no [07:28:48.462] checking whether F_FULLFSYNC is declared... no [07:28:48.494] checking for explicit_bzero... no [07:28:48.533] checking for getopt... yes [07:28:48.569] checking for getpeereid... no [07:28:48.607] checking for inet_aton... no [07:28:48.645] checking for mkdtemp... no [07:28:48.680] checking for strlcat... no [07:28:48.714] checking for strlcpy... no [07:28:48.750] checking for strnlen... yes [07:28:48.787] checking for pthread_barrier_wait... yes [07:28:48.821] configure: On mingw32 we will use our strtof wrapper. [07:28:48.821] checking for getopt_long... yes [07:28:48.854] checking for _configthreadlocale... yes [07:28:48.889] checking for syslog... no [07:28:48.926] checking for opterr... yes [07:28:48.962] checking for optreset... no [07:28:49.002] checking test program... cross-compiling [07:28:49.002] checking whether long int is 64 bits... no [07:28:49.025] checking whether long long int is 64 bits... yes [07:28:49.031] checking for __builtin_mul_overflow... yes [07:28:49.065] checking size of void *... 8 [07:28:49.273] checking size of size_t... 8 [07:28:49.486] checking size of long... 4 [07:28:49.644] checking alignment of short... 2 [07:28:49.752] checking alignment of int... 4 [07:28:49.903] checking alignment of long... 4 [07:28:50.058] checking alignment of long long int... 8 [07:28:50.263] checking alignment of double... 8 [07:28:50.463] checking for int8... no [07:28:50.495] checking for uint8... no [07:28:50.527] checking for int64... no [07:28:50.565] checking for uint64... no [07:28:50.598] checking for __int128... yes [07:28:50.637] checking for __int128 alignment bug... assuming ok [07:28:50.637] checking alignment of PG_INT128_TYPE... 16 [07:28:50.889] checking for builtin __sync char locking functions... yes [07:28:50.924] checking for builtin __sync int32 locking functions... yes [07:28:50.958] checking for builtin __sync int32 atomic operations... yes [07:28:50.992] checking for builtin __sync int64 atomic operations... yes [07:28:51.025] checking for builtin __atomic int32 atomic operations... yes [07:28:51.058] checking for builtin __atomic int64 atomic operations... yes [07:28:51.091] checking for __get_cpuid... yes [07:28:51.126] checking for __get_cpuid_count... yes [07:28:51.161] checking for __cpuid... no [07:28:51.404] checking for __cpuidex... no [07:28:51.649] checking for _xgetbv with CFLAGS=... no [07:28:51.857] checking for _xgetbv with CFLAGS=-mxsave... yes [07:28:52.074] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:28:52.284] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:28:52.477] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:28:52.513] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:28:52.583] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:28:52.600] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:28:52.615] 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 [07:28:52.658] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:28:52.658] checking which random number source to use... Windows native [07:28:52.660] checking for xmllint... /usr/bin/xmllint [07:28:52.660] checking for xsltproc... /usr/bin/xsltproc [07:28:52.660] checking for fop... /usr/bin/fop [07:28:52.660] checking for dbtoepub... no [07:28:52.661] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:28:52.661] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:28:52.670] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [07:28:52.670] 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 [07:28:52.670] configure: using CPPFLAGS= -I./src/include/port/win32 [07:28:52.670] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:28:52.743] configure: creating ./config.status [07:28:52.803] config.status: creating GNUmakefile [07:28:52.812] config.status: creating src/Makefile.global [07:28:52.822] config.status: creating src/include/pg_config.h [07:28:52.831] config.status: creating src/include/pg_config_ext.h [07:28:52.840] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:28:52.850] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:28:52.857] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:28:52.862] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:28:52.868] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:28:52.874] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:28:52.877] config.status: executing check_win32_symlinks commands [07:28:52.907] [07:28:52.907] real 0m12.362s [07:28:52.907] user 0m9.108s [07:28:52.907] sys 0m2.910s [07:28:52.907] make -s -j${BUILD_JOBS} clean [07:28:53.284] time make -s -j${BUILD_JOBS} world-bin [07:29:04.237] walsummaryfuncs.c:69:1: error: no previous prototype for ‘pg_wal_summary_contents’ [-Werror=missing-prototypes] [07:29:04.237] 69 | pg_wal_summary_contents(PG_FUNCTION_ARGS) [07:29:04.237] | ^~~~~~~~~~~~~~~~~~~~~~~ [07:29:04.237] cc1: all warnings being treated as errors [07:29:04.238] make[3]: *** [: walsummaryfuncs.o] Error 1 [07:29:04.238] make[2]: *** [common.mk:37: backup-recursive] Error 2 [07:29:04.238] make[2]: *** Waiting for unfinished jobs.... [07:29:30.592] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:29:30.592] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:29:30.592] [07:29:30.592] real 0m37.309s [07:29:30.592] user 2m3.614s [07:29:30.592] sys 0m15.569s [07:29:30.593] [07:29:30.593] Exit status: 2