[00:53:00.443] time ./configure \ [00:53:00.443] --host=x86_64-w64-mingw32 \ [00:53:00.443] --enable-cassert \ [00:53:00.443] --without-icu \ [00:53:00.443] CC="ccache x86_64-w64-mingw32-gcc" \ [00:53:00.443] CXX="ccache x86_64-w64-mingw32-g++" [00:53:00.573] checking build system type... x86_64-pc-linux-gnu [00:53:00.790] checking host system type... x86_64-w64-mingw32 [00:53:00.796] checking which template to use... win32 [00:53:00.796] checking whether NLS is wanted... no [00:53:00.796] checking for default port number... 5432 [00:53:00.804] checking for block size... 8kB [00:53:00.805] checking for segment size... 1GB [00:53:00.808] checking for WAL block size... 8kB [00:53:00.810] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:53:00.847] checking whether the C compiler works... yes [00:53:01.005] checking for C compiler default output file name... a.exe [00:53:01.006] checking for suffix of executables... .exe [00:53:01.048] checking whether we are cross compiling... yes [00:53:01.127] checking for suffix of object files... o [00:53:01.136] checking whether we are using the GNU C compiler... yes [00:53:01.171] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:53:01.178] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:53:01.262] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:53:01.407] checking whether we are using the GNU C++ compiler... yes [00:53:01.586] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:53:01.725] checking for gawk... no [00:53:01.725] checking for mawk... mawk [00:53:01.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:53:01.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:53:01.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:53:01.842] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:53:01.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:53:01.897] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:53:01.905] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:53:01.939] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:53:01.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:53:01.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:53:01.983] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:53:02.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:53:02.035] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:53:02.042] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:53:02.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:53:02.069] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:53:02.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:53:02.115] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:53:02.151] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:53:02.186] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:53:02.204] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:53:02.241] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:53:02.249] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:53:02.276] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:53:02.294] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:53:02.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:53:02.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:53:02.392] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:53:02.399] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:53:02.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:53:02.469] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:53:02.477] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:53:02.495] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:53:02.514] checking whether the C compiler still works... yes [00:53:02.593] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:53:02.667] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:53:02.667] checking pkg-config is at least version 0.9.0... yes [00:53:02.684] checking whether to build with ICU support... no [00:53:02.684] checking whether to build with Tcl... no [00:53:02.684] checking whether to build Perl modules... no [00:53:02.684] checking whether to build Python modules... no [00:53:02.684] checking whether to build with GSSAPI support... no [00:53:02.685] checking whether to build with PAM support... no [00:53:02.685] checking whether to build with BSD Authentication support... no [00:53:02.686] checking whether to build with LDAP support... no [00:53:02.686] checking whether to build with Bonjour support... no [00:53:02.686] checking whether to build with SELinux support... no [00:53:02.686] checking whether to build with systemd support... no [00:53:02.686] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:53:02.686] checking whether to build with XML support... no [00:53:02.686] checking whether to build with LZ4 support... no [00:53:02.687] checking whether to build with ZSTD support... no [00:53:02.687] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:53:02.687] checking whether it is possible to strip libraries... yes [00:53:02.696] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:53:02.696] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:53:02.696] checking for a BSD-compatible install... /usr/bin/install -c [00:53:02.706] checking for tar... /usr/bin/tar [00:53:02.707] checking whether ln -s works... yes [00:53:02.707] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:53:02.709] checking for bison... /usr/bin/bison [00:53:02.712] configure: using bison (GNU Bison) 3.8.2 [00:53:02.715] checking for flex... /usr/bin/flex [00:53:02.729] configure: using flex 2.6.4 [00:53:02.729] checking for perl... /usr/bin/perl [00:53:02.732] configure: using perl 5.36.0 [00:53:02.735] checking for zic... /usr/sbin/zic [00:53:02.735] checking for a sed that does not truncate output... /usr/bin/sed [00:53:02.740] checking for grep that handles long lines and -e... /usr/bin/grep [00:53:02.743] checking for egrep... /usr/bin/grep -E [00:53:02.745] checking for ANSI C header files... yes [00:53:02.811] checking for sys/types.h... yes [00:53:02.849] checking for sys/stat.h... yes [00:53:02.911] checking for stdlib.h... yes [00:53:02.974] checking for string.h... yes [00:53:03.012] checking for memory.h... yes [00:53:03.076] checking for strings.h... yes [00:53:03.115] checking for inttypes.h... yes [00:53:03.156] checking for stdint.h... yes [00:53:03.220] checking for unistd.h... yes [00:53:03.288] checking for main in -lm... yes [00:53:03.340] checking for library containing setproctitle... no [00:53:03.431] checking for library containing dlsym... no [00:53:03.522] checking for library containing socket... -lws2_32 [00:53:03.656] checking for library containing getopt_long... none required [00:53:03.707] checking for library containing shm_open... no [00:53:03.799] checking for library containing shm_unlink... no [00:53:03.889] checking for library containing clock_gettime... no [00:53:03.981] checking for library containing shmget... no [00:53:04.072] checking for library containing backtrace_symbols... no [00:53:04.165] checking for library containing pthread_barrier_wait... -lpthread [00:53:04.258] checking for inflate in -lz... yes [00:53:04.311] checking for stdbool.h that conforms to C99... yes [00:53:04.358] checking for _Bool... yes [00:53:04.488] checking atomic.h usability... no [00:53:04.545] checking atomic.h presence... no [00:53:04.566] checking for atomic.h... no [00:53:04.570] checking copyfile.h usability... no [00:53:04.629] checking copyfile.h presence... no [00:53:04.650] checking for copyfile.h... no [00:53:04.653] checking execinfo.h usability... no [00:53:04.712] checking execinfo.h presence... no [00:53:04.733] checking for execinfo.h... no [00:53:04.737] checking getopt.h usability... yes [00:53:04.792] checking getopt.h presence... yes [00:53:04.809] checking for getopt.h... yes [00:53:04.817] checking ifaddrs.h usability... no [00:53:04.876] checking ifaddrs.h presence... no [00:53:04.898] checking for ifaddrs.h... no [00:53:04.902] checking mbarrier.h usability... no [00:53:04.960] checking mbarrier.h presence... no [00:53:04.981] checking for mbarrier.h... no [00:53:04.984] checking sys/epoll.h usability... no [00:53:05.043] checking sys/epoll.h presence... no [00:53:05.064] checking for sys/epoll.h... no [00:53:05.067] checking sys/event.h usability... no [00:53:05.126] checking sys/event.h presence... no [00:53:05.146] checking for sys/event.h... no [00:53:05.150] checking sys/personality.h usability... no [00:53:05.208] checking sys/personality.h presence... no [00:53:05.229] checking for sys/personality.h... no [00:53:05.233] checking sys/prctl.h usability... no [00:53:05.291] checking sys/prctl.h presence... no [00:53:05.314] checking for sys/prctl.h... no [00:53:05.317] checking sys/procctl.h usability... no [00:53:05.377] checking sys/procctl.h presence... no [00:53:05.398] checking for sys/procctl.h... no [00:53:05.402] checking sys/signalfd.h usability... no [00:53:05.463] checking sys/signalfd.h presence... no [00:53:05.485] checking for sys/signalfd.h... no [00:53:05.489] checking sys/ucred.h usability... no [00:53:05.547] checking sys/ucred.h presence... no [00:53:05.568] checking for sys/ucred.h... no [00:53:05.572] checking termios.h usability... no [00:53:05.630] checking termios.h presence... no [00:53:05.652] checking for termios.h... no [00:53:05.655] checking ucred.h usability... no [00:53:05.715] checking ucred.h presence... no [00:53:05.737] checking for ucred.h... no [00:53:05.740] checking zlib.h usability... yes [00:53:05.804] checking zlib.h presence... yes [00:53:05.824] checking for zlib.h... yes [00:53:05.824] checking for lz4... /usr/bin/lz4 [00:53:05.825] checking for zstd... /usr/bin/zstd [00:53:05.825] checking for openssl... /usr/bin/openssl [00:53:05.829] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:53:05.830] checking crtdefs.h usability... yes [00:53:05.887] checking crtdefs.h presence... yes [00:53:05.905] checking for crtdefs.h... yes [00:53:05.906] checking whether byte ordering is bigendian... no [00:53:06.025] checking for inline... inline [00:53:06.044] checking for printf format archetype... gnu_printf [00:53:06.083] checking for _Static_assert... yes [00:53:06.128] checking for typeof... typeof [00:53:06.136] checking for __builtin_types_compatible_p... yes [00:53:06.158] checking for __builtin_constant_p... yes [00:53:06.181] checking for __builtin_unreachable... yes [00:53:06.223] checking for computed goto support... yes [00:53:06.240] checking for struct tm.tm_zone... no [00:53:06.320] checking for union semun... no [00:53:06.357] checking for socklen_t... yes [00:53:08.583] checking for struct sockaddr.sa_len... no [00:53:10.664] checking for locale_t... no [00:53:10.740] checking for C/C++ restrict keyword... __restrict [00:53:10.754] checking for struct option... yes [00:53:10.834] checking whether assembler supports x86_64 popcntq... yes [00:53:10.842] checking size of off_t... 4 [00:53:11.223] 0 [00:53:11.223] checking size of bool... 1 [00:53:11.308] checking for int timezone... yes [00:53:11.357] checking for wcstombs_l declaration... no [00:53:11.449] checking for backtrace_symbols... no [00:53:11.505] checking for copyfile... no [00:53:11.560] checking for copy_file_range... no [00:53:11.614] checking for getifaddrs... no [00:53:11.668] checking for getpeerucred... no [00:53:11.723] checking for inet_pton... yes [00:53:11.778] checking for kqueue... no [00:53:11.833] checking for mbstowcs_l... no [00:53:11.887] checking for memset_s... no [00:53:11.942] checking for posix_fallocate... no [00:53:11.996] checking for ppoll... no [00:53:12.050] checking for pthread_is_threaded_np... no [00:53:12.105] checking for setproctitle... no [00:53:12.158] checking for setproctitle_fast... no [00:53:12.214] checking for strchrnul... no [00:53:12.269] checking for strsignal... no [00:53:12.324] checking for syncfs... no [00:53:12.378] checking for sync_file_range... no [00:53:12.431] checking for uselocale... no [00:53:12.482] checking for wcstombs_l... no [00:53:12.533] checking for __builtin_bswap16... yes [00:53:12.585] checking for __builtin_bswap32... yes [00:53:12.637] checking for __builtin_bswap64... yes [00:53:12.691] checking for __builtin_clz... yes [00:53:12.743] checking for __builtin_ctz... yes [00:53:12.795] checking for __builtin_popcount... yes [00:53:12.845] checking for __builtin_frame_address... yes [00:53:12.896] checking for _LARGEFILE_SOURCE value needed for large files... no [00:53:12.951] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:53:12.988] checking for posix_fadvise... no [00:53:13.044] checking whether posix_fadvise is declared... no [00:53:13.095] checking whether fdatasync is declared... no [00:53:13.143] checking whether strlcat is declared... no [00:53:13.209] checking whether strlcpy is declared... no [00:53:13.278] checking whether strnlen is declared... yes [00:53:13.349] checking whether strsep is declared... no [00:53:13.417] checking whether preadv is declared... no [00:53:13.456] checking whether pwritev is declared... no [00:53:13.498] checking whether F_FULLFSYNC is declared... no [00:53:13.541] checking for explicit_bzero... no [00:53:13.591] checking for getopt... yes [00:53:13.638] checking for getpeereid... no [00:53:13.688] checking for inet_aton... no [00:53:13.739] checking for mkdtemp... no [00:53:13.789] checking for strlcat... no [00:53:13.840] checking for strlcpy... no [00:53:13.889] checking for strnlen... yes [00:53:13.937] checking for strsep... no [00:53:13.985] checking for pthread_barrier_wait... yes [00:53:14.030] configure: On mingw32 we will use our strtof wrapper. [00:53:14.030] checking for getopt_long... yes [00:53:14.076] checking for _configthreadlocale... yes [00:53:14.120] checking for syslog... no [00:53:14.169] checking for opterr... yes [00:53:14.218] checking for optreset... no [00:53:14.272] checking test program... cross-compiling [00:53:14.272] checking whether long int is 64 bits... no [00:53:14.308] checking whether long long int is 64 bits... yes [00:53:14.349] checking for __builtin_mul_overflow... yes [00:53:14.393] checking size of void *... 8 [00:53:14.857] checking size of size_t... 8 [00:53:15.359] checking size of long... 4 [00:53:15.663] checking alignment of short... 2 [00:53:15.978] checking alignment of int... 4 [00:53:16.330] checking alignment of long... 4 [00:53:16.677] checking alignment of long long int... 8 [00:53:17.079] checking alignment of double... 8 [00:53:17.451] checking for int8... no [00:53:17.499] checking for uint8... no [00:53:17.546] checking for int64... no [00:53:17.591] checking for uint64... no [00:53:17.636] checking for __int128... yes [00:53:17.685] checking for __int128 alignment bug... assuming ok [00:53:17.685] checking alignment of PG_INT128_TYPE... 16 [00:53:18.136] checking for builtin __sync char locking functions... yes [00:53:18.183] checking for builtin __sync int32 locking functions... yes [00:53:18.227] checking for builtin __sync int32 atomic operations... yes [00:53:18.272] checking for builtin __sync int64 atomic operations... yes [00:53:18.317] checking for builtin __atomic int32 atomic operations... yes [00:53:18.363] checking for builtin __atomic int64 atomic operations... yes [00:53:18.409] checking for __get_cpuid... yes [00:53:18.458] checking for __get_cpuid_count... yes [00:53:18.505] checking for __cpuid... no [00:53:18.909] checking for __cpuidex... no [00:53:19.336] checking for _xgetbv with CFLAGS=... no [00:53:19.727] checking for _xgetbv with CFLAGS=-mxsave... yes [00:53:20.114] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:53:20.497] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:53:20.845] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:53:20.894] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:53:20.986] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:53:21.010] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:53:21.031] 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 [00:53:21.089] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:53:21.090] checking which random number source to use... Windows native [00:53:21.092] checking for xmllint... /usr/bin/xmllint [00:53:21.092] checking for xsltproc... /usr/bin/xsltproc [00:53:21.092] checking for fop... /usr/bin/fop [00:53:21.093] checking for dbtoepub... no [00:53:21.093] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:53:21.093] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:53:21.093] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:53:21.106] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:53:21.106] 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 [00:53:21.106] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:53:21.106] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:53:21.199] configure: creating ./config.status [00:53:21.291] config.status: creating GNUmakefile [00:53:21.305] config.status: creating src/Makefile.global [00:53:21.322] config.status: creating src/include/pg_config.h [00:53:21.336] config.status: creating src/include/pg_config_ext.h [00:53:21.349] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:53:21.367] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:53:21.375] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:53:21.383] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:53:21.392] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:53:21.399] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:53:21.403] config.status: executing check_win32_symlinks commands [00:53:21.441] [00:53:21.441] real 0m20.998s [00:53:21.441] user 0m13.717s [00:53:21.441] sys 0m6.815s [00:53:21.441] make -s -j${BUILD_JOBS} clean [00:53:21.964] time make -s -j${BUILD_JOBS} world-bin [00:56:07.359] md.c: In function ‘DropRelationFiles’: [00:56:07.359] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [00:56:07.359] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [00:56:07.359] | ^~~~~~~~~~~~~~~~~ [00:56:07.359] | pgstat_have_entry [00:56:07.359] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [00:56:07.359] 1471 | pgstat_request_entry_refs_gc(); [00:56:07.359] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:56:07.359] cc1: all warnings being treated as errors [00:56:07.360] make[4]: *** [: md.o] Error 1 [00:56:07.360] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [00:56:07.360] make[2]: *** [common.mk:37: storage-recursive] Error 2 [00:56:07.360] make[2]: *** Waiting for unfinished jobs.... [00:56:39.139] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:56:39.140] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:56:39.140] [00:56:39.140] real 3m17.176s [00:56:39.140] user 10m49.355s [00:56:39.140] sys 2m2.462s [00:56:39.140] [00:56:39.140] Exit status: 2