[02:44:10.993] time ./configure \ [02:44:10.993] --host=x86_64-w64-mingw32 \ [02:44:10.993] --enable-cassert \ [02:44:10.993] --without-icu \ [02:44:10.993] CC="ccache x86_64-w64-mingw32-gcc" \ [02:44:10.993] CXX="ccache x86_64-w64-mingw32-g++" [02:44:11.119] checking build system type... x86_64-pc-linux-gnu [02:44:11.328] checking host system type... x86_64-w64-mingw32 [02:44:11.334] checking which template to use... win32 [02:44:11.334] checking whether NLS is wanted... no [02:44:11.334] checking for default port number... 5432 [02:44:11.342] checking for block size... 8kB [02:44:11.343] checking for segment size... 1GB [02:44:11.345] checking for WAL block size... 8kB [02:44:11.347] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:44:11.386] checking whether the C compiler works... yes [02:44:11.548] checking for C compiler default output file name... a.exe [02:44:11.549] checking for suffix of executables... .exe [02:44:11.593] checking whether we are cross compiling... yes [02:44:11.676] checking for suffix of object files... o [02:44:11.688] checking whether we are using the GNU C compiler... yes [02:44:11.696] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:44:11.704] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:44:11.716] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:44:11.789] checking whether we are using the GNU C++ compiler... yes [02:44:11.797] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:44:12.102] checking for gawk... no [02:44:12.102] checking for mawk... mawk [02:44:12.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:44:12.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:44:12.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:44:12.197] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:44:12.244] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:44:12.251] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:44:12.269] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:44:12.276] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:44:12.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:44:12.301] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:44:12.310] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:44:12.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:44:12.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:44:12.402] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:44:12.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:44:12.445] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:44:12.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [02:44:12.492] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:44:12.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:44:12.543] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:44:12.551] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:44:12.558] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:44:12.595] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:44:12.621] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:44:12.629] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:44:12.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:44:12.704] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:44:12.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:44:12.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:44:12.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:44:12.798] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:44:12.806] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:44:12.814] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:44:12.833] checking whether the C compiler still works... yes [02:44:12.904] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:44:12.982] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:44:12.983] checking pkg-config is at least version 0.9.0... yes [02:44:13.000] checking whether to build with ICU support... no [02:44:13.000] checking whether to build with Tcl... no [02:44:13.000] checking whether to build Perl modules... no [02:44:13.000] checking whether to build Python modules... no [02:44:13.000] checking whether to build with GSSAPI support... no [02:44:13.001] checking whether to build with PAM support... no [02:44:13.001] checking whether to build with BSD Authentication support... no [02:44:13.002] checking whether to build with LDAP support... no [02:44:13.002] checking whether to build with Bonjour support... no [02:44:13.002] checking whether to build with SELinux support... no [02:44:13.002] checking whether to build with systemd support... no [02:44:13.002] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:44:13.002] checking whether to build with XML support... no [02:44:13.002] checking whether to build with LZ4 support... no [02:44:13.002] checking whether to build with ZSTD support... no [02:44:13.003] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:44:13.003] checking whether it is possible to strip libraries... yes [02:44:13.011] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:44:13.012] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:44:13.012] checking for a BSD-compatible install... /usr/bin/install -c [02:44:13.022] checking for tar... /usr/bin/tar [02:44:13.022] checking whether ln -s works... yes [02:44:13.022] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:44:13.025] checking for bison... /usr/bin/bison [02:44:13.028] configure: using bison (GNU Bison) 3.8.2 [02:44:13.031] checking for flex... /usr/bin/flex [02:44:13.043] configure: using flex 2.6.4 [02:44:13.044] checking for perl... /usr/bin/perl [02:44:13.047] configure: using perl 5.36.0 [02:44:13.049] checking for zic... /usr/sbin/zic [02:44:13.049] checking for a sed that does not truncate output... /usr/bin/sed [02:44:13.055] checking for grep that handles long lines and -e... /usr/bin/grep [02:44:13.057] checking for egrep... /usr/bin/grep -E [02:44:13.059] checking for ANSI C header files... yes [02:44:13.113] checking for sys/types.h... yes [02:44:13.132] checking for sys/stat.h... yes [02:44:13.151] checking for stdlib.h... yes [02:44:13.169] checking for string.h... yes [02:44:13.186] checking for memory.h... yes [02:44:13.203] checking for strings.h... yes [02:44:13.220] checking for inttypes.h... yes [02:44:13.238] checking for stdint.h... yes [02:44:13.253] checking for unistd.h... yes [02:44:13.295] checking for main in -lm... yes [02:44:13.348] checking for library containing setproctitle... no [02:44:13.446] checking for library containing dlsym... no [02:44:13.543] checking for library containing socket... -lws2_32 [02:44:13.690] checking for library containing getopt_long... none required [02:44:13.743] checking for library containing shm_open... no [02:44:13.841] checking for library containing shm_unlink... no [02:44:13.939] checking for library containing clock_gettime... no [02:44:14.033] checking for library containing shmget... no [02:44:14.127] checking for library containing backtrace_symbols... no [02:44:14.224] checking for library containing pthread_barrier_wait... -lpthread [02:44:14.320] checking for inflate in -lz... yes [02:44:14.369] checking for stdbool.h that conforms to C99... yes [02:44:14.422] checking for _Bool... yes [02:44:14.555] checking atomic.h usability... no [02:44:14.613] checking atomic.h presence... no [02:44:14.635] checking for atomic.h... no [02:44:14.639] checking copyfile.h usability... no [02:44:14.698] checking copyfile.h presence... no [02:44:14.718] checking for copyfile.h... no [02:44:14.722] checking execinfo.h usability... no [02:44:14.782] checking execinfo.h presence... no [02:44:14.804] checking for execinfo.h... no [02:44:14.808] checking getopt.h usability... yes [02:44:14.868] checking getopt.h presence... yes [02:44:14.885] checking for getopt.h... yes [02:44:14.894] checking ifaddrs.h usability... no [02:44:14.955] checking ifaddrs.h presence... no [02:44:14.977] checking for ifaddrs.h... no [02:44:14.981] checking mbarrier.h usability... no [02:44:15.040] checking mbarrier.h presence... no [02:44:15.060] checking for mbarrier.h... no [02:44:15.063] checking sys/epoll.h usability... no [02:44:15.119] checking sys/epoll.h presence... no [02:44:15.139] checking for sys/epoll.h... no [02:44:15.143] checking sys/event.h usability... no [02:44:15.202] checking sys/event.h presence... no [02:44:15.222] checking for sys/event.h... no [02:44:15.226] checking sys/personality.h usability... no [02:44:15.284] checking sys/personality.h presence... no [02:44:15.304] checking for sys/personality.h... no [02:44:15.308] checking sys/prctl.h usability... no [02:44:15.365] checking sys/prctl.h presence... no [02:44:15.385] checking for sys/prctl.h... no [02:44:15.389] checking sys/procctl.h usability... no [02:44:15.447] checking sys/procctl.h presence... no [02:44:15.468] checking for sys/procctl.h... no [02:44:15.471] checking sys/signalfd.h usability... no [02:44:15.531] checking sys/signalfd.h presence... no [02:44:15.552] checking for sys/signalfd.h... no [02:44:15.556] checking sys/ucred.h usability... no [02:44:15.614] checking sys/ucred.h presence... no [02:44:15.633] checking for sys/ucred.h... no [02:44:15.637] checking termios.h usability... no [02:44:15.694] checking termios.h presence... no [02:44:15.713] checking for termios.h... no [02:44:15.717] checking ucred.h usability... no [02:44:15.774] checking ucred.h presence... no [02:44:15.794] checking for ucred.h... no [02:44:15.797] checking zlib.h usability... yes [02:44:15.809] checking zlib.h presence... yes [02:44:15.830] checking for zlib.h... yes [02:44:15.830] checking for lz4... /usr/bin/lz4 [02:44:15.830] checking for zstd... /usr/bin/zstd [02:44:15.830] checking for openssl... /usr/bin/openssl [02:44:15.835] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [02:44:15.836] checking crtdefs.h usability... yes [02:44:15.895] checking crtdefs.h presence... yes [02:44:15.911] checking for crtdefs.h... yes [02:44:15.913] checking whether byte ordering is bigendian... no [02:44:15.992] checking for inline... inline [02:44:16.000] checking for printf format archetype... gnu_printf [02:44:16.009] checking for _Static_assert... yes [02:44:16.058] checking for typeof... typeof [02:44:16.097] checking for __builtin_types_compatible_p... yes [02:44:16.111] checking for __builtin_constant_p... yes [02:44:16.124] checking for __builtin_unreachable... yes [02:44:16.170] checking for computed goto support... yes [02:44:16.209] checking for struct tm.tm_zone... no [02:44:16.299] checking for union semun... no [02:44:16.338] checking for socklen_t... yes [02:44:18.089] checking for struct sockaddr.sa_len... no [02:44:20.355] checking for locale_t... no [02:44:20.424] checking for C/C++ restrict keyword... __restrict [02:44:20.439] checking for struct option... yes [02:44:20.486] checking whether assembler supports x86_64 popcntq... yes [02:44:20.523] checking size of off_t... 4 [02:44:20.883] 0 [02:44:20.884] checking size of bool... 1 [02:44:20.946] checking for int timezone... yes [02:44:20.998] checking for wcstombs_l declaration... no [02:44:21.092] checking for backtrace_symbols... no [02:44:21.147] checking for copyfile... no [02:44:21.202] checking for copy_file_range... no [02:44:21.259] checking for getifaddrs... no [02:44:21.316] checking for getpeerucred... no [02:44:21.369] checking for inet_pton... yes [02:44:21.423] checking for kqueue... no [02:44:21.475] checking for mbstowcs_l... no [02:44:21.527] checking for memset_s... no [02:44:21.579] checking for posix_fallocate... no [02:44:21.633] checking for ppoll... no [02:44:21.689] checking for pthread_is_threaded_np... no [02:44:21.747] checking for setproctitle... no [02:44:21.804] checking for setproctitle_fast... no [02:44:21.859] checking for strchrnul... no [02:44:21.915] checking for strsignal... no [02:44:21.973] checking for syncfs... no [02:44:22.030] checking for sync_file_range... no [02:44:22.084] checking for uselocale... no [02:44:22.137] checking for wcstombs_l... no [02:44:22.190] checking for __builtin_bswap16... yes [02:44:22.242] checking for __builtin_bswap32... yes [02:44:22.293] checking for __builtin_bswap64... yes [02:44:22.345] checking for __builtin_clz... yes [02:44:22.396] checking for __builtin_ctz... yes [02:44:22.448] checking for __builtin_popcount... yes [02:44:22.500] checking for __builtin_frame_address... yes [02:44:22.552] checking for _LARGEFILE_SOURCE value needed for large files... no [02:44:22.607] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:44:22.643] checking for posix_fadvise... no [02:44:22.701] checking whether posix_fadvise is declared... no [02:44:22.754] checking whether fdatasync is declared... no [02:44:22.809] checking whether strlcat is declared... no [02:44:22.879] checking whether strlcpy is declared... no [02:44:22.950] checking whether strnlen is declared... yes [02:44:23.020] checking whether strsep is declared... no [02:44:23.088] checking whether preadv is declared... no [02:44:23.128] checking whether pwritev is declared... no [02:44:23.168] checking whether F_FULLFSYNC is declared... no [02:44:23.212] checking for explicit_bzero... no [02:44:23.261] checking for getopt... yes [02:44:23.309] checking for getpeereid... no [02:44:23.357] checking for inet_aton... no [02:44:23.406] checking for mkdtemp... no [02:44:23.457] checking for strlcat... no [02:44:23.505] checking for strlcpy... no [02:44:23.554] checking for strnlen... yes [02:44:23.604] checking for strsep... no [02:44:23.656] checking for pthread_barrier_wait... yes [02:44:23.703] configure: On mingw32 we will use our strtof wrapper. [02:44:23.703] checking for getopt_long... yes [02:44:23.751] checking for _configthreadlocale... yes [02:44:23.800] checking for syslog... no [02:44:23.853] checking for opterr... yes [02:44:23.904] checking for optreset... no [02:44:23.959] checking test program... cross-compiling [02:44:23.959] checking whether long int is 64 bits... no [02:44:23.993] checking whether long long int is 64 bits... yes [02:44:24.003] checking for __builtin_mul_overflow... yes [02:44:24.048] checking size of void *... 8 [02:44:24.425] checking size of size_t... 8 [02:44:24.740] checking size of long... 4 [02:44:25.011] checking alignment of short... 2 [02:44:25.224] checking alignment of int... 4 [02:44:25.598] checking alignment of long... 4 [02:44:25.922] checking alignment of long long int... 8 [02:44:26.346] checking alignment of double... 8 [02:44:26.770] checking for int8... no [02:44:26.817] checking for uint8... no [02:44:26.865] checking for int64... no [02:44:26.914] checking for uint64... no [02:44:26.958] checking for __int128... yes [02:44:27.011] checking for __int128 alignment bug... assuming ok [02:44:27.011] checking alignment of PG_INT128_TYPE... 16 [02:44:27.457] checking for builtin __sync char locking functions... yes [02:44:27.503] checking for builtin __sync int32 locking functions... yes [02:44:27.549] checking for builtin __sync int32 atomic operations... yes [02:44:27.595] checking for builtin __sync int64 atomic operations... yes [02:44:27.643] checking for builtin __atomic int32 atomic operations... yes [02:44:27.689] checking for builtin __atomic int64 atomic operations... yes [02:44:27.736] checking for __get_cpuid... yes [02:44:27.788] checking for __get_cpuid_count... yes [02:44:27.836] checking for __cpuid... no [02:44:28.246] checking for __cpuidex... no [02:44:28.693] checking for _xgetbv with CFLAGS=... no [02:44:29.093] checking for _xgetbv with CFLAGS=-mxsave... yes [02:44:29.509] checking for _mm512_popcnt_epi64 with CFLAGS=... no [02:44:29.909] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [02:44:30.262] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [02:44:30.312] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [02:44:30.410] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:44:30.437] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:44:30.460] 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 [02:44:30.520] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:44:30.521] checking which random number source to use... Windows native [02:44:30.523] checking for xmllint... /usr/bin/xmllint [02:44:30.523] checking for xsltproc... /usr/bin/xsltproc [02:44:30.523] checking for fop... /usr/bin/fop [02:44:30.524] checking for dbtoepub... no [02:44:30.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:44:30.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:44:30.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [02:44:30.536] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [02:44:30.536] 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 [02:44:30.536] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [02:44:30.536] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:44:30.636] configure: creating ./config.status [02:44:30.735] config.status: creating GNUmakefile [02:44:30.750] config.status: creating src/Makefile.global [02:44:30.767] config.status: creating src/include/pg_config.h [02:44:30.783] config.status: creating src/include/pg_config_ext.h [02:44:30.796] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:44:30.814] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:44:30.823] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:44:30.831] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:44:30.840] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:44:30.847] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:44:30.851] config.status: executing check_win32_symlinks commands [02:44:30.890] [02:44:30.890] real 0m19.897s [02:44:30.890] user 0m13.217s [02:44:30.890] sys 0m6.216s [02:44:30.890] make -s -j${BUILD_JOBS} clean [02:44:31.435] time make -s -j${BUILD_JOBS} world-bin [02:46:24.118] md.c: In function ‘DropRelationFiles’: [02:46:24.118] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [02:46:24.118] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [02:46:24.118] | ^~~~~~~~~~~~~~~~~ [02:46:24.118] | pgstat_have_entry [02:46:24.118] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [02:46:24.118] 1471 | pgstat_request_entry_refs_gc(); [02:46:24.118] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [02:46:24.118] cc1: all warnings being treated as errors [02:46:24.119] make[4]: *** [: md.o] Error 1 [02:46:24.119] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [02:46:24.119] make[3]: *** Waiting for unfinished jobs.... [02:46:24.542] make[2]: *** [common.mk:37: storage-recursive] Error 2 [02:46:24.542] make[2]: *** Waiting for unfinished jobs.... [02:47:03.207] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:47:03.207] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:47:03.207] [02:47:03.207] real 2m31.772s [02:47:03.207] user 8m19.831s [02:47:03.207] sys 1m33.371s [02:47:03.208] [02:47:03.208] Exit status: 2