[20:17:28.761] time ./configure \ [20:17:28.761] --host=x86_64-w64-mingw32ucrt \ [20:17:28.761] --enable-cassert \ [20:17:28.761] --without-icu \ [20:17:28.761] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [20:17:28.761] CXX="ccache x86_64-w64-mingw32ucrt-g++" [20:17:28.905] checking build system type... x86_64-pc-linux-gnu [20:17:29.103] checking host system type... x86_64-w64-mingw32ucrt [20:17:29.110] checking which template to use... win32 [20:17:29.110] checking whether NLS is wanted... no [20:17:29.110] checking for default port number... 5432 [20:17:29.119] checking for block size... 8kB [20:17:29.121] checking for segment size... 1GB [20:17:29.124] checking for WAL block size... 8kB [20:17:29.126] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [20:17:29.169] checking whether the C compiler works... yes [20:17:29.332] checking for C compiler default output file name... a.exe [20:17:29.334] checking for suffix of executables... .exe [20:17:29.382] checking whether we are cross compiling... yes [20:17:29.480] checking for suffix of object files... o [20:17:29.490] checking whether we are using the GNU C compiler... yes [20:17:29.499] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [20:17:29.519] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [20:17:29.625] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [20:17:29.688] checking whether we are using the GNU C++ compiler... yes [20:17:29.697] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [20:17:29.976] checking for ccache x86_64-w64-mingw32ucrt-g++ option to accept ISO C++11... none needed [20:17:30.038] checking for gawk... no [20:17:30.038] checking for mawk... mawk [20:17:30.041] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:17:30.078] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [20:17:30.087] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:17:30.149] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:17:30.213] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [20:17:30.231] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:17:30.270] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:17:30.309] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:17:30.330] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=5, for CFLAGS... yes [20:17:30.339] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=5, for CXXFLAGS... yes [20:17:30.348] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [20:17:30.357] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:17:30.365] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:17:30.402] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:17:30.421] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [20:17:30.440] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [20:17:30.459] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [20:17:30.468] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:17:30.476] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:17:30.495] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [20:17:30.532] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [20:17:30.540] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:17:30.559] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [20:17:30.568] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:17:30.577] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:17:30.585] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:17:30.642] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:17:30.698] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:17:30.717] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:17:30.755] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:17:30.804] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:17:30.841] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:17:30.849] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:17:30.890] checking whether the C compiler still works... yes [20:17:30.949] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [20:17:31.037] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [20:17:31.037] checking pkg-config is at least version 0.9.0... yes [20:17:31.055] checking whether to build with ICU support... no [20:17:31.056] checking whether to build with Tcl... no [20:17:31.056] checking whether to build Perl modules... no [20:17:31.056] checking whether to build Python modules... no [20:17:31.056] checking whether to build with GSSAPI support... no [20:17:31.057] checking whether to build with PAM support... no [20:17:31.058] checking whether to build with BSD Authentication support... no [20:17:31.058] checking whether to build with LDAP support... no [20:17:31.058] checking whether to build with Bonjour support... no [20:17:31.058] checking whether to build with SELinux support... no [20:17:31.058] checking whether to build with systemd support... no [20:17:31.058] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:17:31.058] checking whether to build with liburing support... no [20:17:31.058] checking whether to build with libcurl support... no [20:17:31.059] checking whether to build with libnuma support... no [20:17:31.059] checking whether to build with XML support... no [20:17:31.059] checking whether to build with LZ4 support... no [20:17:31.060] checking whether to build with ZSTD support... no [20:17:31.060] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [20:17:31.060] checking whether it is possible to strip libraries... yes [20:17:31.068] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [20:17:31.069] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [20:17:31.069] checking for a BSD-compatible install... /usr/bin/install -c [20:17:31.080] checking for tar... /usr/bin/tar [20:17:31.080] checking whether ln -s works... yes [20:17:31.080] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:17:31.083] checking for nm... /usr/bin/nm [20:17:31.083] checking for bison... /usr/bin/bison [20:17:31.086] configure: using bison (GNU Bison) 3.8.2 [20:17:31.090] checking for flex... /usr/bin/flex [20:17:31.093] configure: using flex 2.6.4 [20:17:31.093] checking for perl... /usr/bin/perl [20:17:31.096] configure: using perl 5.40.1 [20:17:31.099] checking for zic... /usr/sbin/zic [20:17:31.099] checking for a sed that does not truncate output... /usr/bin/sed [20:17:31.105] checking for grep that handles long lines and -e... /usr/bin/grep [20:17:31.108] checking for egrep... /usr/bin/grep -E [20:17:31.110] checking for ANSI C header files... yes [20:17:31.167] checking for sys/types.h... yes [20:17:31.235] checking for sys/stat.h... yes [20:17:31.253] checking for stdlib.h... yes [20:17:31.271] checking for string.h... yes [20:17:31.319] checking for memory.h... yes [20:17:31.390] checking for strings.h... yes [20:17:31.407] checking for inttypes.h... yes [20:17:31.479] checking for stdint.h... yes [20:17:31.547] checking for unistd.h... yes [20:17:31.593] checking for main in -lm... yes [20:17:31.653] checking for library containing setproctitle... no [20:17:31.767] checking for library containing dlsym... no [20:17:31.874] checking for library containing socket... -lws2_32 [20:17:32.037] checking for library containing getopt_long... none required [20:17:32.094] checking for library containing shm_open... no [20:17:32.207] checking for library containing shm_unlink... no [20:17:32.318] checking for library containing clock_gettime... none required [20:17:32.372] checking for library containing shmget... no [20:17:32.485] checking for library containing backtrace_symbols... no [20:17:32.597] checking for library containing pthread_barrier_wait... none required [20:17:32.651] checking for inflate in -lz... yes [20:17:32.713] checking copyfile.h usability... no [20:17:32.776] checking copyfile.h presence... no [20:17:32.797] checking for copyfile.h... no [20:17:32.801] checking execinfo.h usability... no [20:17:32.862] checking execinfo.h presence... no [20:17:32.885] checking for execinfo.h... no [20:17:32.889] checking getopt.h usability... yes [20:17:32.898] checking getopt.h presence... yes [20:17:32.916] checking for getopt.h... yes [20:17:32.925] checking ifaddrs.h usability... no [20:17:32.990] checking ifaddrs.h presence... no [20:17:33.011] checking for ifaddrs.h... no [20:17:33.015] checking sys/epoll.h usability... no [20:17:33.080] checking sys/epoll.h presence... no [20:17:33.103] checking for sys/epoll.h... no [20:17:33.107] checking sys/event.h usability... no [20:17:33.172] checking sys/event.h presence... no [20:17:33.194] checking for sys/event.h... no [20:17:33.199] checking sys/personality.h usability... no [20:17:33.260] checking sys/personality.h presence... no [20:17:33.281] checking for sys/personality.h... no [20:17:33.285] checking sys/prctl.h usability... no [20:17:33.345] checking sys/prctl.h presence... no [20:17:33.366] checking for sys/prctl.h... no [20:17:33.369] checking sys/procctl.h usability... no [20:17:33.428] checking sys/procctl.h presence... no [20:17:33.449] checking for sys/procctl.h... no [20:17:33.453] checking sys/signalfd.h usability... no [20:17:33.515] checking sys/signalfd.h presence... no [20:17:33.538] checking for sys/signalfd.h... no [20:17:33.542] checking sys/ucred.h usability... no [20:17:33.604] checking sys/ucred.h presence... no [20:17:33.627] checking for sys/ucred.h... no [20:17:33.631] checking termios.h usability... no [20:17:33.694] checking termios.h presence... no [20:17:33.716] checking for termios.h... no [20:17:33.720] checking uchar.h usability... yes [20:17:33.730] checking uchar.h presence... yes [20:17:33.755] checking for uchar.h... yes [20:17:33.764] checking ucred.h usability... no [20:17:33.827] checking ucred.h presence... no [20:17:33.849] checking for ucred.h... no [20:17:33.853] checking xlocale.h usability... no [20:17:33.918] checking xlocale.h presence... no [20:17:33.941] checking for xlocale.h... no [20:17:33.945] checking zlib.h usability... yes [20:17:34.015] checking zlib.h presence... yes [20:17:34.035] checking for zlib.h... yes [20:17:34.036] checking for lz4... /usr/bin/lz4 [20:17:34.036] checking for zstd... /usr/bin/zstd [20:17:34.036] checking for openssl... /usr/bin/openssl [20:17:34.042] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [20:17:34.042] checking crtdefs.h usability... yes [20:17:34.074] checking crtdefs.h presence... yes [20:17:34.090] checking for crtdefs.h... yes [20:17:34.091] checking whether byte ordering is bigendian... no [20:17:34.207] checking for C printf format archetype... gnu_printf [20:17:34.217] checking for C++ printf format archetype... gnu_printf [20:17:34.262] checking for typeof... typeof [20:17:34.281] checking for C++ typeof... typeof [20:17:34.325] checking for __builtin_types_compatible_p... yes [20:17:34.368] checking for __builtin_constant_p... yes [20:17:34.402] checking for __builtin_mul_overflow... yes [20:17:34.462] checking for __builtin_unreachable... yes [20:17:34.510] checking for computed goto support... yes [20:17:34.545] checking for struct tm.tm_zone... no [20:17:34.629] checking for union semun... no [20:17:34.665] checking for socklen_t... yes [20:17:37.286] checking for struct sockaddr.sa_len... no [20:17:39.711] checking for C/C++ restrict keyword... __restrict [20:17:39.760] checking for struct option... yes [20:17:39.809] checking whether assembler supports x86_64 popcntq... yes [20:17:39.828] checking size of off_t... 4 [20:17:40.098] checking for int timezone... yes [20:17:40.168] checking for backtrace_symbols... no [20:17:40.233] checking for copyfile... no [20:17:40.298] checking for copy_file_range... no [20:17:40.364] checking for elf_aux_info... no [20:17:40.430] checking for explicit_memset... no [20:17:40.496] checking for getauxval... no [20:17:40.560] checking for getifaddrs... no [20:17:40.624] checking for getpeerucred... no [20:17:40.690] checking for inet_pton... yes [20:17:40.756] checking for kqueue... no [20:17:40.822] checking for localeconv_l... no [20:17:40.887] checking for mbstowcs_l... no [20:17:40.950] checking for memset_explicit... no [20:17:41.012] checking for posix_fallocate... no [20:17:41.077] checking for ppoll... no [20:17:41.137] checking for pthread_is_threaded_np... no [20:17:41.198] checking for setproctitle... no [20:17:41.257] checking for setproctitle_fast... no [20:17:41.316] checking for strsignal... no [20:17:41.374] checking for syncfs... no [20:17:41.433] checking for sync_file_range... no [20:17:41.491] checking for uselocale... no [20:17:41.549] checking for wcstombs_l... no [20:17:41.608] checking for __builtin_bswap16... yes [20:17:41.668] checking for __builtin_bswap32... yes [20:17:41.725] checking for __builtin_bswap64... yes [20:17:41.783] checking for __builtin_clz... yes [20:17:41.841] checking for __builtin_ctz... yes [20:17:41.896] checking for __builtin_frame_address... yes [20:17:41.952] checking for _LARGEFILE_SOURCE value needed for large files... no [20:17:42.014] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [20:17:42.049] checking for posix_fadvise... no [20:17:42.113] checking whether posix_fadvise is declared... no [20:17:42.164] checking whether fdatasync is declared... no [20:17:42.217] checking whether strlcat is declared... no [20:17:42.290] checking whether strlcpy is declared... no [20:17:42.361] checking whether strsep is declared... no [20:17:42.441] checking whether timingsafe_bcmp is declared... no [20:17:42.513] checking whether preadv is declared... no [20:17:42.553] checking whether pwritev is declared... no [20:17:42.594] checking whether strchrnul is declared... no [20:17:42.639] checking whether memset_s is declared... no [20:17:42.685] checking whether F_FULLFSYNC is declared... no [20:17:42.727] checking for explicit_bzero... no [20:17:42.784] checking for getopt... yes [20:17:42.834] checking for getpeereid... no [20:17:42.889] checking for inet_aton... no [20:17:42.944] checking for mkdtemp... no [20:17:42.999] checking for strlcat... no [20:17:43.054] checking for strlcpy... no [20:17:43.108] checking for strsep... no [20:17:43.163] checking for timingsafe_bcmp... no [20:17:43.217] checking for pthread_barrier_wait... yes [20:17:43.266] configure: On mingw32ucrt we will use our strtof wrapper. [20:17:43.267] checking for getopt_long... yes [20:17:43.317] checking for syslog... no [20:17:43.373] checking for opterr... yes [20:17:43.428] checking for optreset... no [20:17:43.487] checking test program... cross-compiling [20:17:43.487] checking size of void *... 8 [20:17:44.011] checking size of size_t... 8 [20:17:44.499] checking size of long... 4 [20:17:44.859] checking size of long long... 8 [20:17:45.439] checking size of intmax_t... 8 [20:17:45.904] checking alignment of short... 2 [20:17:46.109] checking alignment of int... 4 [20:17:46.526] checking alignment of int64_t... 8 [20:17:46.926] checking alignment of double... 8 [20:17:47.315] checking for __int128... yes [20:17:47.378] checking for __int128 alignment bug... assuming ok [20:17:47.378] checking alignment of PG_INT128_TYPE... 16 [20:17:47.980] checking for builtin __sync char locking functions... yes [20:17:48.028] checking for builtin __sync int32 locking functions... yes [20:17:48.075] checking for builtin __sync int32 atomic operations... yes [20:17:48.124] checking for builtin __sync int64 atomic operations... yes [20:17:48.174] checking for builtin __atomic int32 atomic operations... yes [20:17:48.225] checking for builtin __atomic int64 atomic operations... yes [20:17:48.276] checking for __get_cpuid... yes [20:17:48.334] checking for __get_cpuid_count... yes [20:17:48.386] checking for _xgetbv... yes [20:17:48.845] checking for _mm512_popcnt_epi64... yes [20:17:49.316] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:17:49.434] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:17:49.457] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:17:49.477] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:17:49.497] 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 [20:17:49.537] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:17:49.537] checking for _mm512_clmulepi64_epi128... yes [20:17:50.005] checking for vectorized CRC-32C... AVX-512 with runtime check [20:17:50.006] checking which random number source to use... Windows native [20:17:50.008] checking for xmllint... /usr/bin/xmllint [20:17:50.008] checking for xsltproc... /usr/bin/xsltproc [20:17:50.009] checking for fop... /usr/bin/fop [20:17:50.009] checking for dbtoepub... no [20:17:50.009] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:17:50.009] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:17:50.009] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:17:50.021] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [20:17:50.021] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=5 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [20:17:50.021] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:17:50.021] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:17:50.123] configure: creating ./config.status [20:17:50.220] config.status: creating GNUmakefile [20:17:50.234] config.status: creating src/Makefile.global [20:17:50.252] config.status: creating src/include/pg_config.h [20:17:50.266] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:17:50.284] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:17:50.293] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:17:50.301] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:17:50.309] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:17:50.313] config.status: executing check_win32_symlinks commands [20:17:50.351] [20:17:50.351] real 0m21.590s [20:17:50.351] user 0m15.250s [20:17:50.351] sys 0m5.990s [20:17:50.351] make -s -j${BUILD_JOBS} clean [20:17:50.911] time make -s -j${BUILD_JOBS} world-bin [20:22:55.652] /usr/bin/x86_64-w64-mingw32ucrt-ld: heap_surgery.o:heap_surgery.c:(.rdata$.refptr.ZeroPendingInterruptsFlags[.refptr.ZeroPendingInterruptsFlags]+0x0): undefined reference to `ZeroPendingInterruptsFlags' [20:22:55.655] collect2: error: ld returned 1 exit status [20:22:55.656] make[2]: *** [../../src/Makefile.shlib:344: pg_surgery.dll] Error 1 [20:22:55.656] make[1]: *** [Makefile:96: all-pg_surgery-recurse] Error 2 [20:22:55.660] make[1]: *** Waiting for unfinished jobs.... [20:22:56.860] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [20:22:56.860] [20:22:56.860] real 5m5.949s [20:22:56.860] user 17m10.305s [20:22:56.860] sys 2m25.828s [20:22:56.860] [20:22:56.860] Exit status: 2