[03:00:11.247] time ./configure \ [03:00:11.247] --host=x86_64-w64-mingw32 \ [03:00:11.247] --enable-cassert \ [03:00:11.247] --without-icu \ [03:00:11.247] CC="ccache x86_64-w64-mingw32-gcc" \ [03:00:11.247] CXX="ccache x86_64-w64-mingw32-g++" [03:00:11.364] checking build system type... x86_64-pc-linux-gnu [03:00:11.582] checking host system type... x86_64-w64-mingw32 [03:00:11.588] checking which template to use... win32 [03:00:11.588] checking whether NLS is wanted... no [03:00:11.588] checking for default port number... 5432 [03:00:11.595] checking for block size... 8kB [03:00:11.596] checking for segment size... 1GB [03:00:11.598] checking for WAL block size... 8kB [03:00:11.599] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:00:11.632] checking whether the C compiler works... yes [03:00:11.759] checking for C compiler default output file name... a.exe [03:00:11.761] checking for suffix of executables... .exe [03:00:11.801] checking whether we are cross compiling... yes [03:00:11.873] checking for suffix of object files... o [03:00:11.880] checking whether we are using the GNU C compiler... yes [03:00:11.887] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:00:11.919] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:00:11.928] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:00:11.986] checking whether we are using the GNU C++ compiler... yes [03:00:11.993] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:00:12.242] checking for gawk... no [03:00:12.242] checking for mawk... mawk [03:00:12.244] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:00:12.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:00:12.308] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:00:12.352] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:00:12.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:00:12.402] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:00:12.409] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:00:12.439] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:00:12.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:00:12.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:00:12.493] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:00:12.499] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:00:12.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:00:12.536] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:00:12.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:00:12.586] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:00:12.593] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:00:12.629] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:00:12.636] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:00:12.668] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:00:12.675] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:00:12.705] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:00:12.712] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:00:12.735] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:00:12.751] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:00:12.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:00:12.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:00:12.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:00:12.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:00:12.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:00:12.882] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:00:12.889] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:00:12.896] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:00:12.914] checking whether the C compiler still works... yes [03:00:12.987] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:00:13.055] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:00:13.056] checking pkg-config is at least version 0.9.0... yes [03:00:13.073] checking whether to build with ICU support... no [03:00:13.073] checking whether to build with Tcl... no [03:00:13.073] checking whether to build Perl modules... no [03:00:13.073] checking whether to build Python modules... no [03:00:13.073] checking whether to build with GSSAPI support... no [03:00:13.075] checking whether to build with PAM support... no [03:00:13.075] checking whether to build with BSD Authentication support... no [03:00:13.075] checking whether to build with LDAP support... no [03:00:13.075] checking whether to build with Bonjour support... no [03:00:13.075] checking whether to build with SELinux support... no [03:00:13.075] checking whether to build with systemd support... no [03:00:13.075] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:00:13.075] checking whether to build with liburing support... no [03:00:13.075] checking whether to build with libcurl support... no [03:00:13.076] checking whether to build with XML support... no [03:00:13.076] checking whether to build with LZ4 support... no [03:00:13.076] checking whether to build with ZSTD support... no [03:00:13.076] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:00:13.077] checking whether it is possible to strip libraries... yes [03:00:13.087] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:00:13.088] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:00:13.088] checking for a BSD-compatible install... /usr/bin/install -c [03:00:13.097] checking for tar... /usr/bin/tar [03:00:13.097] checking whether ln -s works... yes [03:00:13.097] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:00:13.100] checking for bison... /usr/bin/bison [03:00:13.102] configure: using bison (GNU Bison) 3.8.2 [03:00:13.105] checking for flex... /usr/bin/flex [03:00:13.107] configure: using flex 2.6.4 [03:00:13.107] checking for perl... /usr/bin/perl [03:00:13.110] configure: using perl 5.36.0 [03:00:13.112] checking for zic... /usr/sbin/zic [03:00:13.112] checking for a sed that does not truncate output... /usr/bin/sed [03:00:13.118] checking for grep that handles long lines and -e... /usr/bin/grep [03:00:13.120] checking for egrep... /usr/bin/grep -E [03:00:13.121] checking for ANSI C header files... yes [03:00:13.184] checking for sys/types.h... yes [03:00:13.240] checking for sys/stat.h... yes [03:00:13.274] checking for stdlib.h... yes [03:00:13.288] checking for string.h... yes [03:00:13.344] checking for memory.h... yes [03:00:13.359] checking for strings.h... yes [03:00:13.373] checking for inttypes.h... yes [03:00:13.434] checking for stdint.h... yes [03:00:13.469] checking for unistd.h... yes [03:00:13.509] checking for main in -lm... yes [03:00:13.558] checking for library containing setproctitle... no [03:00:13.644] checking for library containing dlsym... no [03:00:13.730] checking for library containing socket... -lws2_32 [03:00:13.853] checking for library containing getopt_long... none required [03:00:13.900] checking for library containing shm_open... no [03:00:13.989] checking for library containing shm_unlink... no [03:00:14.075] checking for library containing clock_gettime... no [03:00:14.162] checking for library containing shmget... no [03:00:14.249] checking for library containing backtrace_symbols... no [03:00:14.334] checking for library containing pthread_barrier_wait... -lpthread [03:00:14.418] checking for inflate in -lz... yes [03:00:14.467] checking atomic.h usability... no [03:00:14.520] checking atomic.h presence... no [03:00:14.538] checking for atomic.h... no [03:00:14.542] checking copyfile.h usability... no [03:00:14.595] checking copyfile.h presence... no [03:00:14.614] checking for copyfile.h... no [03:00:14.617] checking execinfo.h usability... no [03:00:14.669] checking execinfo.h presence... no [03:00:14.687] checking for execinfo.h... no [03:00:14.690] checking getopt.h usability... yes [03:00:14.717] checking getopt.h presence... yes [03:00:14.734] checking for getopt.h... yes [03:00:14.741] checking ifaddrs.h usability... no [03:00:14.795] checking ifaddrs.h presence... no [03:00:14.813] checking for ifaddrs.h... no [03:00:14.816] checking mbarrier.h usability... no [03:00:14.869] checking mbarrier.h presence... no [03:00:14.887] checking for mbarrier.h... no [03:00:14.891] checking sys/epoll.h usability... no [03:00:14.945] checking sys/epoll.h presence... no [03:00:14.965] checking for sys/epoll.h... no [03:00:14.968] checking sys/event.h usability... no [03:00:15.023] checking sys/event.h presence... no [03:00:15.041] checking for sys/event.h... no [03:00:15.044] checking sys/personality.h usability... no [03:00:15.096] checking sys/personality.h presence... no [03:00:15.114] checking for sys/personality.h... no [03:00:15.118] checking sys/prctl.h usability... no [03:00:15.171] checking sys/prctl.h presence... no [03:00:15.190] checking for sys/prctl.h... no [03:00:15.193] checking sys/procctl.h usability... no [03:00:15.249] checking sys/procctl.h presence... no [03:00:15.268] checking for sys/procctl.h... no [03:00:15.271] checking sys/signalfd.h usability... no [03:00:15.323] checking sys/signalfd.h presence... no [03:00:15.341] checking for sys/signalfd.h... no [03:00:15.344] checking sys/ucred.h usability... no [03:00:15.397] checking sys/ucred.h presence... no [03:00:15.415] checking for sys/ucred.h... no [03:00:15.418] checking termios.h usability... no [03:00:15.472] checking termios.h presence... no [03:00:15.492] checking for termios.h... no [03:00:15.495] checking ucred.h usability... no [03:00:15.549] checking ucred.h presence... no [03:00:15.567] checking for ucred.h... no [03:00:15.571] checking xlocale.h usability... no [03:00:15.626] checking xlocale.h presence... no [03:00:15.644] checking for xlocale.h... no [03:00:15.647] checking zlib.h usability... yes [03:00:15.704] checking zlib.h presence... yes [03:00:15.722] checking for zlib.h... yes [03:00:15.722] checking for lz4... /usr/bin/lz4 [03:00:15.722] checking for zstd... /usr/bin/zstd [03:00:15.723] checking for openssl... /usr/bin/openssl [03:00:15.727] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [03:00:15.727] checking crtdefs.h usability... yes [03:00:15.735] checking crtdefs.h presence... yes [03:00:15.751] checking for crtdefs.h... yes [03:00:15.752] checking whether byte ordering is bigendian... no [03:00:15.825] checking for inline... inline [03:00:15.841] checking for printf format archetype... gnu_printf [03:00:15.876] checking for _Static_assert... yes [03:00:15.917] checking for typeof... typeof [03:00:15.924] checking for __builtin_types_compatible_p... yes [03:00:15.935] checking for __builtin_constant_p... yes [03:00:15.954] checking for __builtin_mul_overflow... yes [03:00:16.000] checking for __builtin_unreachable... yes [03:00:16.040] checking for computed goto support... yes [03:00:16.073] checking for struct tm.tm_zone... no [03:00:16.145] checking for union semun... no [03:00:16.178] checking for socklen_t... yes [03:00:17.602] checking for struct sockaddr.sa_len... no [03:00:19.539] checking for C/C++ restrict keyword... __restrict [03:00:19.552] checking for struct option... yes [03:00:19.621] checking whether assembler supports x86_64 popcntq... yes [03:00:19.652] checking size of off_t... 4 [03:00:19.925] 0 [03:00:19.925] checking for int timezone... yes [03:00:19.974] checking for backtrace_symbols... no [03:00:20.022] checking for copyfile... no [03:00:20.069] checking for copy_file_range... no [03:00:20.119] checking for elf_aux_info... no [03:00:20.167] checking for getauxval... no [03:00:20.217] checking for getifaddrs... no [03:00:20.266] checking for getpeerucred... no [03:00:20.315] checking for inet_pton... yes [03:00:20.364] checking for kqueue... no [03:00:20.413] checking for localeconv_l... no [03:00:20.464] checking for mbstowcs_l... no [03:00:20.515] checking for memset_s... no [03:00:20.563] checking for posix_fallocate... no [03:00:20.614] checking for ppoll... no [03:00:20.662] checking for pthread_is_threaded_np... no [03:00:20.710] checking for setproctitle... no [03:00:20.757] checking for setproctitle_fast... no [03:00:20.806] checking for strchrnul... no [03:00:20.857] checking for strsignal... no [03:00:20.909] checking for syncfs... no [03:00:20.957] checking for sync_file_range... no [03:00:21.007] checking for uselocale... no [03:00:21.054] checking for wcstombs_l... no [03:00:21.100] checking for __builtin_bswap16... yes [03:00:21.146] checking for __builtin_bswap32... yes [03:00:21.192] checking for __builtin_bswap64... yes [03:00:21.237] checking for __builtin_clz... yes [03:00:21.286] checking for __builtin_ctz... yes [03:00:21.332] checking for __builtin_popcount... yes [03:00:21.377] checking for __builtin_frame_address... yes [03:00:21.423] checking for _LARGEFILE_SOURCE value needed for large files... no [03:00:21.472] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:00:21.502] checking for posix_fadvise... no [03:00:21.553] checking whether posix_fadvise is declared... no [03:00:21.595] checking whether fdatasync is declared... no [03:00:21.637] checking whether strlcat is declared... no [03:00:21.700] checking whether strlcpy is declared... no [03:00:21.763] checking whether strnlen is declared... yes [03:00:21.776] checking whether strsep is declared... no [03:00:21.842] checking whether preadv is declared... no [03:00:21.877] checking whether pwritev is declared... no [03:00:21.912] checking whether F_FULLFSYNC is declared... no [03:00:21.952] checking for explicit_bzero... no [03:00:21.999] checking for getopt... yes [03:00:22.043] checking for getpeereid... no [03:00:22.090] checking for inet_aton... no [03:00:22.135] checking for mkdtemp... no [03:00:22.180] checking for strlcat... no [03:00:22.226] checking for strlcpy... no [03:00:22.272] checking for strnlen... yes [03:00:22.318] checking for strsep... no [03:00:22.363] checking for pthread_barrier_wait... yes [03:00:22.403] configure: On mingw32 we will use our strtof wrapper. [03:00:22.403] checking for getopt_long... yes [03:00:22.445] checking for syslog... no [03:00:22.489] checking for opterr... yes [03:00:22.535] checking for optreset... no [03:00:22.582] checking test program... cross-compiling [03:00:22.582] checking size of void *... 8 [03:00:22.940] checking size of size_t... 8 [03:00:23.309] checking size of long... 4 [03:00:23.653] checking size of long long... 8 [03:00:24.059] checking alignment of short... 2 [03:00:24.215] checking alignment of int... 4 [03:00:24.486] checking alignment of long... 4 [03:00:24.840] checking alignment of int64_t... 8 [03:00:25.198] checking alignment of double... 8 [03:00:25.489] checking for __int128... yes [03:00:25.541] checking for __int128 alignment bug... assuming ok [03:00:25.541] checking alignment of PG_INT128_TYPE... 16 [03:00:25.974] checking for builtin __sync char locking functions... yes [03:00:26.018] checking for builtin __sync int32 locking functions... yes [03:00:26.060] checking for builtin __sync int32 atomic operations... yes [03:00:26.100] checking for builtin __sync int64 atomic operations... yes [03:00:26.142] checking for builtin __atomic int32 atomic operations... yes [03:00:26.184] checking for builtin __atomic int64 atomic operations... yes [03:00:26.228] checking for __get_cpuid... yes [03:00:26.273] checking for __get_cpuid_count... yes [03:00:26.316] checking for __cpuid... no [03:00:26.699] checking for __cpuidex... no [03:00:27.107] checking for _xgetbv... yes [03:00:27.506] checking for _mm512_popcnt_epi64... yes [03:00:27.912] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [03:00:28.010] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:00:28.031] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [03:00:28.050] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:00:28.068] 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 [03:00:28.124] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:00:28.124] checking which random number source to use... Windows native [03:00:28.126] checking for xmllint... /usr/bin/xmllint [03:00:28.126] checking for xsltproc... /usr/bin/xsltproc [03:00:28.126] checking for fop... /usr/bin/fop [03:00:28.127] checking for dbtoepub... no [03:00:28.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:00:28.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:00:28.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:00:28.137] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:00:28.138] 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 [03:00:28.138] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:00:28.138] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:00:28.224] configure: creating ./config.status [03:00:28.308] config.status: creating GNUmakefile [03:00:28.319] config.status: creating src/Makefile.global [03:00:28.335] config.status: creating src/include/pg_config.h [03:00:28.347] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:00:28.362] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:00:28.370] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:00:28.377] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:00:28.384] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:00:28.391] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:00:28.395] config.status: executing check_win32_symlinks commands [03:00:28.429] [03:00:28.429] real 0m17.182s [03:00:28.429] user 0m11.313s [03:00:28.429] sys 0m5.490s [03:00:28.429] make -s -j${BUILD_JOBS} clean [03:00:28.945] time make -s -j${BUILD_JOBS} world-bin [03:02:35.231] md.c: In function ‘mdcreate’: [03:02:35.231] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [03:02:35.231] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [03:02:35.231] | ^~~~~~~~~~~~~~~~~~~~~ [03:02:35.231] cc1: all warnings being treated as errors [03:02:35.231] make[4]: *** [: md.o] Error 1 [03:02:35.231] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [03:02:35.232] make[2]: *** [common.mk:37: storage-recursive] Error 2 [03:02:35.232] make[2]: *** Waiting for unfinished jobs.... [03:03:01.310] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:03:01.310] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:03:01.310] [03:03:01.310] real 2m32.365s [03:03:01.310] user 8m18.467s [03:03:01.310] sys 1m34.628s [03:03:01.311] [03:03:01.311] Exit status: 2