[10:40:08.398] time ./configure \ [10:40:08.398] --host=x86_64-w64-mingw32 \ [10:40:08.398] --enable-cassert \ [10:40:08.398] --without-icu \ [10:40:08.398] CC="ccache x86_64-w64-mingw32-gcc" \ [10:40:08.398] CXX="ccache x86_64-w64-mingw32-g++" [10:40:08.516] checking build system type... x86_64-pc-linux-gnu [10:40:08.684] checking host system type... x86_64-w64-mingw32 [10:40:08.689] checking which template to use... win32 [10:40:08.689] checking whether NLS is wanted... no [10:40:08.689] checking for default port number... 5432 [10:40:08.695] checking for block size... 8kB [10:40:08.696] checking for segment size... 1GB [10:40:08.699] checking for WAL block size... 8kB [10:40:08.700] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:40:08.732] checking whether the C compiler works... yes [10:40:08.873] checking for C compiler default output file name... a.exe [10:40:08.874] checking for suffix of executables... .exe [10:40:08.915] checking whether we are cross compiling... yes [10:40:08.987] checking for suffix of object files... o [10:40:08.995] checking whether we are using the GNU C compiler... yes [10:40:09.001] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:40:09.007] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:40:09.016] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:40:09.072] checking whether we are using the GNU C++ compiler... yes [10:40:09.080] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:40:09.147] checking for gawk... no [10:40:09.148] checking for mawk... mawk [10:40:09.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:40:09.156] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:40:09.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:40:09.205] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:40:09.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:40:09.363] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:40:09.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:40:09.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:40:09.383] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:40:09.390] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:40:09.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:40:09.404] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:40:09.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:40:09.417] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:40:09.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:40:09.431] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:40:09.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:40:09.473] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:40:09.480] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:40:09.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:40:09.494] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:40:09.500] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:40:09.507] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:40:09.529] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:40:09.536] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:40:09.543] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:40:09.580] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:40:09.617] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:40:09.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:40:09.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:40:09.665] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:40:09.672] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:40:09.679] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:40:09.686] checking whether the C compiler still works... yes [10:40:09.749] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:40:09.818] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:40:09.818] checking pkg-config is at least version 0.9.0... yes [10:40:09.836] checking whether to build with ICU support... no [10:40:09.836] checking whether to build with Tcl... no [10:40:09.836] checking whether to build Perl modules... no [10:40:09.836] checking whether to build Python modules... no [10:40:09.836] checking whether to build with GSSAPI support... no [10:40:09.838] checking whether to build with PAM support... no [10:40:09.838] checking whether to build with BSD Authentication support... no [10:40:09.838] checking whether to build with LDAP support... no [10:40:09.838] checking whether to build with Bonjour support... no [10:40:09.838] checking whether to build with SELinux support... no [10:40:09.838] checking whether to build with systemd support... no [10:40:09.838] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:40:09.838] checking whether to build with liburing support... no [10:40:09.839] checking whether to build with libcurl support... no [10:40:09.839] checking whether to build with libnuma support... no [10:40:09.839] checking whether to build with XML support... no [10:40:09.840] checking whether to build with LZ4 support... no [10:40:09.840] checking whether to build with ZSTD support... no [10:40:09.840] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:40:09.840] checking whether it is possible to strip libraries... yes [10:40:09.847] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:40:09.848] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:40:09.848] checking for a BSD-compatible install... /usr/bin/install -c [10:40:09.857] checking for tar... /usr/bin/tar [10:40:09.857] checking whether ln -s works... yes [10:40:09.857] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:40:09.860] checking for bison... /usr/bin/bison [10:40:09.862] configure: using bison (GNU Bison) 3.8.2 [10:40:09.865] checking for flex... /usr/bin/flex [10:40:09.867] configure: using flex 2.6.4 [10:40:09.867] checking for perl... /usr/bin/perl [10:40:09.869] configure: using perl 5.36.0 [10:40:09.872] checking for zic... /usr/sbin/zic [10:40:09.872] checking for a sed that does not truncate output... /usr/bin/sed [10:40:09.877] checking for grep that handles long lines and -e... /usr/bin/grep [10:40:09.879] checking for egrep... /usr/bin/grep -E [10:40:09.881] checking for ANSI C header files... yes [10:40:09.928] checking for sys/types.h... yes [10:40:09.945] checking for sys/stat.h... yes [10:40:09.961] checking for stdlib.h... yes [10:40:09.976] checking for string.h... yes [10:40:09.990] checking for memory.h... yes [10:40:10.006] checking for strings.h... yes [10:40:10.021] checking for inttypes.h... yes [10:40:10.037] checking for stdint.h... yes [10:40:10.051] checking for unistd.h... yes [10:40:10.067] checking for main in -lm... yes [10:40:10.113] checking for library containing setproctitle... no [10:40:10.202] checking for library containing dlsym... no [10:40:10.287] checking for library containing socket... -lws2_32 [10:40:10.419] checking for library containing getopt_long... none required [10:40:10.469] checking for library containing shm_open... no [10:40:10.558] checking for library containing shm_unlink... no [10:40:10.647] checking for library containing clock_gettime... no [10:40:10.730] checking for library containing shmget... no [10:40:10.818] checking for library containing backtrace_symbols... no [10:40:10.906] checking for library containing pthread_barrier_wait... -lpthread [10:40:10.995] checking for inflate in -lz... yes [10:40:11.044] checking atomic.h usability... no [10:40:11.101] checking atomic.h presence... no [10:40:11.120] checking for atomic.h... no [10:40:11.123] checking copyfile.h usability... no [10:40:11.178] checking copyfile.h presence... no [10:40:11.197] checking for copyfile.h... no [10:40:11.200] checking execinfo.h usability... no [10:40:11.256] checking execinfo.h presence... no [10:40:11.274] checking for execinfo.h... no [10:40:11.278] checking getopt.h usability... yes [10:40:11.285] checking getopt.h presence... yes [10:40:11.300] checking for getopt.h... yes [10:40:11.307] checking ifaddrs.h usability... no [10:40:11.360] checking ifaddrs.h presence... no [10:40:11.378] checking for ifaddrs.h... no [10:40:11.381] checking mbarrier.h usability... no [10:40:11.434] checking mbarrier.h presence... no [10:40:11.453] checking for mbarrier.h... no [10:40:11.457] checking sys/epoll.h usability... no [10:40:11.510] checking sys/epoll.h presence... no [10:40:11.529] checking for sys/epoll.h... no [10:40:11.532] checking sys/event.h usability... no [10:40:11.589] checking sys/event.h presence... no [10:40:11.608] checking for sys/event.h... no [10:40:11.611] checking sys/personality.h usability... no [10:40:11.664] checking sys/personality.h presence... no [10:40:11.683] checking for sys/personality.h... no [10:40:11.686] checking sys/prctl.h usability... no [10:40:11.741] checking sys/prctl.h presence... no [10:40:11.758] checking for sys/prctl.h... no [10:40:11.761] checking sys/procctl.h usability... no [10:40:11.813] checking sys/procctl.h presence... no [10:40:11.830] checking for sys/procctl.h... no [10:40:11.833] checking sys/signalfd.h usability... no [10:40:11.884] checking sys/signalfd.h presence... no [10:40:11.903] checking for sys/signalfd.h... no [10:40:11.906] checking sys/ucred.h usability... no [10:40:11.959] checking sys/ucred.h presence... no [10:40:11.977] checking for sys/ucred.h... no [10:40:11.980] checking termios.h usability... no [10:40:12.032] checking termios.h presence... no [10:40:12.052] checking for termios.h... no [10:40:12.055] checking ucred.h usability... no [10:40:12.110] checking ucred.h presence... no [10:40:12.129] checking for ucred.h... no [10:40:12.133] checking xlocale.h usability... no [10:40:12.187] checking xlocale.h presence... no [10:40:12.206] checking for xlocale.h... no [10:40:12.208] checking zlib.h usability... yes [10:40:12.217] checking zlib.h presence... yes [10:40:12.236] checking for zlib.h... yes [10:40:12.236] checking for lz4... /usr/bin/lz4 [10:40:12.236] checking for zstd... /usr/bin/zstd [10:40:12.236] checking for openssl... /usr/bin/openssl [10:40:12.241] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [10:40:12.241] checking crtdefs.h usability... yes [10:40:12.249] checking crtdefs.h presence... yes [10:40:12.263] checking for crtdefs.h... yes [10:40:12.264] checking whether byte ordering is bigendian... no [10:40:12.334] checking for inline... inline [10:40:12.341] checking for printf format archetype... gnu_printf [10:40:12.350] checking for _Static_assert... yes [10:40:12.391] checking for typeof... typeof [10:40:12.398] checking for __builtin_types_compatible_p... yes [10:40:12.409] checking for __builtin_constant_p... yes [10:40:12.419] checking for __builtin_mul_overflow... yes [10:40:12.468] checking for __builtin_unreachable... yes [10:40:12.509] checking for computed goto support... yes [10:40:12.516] checking for struct tm.tm_zone... no [10:40:12.589] checking for union semun... no [10:40:12.620] checking for socklen_t... yes [10:40:13.725] checking for struct sockaddr.sa_len... no [10:40:15.737] checking for C/C++ restrict keyword... __restrict [10:40:15.751] checking for struct option... yes [10:40:15.795] checking whether assembler supports x86_64 popcntq... yes [10:40:15.803] checking size of off_t... 4 [10:40:16.007] 0 [10:40:16.007] checking for int timezone... yes [10:40:16.060] checking for backtrace_symbols... no [10:40:16.110] checking for copyfile... no [10:40:16.160] checking for copy_file_range... no [10:40:16.210] checking for elf_aux_info... no [10:40:16.259] checking for getauxval... no [10:40:16.310] checking for getifaddrs... no [10:40:16.359] checking for getpeerucred... no [10:40:16.407] checking for inet_pton... yes [10:40:16.454] checking for kqueue... no [10:40:16.501] checking for localeconv_l... no [10:40:16.550] checking for mbstowcs_l... no [10:40:16.598] checking for posix_fallocate... no [10:40:16.646] checking for ppoll... no [10:40:16.693] checking for pthread_is_threaded_np... no [10:40:16.743] checking for setproctitle... no [10:40:16.795] checking for setproctitle_fast... no [10:40:16.845] checking for strsignal... no [10:40:16.894] checking for syncfs... no [10:40:16.943] checking for sync_file_range... no [10:40:16.993] checking for uselocale... no [10:40:17.045] checking for wcstombs_l... no [10:40:17.093] checking for __builtin_bswap16... yes [10:40:17.143] checking for __builtin_bswap32... yes [10:40:17.190] checking for __builtin_bswap64... yes [10:40:17.237] checking for __builtin_clz... yes [10:40:17.287] checking for __builtin_ctz... yes [10:40:17.337] checking for __builtin_popcount... yes [10:40:17.385] checking for __builtin_frame_address... yes [10:40:17.434] checking for _LARGEFILE_SOURCE value needed for large files... no [10:40:17.490] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:40:17.522] checking for posix_fadvise... no [10:40:17.575] checking whether posix_fadvise is declared... no [10:40:17.619] checking whether fdatasync is declared... no [10:40:17.667] checking whether strlcat is declared... no [10:40:17.730] checking whether strlcpy is declared... no [10:40:17.798] checking whether strnlen is declared... yes [10:40:17.812] checking whether strsep is declared... no [10:40:17.878] checking whether timingsafe_bcmp is declared... no [10:40:17.945] checking whether preadv is declared... no [10:40:17.983] checking whether pwritev is declared... no [10:40:18.021] checking whether strchrnul is declared... no [10:40:18.064] checking whether memset_s is declared... no [10:40:18.108] checking whether F_FULLFSYNC is declared... no [10:40:18.149] checking for explicit_bzero... no [10:40:18.196] checking for getopt... yes [10:40:18.238] checking for getpeereid... no [10:40:18.283] checking for inet_aton... no [10:40:18.331] checking for mkdtemp... no [10:40:18.379] checking for strlcat... no [10:40:18.426] checking for strlcpy... no [10:40:18.473] checking for strnlen... yes [10:40:18.521] checking for strsep... no [10:40:18.568] checking for timingsafe_bcmp... no [10:40:18.614] checking for pthread_barrier_wait... yes [10:40:18.656] configure: On mingw32 we will use our strtof wrapper. [10:40:18.657] checking for getopt_long... yes [10:40:18.702] checking for syslog... no [10:40:18.750] checking for opterr... yes [10:40:18.798] checking for optreset... no [10:40:18.849] checking test program... cross-compiling [10:40:18.849] checking size of void *... 8 [10:40:19.116] checking size of size_t... 8 [10:40:19.382] checking size of long... 4 [10:40:19.586] checking size of long long... 8 [10:40:19.857] checking alignment of short... 2 [10:40:19.997] checking alignment of int... 4 [10:40:20.192] checking alignment of long... 4 [10:40:20.390] checking alignment of int64_t... 8 [10:40:20.651] checking alignment of double... 8 [10:40:20.915] checking for __int128... yes [10:40:20.967] checking for __int128 alignment bug... assuming ok [10:40:20.967] checking alignment of PG_INT128_TYPE... 16 [10:40:21.301] checking for builtin __sync char locking functions... yes [10:40:21.344] checking for builtin __sync int32 locking functions... yes [10:40:21.387] checking for builtin __sync int32 atomic operations... yes [10:40:21.430] checking for builtin __sync int64 atomic operations... yes [10:40:21.473] checking for builtin __atomic int32 atomic operations... yes [10:40:21.516] checking for builtin __atomic int64 atomic operations... yes [10:40:21.562] checking for __get_cpuid... yes [10:40:21.607] checking for __get_cpuid_count... yes [10:40:21.649] checking for __cpuid... no [10:40:22.044] checking for __cpuidex... no [10:40:22.457] checking for _xgetbv... yes [10:40:22.852] checking for _mm512_popcnt_epi64... yes [10:40:23.268] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:40:23.371] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:40:23.393] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:40:23.411] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:40:23.429] 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 [10:40:23.482] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:40:23.482] checking for _mm512_clmulepi64_epi128... yes [10:40:23.884] checking for vectorized CRC-32C... AVX-512 with runtime check [10:40:23.884] checking which random number source to use... Windows native [10:40:23.886] checking for xmllint... /usr/bin/xmllint [10:40:23.887] checking for xsltproc... /usr/bin/xsltproc [10:40:23.887] checking for fop... /usr/bin/fop [10:40:23.887] checking for dbtoepub... no [10:40:23.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:40:23.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:40:23.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:40:23.898] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:40:23.898] 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 [10:40:23.898] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:40:23.898] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:40:23.982] configure: creating ./config.status [10:40:24.066] config.status: creating GNUmakefile [10:40:24.078] config.status: creating src/Makefile.global [10:40:24.092] config.status: creating src/include/pg_config.h [10:40:24.104] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:40:24.118] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:40:24.124] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:40:24.131] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:40:24.138] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:40:24.144] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:40:24.147] config.status: executing check_win32_symlinks commands [10:40:24.179] [10:40:24.179] real 0m15.781s [10:40:24.179] user 0m10.520s [10:40:24.179] sys 0m4.979s [10:40:24.179] make -s -j${BUILD_JOBS} clean [10:40:24.700] time make -s -j${BUILD_JOBS} world-bin [10:40:30.851] md.c: In function ‘mdcreate’: [10:40:30.851] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [10:40:30.851] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [10:40:30.851] | ^~~~~~~~~~~~~~~~~~~~~ [10:40:30.851] cc1: all warnings being treated as errors [10:40:30.853] make[4]: *** [: md.o] Error 1 [10:40:30.853] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [10:40:30.853] make[2]: *** [common.mk:37: storage-recursive] Error 2 [10:40:30.854] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:40:30.854] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:40:30.854] [10:40:30.854] real 0m6.155s [10:40:30.854] user 0m11.248s [10:40:30.854] sys 0m6.937s [10:40:30.854] [10:40:30.854] Exit status: 2