[18:48:59.561] time ./configure \ [18:48:59.561] --host=x86_64-w64-mingw32 \ [18:48:59.561] --enable-cassert \ [18:48:59.561] --without-icu \ [18:48:59.561] CC="ccache x86_64-w64-mingw32-gcc" \ [18:48:59.561] CXX="ccache x86_64-w64-mingw32-g++" [18:48:59.674] checking build system type... x86_64-pc-linux-gnu [18:48:59.877] checking host system type... x86_64-w64-mingw32 [18:48:59.882] checking which template to use... win32 [18:48:59.882] checking whether NLS is wanted... no [18:48:59.882] checking for default port number... 5432 [18:48:59.890] checking for block size... 8kB [18:48:59.891] checking for segment size... 1GB [18:48:59.893] checking for WAL block size... 8kB [18:48:59.894] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:48:59.928] checking whether the C compiler works... yes [18:49:00.067] checking for C compiler default output file name... a.exe [18:49:00.068] checking for suffix of executables... .exe [18:49:00.108] checking whether we are cross compiling... yes [18:49:00.180] checking for suffix of object files... o [18:49:00.188] checking whether we are using the GNU C compiler... yes [18:49:00.194] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:49:00.200] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:49:00.209] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:49:00.271] checking whether we are using the GNU C++ compiler... yes [18:49:00.277] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:49:00.564] checking for gawk... no [18:49:00.564] checking for mawk... mawk [18:49:00.567] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:49:00.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:49:00.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:49:00.623] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:49:00.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:49:00.675] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:49:00.690] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:49:00.696] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:49:00.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:49:00.718] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:49:00.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:49:00.754] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:49:00.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:49:00.775] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:49:00.806] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:49:00.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:49:00.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:49:00.902] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:49:00.917] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:49:00.947] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:49:00.962] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:49:00.969] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:49:00.998] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:49:01.019] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:49:01.026] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:49:01.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:49:01.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:49:01.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:49:01.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:49:01.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:49:01.183] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:49:01.190] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:49:01.196] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:49:01.213] checking whether the C compiler still works... yes [18:49:01.276] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:49:01.342] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:49:01.342] checking pkg-config is at least version 0.9.0... yes [18:49:01.359] checking whether to build with ICU support... no [18:49:01.359] checking whether to build with Tcl... no [18:49:01.359] checking whether to build Perl modules... no [18:49:01.359] checking whether to build Python modules... no [18:49:01.360] checking whether to build with GSSAPI support... no [18:49:01.361] checking whether to build with PAM support... no [18:49:01.361] checking whether to build with BSD Authentication support... no [18:49:01.361] checking whether to build with LDAP support... no [18:49:01.361] checking whether to build with Bonjour support... no [18:49:01.361] checking whether to build with SELinux support... no [18:49:01.361] checking whether to build with systemd support... no [18:49:01.361] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:49:01.361] checking whether to build with XML support... no [18:49:01.362] checking whether to build with LZ4 support... no [18:49:01.362] checking whether to build with ZSTD support... no [18:49:01.362] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:49:01.362] checking whether it is possible to strip libraries... yes [18:49:01.370] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:49:01.370] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:49:01.370] checking for a BSD-compatible install... /usr/bin/install -c [18:49:01.379] checking for tar... /usr/bin/tar [18:49:01.379] checking whether ln -s works... yes [18:49:01.379] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:49:01.381] checking for bison... /usr/bin/bison [18:49:01.383] configure: using bison (GNU Bison) 3.8.2 [18:49:01.385] checking for flex... /usr/bin/flex [18:49:01.397] configure: using flex 2.6.4 [18:49:01.397] checking for perl... /usr/bin/perl [18:49:01.399] configure: using perl 5.36.0 [18:49:01.401] checking for zic... /usr/sbin/zic [18:49:01.402] checking for a sed that does not truncate output... /usr/bin/sed [18:49:01.406] checking for grep that handles long lines and -e... /usr/bin/grep [18:49:01.408] checking for egrep... /usr/bin/grep -E [18:49:01.410] checking for ANSI C header files... yes [18:49:01.455] checking for sys/types.h... yes [18:49:01.470] checking for sys/stat.h... yes [18:49:01.484] checking for stdlib.h... yes [18:49:01.541] checking for string.h... yes [18:49:01.554] checking for memory.h... yes [18:49:01.587] checking for strings.h... yes [18:49:01.641] checking for inttypes.h... yes [18:49:01.698] checking for stdint.h... yes [18:49:01.753] checking for unistd.h... yes [18:49:01.768] checking for main in -lm... yes [18:49:01.814] checking for library containing setproctitle... no [18:49:01.899] checking for library containing dlsym... no [18:49:01.980] checking for library containing socket... -lws2_32 [18:49:02.100] checking for library containing getopt_long... none required [18:49:02.144] checking for library containing shm_open... no [18:49:02.228] checking for library containing shm_unlink... no [18:49:02.309] checking for library containing clock_gettime... no [18:49:02.391] checking for library containing shmget... no [18:49:02.474] checking for library containing backtrace_symbols... no [18:49:02.558] checking for library containing pthread_barrier_wait... -lpthread [18:49:02.644] checking for inflate in -lz... yes [18:49:02.691] checking for stdbool.h that conforms to C99... yes [18:49:02.740] checking for _Bool... yes [18:49:02.826] checking atomic.h usability... no [18:49:02.877] checking atomic.h presence... no [18:49:02.895] checking for atomic.h... no [18:49:02.898] checking copyfile.h usability... no [18:49:02.948] checking copyfile.h presence... no [18:49:02.965] checking for copyfile.h... no [18:49:02.968] checking execinfo.h usability... no [18:49:03.019] checking execinfo.h presence... no [18:49:03.036] checking for execinfo.h... no [18:49:03.039] checking getopt.h usability... yes [18:49:03.090] checking getopt.h presence... yes [18:49:03.103] checking for getopt.h... yes [18:49:03.110] checking ifaddrs.h usability... no [18:49:03.161] checking ifaddrs.h presence... no [18:49:03.178] checking for ifaddrs.h... no [18:49:03.181] checking mbarrier.h usability... no [18:49:03.232] checking mbarrier.h presence... no [18:49:03.249] checking for mbarrier.h... no [18:49:03.252] checking sys/epoll.h usability... no [18:49:03.304] checking sys/epoll.h presence... no [18:49:03.320] checking for sys/epoll.h... no [18:49:03.323] checking sys/event.h usability... no [18:49:03.374] checking sys/event.h presence... no [18:49:03.391] checking for sys/event.h... no [18:49:03.394] checking sys/personality.h usability... no [18:49:03.452] checking sys/personality.h presence... no [18:49:03.472] checking for sys/personality.h... no [18:49:03.475] checking sys/prctl.h usability... no [18:49:03.527] checking sys/prctl.h presence... no [18:49:03.544] checking for sys/prctl.h... no [18:49:03.547] checking sys/procctl.h usability... no [18:49:03.599] checking sys/procctl.h presence... no [18:49:03.616] checking for sys/procctl.h... no [18:49:03.619] checking sys/signalfd.h usability... no [18:49:03.671] checking sys/signalfd.h presence... no [18:49:03.688] checking for sys/signalfd.h... no [18:49:03.691] checking sys/ucred.h usability... no [18:49:03.743] checking sys/ucred.h presence... no [18:49:03.761] checking for sys/ucred.h... no [18:49:03.763] checking termios.h usability... no [18:49:03.814] checking termios.h presence... no [18:49:03.831] checking for termios.h... no [18:49:03.835] checking ucred.h usability... no [18:49:03.886] checking ucred.h presence... no [18:49:03.904] checking for ucred.h... no [18:49:03.907] checking zlib.h usability... yes [18:49:03.939] checking zlib.h presence... yes [18:49:03.956] checking for zlib.h... yes [18:49:03.956] checking for lz4... /usr/bin/lz4 [18:49:03.956] checking for zstd... /usr/bin/zstd [18:49:03.956] checking for openssl... /usr/bin/openssl [18:49:03.960] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:49:03.961] checking crtdefs.h usability... yes [18:49:04.012] checking crtdefs.h presence... yes [18:49:04.026] checking for crtdefs.h... yes [18:49:04.027] checking whether byte ordering is bigendian... no [18:49:04.122] checking for inline... inline [18:49:04.147] checking for printf format archetype... gnu_printf [18:49:04.155] checking for _Static_assert... yes [18:49:04.194] checking for typeof... typeof [18:49:04.226] checking for __builtin_types_compatible_p... yes [18:49:04.237] checking for __builtin_constant_p... yes [18:49:04.256] checking for __builtin_unreachable... yes [18:49:04.296] checking for computed goto support... yes [18:49:04.327] checking for struct tm.tm_zone... no [18:49:04.402] checking for union semun... no [18:49:04.434] checking for socklen_t... yes [18:49:05.952] checking for struct sockaddr.sa_len... no [18:49:07.964] checking for locale_t... no [18:49:08.024] checking for C/C++ restrict keyword... __restrict [18:49:08.036] checking for struct option... yes [18:49:08.085] checking whether assembler supports x86_64 popcntq... yes [18:49:08.093] checking size of off_t... 4 [18:49:08.433] 0 [18:49:08.434] checking size of bool... 1 [18:49:08.523] checking for int timezone... yes [18:49:08.567] checking for wcstombs_l declaration... no [18:49:08.648] checking for backtrace_symbols... no [18:49:08.697] checking for copyfile... no [18:49:08.746] checking for copy_file_range... no [18:49:08.795] checking for getifaddrs... no [18:49:08.844] checking for getpeerucred... no [18:49:08.894] checking for inet_pton... yes [18:49:08.941] checking for kqueue... no [18:49:08.988] checking for mbstowcs_l... no [18:49:09.037] checking for memset_s... no [18:49:09.085] checking for posix_fallocate... no [18:49:09.133] checking for ppoll... no [18:49:09.180] checking for pthread_is_threaded_np... no [18:49:09.227] checking for setproctitle... no [18:49:09.273] checking for setproctitle_fast... no [18:49:09.321] checking for strchrnul... no [18:49:09.369] checking for strsignal... no [18:49:09.416] checking for syncfs... no [18:49:09.462] checking for sync_file_range... no [18:49:09.511] checking for uselocale... no [18:49:09.559] checking for wcstombs_l... no [18:49:09.604] checking for __builtin_bswap16... yes [18:49:09.651] checking for __builtin_bswap32... yes [18:49:09.697] checking for __builtin_bswap64... yes [18:49:09.742] checking for __builtin_clz... yes [18:49:09.788] checking for __builtin_ctz... yes [18:49:09.833] checking for __builtin_popcount... yes [18:49:09.880] checking for __builtin_frame_address... yes [18:49:09.929] checking for _LARGEFILE_SOURCE value needed for large files... no [18:49:09.982] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:49:10.014] checking for posix_fadvise... no [18:49:10.067] checking whether posix_fadvise is declared... no [18:49:10.116] checking whether fdatasync is declared... no [18:49:10.162] checking whether strlcat is declared... no [18:49:10.225] checking whether strlcpy is declared... no [18:49:10.289] checking whether strnlen is declared... yes [18:49:10.356] checking whether strsep is declared... no [18:49:10.422] checking whether preadv is declared... no [18:49:10.459] checking whether pwritev is declared... no [18:49:10.495] checking whether F_FULLFSYNC is declared... no [18:49:10.533] checking for explicit_bzero... no [18:49:10.579] checking for getopt... yes [18:49:10.623] checking for getpeereid... no [18:49:10.668] checking for inet_aton... no [18:49:10.712] checking for mkdtemp... no [18:49:10.756] checking for strlcat... no [18:49:10.800] checking for strlcpy... no [18:49:10.844] checking for strnlen... yes [18:49:10.889] checking for strsep... no [18:49:10.934] checking for pthread_barrier_wait... yes [18:49:10.975] configure: On mingw32 we will use our strtof wrapper. [18:49:10.975] checking for getopt_long... yes [18:49:11.018] checking for _configthreadlocale... yes [18:49:11.060] checking for syslog... no [18:49:11.105] checking for opterr... yes [18:49:11.153] checking for optreset... no [18:49:11.203] checking test program... cross-compiling [18:49:11.203] checking whether long int is 64 bits... no [18:49:11.232] checking whether long long int is 64 bits... yes [18:49:11.241] checking for __builtin_mul_overflow... yes [18:49:11.281] checking size of void *... 8 [18:49:11.653] checking size of size_t... 8 [18:49:11.984] checking size of long... 4 [18:49:12.313] checking alignment of short... 2 [18:49:12.490] checking alignment of int... 4 [18:49:12.778] checking alignment of long... 4 [18:49:13.089] checking alignment of long long int... 8 [18:49:13.416] checking alignment of double... 8 [18:49:13.829] checking for int8... no [18:49:13.872] checking for uint8... no [18:49:13.913] checking for int64... no [18:49:13.957] checking for uint64... no [18:49:14.000] checking for __int128... yes [18:49:14.048] checking for __int128 alignment bug... assuming ok [18:49:14.048] checking alignment of PG_INT128_TYPE... 16 [18:49:14.502] checking for builtin __sync char locking functions... yes [18:49:14.543] checking for builtin __sync int32 locking functions... yes [18:49:14.585] checking for builtin __sync int32 atomic operations... yes [18:49:14.626] checking for builtin __sync int64 atomic operations... yes [18:49:14.667] checking for builtin __atomic int32 atomic operations... yes [18:49:14.710] checking for builtin __atomic int64 atomic operations... yes [18:49:14.752] checking for __get_cpuid... yes [18:49:14.796] checking for __get_cpuid_count... yes [18:49:14.840] checking for __cpuid... no [18:49:15.231] checking for __cpuidex... no [18:49:15.651] checking for _xgetbv with CFLAGS=... no [18:49:16.033] checking for _xgetbv with CFLAGS=-mxsave... yes [18:49:16.421] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:49:16.793] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:49:17.141] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:49:17.185] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:49:17.272] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:49:17.293] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:49:17.311] 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 [18:49:17.364] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:49:17.365] checking which random number source to use... Windows native [18:49:17.366] checking for xmllint... /usr/bin/xmllint [18:49:17.367] checking for xsltproc... /usr/bin/xsltproc [18:49:17.367] checking for fop... /usr/bin/fop [18:49:17.367] checking for dbtoepub... no [18:49:17.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:49:17.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:49:17.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:49:17.377] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:49:17.377] 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 [18:49:17.377] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:49:17.377] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:49:17.457] configure: creating ./config.status [18:49:17.536] config.status: creating GNUmakefile [18:49:17.547] config.status: creating src/Makefile.global [18:49:17.561] config.status: creating src/include/pg_config.h [18:49:17.574] config.status: creating src/include/pg_config_ext.h [18:49:17.585] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:49:17.598] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:49:17.605] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:49:17.612] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:49:17.619] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:49:17.625] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:49:17.628] config.status: executing check_win32_symlinks commands [18:49:17.660] [18:49:17.660] real 0m18.099s [18:49:17.660] user 0m12.065s [18:49:17.660] sys 0m5.571s [18:49:17.660] make -s -j${BUILD_JOBS} clean [18:49:18.165] time make -s -j${BUILD_JOBS} world-bin [18:51:30.784] md.c: In function ‘DropRelationFiles’: [18:51:30.784] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [18:51:30.784] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [18:51:30.784] | ^~~~~~~~~~~~~~~~~ [18:51:30.784] | pgstat_have_entry [18:51:30.784] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [18:51:30.784] 1471 | pgstat_request_entry_refs_gc(); [18:51:30.784] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18:51:30.784] cc1: all warnings being treated as errors [18:51:30.786] make[4]: *** [: md.o] Error 1 [18:51:30.786] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [18:51:30.786] make[2]: *** [common.mk:37: storage-recursive] Error 2 [18:51:30.786] make[2]: *** Waiting for unfinished jobs.... [18:52:06.443] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:52:06.444] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:52:06.444] [18:52:06.444] real 2m48.279s [18:52:06.444] user 9m10.461s [18:52:06.444] sys 1m43.188s [18:52:06.444] [18:52:06.444] Exit status: 2