[07:03:28.091] time ./configure \ [07:03:28.091] --host=x86_64-w64-mingw32 \ [07:03:28.091] --enable-cassert \ [07:03:28.091] --without-icu \ [07:03:28.091] CC="ccache x86_64-w64-mingw32-gcc" \ [07:03:28.091] CXX="ccache x86_64-w64-mingw32-g++" [07:03:28.202] checking build system type... x86_64-pc-linux-gnu [07:03:28.420] checking host system type... x86_64-w64-mingw32 [07:03:28.425] checking which template to use... win32 [07:03:28.425] checking whether NLS is wanted... no [07:03:28.425] checking for default port number... 5432 [07:03:28.433] checking for block size... 8kB [07:03:28.434] checking for segment size... 1GB [07:03:28.436] checking for WAL block size... 8kB [07:03:28.438] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:03:28.473] checking whether the C compiler works... yes [07:03:28.630] checking for C compiler default output file name... a.exe [07:03:28.631] checking for suffix of executables... .exe [07:03:28.671] checking whether we are cross compiling... yes [07:03:28.753] checking for suffix of object files... o [07:03:28.770] checking whether we are using the GNU C compiler... yes [07:03:28.786] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:03:28.819] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:03:28.847] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:03:28.997] checking whether we are using the GNU C++ compiler... yes [07:03:29.219] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:03:29.317] checking for gawk... no [07:03:29.317] checking for mawk... mawk [07:03:29.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:03:29.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:03:29.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:03:29.416] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:03:29.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:03:29.470] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:03:29.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:03:29.521] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:03:29.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:03:29.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:03:29.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:03:29.625] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:03:29.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:03:29.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:03:29.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:03:29.714] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:03:29.749] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:03:29.788] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:03:29.806] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:03:29.841] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:03:29.876] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:03:29.894] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:03:29.928] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:03:29.951] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:03:29.983] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:03:29.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:03:30.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:03:30.071] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:03:30.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:03:30.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:03:30.127] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:03:30.144] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:03:30.161] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:03:30.196] checking whether the C compiler still works... yes [07:03:30.273] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:03:30.345] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:03:30.345] checking pkg-config is at least version 0.9.0... yes [07:03:30.362] checking whether to build with ICU support... no [07:03:30.362] checking whether to build with Tcl... no [07:03:30.363] checking whether to build Perl modules... no [07:03:30.363] checking whether to build Python modules... no [07:03:30.363] checking whether to build with GSSAPI support... no [07:03:30.364] checking whether to build with PAM support... no [07:03:30.365] checking whether to build with BSD Authentication support... no [07:03:30.365] checking whether to build with LDAP support... no [07:03:30.365] checking whether to build with Bonjour support... no [07:03:30.365] checking whether to build with SELinux support... no [07:03:30.365] checking whether to build with systemd support... no [07:03:30.365] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:03:30.365] checking whether to build with XML support... no [07:03:30.365] checking whether to build with LZ4 support... no [07:03:30.366] checking whether to build with ZSTD support... no [07:03:30.366] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:03:30.366] checking whether it is possible to strip libraries... yes [07:03:30.373] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:03:30.374] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:03:30.374] checking for a BSD-compatible install... /usr/bin/install -c [07:03:30.383] checking for tar... /usr/bin/tar [07:03:30.383] checking whether ln -s works... yes [07:03:30.383] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:03:30.385] checking for bison... /usr/bin/bison [07:03:30.387] configure: using bison (GNU Bison) 3.8.2 [07:03:30.390] checking for flex... /usr/bin/flex [07:03:30.403] configure: using flex 2.6.4 [07:03:30.403] checking for perl... /usr/bin/perl [07:03:30.406] configure: using perl 5.36.0 [07:03:30.408] checking for zic... /usr/sbin/zic [07:03:30.408] checking for a sed that does not truncate output... /usr/bin/sed [07:03:30.414] checking for grep that handles long lines and -e... /usr/bin/grep [07:03:30.416] checking for egrep... /usr/bin/grep -E [07:03:30.417] checking for ANSI C header files... yes [07:03:30.508] checking for sys/types.h... yes [07:03:30.568] checking for sys/stat.h... yes [07:03:30.604] checking for stdlib.h... yes [07:03:30.664] checking for string.h... yes [07:03:30.698] checking for memory.h... yes [07:03:30.760] checking for strings.h... yes [07:03:30.821] checking for inttypes.h... yes [07:03:30.883] checking for stdint.h... yes [07:03:30.943] checking for unistd.h... yes [07:03:31.007] checking for main in -lm... yes [07:03:31.054] checking for library containing setproctitle... no [07:03:31.142] checking for library containing dlsym... no [07:03:31.229] checking for library containing socket... -lws2_32 [07:03:31.358] checking for library containing getopt_long... none required [07:03:31.405] checking for library containing shm_open... no [07:03:31.500] checking for library containing shm_unlink... no [07:03:31.589] checking for library containing clock_gettime... no [07:03:31.678] checking for library containing shmget... no [07:03:31.766] checking for library containing backtrace_symbols... no [07:03:31.855] checking for library containing pthread_barrier_wait... -lpthread [07:03:31.943] checking for inflate in -lz... yes [07:03:31.989] checking for stdbool.h that conforms to C99... yes [07:03:32.010] checking for _Bool... yes [07:03:32.134] checking atomic.h usability... no [07:03:32.190] checking atomic.h presence... no [07:03:32.211] checking for atomic.h... no [07:03:32.214] checking copyfile.h usability... no [07:03:32.271] checking copyfile.h presence... no [07:03:32.291] checking for copyfile.h... no [07:03:32.294] checking execinfo.h usability... no [07:03:32.351] checking execinfo.h presence... no [07:03:32.371] checking for execinfo.h... no [07:03:32.374] checking getopt.h usability... yes [07:03:32.431] checking getopt.h presence... yes [07:03:32.447] checking for getopt.h... yes [07:03:32.455] checking ifaddrs.h usability... no [07:03:32.512] checking ifaddrs.h presence... no [07:03:32.531] checking for ifaddrs.h... no [07:03:32.534] checking mbarrier.h usability... no [07:03:32.591] checking mbarrier.h presence... no [07:03:32.610] checking for mbarrier.h... no [07:03:32.613] checking sys/epoll.h usability... no [07:03:32.671] checking sys/epoll.h presence... no [07:03:32.691] checking for sys/epoll.h... no [07:03:32.694] checking sys/event.h usability... no [07:03:32.751] checking sys/event.h presence... no [07:03:32.772] checking for sys/event.h... no [07:03:32.775] checking sys/personality.h usability... no [07:03:32.833] checking sys/personality.h presence... no [07:03:32.852] checking for sys/personality.h... no [07:03:32.855] checking sys/prctl.h usability... no [07:03:32.912] checking sys/prctl.h presence... no [07:03:32.932] checking for sys/prctl.h... no [07:03:32.935] checking sys/procctl.h usability... no [07:03:32.994] checking sys/procctl.h presence... no [07:03:33.014] checking for sys/procctl.h... no [07:03:33.018] checking sys/signalfd.h usability... no [07:03:33.075] checking sys/signalfd.h presence... no [07:03:33.095] checking for sys/signalfd.h... no [07:03:33.098] checking sys/ucred.h usability... no [07:03:33.155] checking sys/ucred.h presence... no [07:03:33.175] checking for sys/ucred.h... no [07:03:33.178] checking termios.h usability... no [07:03:33.237] checking termios.h presence... no [07:03:33.257] checking for termios.h... no [07:03:33.260] checking ucred.h usability... no [07:03:33.317] checking ucred.h presence... no [07:03:33.338] checking for ucred.h... no [07:03:33.341] checking zlib.h usability... yes [07:03:33.406] checking zlib.h presence... yes [07:03:33.425] checking for zlib.h... yes [07:03:33.426] checking for lz4... /usr/bin/lz4 [07:03:33.426] checking for zstd... /usr/bin/zstd [07:03:33.426] checking for openssl... /usr/bin/openssl [07:03:33.430] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [07:03:33.431] checking crtdefs.h usability... yes [07:03:33.489] checking crtdefs.h presence... yes [07:03:33.505] checking for crtdefs.h... yes [07:03:33.506] checking whether byte ordering is bigendian... no [07:03:33.613] checking for inline... inline [07:03:33.640] checking for printf format archetype... gnu_printf [07:03:33.649] checking for _Static_assert... yes [07:03:33.692] checking for typeof... typeof [07:03:33.709] checking for __builtin_types_compatible_p... yes [07:03:33.720] checking for __builtin_constant_p... yes [07:03:33.752] checking for __builtin_unreachable... yes [07:03:33.793] checking for computed goto support... yes [07:03:33.810] checking for struct tm.tm_zone... no [07:03:33.885] checking for union semun... no [07:03:33.918] checking for socklen_t... yes [07:03:35.486] checking for struct sockaddr.sa_len... no [07:03:37.587] checking for locale_t... no [07:03:37.658] checking for C/C++ restrict keyword... __restrict [07:03:37.671] checking for struct option... yes [07:03:37.744] checking whether assembler supports x86_64 popcntq... yes [07:03:37.752] checking size of off_t... 4 [07:03:38.060] 0 [07:03:38.060] checking size of bool... 1 [07:03:38.146] checking for int timezone... yes [07:03:38.194] checking for wcstombs_l declaration... no [07:03:38.285] checking for backtrace_symbols... no [07:03:38.336] checking for copyfile... no [07:03:38.387] checking for copy_file_range... no [07:03:38.440] checking for getifaddrs... no [07:03:38.493] checking for getpeerucred... no [07:03:38.547] checking for inet_pton... yes [07:03:38.599] checking for kqueue... no [07:03:38.651] checking for mbstowcs_l... no [07:03:38.703] checking for memset_s... no [07:03:38.753] checking for posix_fallocate... no [07:03:38.803] checking for ppoll... no [07:03:38.854] checking for pthread_is_threaded_np... no [07:03:38.906] checking for setproctitle... no [07:03:38.955] checking for setproctitle_fast... no [07:03:39.004] checking for strchrnul... no [07:03:39.053] checking for strsignal... no [07:03:39.106] checking for syncfs... no [07:03:39.159] checking for sync_file_range... no [07:03:39.213] checking for uselocale... no [07:03:39.266] checking for wcstombs_l... no [07:03:39.314] checking for __builtin_bswap16... yes [07:03:39.365] checking for __builtin_bswap32... yes [07:03:39.414] checking for __builtin_bswap64... yes [07:03:39.463] checking for __builtin_clz... yes [07:03:39.510] checking for __builtin_ctz... yes [07:03:39.558] checking for __builtin_popcount... yes [07:03:39.607] checking for __builtin_frame_address... yes [07:03:39.657] checking for _LARGEFILE_SOURCE value needed for large files... no [07:03:39.711] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:03:39.744] checking for posix_fadvise... no [07:03:39.798] checking whether posix_fadvise is declared... no [07:03:39.845] checking whether fdatasync is declared... no [07:03:39.894] checking whether strlcat is declared... no [07:03:39.961] checking whether strlcpy is declared... no [07:03:40.026] checking whether strnlen is declared... yes [07:03:40.062] checking whether strsep is declared... no [07:03:40.126] checking whether preadv is declared... no [07:03:40.166] checking whether pwritev is declared... no [07:03:40.202] checking whether F_FULLFSYNC is declared... no [07:03:40.243] checking for explicit_bzero... no [07:03:40.293] checking for getopt... yes [07:03:40.339] checking for getpeereid... no [07:03:40.388] checking for inet_aton... no [07:03:40.437] checking for mkdtemp... no [07:03:40.486] checking for strlcat... no [07:03:40.535] checking for strlcpy... no [07:03:40.584] checking for strnlen... yes [07:03:40.633] checking for strsep... no [07:03:40.682] checking for pthread_barrier_wait... yes [07:03:40.727] configure: On mingw32 we will use our strtof wrapper. [07:03:40.727] checking for getopt_long... yes [07:03:40.772] checking for _configthreadlocale... yes [07:03:40.818] checking for syslog... no [07:03:40.868] checking for opterr... yes [07:03:40.917] checking for optreset... no [07:03:40.970] checking test program... cross-compiling [07:03:40.970] checking whether long int is 64 bits... no [07:03:41.003] checking whether long long int is 64 bits... yes [07:03:41.040] checking for __builtin_mul_overflow... yes [07:03:41.085] checking size of void *... 8 [07:03:41.643] checking size of size_t... 8 [07:03:42.115] checking size of long... 4 [07:03:42.481] checking alignment of short... 2 [07:03:42.735] checking alignment of int... 4 [07:03:43.101] checking alignment of long... 4 [07:03:43.425] checking alignment of long long int... 8 [07:03:43.880] checking alignment of double... 8 [07:03:44.375] checking for int8... no [07:03:44.420] checking for uint8... no [07:03:44.465] checking for int64... no [07:03:44.510] checking for uint64... no [07:03:44.554] checking for __int128... yes [07:03:44.603] checking for __int128 alignment bug... assuming ok [07:03:44.603] checking alignment of PG_INT128_TYPE... 16 [07:03:45.126] checking for builtin __sync char locking functions... yes [07:03:45.168] checking for builtin __sync int32 locking functions... yes [07:03:45.211] checking for builtin __sync int32 atomic operations... yes [07:03:45.254] checking for builtin __sync int64 atomic operations... yes [07:03:45.296] checking for builtin __atomic int32 atomic operations... yes [07:03:45.340] checking for builtin __atomic int64 atomic operations... yes [07:03:45.382] checking for __get_cpuid... yes [07:03:45.430] checking for __get_cpuid_count... yes [07:03:45.475] checking for __cpuid... no [07:03:45.876] checking for __cpuidex... no [07:03:46.296] checking for _xgetbv with CFLAGS=... no [07:03:46.678] checking for _xgetbv with CFLAGS=-mxsave... yes [07:03:47.077] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:03:47.466] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:03:47.812] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:03:47.859] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:03:47.949] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:03:47.973] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:03:47.993] 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 [07:03:48.049] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:03:48.049] checking which random number source to use... Windows native [07:03:48.051] checking for xmllint... /usr/bin/xmllint [07:03:48.052] checking for xsltproc... /usr/bin/xsltproc [07:03:48.052] checking for fop... /usr/bin/fop [07:03:48.052] checking for dbtoepub... no [07:03:48.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:03:48.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:03:48.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:03:48.064] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:03:48.064] 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 [07:03:48.064] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:03:48.064] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:03:48.151] configure: creating ./config.status [07:03:48.232] config.status: creating GNUmakefile [07:03:48.244] config.status: creating src/Makefile.global [07:03:48.259] config.status: creating src/include/pg_config.h [07:03:48.270] config.status: creating src/include/pg_config_ext.h [07:03:48.281] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:03:48.296] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:03:48.302] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:03:48.309] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:03:48.315] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:03:48.322] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:03:48.325] config.status: executing check_win32_symlinks commands [07:03:48.358] [07:03:48.358] real 0m20.268s [07:03:48.358] user 0m13.162s [07:03:48.358] sys 0m6.589s [07:03:48.358] make -s -j${BUILD_JOBS} clean [07:03:48.856] time make -s -j${BUILD_JOBS} world-bin [07:06:10.454] md.c: In function ‘DropRelationFiles’: [07:06:10.454] md.c:1457:22: error: implicit declaration of function ‘pgstat_drop_entry’; did you mean ‘pgstat_have_entry’? [-Werror=implicit-function-declaration] [07:06:10.454] 1457 | if (!pgstat_drop_entry(PGSTAT_KIND_RELFILENODE, delrels[i].dbOid, delrels[i].spcOid, delrels[i].relNumber)) [07:06:10.454] | ^~~~~~~~~~~~~~~~~ [07:06:10.454] | pgstat_have_entry [07:06:10.454] md.c:1471:17: error: implicit declaration of function ‘pgstat_request_entry_refs_gc’ [-Werror=implicit-function-declaration] [07:06:10.454] 1471 | pgstat_request_entry_refs_gc(); [07:06:10.454] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [07:06:10.454] cc1: all warnings being treated as errors [07:06:10.455] make[4]: *** [: md.o] Error 1 [07:06:10.455] make[4]: *** Waiting for unfinished jobs.... [07:06:10.787] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [07:06:10.787] make[2]: *** [common.mk:37: storage-recursive] Error 2 [07:06:10.787] make[2]: *** Waiting for unfinished jobs.... [07:06:49.684] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:06:49.684] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:06:49.684] [07:06:49.684] real 3m0.828s [07:06:49.684] user 9m55.558s [07:06:49.684] sys 1m50.696s [07:06:49.684] [07:06:49.684] Exit status: 2