[02:53:09.932] time ./configure \ [02:53:09.932] --host=x86_64-w64-mingw32 \ [02:53:09.932] --enable-cassert \ [02:53:09.932] --without-icu \ [02:53:09.932] CC="ccache x86_64-w64-mingw32-gcc" \ [02:53:09.932] CXX="ccache x86_64-w64-mingw32-g++" [02:53:10.067] checking build system type... x86_64-pc-linux-gnu [02:53:10.271] checking host system type... x86_64-w64-mingw32 [02:53:10.278] checking which template to use... win32 [02:53:10.278] checking whether NLS is wanted... no [02:53:10.278] checking for default port number... 5432 [02:53:10.287] checking for block size... 8kB [02:53:10.289] checking for segment size... 1GB [02:53:10.292] checking for WAL block size... 8kB [02:53:10.293] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:53:10.333] checking whether the C compiler works... yes [02:53:10.488] checking for C compiler default output file name... a.exe [02:53:10.489] checking for suffix of executables... .exe [02:53:10.535] checking whether we are cross compiling... yes [02:53:10.621] checking for suffix of object files... o [02:53:10.640] checking whether we are using the GNU C compiler... yes [02:53:10.678] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:53:10.686] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:53:10.777] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:53:10.927] checking whether we are using the GNU C++ compiler... yes [02:53:11.097] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:53:11.252] checking for gawk... no [02:53:11.252] checking for mawk... mawk [02:53:11.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:53:11.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:53:11.272] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:53:11.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:53:11.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:53:11.381] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:53:11.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:53:11.459] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:53:11.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:53:11.476] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:53:11.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:53:11.520] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:53:11.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:53:11.546] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:53:11.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:53:11.601] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:53:11.639] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [02:53:11.678] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:53:11.686] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:53:11.724] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:53:11.743] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:53:11.752] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:53:11.771] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:53:11.798] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:53:11.817] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:53:11.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:53:11.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:53:11.911] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:53:11.949] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:53:11.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:53:12.024] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:53:12.043] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:53:12.051] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:53:12.071] checking whether the C compiler still works... yes [02:53:12.155] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:53:12.238] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:53:12.238] checking pkg-config is at least version 0.9.0... yes [02:53:12.255] checking whether to build with ICU support... no [02:53:12.256] checking whether to build with Tcl... no [02:53:12.256] checking whether to build Perl modules... no [02:53:12.256] checking whether to build Python modules... no [02:53:12.256] checking whether to build with GSSAPI support... no [02:53:12.258] checking whether to build with PAM support... no [02:53:12.258] checking whether to build with BSD Authentication support... no [02:53:12.258] checking whether to build with LDAP support... no [02:53:12.258] checking whether to build with Bonjour support... no [02:53:12.258] checking whether to build with SELinux support... no [02:53:12.258] checking whether to build with systemd support... no [02:53:12.258] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:53:12.258] checking whether to build with XML support... no [02:53:12.259] checking whether to build with LZ4 support... no [02:53:12.259] checking whether to build with ZSTD support... no [02:53:12.259] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:53:12.260] checking whether it is possible to strip libraries... yes [02:53:12.269] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:53:12.270] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:53:12.270] checking for a BSD-compatible install... /usr/bin/install -c [02:53:12.281] checking for tar... /usr/bin/tar [02:53:12.281] checking whether ln -s works... yes [02:53:12.281] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:53:12.284] checking for bison... /usr/bin/bison [02:53:12.287] configure: using bison (GNU Bison) 3.8.2 [02:53:12.290] checking for flex... /usr/bin/flex [02:53:12.306] configure: using flex 2.6.4 [02:53:12.306] checking for perl... /usr/bin/perl [02:53:12.309] configure: using perl 5.36.0 [02:53:12.312] checking for zic... /usr/sbin/zic [02:53:12.313] checking for a sed that does not truncate output... /usr/bin/sed [02:53:12.319] checking for grep that handles long lines and -e... /usr/bin/grep [02:53:12.321] checking for egrep... /usr/bin/grep -E [02:53:12.323] checking for ANSI C header files... yes [02:53:12.376] checking for sys/types.h... yes [02:53:12.395] checking for sys/stat.h... yes [02:53:12.463] checking for stdlib.h... yes [02:53:12.501] checking for string.h... yes [02:53:12.539] checking for memory.h... yes [02:53:12.608] checking for strings.h... yes [02:53:12.671] checking for inttypes.h... yes [02:53:12.716] checking for stdint.h... yes [02:53:12.757] checking for unistd.h... yes [02:53:12.777] checking for main in -lm... yes [02:53:12.827] checking for library containing setproctitle... no [02:53:12.926] checking for library containing dlsym... no [02:53:13.026] checking for library containing socket... -lws2_32 [02:53:13.174] checking for library containing getopt_long... none required [02:53:13.227] checking for library containing shm_open... no [02:53:13.327] checking for library containing shm_unlink... no [02:53:13.427] checking for library containing clock_gettime... no [02:53:13.524] checking for library containing shmget... no [02:53:13.622] checking for library containing backtrace_symbols... no [02:53:13.720] checking for library containing pthread_barrier_wait... -lpthread [02:53:13.822] checking for inflate in -lz... yes [02:53:13.873] checking for stdbool.h that conforms to C99... yes [02:53:13.925] checking for _Bool... yes [02:53:14.003] checking atomic.h usability... no [02:53:14.064] checking atomic.h presence... no [02:53:14.086] checking for atomic.h... no [02:53:14.090] checking copyfile.h usability... no [02:53:14.151] checking copyfile.h presence... no [02:53:14.172] checking for copyfile.h... no [02:53:14.176] checking execinfo.h usability... no [02:53:14.237] checking execinfo.h presence... no [02:53:14.258] checking for execinfo.h... no [02:53:14.262] checking getopt.h usability... yes [02:53:14.325] checking getopt.h presence... yes [02:53:14.343] checking for getopt.h... yes [02:53:14.352] checking ifaddrs.h usability... no [02:53:14.415] checking ifaddrs.h presence... no [02:53:14.437] checking for ifaddrs.h... no [02:53:14.441] checking mbarrier.h usability... no [02:53:14.502] checking mbarrier.h presence... no [02:53:14.524] checking for mbarrier.h... no [02:53:14.528] checking sys/epoll.h usability... no [02:53:14.590] checking sys/epoll.h presence... no [02:53:14.612] checking for sys/epoll.h... no [02:53:14.616] checking sys/event.h usability... no [02:53:14.674] checking sys/event.h presence... no [02:53:14.695] checking for sys/event.h... no [02:53:14.699] checking sys/personality.h usability... no [02:53:14.762] checking sys/personality.h presence... no [02:53:14.784] checking for sys/personality.h... no [02:53:14.788] checking sys/prctl.h usability... no [02:53:14.849] checking sys/prctl.h presence... no [02:53:14.872] checking for sys/prctl.h... no [02:53:14.876] checking sys/procctl.h usability... no [02:53:14.937] checking sys/procctl.h presence... no [02:53:14.959] checking for sys/procctl.h... no [02:53:14.963] checking sys/signalfd.h usability... no [02:53:15.023] checking sys/signalfd.h presence... no [02:53:15.046] checking for sys/signalfd.h... no [02:53:15.051] checking sys/ucred.h usability... no [02:53:15.113] checking sys/ucred.h presence... no [02:53:15.135] checking for sys/ucred.h... no [02:53:15.139] checking termios.h usability... no [02:53:15.200] checking termios.h presence... no [02:53:15.222] checking for termios.h... no [02:53:15.226] checking ucred.h usability... no [02:53:15.290] checking ucred.h presence... no [02:53:15.312] checking for ucred.h... no [02:53:15.316] checking zlib.h usability... yes [02:53:15.354] checking zlib.h presence... yes [02:53:15.377] checking for zlib.h... yes [02:53:15.377] checking for lz4... /usr/bin/lz4 [02:53:15.377] checking for zstd... /usr/bin/zstd [02:53:15.378] checking for openssl... /usr/bin/openssl [02:53:15.383] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [02:53:15.383] checking crtdefs.h usability... yes [02:53:15.444] checking crtdefs.h presence... yes [02:53:15.462] checking for crtdefs.h... yes [02:53:15.463] checking whether byte ordering is bigendian... no [02:53:15.564] checking for inline... inline [02:53:15.595] checking for printf format archetype... gnu_printf [02:53:15.636] checking for _Static_assert... yes [02:53:15.683] checking for typeof... typeof [02:53:15.723] checking for __builtin_types_compatible_p... yes [02:53:15.736] checking for __builtin_constant_p... yes [02:53:15.750] checking for __builtin_unreachable... yes [02:53:15.796] checking for computed goto support... yes [02:53:15.836] checking for struct tm.tm_zone... no [02:53:15.927] checking for union semun... no [02:53:15.968] checking for socklen_t... yes [02:53:18.384] checking for struct sockaddr.sa_len... no [02:53:20.590] checking for locale_t... no [02:53:20.666] checking for C/C++ restrict keyword... __restrict [02:53:20.694] checking for struct option... yes [02:53:20.757] checking whether assembler supports x86_64 popcntq... yes [02:53:20.778] checking size of off_t... 4 [02:53:21.121] 0 [02:53:21.122] checking size of bool... 1 [02:53:21.204] checking for int timezone... yes [02:53:21.255] checking for wcstombs_l declaration... no [02:53:21.357] checking for backtrace_symbols... no [02:53:21.417] checking for copyfile... no [02:53:21.473] checking for copy_file_range... no [02:53:21.529] checking for getifaddrs... no [02:53:21.586] checking for getpeerucred... no [02:53:21.642] checking for inet_pton... yes [02:53:21.699] checking for kqueue... no [02:53:21.754] checking for mbstowcs_l... no [02:53:21.810] checking for memset_s... no [02:53:21.865] checking for posix_fallocate... no [02:53:21.920] checking for ppoll... no [02:53:21.976] checking for pthread_is_threaded_np... no [02:53:22.030] checking for setproctitle... no [02:53:22.084] checking for setproctitle_fast... no [02:53:22.140] checking for strchrnul... no [02:53:22.196] checking for strsignal... no [02:53:22.255] checking for syncfs... no [02:53:22.311] checking for sync_file_range... no [02:53:22.367] checking for uselocale... no [02:53:22.422] checking for wcstombs_l... no [02:53:22.475] checking for __builtin_bswap16... yes [02:53:22.530] checking for __builtin_bswap32... yes [02:53:22.585] checking for __builtin_bswap64... yes [02:53:22.638] checking for __builtin_clz... yes [02:53:22.690] checking for __builtin_ctz... yes [02:53:22.744] checking for __builtin_popcount... yes [02:53:22.798] checking for __builtin_frame_address... yes [02:53:22.853] checking for _LARGEFILE_SOURCE value needed for large files... no [02:53:22.909] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:53:22.947] checking for posix_fadvise... no [02:53:23.004] checking whether posix_fadvise is declared... no [02:53:23.056] checking whether fdatasync is declared... no [02:53:23.111] checking whether strlcat is declared... no [02:53:23.182] checking whether strlcpy is declared... no [02:53:23.254] checking whether strnlen is declared... yes [02:53:23.328] checking whether strsep is declared... no [02:53:23.398] checking whether preadv is declared... no [02:53:23.442] checking whether pwritev is declared... no [02:53:23.486] checking whether F_FULLFSYNC is declared... no [02:53:23.533] checking for explicit_bzero... no [02:53:23.585] checking for getopt... yes [02:53:23.634] checking for getpeereid... no [02:53:23.687] checking for inet_aton... no [02:53:23.741] checking for mkdtemp... no [02:53:23.796] checking for strlcat... no [02:53:23.850] checking for strlcpy... no [02:53:23.905] checking for strnlen... yes [02:53:23.959] checking for strsep... no [02:53:24.012] checking for pthread_barrier_wait... yes [02:53:24.060] configure: On mingw32 we will use our strtof wrapper. [02:53:24.060] checking for getopt_long... yes [02:53:24.109] checking for _configthreadlocale... yes [02:53:24.160] checking for syslog... no [02:53:24.213] checking for opterr... yes [02:53:24.266] checking for optreset... no [02:53:24.324] checking test program... cross-compiling [02:53:24.324] checking whether long int is 64 bits... no [02:53:24.360] checking whether long long int is 64 bits... yes [02:53:24.401] checking for __builtin_mul_overflow... yes [02:53:24.449] checking size of void *... 8 [02:53:24.912] checking size of size_t... 8 [02:53:25.369] checking size of long... 4 [02:53:25.598] checking alignment of short... 2 [02:53:25.800] checking alignment of int... 4 [02:53:26.114] checking alignment of long... 4 [02:53:26.460] checking alignment of long long int... 8 [02:53:26.988] checking alignment of double... 8 [02:53:27.470] checking for int8... no [02:53:27.518] checking for uint8... no [02:53:27.565] checking for int64... no [02:53:27.612] checking for uint64... no [02:53:27.662] checking for __int128... yes [02:53:27.716] checking for __int128 alignment bug... assuming ok [02:53:27.716] checking alignment of PG_INT128_TYPE... 16 [02:53:28.252] checking for builtin __sync char locking functions... yes [02:53:28.299] checking for builtin __sync int32 locking functions... yes [02:53:28.346] checking for builtin __sync int32 atomic operations... yes [02:53:28.394] checking for builtin __sync int64 atomic operations... yes [02:53:28.443] checking for builtin __atomic int32 atomic operations... yes [02:53:28.490] checking for builtin __atomic int64 atomic operations... yes [02:53:28.539] checking for __get_cpuid... yes [02:53:28.588] checking for __get_cpuid_count... yes [02:53:28.637] checking for __cpuid... no [02:53:29.045] checking for __cpuidex... no [02:53:29.482] checking for _xgetbv with CFLAGS=... no [02:53:29.879] checking for _xgetbv with CFLAGS=-mxsave... yes [02:53:30.293] checking for _mm512_popcnt_epi64 with CFLAGS=... no [02:53:30.692] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [02:53:31.049] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [02:53:31.100] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [02:53:31.200] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:53:31.226] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:53:31.249] 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:53:31.309] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:53:31.309] checking which random number source to use... Windows native [02:53:31.311] checking for xmllint... /usr/bin/xmllint [02:53:31.312] checking for xsltproc... /usr/bin/xsltproc [02:53:31.312] checking for fop... /usr/bin/fop [02:53:31.312] checking for dbtoepub... no [02:53:31.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:53:31.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:53:31.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [02:53:31.325] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [02:53:31.325] 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:53:31.325] configure: using CPPFLAGS= -I./src/include/port/win32 [02:53:31.325] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:53:31.427] configure: creating ./config.status [02:53:31.522] config.status: creating GNUmakefile [02:53:31.537] config.status: creating src/Makefile.global [02:53:31.555] config.status: creating src/include/pg_config.h [02:53:31.570] config.status: creating src/include/pg_config_ext.h [02:53:31.585] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:53:31.603] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:53:31.611] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:53:31.621] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:53:31.629] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:53:31.638] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:53:31.642] config.status: executing check_win32_symlinks commands [02:53:31.683] [02:53:31.683] real 0m21.751s [02:53:31.683] user 0m14.390s [02:53:31.683] sys 0m6.926s [02:53:31.683] make -s -j${BUILD_JOBS} clean [02:53:32.238] time make -s -j${BUILD_JOBS} world-bin [02:55:49.708] md.c: In function ‘DropRelationFiles’: [02:55:49.708] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [02:55:49.708] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [02:55:49.708] | ^~~~~~~~~~~~~~~~~ [02:55:49.708] | pgstat_have_entry [02:55:49.708] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [02:55:49.708] 1471 | pgstat_request_entry_refs_gc(); [02:55:49.708] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [02:55:49.708] cc1: all warnings being treated as errors [02:55:49.709] make[4]: *** [: md.o] Error 1 [02:55:49.709] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [02:55:49.709] make[3]: *** Waiting for unfinished jobs.... [02:55:52.526] make[2]: *** [common.mk:37: storage-recursive] Error 2 [02:55:52.526] make[2]: *** Waiting for unfinished jobs.... [02:56:32.177] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:56:32.177] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:56:32.177] [02:56:32.177] real 2m59.939s [02:56:32.177] user 9m53.210s [02:56:32.177] sys 1m50.002s [02:56:32.178] [02:56:32.178] Exit status: 2