[03:01:02.453] time ./configure \ [03:01:02.453] --host=x86_64-w64-mingw32 \ [03:01:02.453] --enable-cassert \ [03:01:02.453] --without-icu \ [03:01:02.453] CC="ccache x86_64-w64-mingw32-gcc" \ [03:01:02.453] CXX="ccache x86_64-w64-mingw32-g++" [03:01:02.562] checking build system type... x86_64-pc-linux-gnu [03:01:02.759] checking host system type... x86_64-w64-mingw32 [03:01:02.764] checking which template to use... win32 [03:01:02.764] checking whether NLS is wanted... no [03:01:02.764] checking for default port number... 5432 [03:01:02.770] checking for block size... 8kB [03:01:02.771] checking for segment size... 1GB [03:01:02.773] checking for WAL block size... 8kB [03:01:02.775] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:01:02.806] checking whether the C compiler works... yes [03:01:02.958] checking for C compiler default output file name... a.exe [03:01:02.959] checking for suffix of executables... .exe [03:01:02.999] checking whether we are cross compiling... yes [03:01:03.079] checking for suffix of object files... o [03:01:03.087] checking whether we are using the GNU C compiler... yes [03:01:03.116] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:01:03.123] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:01:03.205] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:01:03.287] checking whether we are using the GNU C++ compiler... yes [03:01:03.293] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:01:03.356] checking for gawk... no [03:01:03.356] checking for mawk... mawk [03:01:03.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:01:03.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:01:03.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:01:03.414] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:01:03.587] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:01:03.593] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:01:03.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:01:03.681] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:01:03.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:01:03.695] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:01:03.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:01:03.709] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:01:03.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:01:03.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:01:03.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:01:03.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:01:03.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:01:03.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:01:03.812] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:01:03.819] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:01:03.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:01:03.832] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:01:03.839] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:01:03.863] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:01:03.878] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:01:03.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:01:03.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:01:03.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:01:03.995] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:01:04.026] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:01:04.059] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:01:04.066] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:01:04.073] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:01:04.080] checking whether the C compiler still works... yes [03:01:04.126] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:01:04.192] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:01:04.193] checking pkg-config is at least version 0.9.0... yes [03:01:04.209] checking whether to build with ICU support... no [03:01:04.209] checking whether to build with Tcl... no [03:01:04.209] checking whether to build Perl modules... no [03:01:04.209] checking whether to build Python modules... no [03:01:04.209] checking whether to build with GSSAPI support... no [03:01:04.210] checking whether to build with PAM support... no [03:01:04.210] checking whether to build with BSD Authentication support... no [03:01:04.210] checking whether to build with LDAP support... no [03:01:04.211] checking whether to build with Bonjour support... no [03:01:04.211] checking whether to build with SELinux support... no [03:01:04.211] checking whether to build with systemd support... no [03:01:04.211] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:01:04.211] checking whether to build with XML support... no [03:01:04.211] checking whether to build with LZ4 support... no [03:01:04.212] checking whether to build with ZSTD support... no [03:01:04.212] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:01:04.212] checking whether it is possible to strip libraries... yes [03:01:04.221] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:01:04.221] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:01:04.222] checking for a BSD-compatible install... /usr/bin/install -c [03:01:04.230] checking for tar... /usr/bin/tar [03:01:04.230] checking whether ln -s works... yes [03:01:04.230] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:01:04.232] checking for bison... /usr/bin/bison [03:01:04.234] configure: using bison (GNU Bison) 3.8.2 [03:01:04.237] checking for flex... /usr/bin/flex [03:01:04.249] configure: using flex 2.6.4 [03:01:04.249] checking for perl... /usr/bin/perl [03:01:04.252] configure: using perl 5.36.0 [03:01:04.254] checking for zic... /usr/sbin/zic [03:01:04.254] checking for a sed that does not truncate output... /usr/bin/sed [03:01:04.258] checking for grep that handles long lines and -e... /usr/bin/grep [03:01:04.260] checking for egrep... /usr/bin/grep -E [03:01:04.262] checking for ANSI C header files... yes [03:01:04.307] checking for sys/types.h... yes [03:01:04.322] checking for sys/stat.h... yes [03:01:04.383] checking for stdlib.h... yes [03:01:04.396] checking for string.h... yes [03:01:04.410] checking for memory.h... yes [03:01:04.424] checking for strings.h... yes [03:01:04.481] checking for inttypes.h... yes [03:01:04.516] checking for stdint.h... yes [03:01:04.550] checking for unistd.h... yes [03:01:04.565] checking for main in -lm... yes [03:01:04.610] checking for library containing setproctitle... no [03:01:04.695] checking for library containing dlsym... no [03:01:04.780] checking for library containing socket... -lws2_32 [03:01:04.912] checking for library containing getopt_long... none required [03:01:04.959] checking for library containing shm_open... no [03:01:05.047] checking for library containing shm_unlink... no [03:01:05.135] checking for library containing clock_gettime... no [03:01:05.221] checking for library containing shmget... no [03:01:05.307] checking for library containing backtrace_symbols... no [03:01:05.393] checking for library containing pthread_barrier_wait... -lpthread [03:01:05.482] checking for inflate in -lz... yes [03:01:05.527] checking for stdbool.h that conforms to C99... yes [03:01:05.571] checking for _Bool... yes [03:01:05.639] checking atomic.h usability... no [03:01:05.694] checking atomic.h presence... no [03:01:05.712] checking for atomic.h... no [03:01:05.715] checking copyfile.h usability... no [03:01:05.768] checking copyfile.h presence... no [03:01:05.786] checking for copyfile.h... no [03:01:05.789] checking execinfo.h usability... no [03:01:05.841] checking execinfo.h presence... no [03:01:05.859] checking for execinfo.h... no [03:01:05.862] checking getopt.h usability... yes [03:01:05.870] checking getopt.h presence... yes [03:01:05.885] checking for getopt.h... yes [03:01:05.892] checking ifaddrs.h usability... no [03:01:05.946] checking ifaddrs.h presence... no [03:01:05.963] checking for ifaddrs.h... no [03:01:05.966] checking mbarrier.h usability... no [03:01:06.019] checking mbarrier.h presence... no [03:01:06.036] checking for mbarrier.h... no [03:01:06.039] checking sys/epoll.h usability... no [03:01:06.091] checking sys/epoll.h presence... no [03:01:06.110] checking for sys/epoll.h... no [03:01:06.112] checking sys/event.h usability... no [03:01:06.165] checking sys/event.h presence... no [03:01:06.183] checking for sys/event.h... no [03:01:06.186] checking sys/personality.h usability... no [03:01:06.238] checking sys/personality.h presence... no [03:01:06.256] checking for sys/personality.h... no [03:01:06.259] checking sys/prctl.h usability... no [03:01:06.313] checking sys/prctl.h presence... no [03:01:06.331] checking for sys/prctl.h... no [03:01:06.334] checking sys/procctl.h usability... no [03:01:06.387] checking sys/procctl.h presence... no [03:01:06.405] checking for sys/procctl.h... no [03:01:06.408] checking sys/signalfd.h usability... no [03:01:06.462] checking sys/signalfd.h presence... no [03:01:06.480] checking for sys/signalfd.h... no [03:01:06.484] checking sys/ucred.h usability... no [03:01:06.538] checking sys/ucred.h presence... no [03:01:06.556] checking for sys/ucred.h... no [03:01:06.559] checking termios.h usability... no [03:01:06.614] checking termios.h presence... no [03:01:06.633] checking for termios.h... no [03:01:06.636] checking ucred.h usability... no [03:01:06.690] checking ucred.h presence... no [03:01:06.708] checking for ucred.h... no [03:01:06.710] checking zlib.h usability... yes [03:01:06.769] checking zlib.h presence... yes [03:01:06.787] checking for zlib.h... yes [03:01:06.787] checking for lz4... /usr/bin/lz4 [03:01:06.787] checking for zstd... /usr/bin/zstd [03:01:06.788] checking for openssl... /usr/bin/openssl [03:01:06.792] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [03:01:06.792] checking crtdefs.h usability... yes [03:01:06.800] checking crtdefs.h presence... yes [03:01:06.814] checking for crtdefs.h... yes [03:01:06.815] checking whether byte ordering is bigendian... no [03:01:06.890] checking for inline... inline [03:01:06.917] checking for printf format archetype... gnu_printf [03:01:06.925] checking for _Static_assert... yes [03:01:06.965] checking for typeof... typeof [03:01:06.971] checking for __builtin_types_compatible_p... yes [03:01:06.982] checking for __builtin_constant_p... yes [03:01:06.992] checking for __builtin_unreachable... yes [03:01:07.032] checking for computed goto support... yes [03:01:07.039] checking for struct tm.tm_zone... no [03:01:07.114] checking for union semun... no [03:01:07.147] checking for socklen_t... yes [03:01:09.318] checking for struct sockaddr.sa_len... no [03:01:11.318] checking for locale_t... no [03:01:11.380] checking for C/C++ restrict keyword... __restrict [03:01:11.392] checking for struct option... yes [03:01:11.434] checking whether assembler supports x86_64 popcntq... yes [03:01:11.440] checking size of off_t... 4 [03:01:11.730] 0 [03:01:11.730] checking size of bool... 1 [03:01:11.826] checking for int timezone... yes [03:01:11.871] checking for wcstombs_l declaration... no [03:01:11.957] checking for backtrace_symbols... no [03:01:12.007] checking for copyfile... no [03:01:12.056] checking for copy_file_range... no [03:01:12.103] checking for getifaddrs... no [03:01:12.151] checking for getpeerucred... no [03:01:12.199] checking for inet_pton... yes [03:01:12.248] checking for kqueue... no [03:01:12.298] checking for mbstowcs_l... no [03:01:12.347] checking for memset_s... no [03:01:12.395] checking for posix_fallocate... no [03:01:12.445] checking for ppoll... no [03:01:12.495] checking for pthread_is_threaded_np... no [03:01:12.544] checking for setproctitle... no [03:01:12.593] checking for setproctitle_fast... no [03:01:12.643] checking for strchrnul... no [03:01:12.693] checking for strsignal... no [03:01:12.743] checking for syncfs... no [03:01:12.791] checking for sync_file_range... no [03:01:12.840] checking for uselocale... no [03:01:12.888] checking for wcstombs_l... no [03:01:12.933] checking for __builtin_bswap16... yes [03:01:12.982] checking for __builtin_bswap32... yes [03:01:13.029] checking for __builtin_bswap64... yes [03:01:13.078] checking for __builtin_clz... yes [03:01:13.125] checking for __builtin_ctz... yes [03:01:13.173] checking for __builtin_popcount... yes [03:01:13.221] checking for __builtin_frame_address... yes [03:01:13.267] checking for _LARGEFILE_SOURCE value needed for large files... no [03:01:13.318] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:01:13.350] checking for posix_fadvise... no [03:01:13.401] checking whether posix_fadvise is declared... no [03:01:13.445] checking whether fdatasync is declared... no [03:01:13.491] checking whether strlcat is declared... no [03:01:13.555] checking whether strlcpy is declared... no [03:01:13.618] checking whether strnlen is declared... yes [03:01:13.685] checking whether strsep is declared... no [03:01:13.748] checking whether preadv is declared... no [03:01:13.786] checking whether pwritev is declared... no [03:01:13.822] checking whether F_FULLFSYNC is declared... no [03:01:13.861] checking for explicit_bzero... no [03:01:13.909] checking for getopt... yes [03:01:13.952] checking for getpeereid... no [03:01:13.999] checking for inet_aton... no [03:01:14.045] checking for mkdtemp... no [03:01:14.092] checking for strlcat... no [03:01:14.138] checking for strlcpy... no [03:01:14.184] checking for strnlen... yes [03:01:14.230] checking for strsep... no [03:01:14.276] checking for pthread_barrier_wait... yes [03:01:14.319] configure: On mingw32 we will use our strtof wrapper. [03:01:14.319] checking for getopt_long... yes [03:01:14.362] checking for _configthreadlocale... yes [03:01:14.405] checking for syslog... no [03:01:14.451] checking for opterr... yes [03:01:14.497] checking for optreset... no [03:01:14.547] checking test program... cross-compiling [03:01:14.547] checking whether long int is 64 bits... no [03:01:14.578] checking whether long long int is 64 bits... yes [03:01:14.587] checking for __builtin_mul_overflow... yes [03:01:14.628] checking size of void *... 8 [03:01:14.885] checking size of size_t... 8 [03:01:15.161] checking size of long... 4 [03:01:15.417] checking alignment of short... 2 [03:01:15.553] checking alignment of int... 4 [03:01:15.809] checking alignment of long... 4 [03:01:16.112] checking alignment of long long int... 8 [03:01:16.390] checking alignment of double... 8 [03:01:16.721] checking for int8... no [03:01:16.762] checking for uint8... no [03:01:16.802] checking for int64... no [03:01:16.842] checking for uint64... no [03:01:16.884] checking for __int128... yes [03:01:16.930] checking for __int128 alignment bug... assuming ok [03:01:16.930] checking alignment of PG_INT128_TYPE... 16 [03:01:17.300] checking for builtin __sync char locking functions... yes [03:01:17.340] checking for builtin __sync int32 locking functions... yes [03:01:17.381] checking for builtin __sync int32 atomic operations... yes [03:01:17.422] checking for builtin __sync int64 atomic operations... yes [03:01:17.462] checking for builtin __atomic int32 atomic operations... yes [03:01:17.502] checking for builtin __atomic int64 atomic operations... yes [03:01:17.543] checking for __get_cpuid... yes [03:01:17.587] checking for __get_cpuid_count... yes [03:01:17.631] checking for __cpuid... no [03:01:18.024] checking for __cpuidex... no [03:01:18.442] checking for _xgetbv with CFLAGS=... no [03:01:18.815] checking for _xgetbv with CFLAGS=-mxsave... yes [03:01:19.208] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:01:19.586] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:01:19.919] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:01:19.964] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:01:20.050] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:01:20.071] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:01:20.089] 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 [03:01:20.142] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:01:20.142] checking which random number source to use... Windows native [03:01:20.144] checking for xmllint... /usr/bin/xmllint [03:01:20.144] checking for xsltproc... /usr/bin/xsltproc [03:01:20.144] checking for fop... /usr/bin/fop [03:01:20.145] checking for dbtoepub... no [03:01:20.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:01:20.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:01:20.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:01:20.156] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:01:20.156] 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 [03:01:20.156] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:01:20.156] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:01:20.236] configure: creating ./config.status [03:01:20.314] config.status: creating GNUmakefile [03:01:20.326] config.status: creating src/Makefile.global [03:01:20.340] config.status: creating src/include/pg_config.h [03:01:20.352] config.status: creating src/include/pg_config_ext.h [03:01:20.363] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:01:20.376] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:01:20.383] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:01:20.390] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:01:20.396] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:01:20.403] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:01:20.406] config.status: executing check_win32_symlinks commands [03:01:20.438] [03:01:20.438] real 0m17.984s [03:01:20.438] user 0m12.120s [03:01:20.438] sys 0m5.399s [03:01:20.438] make -s -j${BUILD_JOBS} clean [03:01:20.929] time make -s -j${BUILD_JOBS} world-bin [03:03:11.655] md.c: In function ‘DropRelationFiles’: [03:03:11.655] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [03:03:11.655] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [03:03:11.655] | ^~~~~~~~~~~~~~~~~ [03:03:11.655] | pgstat_have_entry [03:03:11.655] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [03:03:11.655] 1471 | pgstat_request_entry_refs_gc(); [03:03:11.655] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [03:03:11.655] cc1: all warnings being treated as errors [03:03:11.656] make[4]: *** [: md.o] Error 1 [03:03:11.656] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [03:03:11.656] make[2]: *** [common.mk:37: storage-recursive] Error 2 [03:03:11.656] make[2]: *** Waiting for unfinished jobs.... [03:03:54.578] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:03:54.579] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:03:54.579] [03:03:54.579] real 2m33.650s [03:03:54.579] user 8m24.144s [03:03:54.579] sys 1m33.356s [03:03:54.579] [03:03:54.579] Exit status: 2