[22:57:50.155] time ./configure \ [22:57:50.155] --host=x86_64-w64-mingw32 \ [22:57:50.155] --enable-cassert \ [22:57:50.155] --without-icu \ [22:57:50.155] CC="ccache x86_64-w64-mingw32-gcc" \ [22:57:50.155] CXX="ccache x86_64-w64-mingw32-g++" [22:57:50.276] checking build system type... x86_64-pc-linux-gnu [22:57:50.440] checking host system type... x86_64-w64-mingw32 [22:57:50.446] checking which template to use... win32 [22:57:50.446] checking whether NLS is wanted... no [22:57:50.446] checking for default port number... 5432 [22:57:50.453] checking for block size... 8kB [22:57:50.455] checking for segment size... 1GB [22:57:50.457] checking for WAL block size... 8kB [22:57:50.459] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:57:50.495] checking whether the C compiler works... yes [22:57:50.637] checking for C compiler default output file name... a.exe [22:57:50.638] checking for suffix of executables... .exe [22:57:50.681] checking whether we are cross compiling... yes [22:57:50.750] checking for suffix of object files... o [22:57:50.758] checking whether we are using the GNU C compiler... yes [22:57:50.765] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:57:50.772] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:57:50.782] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:57:50.842] checking whether we are using the GNU C++ compiler... yes [22:57:50.849] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:57:50.920] checking for gawk... no [22:57:50.920] checking for mawk... mawk [22:57:50.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:57:50.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:57:50.936] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:57:50.982] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:57:51.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:57:51.145] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:57:51.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:57:51.160] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:57:51.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:57:51.174] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:57:51.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:57:51.189] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:57:51.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:57:51.204] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:57:51.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:57:51.218] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:57:51.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:57:51.264] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:57:51.272] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:57:51.279] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:57:51.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:57:51.293] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:57:51.300] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:57:51.325] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:57:51.332] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:57:51.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:57:51.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:57:51.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:57:51.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:57:51.427] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:57:51.461] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:57:51.468] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:57:51.475] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:57:51.484] checking whether the C compiler still works... yes [22:57:51.549] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:57:51.622] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:57:51.623] checking pkg-config is at least version 0.9.0... yes [22:57:51.639] checking whether to build with ICU support... no [22:57:51.639] checking whether to build with Tcl... no [22:57:51.639] checking whether to build Perl modules... no [22:57:51.640] checking whether to build Python modules... no [22:57:51.640] checking whether to build with GSSAPI support... no [22:57:51.641] checking whether to build with PAM support... no [22:57:51.641] checking whether to build with BSD Authentication support... no [22:57:51.642] checking whether to build with LDAP support... no [22:57:51.642] checking whether to build with Bonjour support... no [22:57:51.642] checking whether to build with SELinux support... no [22:57:51.642] checking whether to build with systemd support... no [22:57:51.642] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:57:51.642] checking whether to build with liburing support... no [22:57:51.642] checking whether to build with libcurl support... no [22:57:51.643] checking whether to build with libnuma support... no [22:57:51.643] checking whether to build with XML support... no [22:57:51.643] checking whether to build with LZ4 support... no [22:57:51.643] checking whether to build with ZSTD support... no [22:57:51.644] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:57:51.644] checking whether it is possible to strip libraries... yes [22:57:51.650] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:57:51.651] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:57:51.651] checking for a BSD-compatible install... /usr/bin/install -c [22:57:51.660] checking for tar... /usr/bin/tar [22:57:51.660] checking whether ln -s works... yes [22:57:51.660] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:57:51.663] checking for bison... /usr/bin/bison [22:57:51.665] configure: using bison (GNU Bison) 3.8.2 [22:57:51.668] checking for flex... /usr/bin/flex [22:57:51.671] configure: using flex 2.6.4 [22:57:51.671] checking for perl... /usr/bin/perl [22:57:51.673] configure: using perl 5.36.0 [22:57:51.676] checking for zic... /usr/sbin/zic [22:57:51.676] checking for a sed that does not truncate output... /usr/bin/sed [22:57:51.681] checking for grep that handles long lines and -e... /usr/bin/grep [22:57:51.683] checking for egrep... /usr/bin/grep -E [22:57:51.685] checking for ANSI C header files... yes [22:57:51.733] checking for sys/types.h... yes [22:57:51.749] checking for sys/stat.h... yes [22:57:51.765] checking for stdlib.h... yes [22:57:51.780] checking for string.h... yes [22:57:51.795] checking for memory.h... yes [22:57:51.812] checking for strings.h... yes [22:57:51.828] checking for inttypes.h... yes [22:57:51.843] checking for stdint.h... yes [22:57:51.858] checking for unistd.h... yes [22:57:51.875] checking for main in -lm... yes [22:57:51.924] checking for library containing setproctitle... no [22:57:52.019] checking for library containing dlsym... no [22:57:52.114] checking for library containing socket... -lws2_32 [22:57:52.249] checking for library containing getopt_long... none required [22:57:52.299] checking for library containing shm_open... no [22:57:52.392] checking for library containing shm_unlink... no [22:57:52.483] checking for library containing clock_gettime... no [22:57:52.574] checking for library containing shmget... no [22:57:52.668] checking for library containing backtrace_symbols... no [22:57:52.763] checking for library containing pthread_barrier_wait... -lpthread [22:57:52.857] checking for inflate in -lz... yes [22:57:52.909] checking atomic.h usability... no [22:57:52.971] checking atomic.h presence... no [22:57:52.992] checking for atomic.h... no [22:57:52.996] checking copyfile.h usability... no [22:57:53.054] checking copyfile.h presence... no [22:57:53.073] checking for copyfile.h... no [22:57:53.077] checking execinfo.h usability... no [22:57:53.136] checking execinfo.h presence... no [22:57:53.157] checking for execinfo.h... no [22:57:53.160] checking getopt.h usability... yes [22:57:53.168] checking getopt.h presence... yes [22:57:53.184] checking for getopt.h... yes [22:57:53.191] checking ifaddrs.h usability... no [22:57:53.247] checking ifaddrs.h presence... no [22:57:53.267] checking for ifaddrs.h... no [22:57:53.271] checking mbarrier.h usability... no [22:57:53.328] checking mbarrier.h presence... no [22:57:53.348] checking for mbarrier.h... no [22:57:53.351] checking sys/epoll.h usability... no [22:57:53.408] checking sys/epoll.h presence... no [22:57:53.428] checking for sys/epoll.h... no [22:57:53.432] checking sys/event.h usability... no [22:57:53.489] checking sys/event.h presence... no [22:57:53.509] checking for sys/event.h... no [22:57:53.512] checking sys/personality.h usability... no [22:57:53.570] checking sys/personality.h presence... no [22:57:53.589] checking for sys/personality.h... no [22:57:53.593] checking sys/prctl.h usability... no [22:57:53.648] checking sys/prctl.h presence... no [22:57:53.666] checking for sys/prctl.h... no [22:57:53.669] checking sys/procctl.h usability... no [22:57:53.724] checking sys/procctl.h presence... no [22:57:53.743] checking for sys/procctl.h... no [22:57:53.746] checking sys/signalfd.h usability... no [22:57:53.803] checking sys/signalfd.h presence... no [22:57:53.823] checking for sys/signalfd.h... no [22:57:53.827] checking sys/ucred.h usability... no [22:57:53.884] checking sys/ucred.h presence... no [22:57:53.905] checking for sys/ucred.h... no [22:57:53.909] checking termios.h usability... no [22:57:53.968] checking termios.h presence... no [22:57:53.988] checking for termios.h... no [22:57:53.991] checking ucred.h usability... no [22:57:54.046] checking ucred.h presence... no [22:57:54.067] checking for ucred.h... no [22:57:54.070] checking xlocale.h usability... no [22:57:54.127] checking xlocale.h presence... no [22:57:54.145] checking for xlocale.h... no [22:57:54.148] checking zlib.h usability... yes [22:57:54.158] checking zlib.h presence... yes [22:57:54.177] checking for zlib.h... yes [22:57:54.177] checking for lz4... /usr/bin/lz4 [22:57:54.177] checking for zstd... /usr/bin/zstd [22:57:54.178] checking for openssl... /usr/bin/openssl [22:57:54.182] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [22:57:54.182] checking crtdefs.h usability... yes [22:57:54.190] checking crtdefs.h presence... yes [22:57:54.205] checking for crtdefs.h... yes [22:57:54.207] checking whether byte ordering is bigendian... no [22:57:54.283] checking for inline... inline [22:57:54.291] checking for printf format archetype... gnu_printf [22:57:54.300] checking for _Static_assert... yes [22:57:54.344] checking for typeof... typeof [22:57:54.352] checking for __builtin_types_compatible_p... yes [22:57:54.363] checking for __builtin_constant_p... yes [22:57:54.374] checking for __builtin_mul_overflow... yes [22:57:54.427] checking for __builtin_unreachable... yes [22:57:54.471] checking for computed goto support... yes [22:57:54.479] checking for struct tm.tm_zone... no [22:57:54.561] checking for union semun... no [22:57:54.597] checking for socklen_t... yes [22:57:55.768] checking for struct sockaddr.sa_len... no [22:57:57.781] checking for C/C++ restrict keyword... __restrict [22:57:57.794] checking for struct option... yes [22:57:57.839] checking whether assembler supports x86_64 popcntq... yes [22:57:57.846] checking size of off_t... 4 [22:57:58.055] 0 [22:57:58.055] checking for int timezone... yes [22:57:58.106] checking for backtrace_symbols... no [22:57:58.156] checking for copyfile... no [22:57:58.206] checking for copy_file_range... no [22:57:58.257] checking for elf_aux_info... no [22:57:58.310] checking for getauxval... no [22:57:58.363] checking for getifaddrs... no [22:57:58.417] checking for getpeerucred... no [22:57:58.470] checking for inet_pton... yes [22:57:58.525] checking for kqueue... no [22:57:58.577] checking for localeconv_l... no [22:57:58.628] checking for mbstowcs_l... no [22:57:58.678] checking for posix_fallocate... no [22:57:58.728] checking for ppoll... no [22:57:58.780] checking for pthread_is_threaded_np... no [22:57:58.834] checking for setproctitle... no [22:57:58.889] checking for setproctitle_fast... no [22:57:58.941] checking for strsignal... no [22:57:58.995] checking for syncfs... no [22:57:59.047] checking for sync_file_range... no [22:57:59.099] checking for uselocale... no [22:57:59.152] checking for wcstombs_l... no [22:57:59.203] checking for __builtin_bswap16... yes [22:57:59.257] checking for __builtin_bswap32... yes [22:57:59.309] checking for __builtin_bswap64... yes [22:57:59.361] checking for __builtin_clz... yes [22:57:59.415] checking for __builtin_ctz... yes [22:57:59.466] checking for __builtin_popcount... yes [22:57:59.519] checking for __builtin_frame_address... yes [22:57:59.570] checking for _LARGEFILE_SOURCE value needed for large files... no [22:57:59.631] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:57:59.666] checking for posix_fadvise... no [22:57:59.720] checking whether posix_fadvise is declared... no [22:57:59.767] checking whether fdatasync is declared... no [22:57:59.817] checking whether strlcat is declared... no [22:57:59.886] checking whether strlcpy is declared... no [22:57:59.953] checking whether strnlen is declared... yes [22:57:59.968] checking whether strsep is declared... no [22:58:00.036] checking whether timingsafe_bcmp is declared... no [22:58:00.106] checking whether preadv is declared... no [22:58:00.146] checking whether pwritev is declared... no [22:58:00.185] checking whether strchrnul is declared... no [22:58:00.232] checking whether memset_s is declared... no [22:58:00.279] checking whether F_FULLFSYNC is declared... no [22:58:00.320] checking for explicit_bzero... no [22:58:00.369] checking for getopt... yes [22:58:00.415] checking for getpeereid... no [22:58:00.462] checking for inet_aton... no [22:58:00.511] checking for mkdtemp... no [22:58:00.559] checking for strlcat... no [22:58:00.607] checking for strlcpy... no [22:58:00.658] checking for strnlen... yes [22:58:00.708] checking for strsep... no [22:58:00.759] checking for timingsafe_bcmp... no [22:58:00.811] checking for pthread_barrier_wait... yes [22:58:00.859] configure: On mingw32 we will use our strtof wrapper. [22:58:00.859] checking for getopt_long... yes [22:58:00.907] checking for syslog... no [22:58:00.955] checking for opterr... yes [22:58:01.005] checking for optreset... no [22:58:01.057] checking test program... cross-compiling [22:58:01.057] checking size of void *... 8 [22:58:01.340] checking size of size_t... 8 [22:58:01.618] checking size of long... 4 [22:58:01.817] checking size of long long... 8 [22:58:02.101] checking alignment of short... 2 [22:58:02.250] checking alignment of int... 4 [22:58:02.462] checking alignment of long... 4 [22:58:02.675] checking alignment of int64_t... 8 [22:58:02.957] checking alignment of double... 8 [22:58:03.228] checking for __int128... yes [22:58:03.279] checking for __int128 alignment bug... assuming ok [22:58:03.279] checking alignment of PG_INT128_TYPE... 16 [22:58:03.617] checking for builtin __sync char locking functions... yes [22:58:03.660] checking for builtin __sync int32 locking functions... yes [22:58:03.705] checking for builtin __sync int32 atomic operations... yes [22:58:03.751] checking for builtin __sync int64 atomic operations... yes [22:58:03.798] checking for builtin __atomic int32 atomic operations... yes [22:58:03.844] checking for builtin __atomic int64 atomic operations... yes [22:58:03.891] checking for __get_cpuid... yes [22:58:03.941] checking for __get_cpuid_count... yes [22:58:03.987] checking for _xgetbv... yes [22:58:04.398] checking for _mm512_popcnt_epi64... yes [22:58:04.819] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:58:04.922] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:58:04.943] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:58:04.961] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:58:04.980] 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 [22:58:05.036] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:58:05.036] checking for _mm512_clmulepi64_epi128... yes [22:58:05.449] checking for vectorized CRC-32C... AVX-512 with runtime check [22:58:05.449] checking which random number source to use... Windows native [22:58:05.451] checking for xmllint... /usr/bin/xmllint [22:58:05.451] checking for xsltproc... /usr/bin/xsltproc [22:58:05.451] checking for fop... /usr/bin/fop [22:58:05.452] checking for dbtoepub... no [22:58:05.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:58:05.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:58:05.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:58:05.463] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:58:05.464] 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 [22:58:05.464] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:58:05.464] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:58:05.557] configure: creating ./config.status [22:58:05.647] config.status: creating GNUmakefile [22:58:05.659] config.status: creating src/Makefile.global [22:58:05.675] config.status: creating src/include/pg_config.h [22:58:05.689] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:58:05.706] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:58:05.713] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:58:05.721] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:58:05.729] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:58:05.737] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:58:05.740] config.status: executing check_win32_symlinks commands [22:58:05.777] [22:58:05.777] real 0m15.622s [22:58:05.777] user 0m10.452s [22:58:05.777] sys 0m4.941s [22:58:05.777] make -s -j${BUILD_JOBS} clean [22:58:06.349] time make -s -j${BUILD_JOBS} world-bin [22:58:28.614] md.c: In function ‘mdcreate’: [22:58:28.614] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [22:58:28.614] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [22:58:28.614] | ^~~~~~~~~~~~~~~~~~~~~ [22:58:28.614] cc1: all warnings being treated as errors [22:58:28.616] make[4]: *** [: md.o] Error 1 [22:58:28.616] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [22:58:28.616] make[3]: *** Waiting for unfinished jobs.... [22:58:28.806] make[2]: *** [common.mk:37: storage-recursive] Error 2 [22:58:28.806] make[2]: *** Waiting for unfinished jobs.... [22:58:31.093] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:58:31.094] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:58:31.094] [22:58:31.094] real 0m24.745s [22:58:31.094] user 1m11.489s [22:58:31.094] sys 0m18.155s [22:58:31.094] [22:58:31.094] Exit status: 2