[18:12:08.578] time ./configure \ [18:12:08.578] --host=x86_64-w64-mingw32 \ [18:12:08.578] --enable-cassert \ [18:12:08.578] --without-icu \ [18:12:08.578] CC="ccache x86_64-w64-mingw32-gcc" \ [18:12:08.578] CXX="ccache x86_64-w64-mingw32-g++" [18:12:08.688] checking build system type... x86_64-pc-linux-gnu [18:12:08.863] checking host system type... x86_64-w64-mingw32 [18:12:08.868] checking which template to use... win32 [18:12:08.868] checking whether NLS is wanted... no [18:12:08.868] checking for default port number... 5432 [18:12:08.874] checking for block size... 8kB [18:12:08.876] checking for segment size... 1GB [18:12:08.878] checking for WAL block size... 8kB [18:12:08.880] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:12:08.911] checking whether the C compiler works... yes [18:12:09.033] checking for C compiler default output file name... a.exe [18:12:09.034] checking for suffix of executables... .exe [18:12:09.075] checking whether we are cross compiling... yes [18:12:09.147] checking for suffix of object files... o [18:12:09.155] checking whether we are using the GNU C compiler... yes [18:12:09.161] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:12:09.167] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:12:09.177] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:12:09.236] checking whether we are using the GNU C++ compiler... yes [18:12:09.242] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:12:09.303] checking for gawk... no [18:12:09.303] checking for mawk... mawk [18:12:09.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:12:09.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:12:09.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:12:09.361] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:12:09.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:12:09.520] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:12:09.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:12:09.532] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:12:09.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:12:09.544] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:12:09.550] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:12:09.556] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:12:09.562] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:12:09.568] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:12:09.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:12:09.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:12:09.587] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:12:09.622] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:12:09.628] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:12:09.635] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:12:09.641] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:12:09.647] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:12:09.653] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:12:09.675] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:12:09.682] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:12:09.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:12:09.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:12:09.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:12:09.778] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:12:09.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:12:09.818] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:12:09.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:12:09.832] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:12:09.839] checking whether the C compiler still works... yes [18:12:09.901] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:12:09.969] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:12:09.969] checking pkg-config is at least version 0.9.0... yes [18:12:09.985] checking whether to build with ICU support... no [18:12:09.985] checking whether to build with Tcl... no [18:12:09.985] checking whether to build Perl modules... no [18:12:09.985] checking whether to build Python modules... no [18:12:09.985] checking whether to build with GSSAPI support... no [18:12:09.987] checking whether to build with PAM support... no [18:12:09.987] checking whether to build with BSD Authentication support... no [18:12:09.987] checking whether to build with LDAP support... no [18:12:09.987] checking whether to build with Bonjour support... no [18:12:09.987] checking whether to build with SELinux support... no [18:12:09.987] checking whether to build with systemd support... no [18:12:09.987] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:12:09.987] checking whether to build with liburing support... no [18:12:09.987] checking whether to build with libcurl support... no [18:12:09.988] checking whether to build with libnuma support... no [18:12:09.988] checking whether to build with XML support... no [18:12:09.988] checking whether to build with LZ4 support... no [18:12:09.988] checking whether to build with ZSTD support... no [18:12:09.989] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:12:09.989] checking whether it is possible to strip libraries... yes [18:12:09.997] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:12:09.998] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:12:09.998] checking for a BSD-compatible install... /usr/bin/install -c [18:12:10.006] checking for tar... /usr/bin/tar [18:12:10.006] checking whether ln -s works... yes [18:12:10.006] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:12:10.008] checking for bison... /usr/bin/bison [18:12:10.010] configure: using bison (GNU Bison) 3.8.2 [18:12:10.013] checking for flex... /usr/bin/flex [18:12:10.015] configure: using flex 2.6.4 [18:12:10.015] checking for perl... /usr/bin/perl [18:12:10.018] configure: using perl 5.36.0 [18:12:10.020] checking for zic... /usr/sbin/zic [18:12:10.020] checking for a sed that does not truncate output... /usr/bin/sed [18:12:10.024] checking for grep that handles long lines and -e... /usr/bin/grep [18:12:10.026] checking for egrep... /usr/bin/grep -E [18:12:10.028] checking for ANSI C header files... yes [18:12:10.075] checking for sys/types.h... yes [18:12:10.092] checking for sys/stat.h... yes [18:12:10.106] checking for stdlib.h... yes [18:12:10.121] checking for string.h... yes [18:12:10.135] checking for memory.h... yes [18:12:10.149] checking for strings.h... yes [18:12:10.164] checking for inttypes.h... yes [18:12:10.182] checking for stdint.h... yes [18:12:10.195] checking for unistd.h... yes [18:12:10.210] checking for main in -lm... yes [18:12:10.257] checking for library containing setproctitle... no [18:12:10.345] checking for library containing dlsym... no [18:12:10.431] checking for library containing socket... -lws2_32 [18:12:10.556] checking for library containing getopt_long... none required [18:12:10.603] checking for library containing shm_open... no [18:12:10.689] checking for library containing shm_unlink... no [18:12:10.777] checking for library containing clock_gettime... no [18:12:10.866] checking for library containing shmget... no [18:12:10.954] checking for library containing backtrace_symbols... no [18:12:11.040] checking for library containing pthread_barrier_wait... -lpthread [18:12:11.128] checking for inflate in -lz... yes [18:12:11.178] checking atomic.h usability... no [18:12:11.239] checking atomic.h presence... no [18:12:11.257] checking for atomic.h... no [18:12:11.260] checking copyfile.h usability... no [18:12:11.313] checking copyfile.h presence... no [18:12:11.332] checking for copyfile.h... no [18:12:11.335] checking execinfo.h usability... no [18:12:11.392] checking execinfo.h presence... no [18:12:11.412] checking for execinfo.h... no [18:12:11.416] checking getopt.h usability... yes [18:12:11.423] checking getopt.h presence... yes [18:12:11.439] checking for getopt.h... yes [18:12:11.447] checking ifaddrs.h usability... no [18:12:11.502] checking ifaddrs.h presence... no [18:12:11.521] checking for ifaddrs.h... no [18:12:11.524] checking mbarrier.h usability... no [18:12:11.579] checking mbarrier.h presence... no [18:12:11.597] checking for mbarrier.h... no [18:12:11.600] checking sys/epoll.h usability... no [18:12:11.654] checking sys/epoll.h presence... no [18:12:11.673] checking for sys/epoll.h... no [18:12:11.676] checking sys/event.h usability... no [18:12:11.730] checking sys/event.h presence... no [18:12:11.749] checking for sys/event.h... no [18:12:11.752] checking sys/personality.h usability... no [18:12:11.806] checking sys/personality.h presence... no [18:12:11.823] checking for sys/personality.h... no [18:12:11.827] checking sys/prctl.h usability... no [18:12:11.879] checking sys/prctl.h presence... no [18:12:11.897] checking for sys/prctl.h... no [18:12:11.900] checking sys/procctl.h usability... no [18:12:11.953] checking sys/procctl.h presence... no [18:12:11.970] checking for sys/procctl.h... no [18:12:11.973] checking sys/signalfd.h usability... no [18:12:12.027] checking sys/signalfd.h presence... no [18:12:12.045] checking for sys/signalfd.h... no [18:12:12.048] checking sys/ucred.h usability... no [18:12:12.102] checking sys/ucred.h presence... no [18:12:12.120] checking for sys/ucred.h... no [18:12:12.123] checking termios.h usability... no [18:12:12.176] checking termios.h presence... no [18:12:12.194] checking for termios.h... no [18:12:12.198] checking ucred.h usability... no [18:12:12.253] checking ucred.h presence... no [18:12:12.271] checking for ucred.h... no [18:12:12.274] checking xlocale.h usability... no [18:12:12.327] checking xlocale.h presence... no [18:12:12.346] checking for xlocale.h... no [18:12:12.349] checking zlib.h usability... yes [18:12:12.359] checking zlib.h presence... yes [18:12:12.377] checking for zlib.h... yes [18:12:12.377] checking for lz4... /usr/bin/lz4 [18:12:12.378] checking for zstd... /usr/bin/zstd [18:12:12.378] checking for openssl... /usr/bin/openssl [18:12:12.382] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [18:12:12.383] checking crtdefs.h usability... yes [18:12:12.390] checking crtdefs.h presence... yes [18:12:12.405] checking for crtdefs.h... yes [18:12:12.406] checking whether byte ordering is bigendian... no [18:12:12.479] checking for inline... inline [18:12:12.487] checking for printf format archetype... gnu_printf [18:12:12.495] checking for _Static_assert... yes [18:12:12.536] checking for typeof... typeof [18:12:12.543] checking for __builtin_types_compatible_p... yes [18:12:12.554] checking for __builtin_constant_p... yes [18:12:12.565] checking for __builtin_mul_overflow... yes [18:12:12.612] checking for __builtin_unreachable... yes [18:12:12.654] checking for computed goto support... yes [18:12:12.661] checking for struct tm.tm_zone... no [18:12:12.732] checking for union semun... no [18:12:12.764] checking for socklen_t... yes [18:12:13.884] checking for struct sockaddr.sa_len... no [18:12:15.874] checking for C/C++ restrict keyword... __restrict [18:12:15.887] checking for struct option... yes [18:12:15.928] checking whether assembler supports x86_64 popcntq... yes [18:12:15.934] checking size of off_t... 4 [18:12:16.128] 0 [18:12:16.128] checking for int timezone... yes [18:12:16.179] checking for backtrace_symbols... no [18:12:16.228] checking for copyfile... no [18:12:16.276] checking for copy_file_range... no [18:12:16.326] checking for elf_aux_info... no [18:12:16.376] checking for getauxval... no [18:12:16.426] checking for getifaddrs... no [18:12:16.477] checking for getpeerucred... no [18:12:16.530] checking for inet_pton... yes [18:12:16.582] checking for kqueue... no [18:12:16.632] checking for localeconv_l... no [18:12:16.680] checking for mbstowcs_l... no [18:12:16.731] checking for posix_fallocate... no [18:12:16.782] checking for ppoll... no [18:12:16.832] checking for pthread_is_threaded_np... no [18:12:16.882] checking for setproctitle... no [18:12:16.931] checking for setproctitle_fast... no [18:12:16.982] checking for strsignal... no [18:12:17.030] checking for syncfs... no [18:12:17.080] checking for sync_file_range... no [18:12:17.129] checking for uselocale... no [18:12:17.179] checking for wcstombs_l... no [18:12:17.228] checking for __builtin_bswap16... yes [18:12:17.276] checking for __builtin_bswap32... yes [18:12:17.324] checking for __builtin_bswap64... yes [18:12:17.373] checking for __builtin_clz... yes [18:12:17.420] checking for __builtin_ctz... yes [18:12:17.467] checking for __builtin_popcount... yes [18:12:17.514] checking for __builtin_frame_address... yes [18:12:17.562] checking for _LARGEFILE_SOURCE value needed for large files... no [18:12:17.615] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:12:17.645] checking for posix_fadvise... no [18:12:17.695] checking whether posix_fadvise is declared... no [18:12:17.737] checking whether fdatasync is declared... no [18:12:17.782] checking whether strlcat is declared... no [18:12:17.846] checking whether strlcpy is declared... no [18:12:17.908] checking whether strnlen is declared... yes [18:12:17.921] checking whether strsep is declared... no [18:12:17.985] checking whether timingsafe_bcmp is declared... no [18:12:18.047] checking whether preadv is declared... no [18:12:18.082] checking whether pwritev is declared... no [18:12:18.115] checking whether strchrnul is declared... no [18:12:18.155] checking whether memset_s is declared... no [18:12:18.195] checking whether F_FULLFSYNC is declared... no [18:12:18.234] checking for explicit_bzero... no [18:12:18.281] checking for getopt... yes [18:12:18.327] checking for getpeereid... no [18:12:18.373] checking for inet_aton... no [18:12:18.420] checking for mkdtemp... no [18:12:18.468] checking for strlcat... no [18:12:18.515] checking for strlcpy... no [18:12:18.561] checking for strnlen... yes [18:12:18.607] checking for strsep... no [18:12:18.652] checking for timingsafe_bcmp... no [18:12:18.698] checking for pthread_barrier_wait... yes [18:12:18.740] configure: On mingw32 we will use our strtof wrapper. [18:12:18.740] checking for getopt_long... yes [18:12:18.786] checking for syslog... no [18:12:18.833] checking for opterr... yes [18:12:18.880] checking for optreset... no [18:12:18.930] checking test program... cross-compiling [18:12:18.930] checking size of void *... 8 [18:12:19.190] checking size of size_t... 8 [18:12:19.451] checking size of long... 4 [18:12:19.650] checking size of long long... 8 [18:12:19.922] checking alignment of short... 2 [18:12:20.059] checking alignment of int... 4 [18:12:20.260] checking alignment of long... 4 [18:12:20.463] checking alignment of int64_t... 8 [18:12:20.725] checking alignment of double... 8 [18:12:20.987] checking for __int128... yes [18:12:21.035] checking for __int128 alignment bug... assuming ok [18:12:21.035] checking alignment of PG_INT128_TYPE... 16 [18:12:21.375] checking for builtin __sync char locking functions... yes [18:12:21.417] checking for builtin __sync int32 locking functions... yes [18:12:21.459] checking for builtin __sync int32 atomic operations... yes [18:12:21.502] checking for builtin __sync int64 atomic operations... yes [18:12:21.544] checking for builtin __atomic int32 atomic operations... yes [18:12:21.584] checking for builtin __atomic int64 atomic operations... yes [18:12:21.627] checking for __get_cpuid... yes [18:12:21.673] checking for __get_cpuid_count... yes [18:12:21.715] checking for __cpuid... no [18:12:22.109] checking for __cpuidex... no [18:12:22.540] checking for _xgetbv... yes [18:12:22.946] checking for _mm512_popcnt_epi64... yes [18:12:23.360] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:12:23.459] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:12:23.481] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:12:23.501] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:12:23.519] 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 [18:12:23.574] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:12:23.574] checking for _mm512_clmulepi64_epi128... yes [18:12:23.984] checking for vectorized CRC-32C... AVX-512 with runtime check [18:12:23.984] checking which random number source to use... Windows native [18:12:23.987] checking for xmllint... /usr/bin/xmllint [18:12:23.987] checking for xsltproc... /usr/bin/xsltproc [18:12:23.987] checking for fop... /usr/bin/fop [18:12:23.987] checking for dbtoepub... no [18:12:23.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:12:23.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:12:23.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:12:23.999] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:12:23.999] 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 [18:12:23.999] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:12:23.999] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:12:24.084] configure: creating ./config.status [18:12:24.169] config.status: creating GNUmakefile [18:12:24.181] config.status: creating src/Makefile.global [18:12:24.195] config.status: creating src/include/pg_config.h [18:12:24.207] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:12:24.221] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:12:24.228] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:12:24.234] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:12:24.241] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:12:24.248] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:12:24.252] config.status: executing check_win32_symlinks commands [18:12:24.284] [18:12:24.284] real 0m15.706s [18:12:24.284] user 0m10.403s [18:12:24.284] sys 0m4.987s [18:12:24.284] make -s -j${BUILD_JOBS} clean [18:12:24.794] time make -s -j${BUILD_JOBS} world-bin [18:12:30.360] md.c: In function ‘mdcreate’: [18:12:30.360] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [18:12:30.360] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [18:12:30.360] | ^~~~~~~~~~~~~~~~~~~~~ [18:12:30.360] cc1: all warnings being treated as errors [18:12:30.361] make[4]: *** [: md.o] Error 1 [18:12:30.362] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [18:12:30.362] make[2]: *** [common.mk:37: storage-recursive] Error 2 [18:12:30.362] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:12:30.363] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:12:30.363] [18:12:30.363] real 0m5.569s [18:12:30.363] user 0m9.233s [18:12:30.363] sys 0m6.247s [18:12:30.363] [18:12:30.363] Exit status: 2