[22:36:20.819] time ./configure \ [22:36:20.819] --host=x86_64-w64-mingw32ucrt \ [22:36:20.819] --enable-cassert \ [22:36:20.819] --without-icu \ [22:36:20.819] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [22:36:20.819] CXX="ccache x86_64-w64-mingw32ucrt-g++" [22:36:20.940] checking build system type... x86_64-pc-linux-gnu [22:36:21.122] checking host system type... x86_64-w64-mingw32ucrt [22:36:21.127] checking which template to use... win32 [22:36:21.128] checking whether NLS is wanted... no [22:36:21.128] checking for default port number... 5432 [22:36:21.135] checking for block size... 8kB [22:36:21.136] checking for segment size... 1GB [22:36:21.139] checking for WAL block size... 8kB [22:36:21.140] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [22:36:21.173] checking whether the C compiler works... yes [22:36:21.308] checking for C compiler default output file name... a.exe [22:36:21.309] checking for suffix of executables... .exe [22:36:21.353] checking whether we are cross compiling... yes [22:36:21.438] checking for suffix of object files... o [22:36:21.471] checking whether we are using the GNU C compiler... yes [22:36:21.478] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [22:36:21.485] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [22:36:21.495] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [22:36:21.543] checking whether we are using the GNU C++ compiler... yes [22:36:21.689] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [22:36:21.725] checking for gawk... no [22:36:21.725] checking for mawk... mawk [22:36:21.727] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:36:21.735] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [22:36:21.742] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:36:21.794] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:36:21.848] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [22:36:21.879] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:36:21.895] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:36:21.926] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:36:21.941] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:36:21.948] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:36:22.019] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [22:36:22.034] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:36:22.040] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:36:22.048] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:36:22.064] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [22:36:22.080] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [22:36:22.087] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [22:36:22.095] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:36:22.103] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:36:22.110] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [22:36:22.118] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [22:36:22.134] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:36:22.150] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [22:36:22.157] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:36:22.189] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:36:22.197] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:36:22.242] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:36:22.290] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:36:22.297] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:36:22.305] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:36:22.346] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:36:22.378] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:36:22.386] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:36:22.418] checking whether the C compiler still works... yes [22:36:22.512] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [22:36:22.585] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [22:36:22.586] checking pkg-config is at least version 0.9.0... yes [22:36:22.602] checking whether to build with ICU support... no [22:36:22.602] checking whether to build with Tcl... no [22:36:22.602] checking whether to build Perl modules... no [22:36:22.602] checking whether to build Python modules... no [22:36:22.602] checking whether to build with GSSAPI support... no [22:36:22.604] checking whether to build with PAM support... no [22:36:22.604] checking whether to build with BSD Authentication support... no [22:36:22.604] checking whether to build with LDAP support... no [22:36:22.604] checking whether to build with Bonjour support... no [22:36:22.604] checking whether to build with SELinux support... no [22:36:22.604] checking whether to build with systemd support... no [22:36:22.604] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:36:22.604] checking whether to build with liburing support... no [22:36:22.605] checking whether to build with libcurl support... no [22:36:22.605] checking whether to build with libnuma support... no [22:36:22.605] checking whether to build with XML support... no [22:36:22.605] checking whether to build with LZ4 support... no [22:36:22.606] checking whether to build with ZSTD support... no [22:36:22.606] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [22:36:22.606] checking whether it is possible to strip libraries... yes [22:36:22.614] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [22:36:22.615] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [22:36:22.615] checking for a BSD-compatible install... /usr/bin/install -c [22:36:22.624] checking for tar... /usr/bin/tar [22:36:22.624] checking whether ln -s works... yes [22:36:22.624] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:36:22.627] checking for bison... /usr/bin/bison [22:36:22.629] configure: using bison (GNU Bison) 3.8.2 [22:36:22.632] checking for flex... /usr/bin/flex [22:36:22.634] configure: using flex 2.6.4 [22:36:22.634] checking for perl... /usr/bin/perl [22:36:22.637] configure: using perl 5.40.1 [22:36:22.639] checking for zic... /usr/sbin/zic [22:36:22.640] checking for a sed that does not truncate output... /usr/bin/sed [22:36:22.645] checking for grep that handles long lines and -e... /usr/bin/grep [22:36:22.647] checking for egrep... /usr/bin/grep -E [22:36:22.649] checking for ANSI C header files... yes [22:36:22.698] checking for sys/types.h... yes [22:36:22.755] checking for sys/stat.h... yes [22:36:22.770] checking for stdlib.h... yes [22:36:22.806] checking for string.h... yes [22:36:22.839] checking for memory.h... yes [22:36:22.900] checking for strings.h... yes [22:36:22.915] checking for inttypes.h... yes [22:36:22.977] checking for stdint.h... yes [22:36:22.993] checking for unistd.h... yes [22:36:23.054] checking for main in -lm... yes [22:36:23.104] checking for library containing setproctitle... no [22:36:23.201] checking for library containing dlsym... no [22:36:23.293] checking for library containing socket... -lws2_32 [22:36:23.424] checking for library containing getopt_long... none required [22:36:23.472] checking for library containing shm_open... no [22:36:23.564] checking for library containing shm_unlink... no [22:36:23.655] checking for library containing clock_gettime... none required [22:36:23.700] checking for library containing shmget... no [22:36:23.793] checking for library containing backtrace_symbols... no [22:36:23.885] checking for library containing pthread_barrier_wait... none required [22:36:23.930] checking for inflate in -lz... yes [22:36:23.981] checking atomic.h usability... no [22:36:24.034] checking atomic.h presence... no [22:36:24.051] checking for atomic.h... no [22:36:24.055] checking copyfile.h usability... no [22:36:24.107] checking copyfile.h presence... no [22:36:24.126] checking for copyfile.h... no [22:36:24.129] checking execinfo.h usability... no [22:36:24.185] checking execinfo.h presence... no [22:36:24.204] checking for execinfo.h... no [22:36:24.207] checking getopt.h usability... yes [22:36:24.235] checking getopt.h presence... yes [22:36:24.250] checking for getopt.h... yes [22:36:24.258] checking ifaddrs.h usability... no [22:36:24.313] checking ifaddrs.h presence... no [22:36:24.332] checking for ifaddrs.h... no [22:36:24.336] checking mbarrier.h usability... no [22:36:24.390] checking mbarrier.h presence... no [22:36:24.409] checking for mbarrier.h... no [22:36:24.412] checking sys/epoll.h usability... no [22:36:24.466] checking sys/epoll.h presence... no [22:36:24.484] checking for sys/epoll.h... no [22:36:24.487] checking sys/event.h usability... no [22:36:24.541] checking sys/event.h presence... no [22:36:24.559] checking for sys/event.h... no [22:36:24.563] checking sys/personality.h usability... no [22:36:24.616] checking sys/personality.h presence... no [22:36:24.634] checking for sys/personality.h... no [22:36:24.638] checking sys/prctl.h usability... no [22:36:24.691] checking sys/prctl.h presence... no [22:36:24.710] checking for sys/prctl.h... no [22:36:24.713] checking sys/procctl.h usability... no [22:36:24.767] checking sys/procctl.h presence... no [22:36:24.785] checking for sys/procctl.h... no [22:36:24.788] checking sys/signalfd.h usability... no [22:36:24.843] checking sys/signalfd.h presence... no [22:36:24.861] checking for sys/signalfd.h... no [22:36:24.865] checking sys/ucred.h usability... no [22:36:24.919] checking sys/ucred.h presence... no [22:36:24.937] checking for sys/ucred.h... no [22:36:24.941] checking termios.h usability... no [22:36:24.996] checking termios.h presence... no [22:36:25.015] checking for termios.h... no [22:36:25.019] checking uchar.h usability... yes [22:36:25.051] checking uchar.h presence... yes [22:36:25.069] checking for uchar.h... yes [22:36:25.077] checking ucred.h usability... no [22:36:25.132] checking ucred.h presence... no [22:36:25.150] checking for ucred.h... no [22:36:25.153] checking xlocale.h usability... no [22:36:25.208] checking xlocale.h presence... no [22:36:25.226] checking for xlocale.h... no [22:36:25.229] checking zlib.h usability... yes [22:36:25.263] checking zlib.h presence... yes [22:36:25.281] checking for zlib.h... yes [22:36:25.281] checking for lz4... /usr/bin/lz4 [22:36:25.281] checking for zstd... /usr/bin/zstd [22:36:25.282] checking for openssl... /usr/bin/openssl [22:36:25.287] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [22:36:25.287] checking crtdefs.h usability... yes [22:36:25.343] checking crtdefs.h presence... yes [22:36:25.357] checking for crtdefs.h... yes [22:36:25.359] checking whether byte ordering is bigendian... no [22:36:25.431] checking for inline... inline [22:36:25.457] checking for printf format archetype... gnu_printf [22:36:25.474] checking for _Static_assert... yes [22:36:25.518] checking for typeof... typeof [22:36:25.553] checking for __builtin_types_compatible_p... yes [22:36:25.590] checking for __builtin_constant_p... yes [22:36:25.611] checking for __builtin_mul_overflow... yes [22:36:25.667] checking for __builtin_unreachable... yes [22:36:25.711] checking for computed goto support... yes [22:36:25.745] checking for struct tm.tm_zone... no [22:36:25.819] checking for union semun... no [22:36:25.851] checking for socklen_t... yes [22:36:27.081] checking for struct sockaddr.sa_len... no [22:36:29.314] checking for C/C++ restrict keyword... __restrict [22:36:29.327] checking for struct option... yes [22:36:29.368] checking whether assembler supports x86_64 popcntq... yes [22:36:29.402] checking size of off_t... 4 [22:36:29.663] checking for int timezone... yes [22:36:29.725] checking for backtrace_symbols... no [22:36:29.779] checking for copyfile... no [22:36:29.831] checking for copy_file_range... no [22:36:29.883] checking for elf_aux_info... no [22:36:29.936] checking for getauxval... no [22:36:29.990] checking for getifaddrs... no [22:36:30.044] checking for getpeerucred... no [22:36:30.098] checking for inet_pton... yes [22:36:30.150] checking for kqueue... no [22:36:30.205] checking for localeconv_l... no [22:36:30.260] checking for mbstowcs_l... no [22:36:30.314] checking for posix_fallocate... no [22:36:30.368] checking for ppoll... no [22:36:30.422] checking for pthread_is_threaded_np... no [22:36:30.476] checking for setproctitle... no [22:36:30.530] checking for setproctitle_fast... no [22:36:30.583] checking for strsignal... no [22:36:30.638] checking for syncfs... no [22:36:30.691] checking for sync_file_range... no [22:36:30.744] checking for uselocale... no [22:36:30.799] checking for wcstombs_l... no [22:36:30.849] checking for __builtin_bswap16... yes [22:36:30.900] checking for __builtin_bswap32... yes [22:36:30.950] checking for __builtin_bswap64... yes [22:36:30.999] checking for __builtin_clz... yes [22:36:31.048] checking for __builtin_ctz... yes [22:36:31.097] checking for __builtin_popcount... yes [22:36:31.149] checking for __builtin_frame_address... yes [22:36:31.198] checking for _LARGEFILE_SOURCE value needed for large files... no [22:36:31.255] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [22:36:31.285] checking for posix_fadvise... no [22:36:31.341] checking whether posix_fadvise is declared... no [22:36:31.386] checking whether fdatasync is declared... no [22:36:31.431] checking whether strlcat is declared... no [22:36:31.496] checking whether strlcpy is declared... no [22:36:31.561] checking whether strnlen is declared... yes [22:36:31.596] checking whether strsep is declared... no [22:36:31.661] checking whether timingsafe_bcmp is declared... no [22:36:31.727] checking whether preadv is declared... no [22:36:31.762] checking whether pwritev is declared... no [22:36:31.796] checking whether strchrnul is declared... no [22:36:31.839] checking whether memset_s is declared... no [22:36:31.882] checking whether F_FULLFSYNC is declared... no [22:36:31.922] checking for explicit_bzero... no [22:36:31.976] checking for getopt... yes [22:36:32.023] checking for getpeereid... no [22:36:32.075] checking for inet_aton... no [22:36:32.126] checking for mkdtemp... no [22:36:32.175] checking for strlcat... no [22:36:32.227] checking for strlcpy... no [22:36:32.279] checking for strnlen... yes [22:36:32.331] checking for strsep... no [22:36:32.382] checking for timingsafe_bcmp... no [22:36:32.434] checking for pthread_barrier_wait... yes [22:36:32.480] configure: On mingw32ucrt we will use our strtof wrapper. [22:36:32.480] checking for getopt_long... yes [22:36:32.527] checking for syslog... no [22:36:32.578] checking for opterr... yes [22:36:32.627] checking for optreset... no [22:36:32.680] checking test program... cross-compiling [22:36:32.680] checking size of void *... 8 [22:36:33.130] checking size of size_t... 8 [22:36:33.505] checking size of long... 4 [22:36:33.767] checking size of long long... 8 [22:36:34.092] checking alignment of short... 2 [22:36:34.336] checking alignment of int... 4 [22:36:34.594] checking alignment of long... 4 [22:36:34.905] checking alignment of int64_t... 8 [22:36:35.307] checking alignment of double... 8 [22:36:35.764] checking for __int128... yes [22:36:35.819] checking for __int128 alignment bug... assuming ok [22:36:35.820] checking alignment of PG_INT128_TYPE... 16 [22:36:36.367] checking for builtin __sync char locking functions... yes [22:36:36.412] checking for builtin __sync int32 locking functions... yes [22:36:36.457] checking for builtin __sync int32 atomic operations... yes [22:36:36.502] checking for builtin __sync int64 atomic operations... yes [22:36:36.549] checking for builtin __atomic int32 atomic operations... yes [22:36:36.594] checking for builtin __atomic int64 atomic operations... yes [22:36:36.641] checking for __get_cpuid... yes [22:36:36.692] checking for __get_cpuid_count... yes [22:36:36.741] checking for _xgetbv... yes [22:36:37.175] checking for _mm512_popcnt_epi64... yes [22:36:37.632] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:36:37.738] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:36:37.760] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:36:37.778] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:36:37.798] 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 [22:36:37.834] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:36:37.834] checking for _mm512_clmulepi64_epi128... yes [22:36:38.284] checking for vectorized CRC-32C... AVX-512 with runtime check [22:36:38.284] checking which random number source to use... Windows native [22:36:38.286] checking for xmllint... /usr/bin/xmllint [22:36:38.287] checking for xsltproc... /usr/bin/xsltproc [22:36:38.287] checking for fop... /usr/bin/fop [22:36:38.287] checking for dbtoepub... no [22:36:38.287] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:36:38.288] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:36:38.288] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:36:38.299] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [22:36:38.299] 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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [22:36:38.299] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:36:38.299] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:36:38.390] configure: creating ./config.status [22:36:38.478] config.status: creating GNUmakefile [22:36:38.490] config.status: creating src/Makefile.global [22:36:38.506] config.status: creating src/include/pg_config.h [22:36:38.519] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:36:38.535] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:36:38.542] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:36:38.549] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:36:38.556] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:36:38.560] config.status: executing check_win32_symlinks commands [22:36:38.593] [22:36:38.593] real 0m17.774s [22:36:38.593] user 0m12.477s [22:36:38.593] sys 0m5.003s [22:36:38.593] make -s -j${BUILD_JOBS} clean [22:36:39.111] time make -s -j${BUILD_JOBS} world-bin [22:38:24.789] pg_sema.c:47:1: error: conflicting types for ‘PGReserveSemaphores’; have ‘void(int, int)’ [22:38:24.789] 47 | PGReserveSemaphores(int maxSemas, int shmem_segment) [22:38:24.789] | ^~~~~~~~~~~~~~~~~~~ [22:38:24.789] In file included from pg_sema.c:18: [22:38:24.789] ../../../src/include/storage/pg_sema.h:44:13: note: previous declaration of ‘PGReserveSemaphores’ with type ‘void(int)’ [22:38:24.789] 44 | extern void PGReserveSemaphores(int maxSemas); [22:38:24.789] | ^~~~~~~~~~~~~~~~~~~ [22:38:24.791] make[3]: *** [: pg_sema.o] Error 1 [22:38:24.791] make[2]: *** [common.mk:37: port-recursive] Error 2 [22:38:24.794] make[2]: *** Waiting for unfinished jobs.... [22:38:37.437] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:38:37.437] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:38:37.437] [22:38:37.437] real 1m58.326s [22:38:37.437] user 6m44.422s [22:38:37.437] sys 0m56.737s [22:38:37.438] [22:38:37.438] Exit status: 2