[17:38:01.848] time ./configure \ [17:38:01.848] --host=x86_64-w64-mingw32 \ [17:38:01.848] --enable-cassert \ [17:38:01.848] --without-icu \ [17:38:01.848] CC="ccache x86_64-w64-mingw32-gcc" \ [17:38:01.848] CXX="ccache x86_64-w64-mingw32-g++" [17:38:01.958] checking build system type... x86_64-pc-linux-gnu [17:38:02.152] checking host system type... x86_64-w64-mingw32 [17:38:02.157] checking which template to use... win32 [17:38:02.157] checking whether NLS is wanted... no [17:38:02.157] checking for default port number... 5432 [17:38:02.164] checking for block size... 8kB [17:38:02.165] checking for segment size... 1GB [17:38:02.168] checking for WAL block size... 8kB [17:38:02.169] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:38:02.203] checking whether the C compiler works... yes [17:38:02.334] checking for C compiler default output file name... a.exe [17:38:02.335] checking for suffix of executables... .exe [17:38:02.374] checking whether we are cross compiling... yes [17:38:02.449] checking for suffix of object files... o [17:38:02.456] checking whether we are using the GNU C compiler... yes [17:38:02.462] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:38:02.469] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:38:02.478] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:38:02.533] checking whether we are using the GNU C++ compiler... yes [17:38:02.539] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:38:02.603] checking for gawk... no [17:38:02.603] checking for mawk... mawk [17:38:02.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:38:02.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:38:02.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:38:02.662] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:38:02.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:38:02.836] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:38:02.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:38:02.850] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:38:02.856] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:38:02.863] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:38:02.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:38:02.877] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:38:02.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:38:02.891] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:38:02.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:38:02.903] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:38:02.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:38:02.955] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:38:02.962] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:38:02.969] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:38:02.976] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:38:02.983] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:38:02.989] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:38:03.013] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:38:03.020] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:38:03.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:38:03.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:38:03.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:38:03.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:38:03.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:38:03.149] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:38:03.155] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:38:03.163] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:38:03.171] checking whether the C compiler still works... yes [17:38:03.234] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:38:03.302] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:38:03.303] checking pkg-config is at least version 0.9.0... yes [17:38:03.318] checking whether to build with ICU support... no [17:38:03.319] checking whether to build with Tcl... no [17:38:03.319] checking whether to build Perl modules... no [17:38:03.319] checking whether to build Python modules... no [17:38:03.319] checking whether to build with GSSAPI support... no [17:38:03.320] checking whether to build with PAM support... no [17:38:03.320] checking whether to build with BSD Authentication support... no [17:38:03.320] checking whether to build with LDAP support... no [17:38:03.320] checking whether to build with Bonjour support... no [17:38:03.320] checking whether to build with SELinux support... no [17:38:03.320] checking whether to build with systemd support... no [17:38:03.321] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:38:03.321] checking whether to build with liburing support... no [17:38:03.321] checking whether to build with libcurl support... no [17:38:03.321] checking whether to build with libnuma support... no [17:38:03.321] checking whether to build with XML support... no [17:38:03.322] checking whether to build with LZ4 support... no [17:38:03.322] checking whether to build with ZSTD support... no [17:38:03.322] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:38:03.322] checking whether it is possible to strip libraries... yes [17:38:03.330] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:38:03.330] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:38:03.330] checking for a BSD-compatible install... /usr/bin/install -c [17:38:03.339] checking for tar... /usr/bin/tar [17:38:03.340] checking whether ln -s works... yes [17:38:03.340] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:38:03.342] checking for bison... /usr/bin/bison [17:38:03.344] configure: using bison (GNU Bison) 3.8.2 [17:38:03.347] checking for flex... /usr/bin/flex [17:38:03.349] configure: using flex 2.6.4 [17:38:03.349] checking for perl... /usr/bin/perl [17:38:03.352] configure: using perl 5.36.0 [17:38:03.354] checking for zic... /usr/sbin/zic [17:38:03.354] checking for a sed that does not truncate output... /usr/bin/sed [17:38:03.359] checking for grep that handles long lines and -e... /usr/bin/grep [17:38:03.361] checking for egrep... /usr/bin/grep -E [17:38:03.363] checking for ANSI C header files... yes [17:38:03.409] checking for sys/types.h... yes [17:38:03.425] checking for sys/stat.h... yes [17:38:03.440] checking for stdlib.h... yes [17:38:03.455] checking for string.h... yes [17:38:03.469] checking for memory.h... yes [17:38:03.484] checking for strings.h... yes [17:38:03.499] checking for inttypes.h... yes [17:38:03.515] checking for stdint.h... yes [17:38:03.529] checking for unistd.h... yes [17:38:03.545] checking for main in -lm... yes [17:38:03.592] checking for library containing setproctitle... no [17:38:03.679] checking for library containing dlsym... no [17:38:03.763] checking for library containing socket... -lws2_32 [17:38:03.886] checking for library containing getopt_long... none required [17:38:03.932] checking for library containing shm_open... no [17:38:04.018] checking for library containing shm_unlink... no [17:38:04.102] checking for library containing clock_gettime... no [17:38:04.186] checking for library containing shmget... no [17:38:04.270] checking for library containing backtrace_symbols... no [17:38:04.356] checking for library containing pthread_barrier_wait... -lpthread [17:38:04.443] checking for inflate in -lz... yes [17:38:04.492] checking atomic.h usability... no [17:38:04.548] checking atomic.h presence... no [17:38:04.567] checking for atomic.h... no [17:38:04.570] checking copyfile.h usability... no [17:38:04.623] checking copyfile.h presence... no [17:38:04.641] checking for copyfile.h... no [17:38:04.645] checking execinfo.h usability... no [17:38:04.697] checking execinfo.h presence... no [17:38:04.715] checking for execinfo.h... no [17:38:04.718] checking getopt.h usability... yes [17:38:04.725] checking getopt.h presence... yes [17:38:04.740] checking for getopt.h... yes [17:38:04.748] checking ifaddrs.h usability... no [17:38:04.800] checking ifaddrs.h presence... no [17:38:04.818] checking for ifaddrs.h... no [17:38:04.821] checking mbarrier.h usability... no [17:38:04.874] checking mbarrier.h presence... no [17:38:04.892] checking for mbarrier.h... no [17:38:04.895] checking sys/epoll.h usability... no [17:38:04.947] checking sys/epoll.h presence... no [17:38:04.965] checking for sys/epoll.h... no [17:38:04.968] checking sys/event.h usability... no [17:38:05.021] checking sys/event.h presence... no [17:38:05.038] checking for sys/event.h... no [17:38:05.042] checking sys/personality.h usability... no [17:38:05.096] checking sys/personality.h presence... no [17:38:05.114] checking for sys/personality.h... no [17:38:05.117] checking sys/prctl.h usability... no [17:38:05.170] checking sys/prctl.h presence... no [17:38:05.187] checking for sys/prctl.h... no [17:38:05.191] checking sys/procctl.h usability... no [17:38:05.244] checking sys/procctl.h presence... no [17:38:05.262] checking for sys/procctl.h... no [17:38:05.266] checking sys/signalfd.h usability... no [17:38:05.318] checking sys/signalfd.h presence... no [17:38:05.337] checking for sys/signalfd.h... no [17:38:05.340] checking sys/ucred.h usability... no [17:38:05.393] checking sys/ucred.h presence... no [17:38:05.411] checking for sys/ucred.h... no [17:38:05.414] checking termios.h usability... no [17:38:05.467] checking termios.h presence... no [17:38:05.485] checking for termios.h... no [17:38:05.488] checking ucred.h usability... no [17:38:05.541] checking ucred.h presence... no [17:38:05.559] checking for ucred.h... no [17:38:05.562] checking xlocale.h usability... no [17:38:05.615] checking xlocale.h presence... no [17:38:05.632] checking for xlocale.h... no [17:38:05.635] checking zlib.h usability... yes [17:38:05.645] checking zlib.h presence... yes [17:38:05.663] checking for zlib.h... yes [17:38:05.664] checking for lz4... /usr/bin/lz4 [17:38:05.664] checking for zstd... /usr/bin/zstd [17:38:05.664] checking for openssl... /usr/bin/openssl [17:38:05.669] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [17:38:05.669] checking crtdefs.h usability... yes [17:38:05.676] checking crtdefs.h presence... yes [17:38:05.691] checking for crtdefs.h... yes [17:38:05.692] checking whether byte ordering is bigendian... no [17:38:05.761] checking for inline... inline [17:38:05.767] checking for printf format archetype... gnu_printf [17:38:05.776] checking for _Static_assert... yes [17:38:05.816] checking for typeof... typeof [17:38:05.823] checking for __builtin_types_compatible_p... yes [17:38:05.834] checking for __builtin_constant_p... yes [17:38:05.845] checking for __builtin_mul_overflow... yes [17:38:05.891] checking for __builtin_unreachable... yes [17:38:05.931] checking for computed goto support... yes [17:38:05.938] checking for struct tm.tm_zone... no [17:38:06.013] checking for union semun... no [17:38:06.046] checking for socklen_t... yes [17:38:07.191] checking for struct sockaddr.sa_len... no [17:38:09.140] checking for C/C++ restrict keyword... __restrict [17:38:09.153] checking for struct option... yes [17:38:09.195] checking whether assembler supports x86_64 popcntq... yes [17:38:09.202] checking size of off_t... 4 [17:38:09.396] 0 [17:38:09.396] checking for int timezone... yes [17:38:09.447] checking for backtrace_symbols... no [17:38:09.498] checking for copyfile... no [17:38:09.549] checking for copy_file_range... no [17:38:09.599] checking for elf_aux_info... no [17:38:09.647] checking for getauxval... no [17:38:09.698] checking for getifaddrs... no [17:38:09.748] checking for getpeerucred... no [17:38:09.798] checking for inet_pton... yes [17:38:09.848] checking for kqueue... no [17:38:09.897] checking for localeconv_l... no [17:38:09.946] checking for mbstowcs_l... no [17:38:09.995] checking for posix_fallocate... no [17:38:10.045] checking for ppoll... no [17:38:10.093] checking for pthread_is_threaded_np... no [17:38:10.143] checking for setproctitle... no [17:38:10.193] checking for setproctitle_fast... no [17:38:10.242] checking for strsignal... no [17:38:10.290] checking for syncfs... no [17:38:10.337] checking for sync_file_range... no [17:38:10.384] checking for uselocale... no [17:38:10.431] checking for wcstombs_l... no [17:38:10.475] checking for __builtin_bswap16... yes [17:38:10.521] checking for __builtin_bswap32... yes [17:38:10.567] checking for __builtin_bswap64... yes [17:38:10.613] checking for __builtin_clz... yes [17:38:10.661] checking for __builtin_ctz... yes [17:38:10.709] checking for __builtin_popcount... yes [17:38:10.754] checking for __builtin_frame_address... yes [17:38:10.801] checking for _LARGEFILE_SOURCE value needed for large files... no [17:38:10.852] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:38:10.882] checking for posix_fadvise... no [17:38:10.931] checking whether posix_fadvise is declared... no [17:38:10.975] checking whether fdatasync is declared... no [17:38:11.020] checking whether strlcat is declared... no [17:38:11.080] checking whether strlcpy is declared... no [17:38:11.143] checking whether strnlen is declared... yes [17:38:11.156] checking whether strsep is declared... no [17:38:11.219] checking whether timingsafe_bcmp is declared... no [17:38:11.283] checking whether preadv is declared... no [17:38:11.318] checking whether pwritev is declared... no [17:38:11.352] checking whether strchrnul is declared... no [17:38:11.393] checking whether memset_s is declared... no [17:38:11.434] checking whether F_FULLFSYNC is declared... no [17:38:11.475] checking for explicit_bzero... no [17:38:11.522] checking for getopt... yes [17:38:11.566] checking for getpeereid... no [17:38:11.612] checking for inet_aton... no [17:38:11.659] checking for mkdtemp... no [17:38:11.706] checking for strlcat... no [17:38:11.754] checking for strlcpy... no [17:38:11.801] checking for strnlen... yes [17:38:11.847] checking for strsep... no [17:38:11.895] checking for timingsafe_bcmp... no [17:38:11.940] checking for pthread_barrier_wait... yes [17:38:11.982] configure: On mingw32 we will use our strtof wrapper. [17:38:11.983] checking for getopt_long... yes [17:38:12.024] checking for syslog... no [17:38:12.068] checking for opterr... yes [17:38:12.114] checking for optreset... no [17:38:12.163] checking test program... cross-compiling [17:38:12.163] checking size of void *... 8 [17:38:12.414] checking size of size_t... 8 [17:38:12.669] checking size of long... 4 [17:38:12.858] checking size of long long... 8 [17:38:13.114] checking alignment of short... 2 [17:38:13.251] checking alignment of int... 4 [17:38:13.449] checking alignment of long... 4 [17:38:13.652] checking alignment of int64_t... 8 [17:38:13.919] checking alignment of double... 8 [17:38:14.185] checking for __int128... yes [17:38:14.235] checking for __int128 alignment bug... assuming ok [17:38:14.235] checking alignment of PG_INT128_TYPE... 16 [17:38:14.559] checking for builtin __sync char locking functions... yes [17:38:14.603] checking for builtin __sync int32 locking functions... yes [17:38:14.644] checking for builtin __sync int32 atomic operations... yes [17:38:14.687] checking for builtin __sync int64 atomic operations... yes [17:38:14.731] checking for builtin __atomic int32 atomic operations... yes [17:38:14.773] checking for builtin __atomic int64 atomic operations... yes [17:38:14.815] checking for __get_cpuid... yes [17:38:14.862] checking for __get_cpuid_count... yes [17:38:14.907] checking for __cpuid... no [17:38:15.295] checking for __cpuidex... no [17:38:15.703] checking for _xgetbv... yes [17:38:16.093] checking for _mm512_popcnt_epi64... yes [17:38:16.500] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:38:16.599] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:38:16.621] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:38:16.640] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:38:16.658] 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 [17:38:16.713] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:38:16.713] checking for _mm512_clmulepi64_epi128... yes [17:38:17.116] checking for vectorized CRC-32C... AVX-512 with runtime check [17:38:17.116] checking which random number source to use... Windows native [17:38:17.118] checking for xmllint... /usr/bin/xmllint [17:38:17.118] checking for xsltproc... /usr/bin/xsltproc [17:38:17.119] checking for fop... /usr/bin/fop [17:38:17.119] checking for dbtoepub... no [17:38:17.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:38:17.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:38:17.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:38:17.130] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:38:17.130] 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 [17:38:17.130] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:38:17.130] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:38:17.213] configure: creating ./config.status [17:38:17.297] config.status: creating GNUmakefile [17:38:17.309] config.status: creating src/Makefile.global [17:38:17.325] config.status: creating src/include/pg_config.h [17:38:17.338] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:38:17.353] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:38:17.360] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:38:17.368] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:38:17.375] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:38:17.382] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:38:17.385] config.status: executing check_win32_symlinks commands [17:38:17.417] [17:38:17.417] real 0m15.568s [17:38:17.417] user 0m10.364s [17:38:17.417] sys 0m4.862s [17:38:17.417] make -s -j${BUILD_JOBS} clean [17:38:17.936] time make -s -j${BUILD_JOBS} world-bin [17:38:23.323] md.c: In function ‘mdcreate’: [17:38:23.323] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [17:38:23.323] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [17:38:23.323] | ^~~~~~~~~~~~~~~~~~~~~ [17:38:23.323] cc1: all warnings being treated as errors [17:38:23.325] make[4]: *** [: md.o] Error 1 [17:38:23.325] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [17:38:23.326] make[2]: *** [common.mk:37: storage-recursive] Error 2 [17:38:23.326] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:38:23.326] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:38:23.327] [17:38:23.327] real 0m5.390s [17:38:23.327] user 0m8.809s [17:38:23.327] sys 0m6.487s [17:38:23.327] [17:38:23.327] Exit status: 2