[07:46:13.590] time ./configure \ [07:46:13.590] --host=x86_64-w64-mingw32 \ [07:46:13.590] --enable-cassert \ [07:46:13.590] --without-icu \ [07:46:13.590] CC="ccache x86_64-w64-mingw32-gcc" \ [07:46:13.590] CXX="ccache x86_64-w64-mingw32-g++" [07:46:13.717] checking build system type... x86_64-pc-linux-gnu [07:46:13.896] checking host system type... x86_64-w64-mingw32 [07:46:13.902] checking which template to use... win32 [07:46:13.902] checking whether NLS is wanted... no [07:46:13.902] checking for default port number... 5432 [07:46:13.910] checking for block size... 8kB [07:46:13.911] checking for segment size... 1GB [07:46:13.914] checking for WAL block size... 8kB [07:46:13.915] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:46:13.951] checking whether the C compiler works... yes [07:46:14.080] checking for C compiler default output file name... a.exe [07:46:14.081] checking for suffix of executables... .exe [07:46:14.125] checking whether we are cross compiling... yes [07:46:14.207] checking for suffix of object files... o [07:46:14.216] checking whether we are using the GNU C compiler... yes [07:46:14.223] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:46:14.231] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:46:14.241] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:46:14.308] checking whether we are using the GNU C++ compiler... yes [07:46:14.315] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:46:14.393] checking for gawk... no [07:46:14.393] checking for mawk... mawk [07:46:14.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:46:14.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:46:14.412] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:46:14.460] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:46:14.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:46:14.623] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:46:14.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:46:14.639] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:46:14.646] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:46:14.654] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:46:14.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:46:14.670] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:46:14.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:46:14.685] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:46:14.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:46:14.700] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:46:14.708] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:46:14.746] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:46:14.754] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:46:14.762] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:46:14.770] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:46:14.777] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:46:14.785] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:46:14.812] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:46:14.820] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:46:14.827] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:46:14.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:46:14.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:46:14.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:46:14.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:46:14.961] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:46:14.969] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:46:14.977] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:46:14.986] checking whether the C compiler still works... yes [07:46:15.052] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:46:15.133] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:46:15.134] checking pkg-config is at least version 0.9.0... yes [07:46:15.151] checking whether to build with ICU support... no [07:46:15.152] checking whether to build with Tcl... no [07:46:15.152] checking whether to build Perl modules... no [07:46:15.152] checking whether to build Python modules... no [07:46:15.152] checking whether to build with GSSAPI support... no [07:46:15.153] checking whether to build with PAM support... no [07:46:15.153] checking whether to build with BSD Authentication support... no [07:46:15.154] checking whether to build with LDAP support... no [07:46:15.154] checking whether to build with Bonjour support... no [07:46:15.154] checking whether to build with SELinux support... no [07:46:15.154] checking whether to build with systemd support... no [07:46:15.154] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:46:15.154] checking whether to build with liburing support... no [07:46:15.154] checking whether to build with libcurl support... no [07:46:15.154] checking whether to build with libnuma support... no [07:46:15.155] checking whether to build with XML support... no [07:46:15.155] checking whether to build with LZ4 support... no [07:46:15.155] checking whether to build with ZSTD support... no [07:46:15.155] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:46:15.156] checking whether it is possible to strip libraries... yes [07:46:15.163] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:46:15.163] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:46:15.163] checking for a BSD-compatible install... /usr/bin/install -c [07:46:15.174] checking for tar... /usr/bin/tar [07:46:15.175] checking whether ln -s works... yes [07:46:15.175] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:46:15.177] checking for bison... /usr/bin/bison [07:46:15.180] configure: using bison (GNU Bison) 3.8.2 [07:46:15.183] checking for flex... /usr/bin/flex [07:46:15.186] configure: using flex 2.6.4 [07:46:15.186] checking for perl... /usr/bin/perl [07:46:15.189] configure: using perl 5.36.0 [07:46:15.192] checking for zic... /usr/sbin/zic [07:46:15.192] checking for a sed that does not truncate output... /usr/bin/sed [07:46:15.198] checking for grep that handles long lines and -e... /usr/bin/grep [07:46:15.201] checking for egrep... /usr/bin/grep -E [07:46:15.203] checking for ANSI C header files... yes [07:46:15.256] checking for sys/types.h... yes [07:46:15.276] checking for sys/stat.h... yes [07:46:15.294] checking for stdlib.h... yes [07:46:15.311] checking for string.h... yes [07:46:15.328] checking for memory.h... yes [07:46:15.345] checking for strings.h... yes [07:46:15.362] checking for inttypes.h... yes [07:46:15.380] checking for stdint.h... yes [07:46:15.396] checking for unistd.h... yes [07:46:15.412] checking for main in -lm... yes [07:46:15.462] checking for library containing setproctitle... no [07:46:15.554] checking for library containing dlsym... no [07:46:15.648] checking for library containing socket... -lws2_32 [07:46:15.785] checking for library containing getopt_long... none required [07:46:15.835] checking for library containing shm_open... no [07:46:15.927] checking for library containing shm_unlink... no [07:46:16.024] checking for library containing clock_gettime... no [07:46:16.118] checking for library containing shmget... no [07:46:16.213] checking for library containing backtrace_symbols... no [07:46:16.308] checking for library containing pthread_barrier_wait... -lpthread [07:46:16.403] checking for inflate in -lz... yes [07:46:16.455] checking atomic.h usability... no [07:46:16.519] checking atomic.h presence... no [07:46:16.540] checking for atomic.h... no [07:46:16.544] checking copyfile.h usability... no [07:46:16.603] checking copyfile.h presence... no [07:46:16.623] checking for copyfile.h... no [07:46:16.627] checking execinfo.h usability... no [07:46:16.686] checking execinfo.h presence... no [07:46:16.705] checking for execinfo.h... no [07:46:16.709] checking getopt.h usability... yes [07:46:16.718] checking getopt.h presence... yes [07:46:16.734] checking for getopt.h... yes [07:46:16.743] checking ifaddrs.h usability... no [07:46:16.804] checking ifaddrs.h presence... no [07:46:16.825] checking for ifaddrs.h... no [07:46:16.829] checking mbarrier.h usability... no [07:46:16.887] checking mbarrier.h presence... no [07:46:16.907] checking for mbarrier.h... no [07:46:16.911] checking sys/epoll.h usability... no [07:46:16.968] checking sys/epoll.h presence... no [07:46:16.989] checking for sys/epoll.h... no [07:46:16.993] checking sys/event.h usability... no [07:46:17.052] checking sys/event.h presence... no [07:46:17.074] checking for sys/event.h... no [07:46:17.077] checking sys/personality.h usability... no [07:46:17.135] checking sys/personality.h presence... no [07:46:17.155] checking for sys/personality.h... no [07:46:17.158] checking sys/prctl.h usability... no [07:46:17.218] checking sys/prctl.h presence... no [07:46:17.239] checking for sys/prctl.h... no [07:46:17.242] checking sys/procctl.h usability... no [07:46:17.297] checking sys/procctl.h presence... no [07:46:17.318] checking for sys/procctl.h... no [07:46:17.322] checking sys/signalfd.h usability... no [07:46:17.381] checking sys/signalfd.h presence... no [07:46:17.404] checking for sys/signalfd.h... no [07:46:17.407] checking sys/ucred.h usability... no [07:46:17.466] checking sys/ucred.h presence... no [07:46:17.488] checking for sys/ucred.h... no [07:46:17.492] checking termios.h usability... no [07:46:17.550] checking termios.h presence... no [07:46:17.570] checking for termios.h... no [07:46:17.574] checking ucred.h usability... no [07:46:17.632] checking ucred.h presence... no [07:46:17.653] checking for ucred.h... no [07:46:17.657] checking xlocale.h usability... no [07:46:17.717] checking xlocale.h presence... no [07:46:17.739] checking for xlocale.h... no [07:46:17.742] checking zlib.h usability... yes [07:46:17.752] checking zlib.h presence... yes [07:46:17.773] checking for zlib.h... yes [07:46:17.774] checking for lz4... /usr/bin/lz4 [07:46:17.774] checking for zstd... /usr/bin/zstd [07:46:17.774] checking for openssl... /usr/bin/openssl [07:46:17.779] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [07:46:17.780] checking crtdefs.h usability... yes [07:46:17.788] checking crtdefs.h presence... yes [07:46:17.805] checking for crtdefs.h... yes [07:46:17.807] checking whether byte ordering is bigendian... no [07:46:17.884] checking for inline... inline [07:46:17.892] checking for printf format archetype... gnu_printf [07:46:17.901] checking for _Static_assert... yes [07:46:17.945] checking for typeof... typeof [07:46:17.953] checking for __builtin_types_compatible_p... yes [07:46:17.965] checking for __builtin_constant_p... yes [07:46:17.977] checking for __builtin_mul_overflow... yes [07:46:18.028] checking for __builtin_unreachable... yes [07:46:18.073] checking for computed goto support... yes [07:46:18.081] checking for struct tm.tm_zone... no [07:46:18.165] checking for union semun... no [07:46:18.201] checking for socklen_t... yes [07:46:19.493] checking for struct sockaddr.sa_len... no [07:46:21.805] checking for C/C++ restrict keyword... __restrict [07:46:21.820] checking for struct option... yes [07:46:21.869] checking whether assembler supports x86_64 popcntq... yes [07:46:21.878] checking size of off_t... 4 [07:46:22.102] 0 [07:46:22.102] checking for int timezone... yes [07:46:22.159] checking for backtrace_symbols... no [07:46:22.214] checking for copyfile... no [07:46:22.269] checking for copy_file_range... no [07:46:22.324] checking for elf_aux_info... no [07:46:22.379] checking for getauxval... no [07:46:22.433] checking for getifaddrs... no [07:46:22.486] checking for getpeerucred... no [07:46:22.539] checking for inet_pton... yes [07:46:22.594] checking for kqueue... no [07:46:22.646] checking for localeconv_l... no [07:46:22.699] checking for mbstowcs_l... no [07:46:22.755] checking for posix_fallocate... no [07:46:22.809] checking for ppoll... no [07:46:22.864] checking for pthread_is_threaded_np... no [07:46:22.919] checking for setproctitle... no [07:46:22.971] checking for setproctitle_fast... no [07:46:23.024] checking for strsignal... no [07:46:23.079] checking for syncfs... no [07:46:23.132] checking for sync_file_range... no [07:46:23.187] checking for uselocale... no [07:46:23.242] checking for wcstombs_l... no [07:46:23.292] checking for __builtin_bswap16... yes [07:46:23.342] checking for __builtin_bswap32... yes [07:46:23.392] checking for __builtin_bswap64... yes [07:46:23.442] checking for __builtin_clz... yes [07:46:23.493] checking for __builtin_ctz... yes [07:46:23.543] checking for __builtin_popcount... yes [07:46:23.593] checking for __builtin_frame_address... yes [07:46:23.642] checking for _LARGEFILE_SOURCE value needed for large files... no [07:46:23.696] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:46:23.730] checking for posix_fadvise... no [07:46:23.785] checking whether posix_fadvise is declared... no [07:46:23.834] checking whether fdatasync is declared... no [07:46:23.885] checking whether strlcat is declared... no [07:46:23.953] checking whether strlcpy is declared... no [07:46:24.020] checking whether strnlen is declared... yes [07:46:24.034] checking whether strsep is declared... no [07:46:24.103] checking whether timingsafe_bcmp is declared... no [07:46:24.169] checking whether preadv is declared... no [07:46:24.210] checking whether pwritev is declared... no [07:46:24.250] checking whether strchrnul is declared... no [07:46:24.298] checking whether memset_s is declared... no [07:46:24.344] checking whether F_FULLFSYNC is declared... no [07:46:24.390] checking for explicit_bzero... no [07:46:24.441] checking for getopt... yes [07:46:24.487] checking for getpeereid... no [07:46:24.535] checking for inet_aton... no [07:46:24.587] checking for mkdtemp... no [07:46:24.636] checking for strlcat... no [07:46:24.686] checking for strlcpy... no [07:46:24.734] checking for strnlen... yes [07:46:24.784] checking for strsep... no [07:46:24.834] checking for timingsafe_bcmp... no [07:46:24.885] checking for pthread_barrier_wait... yes [07:46:24.931] configure: On mingw32 we will use our strtof wrapper. [07:46:24.931] checking for getopt_long... yes [07:46:24.980] checking for syslog... no [07:46:25.031] checking for opterr... yes [07:46:25.082] checking for optreset... no [07:46:25.137] checking test program... cross-compiling [07:46:25.137] checking size of void *... 8 [07:46:25.424] checking size of size_t... 8 [07:46:25.711] checking size of long... 4 [07:46:25.936] checking size of long long... 8 [07:46:26.230] checking alignment of short... 2 [07:46:26.380] checking alignment of int... 4 [07:46:26.590] checking alignment of long... 4 [07:46:26.810] checking alignment of int64_t... 8 [07:46:27.098] checking alignment of double... 8 [07:46:27.392] checking for __int128... yes [07:46:27.447] checking for __int128 alignment bug... assuming ok [07:46:27.447] checking alignment of PG_INT128_TYPE... 16 [07:46:27.803] checking for builtin __sync char locking functions... yes [07:46:27.848] checking for builtin __sync int32 locking functions... yes [07:46:27.893] checking for builtin __sync int32 atomic operations... yes [07:46:27.937] checking for builtin __sync int64 atomic operations... yes [07:46:27.982] checking for builtin __atomic int32 atomic operations... yes [07:46:28.026] checking for builtin __atomic int64 atomic operations... yes [07:46:28.074] checking for __get_cpuid... yes [07:46:28.126] checking for __get_cpuid_count... yes [07:46:28.175] checking for __cpuid... no [07:46:28.588] checking for __cpuidex... no [07:46:29.026] checking for _xgetbv... yes [07:46:29.439] checking for _mm512_popcnt_epi64... yes [07:46:29.866] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:46:29.976] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:46:30.002] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:46:30.024] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:46:30.047] 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 [07:46:30.108] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:46:30.108] checking for _mm512_clmulepi64_epi128... yes [07:46:30.525] checking for vectorized CRC-32C... AVX-512 with runtime check [07:46:30.525] checking which random number source to use... Windows native [07:46:30.527] checking for xmllint... /usr/bin/xmllint [07:46:30.527] checking for xsltproc... /usr/bin/xsltproc [07:46:30.528] checking for fop... /usr/bin/fop [07:46:30.528] checking for dbtoepub... no [07:46:30.528] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:46:30.528] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:46:30.528] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:46:30.539] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:46:30.539] 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 [07:46:30.539] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:46:30.539] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:46:30.638] configure: creating ./config.status [07:46:30.730] config.status: creating GNUmakefile [07:46:30.743] config.status: creating src/Makefile.global [07:46:30.759] config.status: creating src/include/pg_config.h [07:46:30.773] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:46:30.790] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:46:30.798] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:46:30.806] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:46:30.814] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:46:30.822] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:46:30.825] config.status: executing check_win32_symlinks commands [07:46:30.864] [07:46:30.864] real 0m17.274s [07:46:30.864] user 0m11.374s [07:46:30.864] sys 0m5.636s [07:46:30.864] make -s -j${BUILD_JOBS} clean [07:46:31.419] time make -s -j${BUILD_JOBS} world-bin [07:46:37.318] md.c: In function ‘mdcreate’: [07:46:37.318] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [07:46:37.318] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [07:46:37.318] | ^~~~~~~~~~~~~~~~~~~~~ [07:46:37.318] cc1: all warnings being treated as errors [07:46:37.320] make[4]: *** [: md.o] Error 1 [07:46:37.320] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [07:46:37.320] make[2]: *** [common.mk:37: storage-recursive] Error 2 [07:46:37.320] make[2]: *** Waiting for unfinished jobs.... [07:46:38.337] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:46:38.337] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:46:38.337] [07:46:38.337] real 0m6.918s [07:46:38.337] user 0m14.012s [07:46:38.337] sys 0m7.775s [07:46:38.338] [07:46:38.338] Exit status: 2