[14:34:33.900] time ./configure \ [14:34:33.900] --host=x86_64-w64-mingw32 \ [14:34:33.900] --enable-cassert \ [14:34:33.900] --without-icu \ [14:34:33.900] CC="ccache x86_64-w64-mingw32-gcc" \ [14:34:33.900] CXX="ccache x86_64-w64-mingw32-g++" [14:34:34.018] checking build system type... x86_64-pc-linux-gnu [14:34:34.190] checking host system type... x86_64-w64-mingw32 [14:34:34.196] checking which template to use... win32 [14:34:34.196] checking whether NLS is wanted... no [14:34:34.196] checking for default port number... 5432 [14:34:34.203] checking for block size... 8kB [14:34:34.204] checking for segment size... 1GB [14:34:34.206] checking for WAL block size... 8kB [14:34:34.207] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:34:34.241] checking whether the C compiler works... yes [14:34:34.368] checking for C compiler default output file name... a.exe [14:34:34.369] checking for suffix of executables... .exe [14:34:34.410] checking whether we are cross compiling... yes [14:34:34.481] checking for suffix of object files... o [14:34:34.490] checking whether we are using the GNU C compiler... yes [14:34:34.496] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:34:34.503] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:34:34.513] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:34:34.568] checking whether we are using the GNU C++ compiler... yes [14:34:34.575] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:34:34.646] checking for gawk... no [14:34:34.646] checking for mawk... mawk [14:34:34.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:34:34.656] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:34:34.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:34:34.707] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:34:34.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:34:34.865] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:34:34.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:34:34.879] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:34:34.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:34:34.892] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:34:34.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:34:34.906] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:34:34.913] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:34:34.919] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:34:34.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:34:34.933] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:34:34.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:34:34.977] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:34:34.984] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:34:34.991] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:34:34.997] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:34:35.004] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:34:35.011] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:34:35.034] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:34:35.041] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:34:35.048] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:34:35.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:34:35.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:34:35.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:34:35.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:34:35.173] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:34:35.180] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:34:35.187] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:34:35.195] checking whether the C compiler still works... yes [14:34:35.258] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:34:35.328] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:34:35.329] checking pkg-config is at least version 0.9.0... yes [14:34:35.345] checking whether to build with ICU support... no [14:34:35.346] checking whether to build with Tcl... no [14:34:35.346] checking whether to build Perl modules... no [14:34:35.346] checking whether to build Python modules... no [14:34:35.346] checking whether to build with GSSAPI support... no [14:34:35.347] checking whether to build with PAM support... no [14:34:35.347] checking whether to build with BSD Authentication support... no [14:34:35.348] checking whether to build with LDAP support... no [14:34:35.348] checking whether to build with Bonjour support... no [14:34:35.348] checking whether to build with SELinux support... no [14:34:35.348] checking whether to build with systemd support... no [14:34:35.348] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:34:35.348] checking whether to build with liburing support... no [14:34:35.348] checking whether to build with libcurl support... no [14:34:35.349] checking whether to build with libnuma support... no [14:34:35.349] checking whether to build with XML support... no [14:34:35.349] checking whether to build with LZ4 support... no [14:34:35.349] checking whether to build with ZSTD support... no [14:34:35.350] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:34:35.350] checking whether it is possible to strip libraries... yes [14:34:35.357] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:34:35.358] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:34:35.358] checking for a BSD-compatible install... /usr/bin/install -c [14:34:35.367] checking for tar... /usr/bin/tar [14:34:35.367] checking whether ln -s works... yes [14:34:35.367] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:34:35.370] checking for bison... /usr/bin/bison [14:34:35.372] configure: using bison (GNU Bison) 3.8.2 [14:34:35.375] checking for flex... /usr/bin/flex [14:34:35.377] configure: using flex 2.6.4 [14:34:35.377] checking for perl... /usr/bin/perl [14:34:35.380] configure: using perl 5.36.0 [14:34:35.382] checking for zic... /usr/sbin/zic [14:34:35.382] checking for a sed that does not truncate output... /usr/bin/sed [14:34:35.387] checking for grep that handles long lines and -e... /usr/bin/grep [14:34:35.389] checking for egrep... /usr/bin/grep -E [14:34:35.391] checking for ANSI C header files... yes [14:34:35.436] checking for sys/types.h... yes [14:34:35.452] checking for sys/stat.h... yes [14:34:35.468] checking for stdlib.h... yes [14:34:35.483] checking for string.h... yes [14:34:35.498] checking for memory.h... yes [14:34:35.513] checking for strings.h... yes [14:34:35.528] checking for inttypes.h... yes [14:34:35.543] checking for stdint.h... yes [14:34:35.558] checking for unistd.h... yes [14:34:35.573] checking for main in -lm... yes [14:34:35.622] checking for library containing setproctitle... no [14:34:35.716] checking for library containing dlsym... no [14:34:35.802] checking for library containing socket... -lws2_32 [14:34:35.934] checking for library containing getopt_long... none required [14:34:35.981] checking for library containing shm_open... no [14:34:36.072] checking for library containing shm_unlink... no [14:34:36.166] checking for library containing clock_gettime... no [14:34:36.250] checking for library containing shmget... no [14:34:36.336] checking for library containing backtrace_symbols... no [14:34:36.424] checking for library containing pthread_barrier_wait... -lpthread [14:34:36.509] checking for inflate in -lz... yes [14:34:36.558] checking atomic.h usability... no [14:34:36.618] checking atomic.h presence... no [14:34:36.636] checking for atomic.h... no [14:34:36.639] checking copyfile.h usability... no [14:34:36.692] checking copyfile.h presence... no [14:34:36.710] checking for copyfile.h... no [14:34:36.714] checking execinfo.h usability... no [14:34:36.770] checking execinfo.h presence... no [14:34:36.790] checking for execinfo.h... no [14:34:36.794] checking getopt.h usability... yes [14:34:36.802] checking getopt.h presence... yes [14:34:36.817] checking for getopt.h... yes [14:34:36.825] checking ifaddrs.h usability... no [14:34:36.881] checking ifaddrs.h presence... no [14:34:36.900] checking for ifaddrs.h... no [14:34:36.903] checking mbarrier.h usability... no [14:34:36.958] checking mbarrier.h presence... no [14:34:36.977] checking for mbarrier.h... no [14:34:36.980] checking sys/epoll.h usability... no [14:34:37.033] checking sys/epoll.h presence... no [14:34:37.051] checking for sys/epoll.h... no [14:34:37.054] checking sys/event.h usability... no [14:34:37.118] checking sys/event.h presence... no [14:34:37.137] checking for sys/event.h... no [14:34:37.140] checking sys/personality.h usability... no [14:34:37.194] checking sys/personality.h presence... no [14:34:37.211] checking for sys/personality.h... no [14:34:37.214] checking sys/prctl.h usability... no [14:34:37.267] checking sys/prctl.h presence... no [14:34:37.286] checking for sys/prctl.h... no [14:34:37.289] checking sys/procctl.h usability... no [14:34:37.342] checking sys/procctl.h presence... no [14:34:37.360] checking for sys/procctl.h... no [14:34:37.363] checking sys/signalfd.h usability... no [14:34:37.414] checking sys/signalfd.h presence... no [14:34:37.432] checking for sys/signalfd.h... no [14:34:37.435] checking sys/ucred.h usability... no [14:34:37.486] checking sys/ucred.h presence... no [14:34:37.503] checking for sys/ucred.h... no [14:34:37.506] checking termios.h usability... no [14:34:37.558] checking termios.h presence... no [14:34:37.575] checking for termios.h... no [14:34:37.578] checking ucred.h usability... no [14:34:37.632] checking ucred.h presence... no [14:34:37.651] checking for ucred.h... no [14:34:37.654] checking xlocale.h usability... no [14:34:37.707] checking xlocale.h presence... no [14:34:37.724] checking for xlocale.h... no [14:34:37.727] checking zlib.h usability... yes [14:34:37.736] checking zlib.h presence... yes [14:34:37.754] checking for zlib.h... yes [14:34:37.754] checking for lz4... /usr/bin/lz4 [14:34:37.754] checking for zstd... /usr/bin/zstd [14:34:37.754] checking for openssl... /usr/bin/openssl [14:34:37.759] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:34:37.759] checking crtdefs.h usability... yes [14:34:37.766] checking crtdefs.h presence... yes [14:34:37.780] checking for crtdefs.h... yes [14:34:37.781] checking whether byte ordering is bigendian... no [14:34:37.849] checking for inline... inline [14:34:37.857] checking for printf format archetype... gnu_printf [14:34:37.866] checking for _Static_assert... yes [14:34:37.911] checking for typeof... typeof [14:34:37.919] checking for __builtin_types_compatible_p... yes [14:34:37.930] checking for __builtin_constant_p... yes [14:34:37.941] checking for __builtin_mul_overflow... yes [14:34:37.989] checking for __builtin_unreachable... yes [14:34:38.031] checking for computed goto support... yes [14:34:38.038] checking for struct tm.tm_zone... no [14:34:38.112] checking for union semun... no [14:34:38.144] checking for socklen_t... yes [14:34:39.256] checking for struct sockaddr.sa_len... no [14:34:41.255] checking for C/C++ restrict keyword... __restrict [14:34:41.270] checking for struct option... yes [14:34:41.314] checking whether assembler supports x86_64 popcntq... yes [14:34:41.322] checking size of off_t... 4 [14:34:41.530] 0 [14:34:41.531] checking for int timezone... yes [14:34:41.583] checking for backtrace_symbols... no [14:34:41.634] checking for copyfile... no [14:34:41.683] checking for copy_file_range... no [14:34:41.733] checking for elf_aux_info... no [14:34:41.787] checking for getauxval... no [14:34:41.840] checking for getifaddrs... no [14:34:41.892] checking for getpeerucred... no [14:34:41.943] checking for inet_pton... yes [14:34:41.995] checking for kqueue... no [14:34:42.044] checking for localeconv_l... no [14:34:42.094] checking for mbstowcs_l... no [14:34:42.145] checking for memset_s... no [14:34:42.201] checking for posix_fallocate... no [14:34:42.256] checking for ppoll... no [14:34:42.307] checking for pthread_is_threaded_np... no [14:34:42.359] checking for setproctitle... no [14:34:42.408] checking for setproctitle_fast... no [14:34:42.457] checking for strsignal... no [14:34:42.506] checking for syncfs... no [14:34:42.554] checking for sync_file_range... no [14:34:42.607] checking for uselocale... no [14:34:42.657] checking for wcstombs_l... no [14:34:42.706] checking for __builtin_bswap16... yes [14:34:42.756] checking for __builtin_bswap32... yes [14:34:42.803] checking for __builtin_bswap64... yes [14:34:42.850] checking for __builtin_clz... yes [14:34:42.897] checking for __builtin_ctz... yes [14:34:42.943] checking for __builtin_popcount... yes [14:34:42.988] checking for __builtin_frame_address... yes [14:34:43.035] checking for _LARGEFILE_SOURCE value needed for large files... no [14:34:43.086] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:34:43.119] checking for posix_fadvise... no [14:34:43.170] checking whether posix_fadvise is declared... no [14:34:43.216] checking whether fdatasync is declared... no [14:34:43.261] checking whether strlcat is declared... no [14:34:43.325] checking whether strlcpy is declared... no [14:34:43.391] checking whether strnlen is declared... yes [14:34:43.404] checking whether strsep is declared... no [14:34:43.465] checking whether timingsafe_bcmp is declared... no [14:34:43.526] checking whether preadv is declared... no [14:34:43.559] checking whether pwritev is declared... no [14:34:43.593] checking whether strchrnul is declared... no [14:34:43.632] checking whether F_FULLFSYNC is declared... no [14:34:43.670] checking for explicit_bzero... no [14:34:43.715] checking for getopt... yes [14:34:43.757] checking for getpeereid... no [14:34:43.804] checking for inet_aton... no [14:34:43.850] checking for mkdtemp... no [14:34:43.893] checking for strlcat... no [14:34:43.938] checking for strlcpy... no [14:34:43.984] checking for strnlen... yes [14:34:44.029] checking for strsep... no [14:34:44.074] checking for timingsafe_bcmp... no [14:34:44.123] checking for pthread_barrier_wait... yes [14:34:44.166] configure: On mingw32 we will use our strtof wrapper. [14:34:44.166] checking for getopt_long... yes [14:34:44.211] checking for syslog... no [14:34:44.259] checking for opterr... yes [14:34:44.306] checking for optreset... no [14:34:44.358] checking test program... cross-compiling [14:34:44.358] checking size of void *... 8 [14:34:44.624] checking size of size_t... 8 [14:34:44.885] checking size of long... 4 [14:34:45.083] checking size of long long... 8 [14:34:45.353] checking alignment of short... 2 [14:34:45.489] checking alignment of int... 4 [14:34:45.693] checking alignment of long... 4 [14:34:45.893] checking alignment of int64_t... 8 [14:34:46.161] checking alignment of double... 8 [14:34:46.430] checking for __int128... yes [14:34:46.480] checking for __int128 alignment bug... assuming ok [14:34:46.480] checking alignment of PG_INT128_TYPE... 16 [14:34:46.809] checking for builtin __sync char locking functions... yes [14:34:46.854] checking for builtin __sync int32 locking functions... yes [14:34:46.897] checking for builtin __sync int32 atomic operations... yes [14:34:46.937] checking for builtin __sync int64 atomic operations... yes [14:34:46.981] checking for builtin __atomic int32 atomic operations... yes [14:34:47.023] checking for builtin __atomic int64 atomic operations... yes [14:34:47.065] checking for __get_cpuid... yes [14:34:47.115] checking for __get_cpuid_count... yes [14:34:47.161] checking for __cpuid... no [14:34:47.560] checking for __cpuidex... no [14:34:47.979] checking for _xgetbv... yes [14:34:48.381] checking for _mm512_popcnt_epi64... yes [14:34:48.784] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:34:48.885] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:34:48.908] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:34:48.927] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:34:48.946] 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 [14:34:49.003] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:34:49.003] checking for _mm512_clmulepi64_epi128... yes [14:34:49.415] checking for vectorized CRC-32C... AVX-512 with runtime check [14:34:49.416] checking which random number source to use... Windows native [14:34:49.418] checking for xmllint... /usr/bin/xmllint [14:34:49.418] checking for xsltproc... /usr/bin/xsltproc [14:34:49.418] checking for fop... /usr/bin/fop [14:34:49.418] checking for dbtoepub... no [14:34:49.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:34:49.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:34:49.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:34:49.431] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:34:49.431] 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 [14:34:49.431] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:34:49.431] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:34:49.523] configure: creating ./config.status [14:34:49.609] config.status: creating GNUmakefile [14:34:49.621] config.status: creating src/Makefile.global [14:34:49.637] config.status: creating src/include/pg_config.h [14:34:49.650] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:34:49.666] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:34:49.673] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:34:49.679] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:34:49.686] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:34:49.693] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:34:49.697] config.status: executing check_win32_symlinks commands [14:34:49.731] [14:34:49.731] real 0m15.831s [14:34:49.731] user 0m10.672s [14:34:49.731] sys 0m4.884s [14:34:49.731] make -s -j${BUILD_JOBS} clean [14:34:50.254] time make -s -j${BUILD_JOBS} world-bin [14:35:02.598] md.c: In function ‘mdcreate’: [14:35:02.598] md.c:256:48: error: implicit declaration of function ‘pg_RtlGetLastNtStatus’ [-Werror=implicit-function-declaration] [14:35:02.598] 256 | if (!retryattempted && pg_RtlGetLastNtStatus() == STATUS_DELETE_PENDING) [14:35:02.598] | ^~~~~~~~~~~~~~~~~~~~~ [14:35:02.598] cc1: all warnings being treated as errors [14:35:02.599] make[4]: *** [: md.o] Error 1 [14:35:02.599] make[3]: *** [../../../src/backend/common.mk:37: smgr-recursive] Error 2 [14:35:02.599] make[2]: *** [common.mk:37: storage-recursive] Error 2 [14:35:02.599] make[2]: *** Waiting for unfinished jobs.... [14:35:03.699] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:35:03.700] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:35:03.700] [14:35:03.700] real 0m13.446s [14:35:03.700] user 0m35.832s [14:35:03.700] sys 0m11.116s [14:35:03.700] [14:35:03.700] Exit status: 2