[06:17:50.071] time ./configure \ [06:17:50.071] --host=x86_64-w64-mingw32 \ [06:17:50.071] --enable-cassert \ [06:17:50.071] --without-icu \ [06:17:50.071] CC="ccache x86_64-w64-mingw32-gcc" \ [06:17:50.071] CXX="ccache x86_64-w64-mingw32-g++" [06:17:50.186] checking build system type... x86_64-pc-linux-gnu [06:17:50.386] checking host system type... x86_64-w64-mingw32 [06:17:50.391] checking which template to use... win32 [06:17:50.391] checking whether NLS is wanted... no [06:17:50.391] checking for default port number... 5432 [06:17:50.397] checking for block size... 8kB [06:17:50.399] checking for segment size... 1GB [06:17:50.401] checking for WAL block size... 8kB [06:17:50.402] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:17:50.437] checking whether the C compiler works... yes [06:17:50.577] checking for C compiler default output file name... a.exe [06:17:50.578] checking for suffix of executables... .exe [06:17:50.618] checking whether we are cross compiling... yes [06:17:50.695] checking for suffix of object files... o [06:17:50.703] checking whether we are using the GNU C compiler... yes [06:17:50.733] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:17:50.740] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:17:50.819] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:17:50.952] checking whether we are using the GNU C++ compiler... yes [06:17:51.103] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:17:51.165] checking for gawk... no [06:17:51.165] checking for mawk... mawk [06:17:51.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:17:51.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:17:51.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:17:51.224] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:17:51.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:17:51.275] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:17:51.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:17:51.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:17:51.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:17:51.361] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:17:51.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:17:51.399] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:17:51.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:17:51.422] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:17:51.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:17:51.470] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:17:51.477] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:17:51.513] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:17:51.520] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:17:51.527] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:17:51.557] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:17:51.564] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:17:51.580] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:17:51.604] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:17:51.620] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:17:51.627] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:17:51.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:17:51.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:17:51.709] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:17:51.740] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:17:51.776] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:17:51.793] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:17:51.800] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:17:51.808] checking whether the C compiler still works... yes [06:17:51.883] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:17:51.950] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:17:51.951] checking pkg-config is at least version 0.9.0... yes [06:17:51.966] checking whether to build with ICU support... no [06:17:51.967] checking whether to build with Tcl... no [06:17:51.967] checking whether to build Perl modules... no [06:17:51.967] checking whether to build Python modules... no [06:17:51.967] checking whether to build with GSSAPI support... no [06:17:51.968] checking whether to build with PAM support... no [06:17:51.968] checking whether to build with BSD Authentication support... no [06:17:51.968] checking whether to build with LDAP support... no [06:17:51.968] checking whether to build with Bonjour support... no [06:17:51.968] checking whether to build with SELinux support... no [06:17:51.968] checking whether to build with systemd support... no [06:17:51.969] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:17:51.969] checking whether to build with XML support... no [06:17:51.969] checking whether to build with LZ4 support... no [06:17:51.969] checking whether to build with ZSTD support... no [06:17:51.969] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:17:51.970] checking whether it is possible to strip libraries... yes [06:17:51.977] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:17:51.977] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:17:51.977] checking for a BSD-compatible install... /usr/bin/install -c [06:17:51.985] checking for tar... /usr/bin/tar [06:17:51.986] checking whether ln -s works... yes [06:17:51.986] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:17:51.988] checking for bison... /usr/bin/bison [06:17:51.990] configure: using bison (GNU Bison) 3.8.2 [06:17:51.992] checking for flex... /usr/bin/flex [06:17:52.004] configure: using flex 2.6.4 [06:17:52.004] checking for perl... /usr/bin/perl [06:17:52.006] configure: using perl 5.36.0 [06:17:52.008] checking for zic... /usr/sbin/zic [06:17:52.009] checking for a sed that does not truncate output... /usr/bin/sed [06:17:52.014] checking for grep that handles long lines and -e... /usr/bin/grep [06:17:52.016] checking for egrep... /usr/bin/grep -E [06:17:52.017] checking for ANSI C header files... yes [06:17:52.061] checking for sys/types.h... yes [06:17:52.077] checking for sys/stat.h... yes [06:17:52.136] checking for stdlib.h... yes [06:17:52.169] checking for string.h... yes [06:17:52.182] checking for memory.h... yes [06:17:52.240] checking for strings.h... yes [06:17:52.253] checking for inttypes.h... yes [06:17:52.268] checking for stdint.h... yes [06:17:52.281] checking for unistd.h... yes [06:17:52.296] checking for main in -lm... yes [06:17:52.343] checking for library containing setproctitle... no [06:17:52.430] checking for library containing dlsym... no [06:17:52.513] checking for library containing socket... -lws2_32 [06:17:52.639] checking for library containing getopt_long... none required [06:17:52.688] checking for library containing shm_open... no [06:17:52.773] checking for library containing shm_unlink... no [06:17:52.855] checking for library containing clock_gettime... no [06:17:52.939] checking for library containing shmget... no [06:17:53.023] checking for library containing backtrace_symbols... no [06:17:53.107] checking for library containing pthread_barrier_wait... -lpthread [06:17:53.196] checking for inflate in -lz... yes [06:17:53.240] checking for stdbool.h that conforms to C99... yes [06:17:53.283] checking for _Bool... yes [06:17:53.351] checking atomic.h usability... no [06:17:53.406] checking atomic.h presence... no [06:17:53.424] checking for atomic.h... no [06:17:53.427] checking copyfile.h usability... no [06:17:53.480] checking copyfile.h presence... no [06:17:53.498] checking for copyfile.h... no [06:17:53.501] checking execinfo.h usability... no [06:17:53.554] checking execinfo.h presence... no [06:17:53.572] checking for execinfo.h... no [06:17:53.575] checking getopt.h usability... yes [06:17:53.582] checking getopt.h presence... yes [06:17:53.596] checking for getopt.h... yes [06:17:53.603] checking ifaddrs.h usability... no [06:17:53.655] checking ifaddrs.h presence... no [06:17:53.674] checking for ifaddrs.h... no [06:17:53.677] checking mbarrier.h usability... no [06:17:53.733] checking mbarrier.h presence... no [06:17:53.751] checking for mbarrier.h... no [06:17:53.754] checking sys/epoll.h usability... no [06:17:53.807] checking sys/epoll.h presence... no [06:17:53.825] checking for sys/epoll.h... no [06:17:53.829] checking sys/event.h usability... no [06:17:53.883] checking sys/event.h presence... no [06:17:53.902] checking for sys/event.h... no [06:17:53.905] checking sys/personality.h usability... no [06:17:53.961] checking sys/personality.h presence... no [06:17:53.979] checking for sys/personality.h... no [06:17:53.982] checking sys/prctl.h usability... no [06:17:54.035] checking sys/prctl.h presence... no [06:17:54.053] checking for sys/prctl.h... no [06:17:54.057] checking sys/procctl.h usability... no [06:17:54.110] checking sys/procctl.h presence... no [06:17:54.128] checking for sys/procctl.h... no [06:17:54.131] checking sys/signalfd.h usability... no [06:17:54.184] checking sys/signalfd.h presence... no [06:17:54.202] checking for sys/signalfd.h... no [06:17:54.205] checking sys/ucred.h usability... no [06:17:54.259] checking sys/ucred.h presence... no [06:17:54.278] checking for sys/ucred.h... no [06:17:54.281] checking termios.h usability... no [06:17:54.333] checking termios.h presence... no [06:17:54.351] checking for termios.h... no [06:17:54.354] checking ucred.h usability... no [06:17:54.408] checking ucred.h presence... no [06:17:54.426] checking for ucred.h... no [06:17:54.429] checking zlib.h usability... yes [06:17:54.439] checking zlib.h presence... yes [06:17:54.457] checking for zlib.h... yes [06:17:54.457] checking for lz4... /usr/bin/lz4 [06:17:54.458] checking for zstd... /usr/bin/zstd [06:17:54.458] checking for openssl... /usr/bin/openssl [06:17:54.462] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [06:17:54.463] checking crtdefs.h usability... yes [06:17:54.489] checking crtdefs.h presence... yes [06:17:54.505] checking for crtdefs.h... yes [06:17:54.506] checking whether byte ordering is bigendian... no [06:17:54.575] checking for inline... inline [06:17:54.583] checking for printf format archetype... gnu_printf [06:17:54.591] checking for _Static_assert... yes [06:17:54.631] checking for typeof... typeof [06:17:54.667] checking for __builtin_types_compatible_p... yes [06:17:54.679] checking for __builtin_constant_p... yes [06:17:54.713] checking for __builtin_unreachable... yes [06:17:54.755] checking for computed goto support... yes [06:17:54.789] checking for struct tm.tm_zone... no [06:17:54.870] checking for union semun... no [06:17:54.905] checking for socklen_t... yes [06:17:56.989] checking for struct sockaddr.sa_len... no [06:17:58.923] checking for locale_t... no [06:17:58.987] checking for C/C++ restrict keyword... __restrict [06:17:59.009] checking for struct option... yes [06:17:59.048] checking whether assembler supports x86_64 popcntq... yes [06:17:59.064] checking size of off_t... 4 [06:17:59.310] 0 [06:17:59.310] checking size of bool... 1 [06:17:59.363] checking for int timezone... yes [06:17:59.408] checking for wcstombs_l declaration... no [06:17:59.490] checking for backtrace_symbols... no [06:17:59.537] checking for copyfile... no [06:17:59.584] checking for copy_file_range... no [06:17:59.633] checking for getifaddrs... no [06:17:59.682] checking for getpeerucred... no [06:17:59.730] checking for inet_pton... yes [06:17:59.778] checking for kqueue... no [06:17:59.827] checking for mbstowcs_l... no [06:17:59.876] checking for memset_s... no [06:17:59.924] checking for posix_fallocate... no [06:17:59.973] checking for ppoll... no [06:18:00.023] checking for pthread_is_threaded_np... no [06:18:00.073] checking for setproctitle... no [06:18:00.122] checking for setproctitle_fast... no [06:18:00.172] checking for strchrnul... no [06:18:00.224] checking for strsignal... no [06:18:00.273] checking for syncfs... no [06:18:00.323] checking for sync_file_range... no [06:18:00.374] checking for uselocale... no [06:18:00.424] checking for wcstombs_l... no [06:18:00.470] checking for __builtin_bswap16... yes [06:18:00.520] checking for __builtin_bswap32... yes [06:18:00.569] checking for __builtin_bswap64... yes [06:18:00.615] checking for __builtin_clz... yes [06:18:00.663] checking for __builtin_ctz... yes [06:18:00.711] checking for __builtin_popcount... yes [06:18:00.757] checking for __builtin_frame_address... yes [06:18:00.805] checking for _LARGEFILE_SOURCE value needed for large files... no [06:18:00.856] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:18:00.888] checking for posix_fadvise... no [06:18:00.942] checking whether posix_fadvise is declared... no [06:18:00.986] checking whether fdatasync is declared... no [06:18:01.032] checking whether strlcat is declared... no [06:18:01.097] checking whether strlcpy is declared... no [06:18:01.161] checking whether strnlen is declared... yes [06:18:01.228] checking whether strsep is declared... no [06:18:01.293] checking whether preadv is declared... no [06:18:01.329] checking whether pwritev is declared... no [06:18:01.366] checking whether F_FULLFSYNC is declared... no [06:18:01.406] checking for explicit_bzero... no [06:18:01.452] checking for getopt... yes [06:18:01.497] checking for getpeereid... no [06:18:01.546] checking for inet_aton... no [06:18:01.593] checking for mkdtemp... no [06:18:01.640] checking for strlcat... no [06:18:01.687] checking for strlcpy... no [06:18:01.735] checking for strnlen... yes [06:18:01.782] checking for strsep... no [06:18:01.830] checking for pthread_barrier_wait... yes [06:18:01.875] configure: On mingw32 we will use our strtof wrapper. [06:18:01.875] checking for getopt_long... yes [06:18:01.921] checking for _configthreadlocale... yes [06:18:01.966] checking for syslog... no [06:18:02.013] checking for opterr... yes [06:18:02.060] checking for optreset... no [06:18:02.111] checking test program... cross-compiling [06:18:02.111] checking whether long int is 64 bits... no [06:18:02.140] checking whether long long int is 64 bits... yes [06:18:02.149] checking for __builtin_mul_overflow... yes [06:18:02.191] checking size of void *... 8 [06:18:02.506] checking size of size_t... 8 [06:18:02.871] checking size of long... 4 [06:18:03.125] checking alignment of short... 2 [06:18:03.282] checking alignment of int... 4 [06:18:03.580] checking alignment of long... 4 [06:18:03.836] checking alignment of long long int... 8 [06:18:04.136] checking alignment of double... 8 [06:18:04.453] checking for int8... no [06:18:04.494] checking for uint8... no [06:18:04.535] checking for int64... no [06:18:04.578] checking for uint64... no [06:18:04.618] checking for __int128... yes [06:18:04.666] checking for __int128 alignment bug... assuming ok [06:18:04.666] checking alignment of PG_INT128_TYPE... 16 [06:18:05.062] checking for builtin __sync char locking functions... yes [06:18:05.102] checking for builtin __sync int32 locking functions... yes [06:18:05.144] checking for builtin __sync int32 atomic operations... yes [06:18:05.187] checking for builtin __sync int64 atomic operations... yes [06:18:05.227] checking for builtin __atomic int32 atomic operations... yes [06:18:05.268] checking for builtin __atomic int64 atomic operations... yes [06:18:05.312] checking for __get_cpuid... yes [06:18:05.356] checking for __get_cpuid_count... yes [06:18:05.400] checking for __cpuid... no [06:18:05.793] checking for __cpuidex... no [06:18:06.208] checking for _xgetbv with CFLAGS=... no [06:18:06.579] checking for _xgetbv with CFLAGS=-mxsave... yes [06:18:06.972] checking for _mm512_popcnt_epi64 with CFLAGS=... no [06:18:07.347] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [06:18:07.683] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:18:07.729] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:18:07.816] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:18:07.838] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:18:07.857] 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 [06:18:07.911] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:18:07.911] checking which random number source to use... Windows native [06:18:07.913] checking for xmllint... /usr/bin/xmllint [06:18:07.913] checking for xsltproc... /usr/bin/xsltproc [06:18:07.914] checking for fop... /usr/bin/fop [06:18:07.914] checking for dbtoepub... no [06:18:07.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:18:07.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:18:07.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:18:07.925] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:18:07.925] 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 [06:18:07.925] configure: using CPPFLAGS= -I./src/include/port/win32 [06:18:07.925] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:18:08.009] configure: creating ./config.status [06:18:08.093] config.status: creating GNUmakefile [06:18:08.105] config.status: creating src/Makefile.global [06:18:08.120] config.status: creating src/include/pg_config.h [06:18:08.133] config.status: creating src/include/pg_config_ext.h [06:18:08.144] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:18:08.158] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:18:08.164] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:18:08.172] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:18:08.178] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:18:08.185] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:18:08.188] config.status: executing check_win32_symlinks commands [06:18:08.220] [06:18:08.220] real 0m18.149s [06:18:08.220] user 0m12.083s [06:18:08.220] sys 0m5.638s [06:18:08.220] make -s -j${BUILD_JOBS} clean [06:18:08.718] time make -s -j${BUILD_JOBS} world-bin [06:20:00.450] md.c: In function ‘DropRelationFiles’: [06:20:00.450] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [06:20:00.450] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [06:20:00.450] | ^~~~~~~~~~~~~~~~~ [06:20:00.450] | pgstat_have_entry [06:20:00.450] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [06:20:00.450] 1471 | pgstat_request_entry_refs_gc(); [06:20:00.450] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [06:20:00.450] cc1: all warnings being treated as errors [06:20:00.451] make[4]: *** [: md.o] Error 1 [06:20:00.451] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [06:20:00.451] make[2]: *** [common.mk:37: storage-recursive] Error 2 [06:20:00.451] make[2]: *** Waiting for unfinished jobs.... [06:20:31.393] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:20:31.393] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:20:31.393] [06:20:31.393] real 2m22.676s [06:20:31.393] user 7m48.618s [06:20:31.393] sys 1m25.089s [06:20:31.393] [06:20:31.393] Exit status: 2