[18:20:52.145] time ./configure \ [18:20:52.145] --host=x86_64-w64-mingw32 \ [18:20:52.145] --enable-cassert \ [18:20:52.145] --without-icu \ [18:20:52.145] CC="ccache x86_64-w64-mingw32-gcc" \ [18:20:52.145] CXX="ccache x86_64-w64-mingw32-g++" [18:20:52.258] checking build system type... x86_64-pc-linux-gnu [18:20:52.419] checking host system type... x86_64-w64-mingw32 [18:20:52.424] checking which template to use... win32 [18:20:52.424] checking whether NLS is wanted... no [18:20:52.425] checking for default port number... 5432 [18:20:52.431] checking for block size... 8kB [18:20:52.432] checking for segment size... 1GB [18:20:52.435] checking for WAL block size... 8kB [18:20:52.436] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:20:52.468] checking whether the C compiler works... yes [18:20:52.585] checking for C compiler default output file name... a.exe [18:20:52.586] checking for suffix of executables... .exe [18:20:52.626] checking whether we are cross compiling... yes [18:20:52.695] checking for suffix of object files... o [18:20:52.703] checking whether we are using the GNU C compiler... yes [18:20:52.709] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:20:52.716] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:20:52.725] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [18:20:52.774] checking whether we are using the GNU C++ compiler... yes [18:20:52.780] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:20:52.816] checking for gawk... no [18:20:52.817] checking for mawk... mawk [18:20:52.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:20:52.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:20:52.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:20:52.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:20:53.014] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:20:53.020] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:20:53.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:20:53.033] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:20:53.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:20:53.046] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:20:53.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:20:53.059] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:20:53.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:20:53.072] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:20:53.079] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:20:53.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:20:53.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:20:53.128] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:20:53.134] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:20:53.141] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:20:53.147] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:20:53.154] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:20:53.160] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:20:53.183] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:20:53.189] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:20:53.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:20:53.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:20:53.269] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:20:53.276] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:20:53.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:20:53.316] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:20:53.323] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:20:53.330] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:20:53.337] checking whether the C compiler still works... yes [18:20:53.398] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:20:53.468] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:20:53.468] checking pkg-config is at least version 0.9.0... yes [18:20:53.484] checking whether to build with ICU support... no [18:20:53.485] checking whether to build with Tcl... no [18:20:53.485] checking whether to build Perl modules... no [18:20:53.485] checking whether to build Python modules... no [18:20:53.485] checking whether to build with GSSAPI support... no [18:20:53.486] checking whether to build with PAM support... no [18:20:53.486] checking whether to build with BSD Authentication support... no [18:20:53.486] checking whether to build with LDAP support... no [18:20:53.486] checking whether to build with Bonjour support... no [18:20:53.486] checking whether to build with SELinux support... no [18:20:53.486] checking whether to build with systemd support... no [18:20:53.487] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:20:53.487] checking whether to build with liburing support... no [18:20:53.487] checking whether to build with libcurl support... no [18:20:53.487] checking whether to build with libnuma support... no [18:20:53.487] checking whether to build with XML support... no [18:20:53.488] checking whether to build with LZ4 support... no [18:20:53.488] checking whether to build with ZSTD support... no [18:20:53.488] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:20:53.488] checking whether it is possible to strip libraries... yes [18:20:53.494] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:20:53.495] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:20:53.495] checking for a BSD-compatible install... /usr/bin/install -c [18:20:53.504] checking for tar... /usr/bin/tar [18:20:53.504] checking whether ln -s works... yes [18:20:53.504] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:20:53.506] checking for bison... /usr/bin/bison [18:20:53.508] configure: using bison (GNU Bison) 3.8.2 [18:20:53.511] checking for flex... /usr/bin/flex [18:20:53.513] configure: using flex 2.6.4 [18:20:53.513] checking for perl... /usr/bin/perl [18:20:53.516] configure: using perl 5.36.0 [18:20:53.518] checking for zic... /usr/sbin/zic [18:20:53.518] checking for a sed that does not truncate output... /usr/bin/sed [18:20:53.523] checking for grep that handles long lines and -e... /usr/bin/grep [18:20:53.525] checking for egrep... /usr/bin/grep -E [18:20:53.526] checking for ANSI C header files... yes [18:20:53.573] checking for sys/types.h... yes [18:20:53.590] checking for sys/stat.h... yes [18:20:53.607] checking for stdlib.h... yes [18:20:53.622] checking for string.h... yes [18:20:53.636] checking for memory.h... yes [18:20:53.651] checking for strings.h... yes [18:20:53.665] checking for inttypes.h... yes [18:20:53.680] checking for stdint.h... yes [18:20:53.694] checking for unistd.h... yes [18:20:53.709] checking for main in -lm... yes [18:20:53.755] checking for library containing setproctitle... no [18:20:53.843] checking for library containing dlsym... no [18:20:53.928] checking for library containing socket... -lws2_32 [18:20:54.055] checking for library containing getopt_long... none required [18:20:54.101] checking for library containing shm_open... no [18:20:54.187] checking for library containing shm_unlink... no [18:20:54.273] checking for library containing clock_gettime... no [18:20:54.357] checking for library containing shmget... no [18:20:54.442] checking for library containing backtrace_symbols... no [18:20:54.528] checking for library containing pthread_barrier_wait... -lpthread [18:20:54.617] checking for inflate in -lz... yes [18:20:54.664] checking atomic.h usability... no [18:20:54.719] checking atomic.h presence... no [18:20:54.737] checking for atomic.h... no [18:20:54.740] checking copyfile.h usability... no [18:20:54.792] checking copyfile.h presence... no [18:20:54.810] checking for copyfile.h... no [18:20:54.813] checking execinfo.h usability... no [18:20:54.865] checking execinfo.h presence... no [18:20:54.882] checking for execinfo.h... no [18:20:54.886] checking getopt.h usability... yes [18:20:54.893] checking getopt.h presence... yes [18:20:54.907] checking for getopt.h... yes [18:20:54.914] checking ifaddrs.h usability... no [18:20:54.966] checking ifaddrs.h presence... no [18:20:54.983] checking for ifaddrs.h... no [18:20:54.986] checking mbarrier.h usability... no [18:20:55.038] checking mbarrier.h presence... no [18:20:55.055] checking for mbarrier.h... no [18:20:55.058] checking sys/epoll.h usability... no [18:20:55.110] checking sys/epoll.h presence... no [18:20:55.127] checking for sys/epoll.h... no [18:20:55.130] checking sys/event.h usability... no [18:20:55.182] checking sys/event.h presence... no [18:20:55.199] checking for sys/event.h... no [18:20:55.202] checking sys/personality.h usability... no [18:20:55.253] checking sys/personality.h presence... no [18:20:55.271] checking for sys/personality.h... no [18:20:55.274] checking sys/prctl.h usability... no [18:20:55.325] checking sys/prctl.h presence... no [18:20:55.343] checking for sys/prctl.h... no [18:20:55.346] checking sys/procctl.h usability... no [18:20:55.398] checking sys/procctl.h presence... no [18:20:55.415] checking for sys/procctl.h... no [18:20:55.418] checking sys/signalfd.h usability... no [18:20:55.470] checking sys/signalfd.h presence... no [18:20:55.488] checking for sys/signalfd.h... no [18:20:55.491] checking sys/ucred.h usability... no [18:20:55.544] checking sys/ucred.h presence... no [18:20:55.561] checking for sys/ucred.h... no [18:20:55.564] checking termios.h usability... no [18:20:55.615] checking termios.h presence... no [18:20:55.633] checking for termios.h... no [18:20:55.636] checking ucred.h usability... no [18:20:55.688] checking ucred.h presence... no [18:20:55.705] checking for ucred.h... no [18:20:55.708] checking xlocale.h usability... no [18:20:55.759] checking xlocale.h presence... no [18:20:55.777] checking for xlocale.h... no [18:20:55.780] checking zlib.h usability... yes [18:20:55.788] checking zlib.h presence... yes [18:20:55.806] checking for zlib.h... yes [18:20:55.807] checking for lz4... /usr/bin/lz4 [18:20:55.807] checking for zstd... /usr/bin/zstd [18:20:55.807] checking for openssl... /usr/bin/openssl [18:20:55.811] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [18:20:55.811] checking crtdefs.h usability... yes [18:20:55.818] checking crtdefs.h presence... yes [18:20:55.832] checking for crtdefs.h... yes [18:20:55.833] checking whether byte ordering is bigendian... no [18:20:55.901] checking for inline... inline [18:20:55.908] checking for printf format archetype... gnu_printf [18:20:55.916] checking for _Static_assert... yes [18:20:55.958] checking for typeof... typeof [18:20:55.965] checking for __builtin_types_compatible_p... yes [18:20:55.975] checking for __builtin_constant_p... yes [18:20:55.985] checking for __builtin_mul_overflow... yes [18:20:56.032] checking for __builtin_unreachable... yes [18:20:56.072] checking for computed goto support... yes [18:20:56.079] checking for struct tm.tm_zone... no [18:20:56.150] checking for union semun... no [18:20:56.182] checking for socklen_t... yes [18:20:57.278] checking for struct sockaddr.sa_len... no [18:20:59.214] checking for C/C++ restrict keyword... __restrict [18:20:59.227] checking for struct option... yes [18:20:59.267] checking whether assembler supports x86_64 popcntq... yes [18:20:59.274] checking size of off_t... 4 [18:20:59.471] 0 [18:20:59.471] checking for int timezone... yes [18:20:59.522] checking for backtrace_symbols... no [18:20:59.572] checking for copyfile... no [18:20:59.621] checking for copy_file_range... no [18:20:59.671] checking for elf_aux_info... no [18:20:59.721] checking for getauxval... no [18:20:59.770] checking for getifaddrs... no [18:20:59.820] checking for getpeerucred... no [18:20:59.869] checking for inet_pton... yes [18:20:59.918] checking for kqueue... no [18:20:59.968] checking for localeconv_l... no [18:21:00.017] checking for mbstowcs_l... no [18:21:00.066] checking for posix_fallocate... no [18:21:00.115] checking for ppoll... no [18:21:00.165] checking for pthread_is_threaded_np... no [18:21:00.215] checking for setproctitle... no [18:21:00.264] checking for setproctitle_fast... no [18:21:00.314] checking for strsignal... no [18:21:00.364] checking for syncfs... no [18:21:00.414] checking for sync_file_range... no [18:21:00.463] checking for uselocale... no [18:21:00.515] checking for wcstombs_l... no [18:21:00.562] checking for __builtin_bswap16... yes [18:21:00.611] checking for __builtin_bswap32... yes [18:21:00.658] checking for __builtin_bswap64... yes [18:21:00.704] checking for __builtin_clz... yes [18:21:00.754] checking for __builtin_ctz... yes [18:21:00.801] checking for __builtin_popcount... yes [18:21:00.848] checking for __builtin_frame_address... yes [18:21:00.895] checking for _LARGEFILE_SOURCE value needed for large files... no [18:21:00.947] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:21:00.977] checking for posix_fadvise... no [18:21:01.028] checking whether posix_fadvise is declared... no [18:21:01.070] checking whether fdatasync is declared... no [18:21:01.114] checking whether strlcat is declared... no [18:21:01.175] checking whether strlcpy is declared... no [18:21:01.236] checking whether strnlen is declared... yes [18:21:01.249] checking whether strsep is declared... no [18:21:01.311] checking whether timingsafe_bcmp is declared... no [18:21:01.372] checking whether preadv is declared... no [18:21:01.406] checking whether pwritev is declared... no [18:21:01.440] checking whether strchrnul is declared... no [18:21:01.480] checking whether memset_s is declared... no [18:21:01.520] checking whether F_FULLFSYNC is declared... no [18:21:01.558] checking for explicit_bzero... no [18:21:01.607] checking for getopt... yes [18:21:01.652] checking for getpeereid... no [18:21:01.699] checking for inet_aton... no [18:21:01.746] checking for mkdtemp... no [18:21:01.794] checking for strlcat... no [18:21:01.841] checking for strlcpy... no [18:21:01.888] checking for strnlen... yes [18:21:01.935] checking for strsep... no [18:21:01.982] checking for timingsafe_bcmp... no [18:21:02.028] checking for pthread_barrier_wait... yes [18:21:02.072] configure: On mingw32 we will use our strtof wrapper. [18:21:02.072] checking for getopt_long... yes [18:21:02.118] checking for syslog... no [18:21:02.166] checking for opterr... yes [18:21:02.214] checking for optreset... no [18:21:02.266] checking test program... cross-compiling [18:21:02.266] checking size of void *... 8 [18:21:02.529] checking size of size_t... 8 [18:21:02.793] checking size of long... 4 [18:21:02.986] checking size of long long... 8 [18:21:03.242] checking alignment of short... 2 [18:21:03.374] checking alignment of int... 4 [18:21:03.567] checking alignment of long... 4 [18:21:03.760] checking alignment of int64_t... 8 [18:21:04.021] checking alignment of double... 8 [18:21:04.287] checking for __int128... yes [18:21:04.338] checking for __int128 alignment bug... assuming ok [18:21:04.338] checking alignment of PG_INT128_TYPE... 16 [18:21:04.666] checking for builtin __sync char locking functions... yes [18:21:04.708] checking for builtin __sync int32 locking functions... yes [18:21:04.749] checking for builtin __sync int32 atomic operations... yes [18:21:04.792] checking for builtin __sync int64 atomic operations... yes [18:21:04.835] checking for builtin __atomic int32 atomic operations... yes [18:21:04.877] checking for builtin __atomic int64 atomic operations... yes [18:21:04.921] checking for __get_cpuid... yes [18:21:04.967] checking for __get_cpuid_count... yes [18:21:05.011] checking for _xgetbv... yes [18:21:05.410] checking for _mm512_popcnt_epi64... yes [18:21:05.822] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:21:05.925] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:21:05.946] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:21:05.964] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:21:05.982] 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 [18:21:06.037] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:21:06.038] checking for _mm512_clmulepi64_epi128... yes [18:21:06.443] checking for vectorized CRC-32C... AVX-512 with runtime check [18:21:06.443] checking which random number source to use... Windows native [18:21:06.445] checking for xmllint... /usr/bin/xmllint [18:21:06.445] checking for xsltproc... /usr/bin/xsltproc [18:21:06.446] checking for fop... /usr/bin/fop [18:21:06.446] checking for dbtoepub... no [18:21:06.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:21:06.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:21:06.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:21:06.457] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:21:06.457] 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 [18:21:06.457] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:21:06.457] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:21:06.544] configure: creating ./config.status [18:21:06.627] config.status: creating GNUmakefile [18:21:06.639] config.status: creating src/Makefile.global [18:21:06.654] config.status: creating src/include/pg_config.h [18:21:06.666] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:21:06.681] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:21:06.688] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:21:06.695] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:21:06.702] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:21:06.705] config.status: executing check_win32_symlinks commands [18:21:06.737] [18:21:06.737] real 0m14.592s [18:21:06.737] user 0m9.794s [18:21:06.737] sys 0m4.575s [18:21:06.737] make -s -j${BUILD_JOBS} clean [18:21:07.266] time make -s -j${BUILD_JOBS} world-bin [18:21:11.907] shell_archive.c: In function ‘shell_archive_file’: [18:21:11.907] shell_archive.c:78:14: error: implicit declaration of function ‘pg_system’; did you mean ‘_wsystem’? [-Werror=implicit-function-declaration] [18:21:11.907] 78 | rc = pg_system(xlogarchcmd, WAIT_EVENT_ARCHIVE_COMMAND); [18:21:11.907] | ^~~~~~~~~ [18:21:11.907] | _wsystem [18:21:11.907] cc1: all warnings being treated as errors [18:21:11.908] make[3]: *** [: shell_archive.o] Error 1 [18:21:11.908] make[2]: *** [common.mk:37: archive-recursive] Error 2 [18:21:11.908] make[2]: *** Waiting for unfinished jobs.... [18:21:27.166] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:21:27.166] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:21:27.166] [18:21:27.166] real 0m19.901s [18:21:27.166] user 0m57.014s [18:21:27.166] sys 0m12.074s [18:21:27.166] [18:21:27.166] Exit status: 2