[10:16:16.168] time ./configure \ [10:16:16.168] --host=x86_64-w64-mingw32 \ [10:16:16.168] --enable-cassert \ [10:16:16.168] --without-icu \ [10:16:16.168] CC="ccache x86_64-w64-mingw32-gcc" \ [10:16:16.168] CXX="ccache x86_64-w64-mingw32-g++" [10:16:16.284] checking build system type... x86_64-pc-linux-gnu [10:16:16.451] checking host system type... x86_64-w64-mingw32 [10:16:16.456] checking which template to use... win32 [10:16:16.456] checking whether NLS is wanted... no [10:16:16.456] checking for default port number... 5432 [10:16:16.463] checking for block size... 8kB [10:16:16.464] checking for segment size... 1GB [10:16:16.466] checking for WAL block size... 8kB [10:16:16.467] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:16:16.502] checking whether the C compiler works... yes [10:16:16.628] checking for C compiler default output file name... a.exe [10:16:16.629] checking for suffix of executables... .exe [10:16:16.669] checking whether we are cross compiling... yes [10:16:16.745] checking for suffix of object files... o [10:16:16.754] checking whether we are using the GNU C compiler... yes [10:16:16.760] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:16:16.767] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:16:16.778] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:16:16.835] checking whether we are using the GNU C++ compiler... yes [10:16:16.842] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:16:16.912] checking for gawk... no [10:16:16.912] checking for mawk... mawk [10:16:16.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:16:16.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:16:16.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:16:16.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:16:17.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:16:17.130] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:16:17.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:16:17.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:16:17.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:16:17.167] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:16:17.175] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:16:17.182] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:16:17.189] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:16:17.196] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:16:17.202] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:16:17.209] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:16:17.216] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:16:17.254] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:16:17.262] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:16:17.269] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:16:17.276] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:16:17.284] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:16:17.291] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:16:17.315] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:16:17.322] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:16:17.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:16:17.369] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:16:17.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:16:17.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:16:17.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:16:17.459] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:16:17.466] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:16:17.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:16:17.482] checking whether the C compiler still works... yes [10:16:17.546] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:16:17.619] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:16:17.619] checking pkg-config is at least version 0.9.0... yes [10:16:17.635] checking whether to build with ICU support... no [10:16:17.636] checking whether to build with Tcl... no [10:16:17.636] checking whether to build Perl modules... no [10:16:17.636] checking whether to build Python modules... no [10:16:17.636] checking whether to build with GSSAPI support... no [10:16:17.637] checking whether to build with PAM support... no [10:16:17.637] checking whether to build with BSD Authentication support... no [10:16:17.638] checking whether to build with LDAP support... no [10:16:17.638] checking whether to build with Bonjour support... no [10:16:17.638] checking whether to build with SELinux support... no [10:16:17.638] checking whether to build with systemd support... no [10:16:17.638] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:16:17.638] checking whether to build with liburing support... no [10:16:17.638] checking whether to build with libcurl support... no [10:16:17.638] checking whether to build with libnuma support... no [10:16:17.639] checking whether to build with XML support... no [10:16:17.639] checking whether to build with LZ4 support... no [10:16:17.639] checking whether to build with ZSTD support... no [10:16:17.639] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:16:17.640] checking whether it is possible to strip libraries... yes [10:16:17.648] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:16:17.649] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:16:17.649] checking for a BSD-compatible install... /usr/bin/install -c [10:16:17.658] checking for tar... /usr/bin/tar [10:16:17.659] checking whether ln -s works... yes [10:16:17.659] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:16:17.661] checking for bison... /usr/bin/bison [10:16:17.663] configure: using bison (GNU Bison) 3.8.2 [10:16:17.667] checking for flex... /usr/bin/flex [10:16:17.669] configure: using flex 2.6.4 [10:16:17.669] checking for perl... /usr/bin/perl [10:16:17.672] configure: using perl 5.36.0 [10:16:17.674] checking for zic... /usr/sbin/zic [10:16:17.674] checking for a sed that does not truncate output... /usr/bin/sed [10:16:17.679] checking for grep that handles long lines and -e... /usr/bin/grep [10:16:17.681] checking for egrep... /usr/bin/grep -E [10:16:17.682] checking for ANSI C header files... yes [10:16:17.730] checking for sys/types.h... yes [10:16:17.747] checking for sys/stat.h... yes [10:16:17.763] checking for stdlib.h... yes [10:16:17.778] checking for string.h... yes [10:16:17.793] checking for memory.h... yes [10:16:17.808] checking for strings.h... yes [10:16:17.823] checking for inttypes.h... yes [10:16:17.839] checking for stdint.h... yes [10:16:17.854] checking for unistd.h... yes [10:16:17.870] checking for main in -lm... yes [10:16:17.919] checking for library containing setproctitle... no [10:16:18.010] checking for library containing dlsym... no [10:16:18.098] checking for library containing socket... -lws2_32 [10:16:18.230] checking for library containing getopt_long... none required [10:16:18.275] checking for library containing shm_open... no [10:16:18.364] checking for library containing shm_unlink... no [10:16:18.453] checking for library containing clock_gettime... no [10:16:18.542] checking for library containing shmget... no [10:16:18.630] checking for library containing backtrace_symbols... no [10:16:18.718] checking for library containing pthread_barrier_wait... -lpthread [10:16:18.804] checking for inflate in -lz... yes [10:16:18.853] checking atomic.h usability... no [10:16:18.912] checking atomic.h presence... no [10:16:18.931] checking for atomic.h... no [10:16:18.934] checking copyfile.h usability... no [10:16:18.986] checking copyfile.h presence... no [10:16:19.003] checking for copyfile.h... no [10:16:19.006] checking execinfo.h usability... no [10:16:19.059] checking execinfo.h presence... no [10:16:19.076] checking for execinfo.h... no [10:16:19.080] checking getopt.h usability... yes [10:16:19.086] checking getopt.h presence... yes [10:16:19.100] checking for getopt.h... yes [10:16:19.107] checking ifaddrs.h usability... no [10:16:19.162] checking ifaddrs.h presence... no [10:16:19.181] checking for ifaddrs.h... no [10:16:19.184] checking mbarrier.h usability... no [10:16:19.240] checking mbarrier.h presence... no [10:16:19.260] checking for mbarrier.h... no [10:16:19.264] checking sys/epoll.h usability... no [10:16:19.319] checking sys/epoll.h presence... no [10:16:19.338] checking for sys/epoll.h... no [10:16:19.341] checking sys/event.h usability... no [10:16:19.397] checking sys/event.h presence... no [10:16:19.416] checking for sys/event.h... no [10:16:19.420] checking sys/personality.h usability... no [10:16:19.475] checking sys/personality.h presence... no [10:16:19.493] checking for sys/personality.h... no [10:16:19.497] checking sys/prctl.h usability... no [10:16:19.552] checking sys/prctl.h presence... no [10:16:19.571] checking for sys/prctl.h... no [10:16:19.575] checking sys/procctl.h usability... no [10:16:19.629] checking sys/procctl.h presence... no [10:16:19.649] checking for sys/procctl.h... no [10:16:19.652] checking sys/signalfd.h usability... no [10:16:19.708] checking sys/signalfd.h presence... no [10:16:19.727] checking for sys/signalfd.h... no [10:16:19.730] checking sys/ucred.h usability... no [10:16:19.782] checking sys/ucred.h presence... no [10:16:19.801] checking for sys/ucred.h... no [10:16:19.804] checking termios.h usability... no [10:16:19.859] checking termios.h presence... no [10:16:19.878] checking for termios.h... no [10:16:19.881] checking ucred.h usability... no [10:16:19.934] checking ucred.h presence... no [10:16:19.951] checking for ucred.h... no [10:16:19.954] checking xlocale.h usability... no [10:16:20.006] checking xlocale.h presence... no [10:16:20.024] checking for xlocale.h... no [10:16:20.027] checking zlib.h usability... yes [10:16:20.036] checking zlib.h presence... yes [10:16:20.055] checking for zlib.h... yes [10:16:20.055] checking for lz4... /usr/bin/lz4 [10:16:20.056] checking for zstd... /usr/bin/zstd [10:16:20.056] checking for openssl... /usr/bin/openssl [10:16:20.060] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [10:16:20.061] checking crtdefs.h usability... yes [10:16:20.069] checking crtdefs.h presence... yes [10:16:20.084] checking for crtdefs.h... yes [10:16:20.085] checking whether byte ordering is bigendian... no [10:16:20.156] checking for inline... inline [10:16:20.163] checking for printf format archetype... gnu_printf [10:16:20.171] checking for _Static_assert... yes [10:16:20.213] checking for typeof... typeof [10:16:20.220] checking for __builtin_types_compatible_p... yes [10:16:20.231] checking for __builtin_constant_p... yes [10:16:20.241] checking for __builtin_mul_overflow... yes [10:16:20.289] checking for __builtin_unreachable... yes [10:16:20.332] checking for computed goto support... yes [10:16:20.339] checking for struct tm.tm_zone... no [10:16:20.421] checking for union semun... no [10:16:20.455] checking for socklen_t... yes [10:16:21.576] checking for struct sockaddr.sa_len... no [10:16:23.564] checking for C/C++ restrict keyword... __restrict [10:16:23.576] checking for struct option... yes [10:16:23.618] checking whether assembler supports x86_64 popcntq... yes [10:16:23.625] checking size of off_t... 4 [10:16:23.833] 0 [10:16:23.833] checking for int timezone... yes [10:16:23.884] checking for backtrace_symbols... no [10:16:23.933] checking for copyfile... no [10:16:23.983] checking for copy_file_range... no [10:16:24.034] checking for elf_aux_info... no [10:16:24.081] checking for getauxval... no [10:16:24.128] checking for getifaddrs... no [10:16:24.175] checking for getpeerucred... no [10:16:24.221] checking for inet_pton... yes [10:16:24.267] checking for kqueue... no [10:16:24.316] checking for localeconv_l... no [10:16:24.363] checking for mbstowcs_l... no [10:16:24.414] checking for posix_fallocate... no [10:16:24.463] checking for ppoll... no [10:16:24.515] checking for pthread_is_threaded_np... no [10:16:24.566] checking for setproctitle... no [10:16:24.617] checking for setproctitle_fast... no [10:16:24.667] checking for strsignal... no [10:16:24.716] checking for syncfs... no [10:16:24.766] checking for sync_file_range... no [10:16:24.814] checking for uselocale... no [10:16:24.864] checking for wcstombs_l... no [10:16:24.912] checking for __builtin_bswap16... yes [10:16:24.962] checking for __builtin_bswap32... yes [10:16:25.009] checking for __builtin_bswap64... yes [10:16:25.053] checking for __builtin_clz... yes [10:16:25.097] checking for __builtin_ctz... yes [10:16:25.143] checking for __builtin_popcount... yes [10:16:25.191] checking for __builtin_frame_address... yes [10:16:25.236] checking for _LARGEFILE_SOURCE value needed for large files... no [10:16:25.286] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:16:25.315] checking for posix_fadvise... no [10:16:25.363] checking whether posix_fadvise is declared... no [10:16:25.408] checking whether fdatasync is declared... no [10:16:25.452] checking whether strlcat is declared... no [10:16:25.518] checking whether strlcpy is declared... no [10:16:25.580] checking whether strnlen is declared... yes [10:16:25.594] checking whether strsep is declared... no [10:16:25.655] checking whether timingsafe_bcmp is declared... no [10:16:25.716] checking whether preadv is declared... no [10:16:25.750] checking whether pwritev is declared... no [10:16:25.784] checking whether strchrnul is declared... no [10:16:25.826] checking whether memset_s is declared... no [10:16:25.864] checking whether F_FULLFSYNC is declared... no [10:16:25.901] checking for explicit_bzero... no [10:16:25.947] checking for getopt... yes [10:16:25.992] checking for getpeereid... no [10:16:26.038] checking for inet_aton... no [10:16:26.086] checking for mkdtemp... no [10:16:26.134] checking for strlcat... no [10:16:26.182] checking for strlcpy... no [10:16:26.230] checking for strnlen... yes [10:16:26.279] checking for strsep... no [10:16:26.328] checking for timingsafe_bcmp... no [10:16:26.376] checking for pthread_barrier_wait... yes [10:16:26.420] configure: On mingw32 we will use our strtof wrapper. [10:16:26.420] checking for getopt_long... yes [10:16:26.466] checking for syslog... no [10:16:26.514] checking for opterr... yes [10:16:26.563] checking for optreset... no [10:16:26.615] checking test program... cross-compiling [10:16:26.615] checking size of void *... 8 [10:16:26.892] checking size of size_t... 8 [10:16:27.170] checking size of long... 4 [10:16:27.380] checking size of long long... 8 [10:16:27.661] checking alignment of short... 2 [10:16:27.805] checking alignment of int... 4 [10:16:28.002] checking alignment of long... 4 [10:16:28.206] checking alignment of int64_t... 8 [10:16:28.484] checking alignment of double... 8 [10:16:28.756] checking for __int128... yes [10:16:28.807] checking for __int128 alignment bug... assuming ok [10:16:28.807] checking alignment of PG_INT128_TYPE... 16 [10:16:29.144] checking for builtin __sync char locking functions... yes [10:16:29.187] checking for builtin __sync int32 locking functions... yes [10:16:29.229] checking for builtin __sync int32 atomic operations... yes [10:16:29.270] checking for builtin __sync int64 atomic operations... yes [10:16:29.315] checking for builtin __atomic int32 atomic operations... yes [10:16:29.357] checking for builtin __atomic int64 atomic operations... yes [10:16:29.400] checking for __get_cpuid... yes [10:16:29.447] checking for __get_cpuid_count... yes [10:16:29.493] checking for __cpuid... no [10:16:29.884] checking for __cpuidex... no [10:16:30.306] checking for _xgetbv... yes [10:16:30.697] checking for _mm512_popcnt_epi64... yes [10:16:31.116] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:16:31.221] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:16:31.244] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:16:31.264] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:16:31.284] 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:16:31.341] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:16:31.341] checking for _mm512_clmulepi64_epi128... yes [10:16:31.749] checking for vectorized CRC-32C... AVX-512 with runtime check [10:16:31.750] checking which random number source to use... Windows native [10:16:31.752] checking for xmllint... /usr/bin/xmllint [10:16:31.752] checking for xsltproc... /usr/bin/xsltproc [10:16:31.752] checking for fop... /usr/bin/fop [10:16:31.752] checking for dbtoepub... no [10:16:31.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:16:31.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:16:31.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:16:31.764] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:16:31.764] 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:16:31.764] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:16:31.764] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:16:31.855] configure: creating ./config.status [10:16:31.940] config.status: creating GNUmakefile [10:16:31.953] config.status: creating src/Makefile.global [10:16:31.969] config.status: creating src/include/pg_config.h [10:16:31.982] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:16:31.997] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:16:32.005] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:16:32.012] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:16:32.020] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:16:32.028] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:16:32.031] config.status: executing check_win32_symlinks commands [10:16:32.066] [10:16:32.066] real 0m15.898s [10:16:32.066] user 0m10.641s [10:16:32.066] sys 0m5.005s [10:16:32.066] make -s -j${BUILD_JOBS} clean [10:16:32.584] time make -s -j${BUILD_JOBS} world-bin [10:16:38.469] md.c: In function ‘mdcreate’: [10:16:38.469] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [10:16:38.469] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [10:16:38.469] | ^~~~~~~~~~~~~~~~~~~~~ [10:16:38.469] cc1: all warnings being treated as errors [10:16:38.470] make[4]: *** [: md.o] Error 1 [10:16:38.470] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [10:16:38.470] make[2]: *** [common.mk:37: storage-recursive] Error 2 [10:16:38.470] make[2]: *** Waiting for unfinished jobs.... [10:16:39.616] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:16:39.616] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:16:39.616] [10:16:39.616] real 0m7.032s [10:16:39.616] user 0m13.400s [10:16:39.616] sys 0m7.398s [10:16:39.617] [10:16:39.617] Exit status: 2