[20:00:42.182] time ./configure \ [20:00:42.182] --host=x86_64-w64-mingw32 \ [20:00:42.182] --enable-cassert \ [20:00:42.182] --without-icu \ [20:00:42.182] CC="ccache x86_64-w64-mingw32-gcc" \ [20:00:42.182] CXX="ccache x86_64-w64-mingw32-g++" [20:00:42.317] checking build system type... x86_64-pc-linux-gnu [20:00:42.555] checking host system type... x86_64-w64-mingw32 [20:00:42.562] checking which template to use... win32 [20:00:42.562] checking whether NLS is wanted... no [20:00:42.562] checking for default port number... 5432 [20:00:42.570] checking for block size... 8kB [20:00:42.571] checking for segment size... 1GB [20:00:42.574] checking for WAL block size... 8kB [20:00:42.575] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:00:42.615] checking whether the C compiler works... yes [20:00:42.799] checking for C compiler default output file name... a.exe [20:00:42.800] checking for suffix of executables... .exe [20:00:42.847] checking whether we are cross compiling... yes [20:00:42.936] checking for suffix of object files... o [20:00:42.945] checking whether we are using the GNU C compiler... yes [20:00:42.982] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:00:42.990] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:00:43.080] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:00:43.225] checking whether we are using the GNU C++ compiler... yes [20:00:43.411] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:00:43.491] checking for gawk... no [20:00:43.491] checking for mawk... mawk [20:00:43.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:00:43.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:00:43.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:00:43.622] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:00:43.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:00:43.679] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:00:43.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:00:43.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:00:43.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:00:43.802] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:00:43.810] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:00:43.845] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:00:43.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:00:43.869] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:00:43.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:00:43.922] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:00:43.962] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:00:44.000] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:00:44.007] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:00:44.015] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:00:44.054] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:00:44.091] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:00:44.129] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:00:44.156] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:00:44.173] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:00:44.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:00:44.246] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:00:44.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:00:44.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:00:44.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:00:44.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:00:44.399] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:00:44.417] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:00:44.452] checking whether the C compiler still works... yes [20:00:44.536] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:00:44.616] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:00:44.616] checking pkg-config is at least version 0.9.0... yes [20:00:44.635] checking whether to build with ICU support... no [20:00:44.635] checking whether to build with Tcl... no [20:00:44.636] checking whether to build Perl modules... no [20:00:44.636] checking whether to build Python modules... no [20:00:44.636] checking whether to build with GSSAPI support... no [20:00:44.637] checking whether to build with PAM support... no [20:00:44.637] checking whether to build with BSD Authentication support... no [20:00:44.637] checking whether to build with LDAP support... no [20:00:44.637] checking whether to build with Bonjour support... no [20:00:44.637] checking whether to build with SELinux support... no [20:00:44.637] checking whether to build with systemd support... no [20:00:44.637] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:00:44.638] checking whether to build with XML support... no [20:00:44.638] checking whether to build with LZ4 support... no [20:00:44.638] checking whether to build with ZSTD support... no [20:00:44.638] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:00:44.639] checking whether it is possible to strip libraries... yes [20:00:44.647] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:00:44.648] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:00:44.648] checking for a BSD-compatible install... /usr/bin/install -c [20:00:44.657] checking for tar... /usr/bin/tar [20:00:44.657] checking whether ln -s works... yes [20:00:44.657] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:00:44.660] checking for bison... /usr/bin/bison [20:00:44.662] configure: using bison (GNU Bison) 3.8.2 [20:00:44.665] checking for flex... /usr/bin/flex [20:00:44.677] configure: using flex 2.6.4 [20:00:44.677] checking for perl... /usr/bin/perl [20:00:44.680] configure: using perl 5.36.0 [20:00:44.682] checking for zic... /usr/sbin/zic [20:00:44.682] checking for a sed that does not truncate output... /usr/bin/sed [20:00:44.687] checking for grep that handles long lines and -e... /usr/bin/grep [20:00:44.689] checking for egrep... /usr/bin/grep -E [20:00:44.691] checking for ANSI C header files... yes [20:00:44.794] checking for sys/types.h... yes [20:00:44.833] checking for sys/stat.h... yes [20:00:44.901] checking for stdlib.h... yes [20:00:44.919] checking for string.h... yes [20:00:44.959] checking for memory.h... yes [20:00:45.026] checking for strings.h... yes [20:00:45.092] checking for inttypes.h... yes [20:00:45.133] checking for stdint.h... yes [20:00:45.172] checking for unistd.h... yes [20:00:45.246] checking for main in -lm... yes [20:00:45.300] checking for library containing setproctitle... no [20:00:45.395] checking for library containing dlsym... no [20:00:45.494] checking for library containing socket... -lws2_32 [20:00:45.638] checking for library containing getopt_long... none required [20:00:45.689] checking for library containing shm_open... no [20:00:45.784] checking for library containing shm_unlink... no [20:00:45.876] checking for library containing clock_gettime... no [20:00:45.974] checking for library containing shmget... no [20:00:46.070] checking for library containing backtrace_symbols... no [20:00:46.165] checking for library containing pthread_barrier_wait... -lpthread [20:00:46.268] checking for inflate in -lz... yes [20:00:46.325] checking for stdbool.h that conforms to C99... yes [20:00:46.379] checking for _Bool... yes [20:00:46.526] checking atomic.h usability... no [20:00:46.593] checking atomic.h presence... no [20:00:46.616] checking for atomic.h... no [20:00:46.621] checking copyfile.h usability... no [20:00:46.689] checking copyfile.h presence... no [20:00:46.712] checking for copyfile.h... no [20:00:46.716] checking execinfo.h usability... no [20:00:46.790] checking execinfo.h presence... no [20:00:46.815] checking for execinfo.h... no [20:00:46.820] checking getopt.h usability... yes [20:00:46.854] checking getopt.h presence... yes [20:00:46.874] checking for getopt.h... yes [20:00:46.883] checking ifaddrs.h usability... no [20:00:46.949] checking ifaddrs.h presence... no [20:00:46.973] checking for ifaddrs.h... no [20:00:46.977] checking mbarrier.h usability... no [20:00:47.044] checking mbarrier.h presence... no [20:00:47.068] checking for mbarrier.h... no [20:00:47.072] checking sys/epoll.h usability... no [20:00:47.142] checking sys/epoll.h presence... no [20:00:47.165] checking for sys/epoll.h... no [20:00:47.169] checking sys/event.h usability... no [20:00:47.235] checking sys/event.h presence... no [20:00:47.259] checking for sys/event.h... no [20:00:47.263] checking sys/personality.h usability... no [20:00:47.328] checking sys/personality.h presence... no [20:00:47.353] checking for sys/personality.h... no [20:00:47.358] checking sys/prctl.h usability... no [20:00:47.429] checking sys/prctl.h presence... no [20:00:47.461] checking for sys/prctl.h... no [20:00:47.468] checking sys/procctl.h usability... no [20:00:47.537] checking sys/procctl.h presence... no [20:00:47.560] checking for sys/procctl.h... no [20:00:47.564] checking sys/signalfd.h usability... no [20:00:47.630] checking sys/signalfd.h presence... no [20:00:47.652] checking for sys/signalfd.h... no [20:00:47.656] checking sys/ucred.h usability... no [20:00:47.718] checking sys/ucred.h presence... no [20:00:47.742] checking for sys/ucred.h... no [20:00:47.746] checking termios.h usability... no [20:00:47.812] checking termios.h presence... no [20:00:47.835] checking for termios.h... no [20:00:47.839] checking ucred.h usability... no [20:00:47.902] checking ucred.h presence... no [20:00:47.924] checking for ucred.h... no [20:00:47.928] checking zlib.h usability... yes [20:00:47.997] checking zlib.h presence... yes [20:00:48.020] checking for zlib.h... yes [20:00:48.021] checking for lz4... /usr/bin/lz4 [20:00:48.021] checking for zstd... /usr/bin/zstd [20:00:48.021] checking for openssl... /usr/bin/openssl [20:00:48.026] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [20:00:48.027] checking crtdefs.h usability... yes [20:00:48.061] checking crtdefs.h presence... yes [20:00:48.080] checking for crtdefs.h... yes [20:00:48.081] checking whether byte ordering is bigendian... no [20:00:48.189] checking for inline... inline [20:00:48.222] checking for printf format archetype... gnu_printf [20:00:48.231] checking for _Static_assert... yes [20:00:48.279] checking for typeof... typeof [20:00:48.321] checking for __builtin_types_compatible_p... yes [20:00:48.334] checking for __builtin_constant_p... yes [20:00:48.373] checking for __builtin_unreachable... yes [20:00:48.427] checking for computed goto support... yes [20:00:48.471] checking for struct tm.tm_zone... no [20:00:48.571] checking for union semun... no [20:00:48.615] checking for socklen_t... yes [20:00:51.347] checking for struct sockaddr.sa_len... no [20:00:53.933] checking for locale_t... no [20:00:54.017] checking for C/C++ restrict keyword... __restrict [20:00:54.039] checking for struct option... yes [20:00:54.129] checking whether assembler supports x86_64 popcntq... yes [20:00:54.138] checking size of off_t... 4 [20:00:54.500] 0 [20:00:54.500] checking size of bool... 1 [20:00:54.635] checking for int timezone... yes [20:00:54.693] checking for wcstombs_l declaration... no [20:00:54.802] checking for backtrace_symbols... no [20:00:54.866] checking for copyfile... no [20:00:54.941] checking for copy_file_range... no [20:00:55.004] checking for getifaddrs... no [20:00:55.067] checking for getpeerucred... no [20:00:55.128] checking for inet_pton... yes [20:00:55.191] checking for kqueue... no [20:00:55.255] checking for mbstowcs_l... no [20:00:55.316] checking for memset_s... no [20:00:55.385] checking for posix_fallocate... no [20:00:55.448] checking for ppoll... no [20:00:55.514] checking for pthread_is_threaded_np... no [20:00:55.578] checking for setproctitle... no [20:00:55.642] checking for setproctitle_fast... no [20:00:55.707] checking for strchrnul... no [20:00:55.779] checking for strsignal... no [20:00:55.844] checking for syncfs... no [20:00:55.907] checking for sync_file_range... no [20:00:55.971] checking for uselocale... no [20:00:56.036] checking for wcstombs_l... no [20:00:56.097] checking for __builtin_bswap16... yes [20:00:56.159] checking for __builtin_bswap32... yes [20:00:56.220] checking for __builtin_bswap64... yes [20:00:56.281] checking for __builtin_clz... yes [20:00:56.340] checking for __builtin_ctz... yes [20:00:56.400] checking for __builtin_popcount... yes [20:00:56.462] checking for __builtin_frame_address... yes [20:00:56.535] checking for _LARGEFILE_SOURCE value needed for large files... no [20:00:56.601] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:00:56.642] checking for posix_fadvise... no [20:00:56.708] checking whether posix_fadvise is declared... no [20:00:56.767] checking whether fdatasync is declared... no [20:00:56.830] checking whether strlcat is declared... no [20:00:56.911] checking whether strlcpy is declared... no [20:00:56.995] checking whether strnlen is declared... yes [20:00:57.080] checking whether strsep is declared... no [20:00:57.174] checking whether preadv is declared... no [20:00:57.223] checking whether pwritev is declared... no [20:00:57.269] checking whether F_FULLFSYNC is declared... no [20:00:57.321] checking for explicit_bzero... no [20:00:57.382] checking for getopt... yes [20:00:57.438] checking for getpeereid... no [20:00:57.499] checking for inet_aton... no [20:00:57.561] checking for mkdtemp... no [20:00:57.622] checking for strlcat... no [20:00:57.682] checking for strlcpy... no [20:00:57.744] checking for strnlen... yes [20:00:57.803] checking for strsep... no [20:00:57.861] checking for pthread_barrier_wait... yes [20:00:57.917] configure: On mingw32 we will use our strtof wrapper. [20:00:57.917] checking for getopt_long... yes [20:00:57.973] checking for _configthreadlocale... yes [20:00:58.030] checking for syslog... no [20:00:58.091] checking for opterr... yes [20:00:58.151] checking for optreset... no [20:00:58.213] checking test program... cross-compiling [20:00:58.213] checking whether long int is 64 bits... no [20:00:58.254] checking whether long long int is 64 bits... yes [20:00:58.268] checking for __builtin_mul_overflow... yes [20:00:58.321] checking size of void *... 8 [20:00:58.849] checking size of size_t... 8 [20:00:59.425] checking size of long... 4 [20:00:59.870] checking alignment of short... 2 [20:01:00.240] checking alignment of int... 4 [20:01:00.696] checking alignment of long... 4 [20:01:01.116] checking alignment of long long int... 8 [20:01:01.532] checking alignment of double... 8 [20:01:02.057] checking for int8... no [20:01:02.112] checking for uint8... no [20:01:02.166] checking for int64... no [20:01:02.221] checking for uint64... no [20:01:02.278] checking for __int128... yes [20:01:02.338] checking for __int128 alignment bug... assuming ok [20:01:02.338] checking alignment of PG_INT128_TYPE... 16 [20:01:03.036] checking for builtin __sync char locking functions... yes [20:01:03.089] checking for builtin __sync int32 locking functions... yes [20:01:03.142] checking for builtin __sync int32 atomic operations... yes [20:01:03.194] checking for builtin __sync int64 atomic operations... yes [20:01:03.247] checking for builtin __atomic int32 atomic operations... yes [20:01:03.299] checking for builtin __atomic int64 atomic operations... yes [20:01:03.353] checking for __get_cpuid... yes [20:01:03.409] checking for __get_cpuid_count... yes [20:01:03.466] checking for __cpuid... no [20:01:03.919] checking for __cpuidex... no [20:01:04.394] checking for _xgetbv with CFLAGS=... no [20:01:04.822] checking for _xgetbv with CFLAGS=-mxsave... yes [20:01:05.273] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:01:05.694] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:01:06.088] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:01:06.147] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:01:06.259] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:01:06.290] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:01:06.316] 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 [20:01:06.386] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:01:06.386] checking which random number source to use... Windows native [20:01:06.389] checking for xmllint... /usr/bin/xmllint [20:01:06.389] checking for xsltproc... /usr/bin/xsltproc [20:01:06.389] checking for fop... /usr/bin/fop [20:01:06.390] checking for dbtoepub... no [20:01:06.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:01:06.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:01:06.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:01:06.405] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:01:06.405] 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 [20:01:06.405] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:01:06.405] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:01:06.525] configure: creating ./config.status [20:01:06.638] config.status: creating GNUmakefile [20:01:06.652] config.status: creating src/Makefile.global [20:01:06.671] config.status: creating src/include/pg_config.h [20:01:06.686] config.status: creating src/include/pg_config_ext.h [20:01:06.701] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:01:06.719] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:01:06.728] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:01:06.738] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:01:06.748] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:01:06.757] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:01:06.762] config.status: executing check_win32_symlinks commands [20:01:06.804] [20:01:06.804] real 0m24.622s [20:01:06.804] user 0m16.318s [20:01:06.804] sys 0m7.785s [20:01:06.804] make -s -j${BUILD_JOBS} clean [20:01:07.405] time make -s -j${BUILD_JOBS} world-bin [20:03:43.775] md.c: In function ‘DropRelationFiles’: [20:03:43.775] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [20:03:43.775] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [20:03:43.775] | ^~~~~~~~~~~~~~~~~ [20:03:43.775] | pgstat_have_entry [20:03:43.775] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [20:03:43.775] 1471 | pgstat_request_entry_refs_gc(); [20:03:43.775] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [20:03:43.775] cc1: all warnings being treated as errors [20:03:43.777] make[4]: *** [: md.o] Error 1 [20:03:43.777] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [20:03:43.777] make[2]: *** [common.mk:37: storage-recursive] Error 2 [20:03:43.777] make[2]: *** Waiting for unfinished jobs.... [20:04:14.849] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:04:14.850] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:04:14.850] [20:04:14.850] real 3m7.445s [20:04:14.850] user 10m19.377s [20:04:14.850] sys 1m53.471s [20:04:14.850] [20:04:14.850] Exit status: 2