[09:14:20.902] time ./configure \ [09:14:20.902] --host=x86_64-w64-mingw32 \ [09:14:20.902] --enable-cassert \ [09:14:20.902] --without-icu \ [09:14:20.902] CC="ccache x86_64-w64-mingw32-gcc" \ [09:14:20.902] CXX="ccache x86_64-w64-mingw32-g++" [09:14:21.005] checking build system type... x86_64-pc-linux-gnu [09:14:21.179] checking host system type... x86_64-w64-mingw32 [09:14:21.183] checking which template to use... win32 [09:14:21.184] checking whether NLS is wanted... no [09:14:21.184] checking for default port number... 5432 [09:14:21.190] checking for block size... 8kB [09:14:21.191] checking for segment size... 1GB [09:14:21.193] checking for WAL block size... 8kB [09:14:21.194] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:14:21.224] checking whether the C compiler works... yes [09:14:21.343] checking for C compiler default output file name... a.exe [09:14:21.344] checking for suffix of executables... .exe [09:14:21.379] checking whether we are cross compiling... yes [09:14:21.448] checking for suffix of object files... o [09:14:21.455] checking whether we are using the GNU C compiler... yes [09:14:21.460] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:14:21.466] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:14:21.474] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:14:21.523] checking whether we are using the GNU C++ compiler... yes [09:14:21.528] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:14:21.587] checking for gawk... no [09:14:21.587] checking for mawk... mawk [09:14:21.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:14:21.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:14:21.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:14:21.641] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:14:21.788] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:14:21.794] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:14:21.800] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:14:21.806] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:14:21.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:14:21.818] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:14:21.824] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:14:21.830] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:14:21.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:14:21.842] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:14:21.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:14:21.854] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:14:21.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:14:21.893] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:14:21.899] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:14:21.905] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:14:21.911] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:14:21.917] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:14:21.923] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:14:21.943] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:14:21.949] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:14:21.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:14:21.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:14:22.025] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:14:22.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:14:22.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:14:22.071] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:14:22.077] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:14:22.083] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:14:22.091] checking whether the C compiler still works... yes [09:14:22.149] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:14:22.214] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:14:22.214] checking pkg-config is at least version 0.9.0... yes [09:14:22.230] checking whether to build with ICU support... no [09:14:22.230] checking whether to build with Tcl... no [09:14:22.230] checking whether to build Perl modules... no [09:14:22.230] checking whether to build Python modules... no [09:14:22.230] checking whether to build with GSSAPI support... no [09:14:22.231] checking whether to build with PAM support... no [09:14:22.231] checking whether to build with BSD Authentication support... no [09:14:22.231] checking whether to build with LDAP support... no [09:14:22.232] checking whether to build with Bonjour support... no [09:14:22.232] checking whether to build with SELinux support... no [09:14:22.232] checking whether to build with systemd support... no [09:14:22.232] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:14:22.232] checking whether to build with liburing support... no [09:14:22.232] checking whether to build with libcurl support... no [09:14:22.232] checking whether to build with libnuma support... no [09:14:22.232] checking whether to build with XML support... no [09:14:22.233] checking whether to build with LZ4 support... no [09:14:22.233] checking whether to build with ZSTD support... no [09:14:22.233] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:14:22.233] checking whether it is possible to strip libraries... yes [09:14:22.241] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:14:22.241] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:14:22.241] checking for a BSD-compatible install... /usr/bin/install -c [09:14:22.249] checking for tar... /usr/bin/tar [09:14:22.250] checking whether ln -s works... yes [09:14:22.250] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:14:22.252] checking for bison... /usr/bin/bison [09:14:22.254] configure: using bison (GNU Bison) 3.8.2 [09:14:22.256] checking for flex... /usr/bin/flex [09:14:22.258] configure: using flex 2.6.4 [09:14:22.258] checking for perl... /usr/bin/perl [09:14:22.261] configure: using perl 5.36.0 [09:14:22.263] checking for zic... /usr/sbin/zic [09:14:22.263] checking for a sed that does not truncate output... /usr/bin/sed [09:14:22.267] checking for grep that handles long lines and -e... /usr/bin/grep [09:14:22.269] checking for egrep... /usr/bin/grep -E [09:14:22.271] checking for ANSI C header files... yes [09:14:22.311] checking for sys/types.h... yes [09:14:22.325] checking for sys/stat.h... yes [09:14:22.339] checking for stdlib.h... yes [09:14:22.351] checking for string.h... yes [09:14:22.363] checking for memory.h... yes [09:14:22.375] checking for strings.h... yes [09:14:22.388] checking for inttypes.h... yes [09:14:22.402] checking for stdint.h... yes [09:14:22.415] checking for unistd.h... yes [09:14:22.428] checking for main in -lm... yes [09:14:22.469] checking for library containing setproctitle... no [09:14:22.549] checking for library containing dlsym... no [09:14:22.623] checking for library containing socket... -lws2_32 [09:14:22.734] checking for library containing getopt_long... none required [09:14:22.776] checking for library containing shm_open... no [09:14:22.854] checking for library containing shm_unlink... no [09:14:22.931] checking for library containing clock_gettime... no [09:14:23.009] checking for library containing shmget... no [09:14:23.088] checking for library containing backtrace_symbols... no [09:14:23.167] checking for library containing pthread_barrier_wait... -lpthread [09:14:23.244] checking for inflate in -lz... yes [09:14:23.286] checking atomic.h usability... no [09:14:23.339] checking atomic.h presence... no [09:14:23.356] checking for atomic.h... no [09:14:23.358] checking copyfile.h usability... no [09:14:23.409] checking copyfile.h presence... no [09:14:23.426] checking for copyfile.h... no [09:14:23.429] checking execinfo.h usability... no [09:14:23.479] checking execinfo.h presence... no [09:14:23.495] checking for execinfo.h... no [09:14:23.498] checking getopt.h usability... yes [09:14:23.505] checking getopt.h presence... yes [09:14:23.518] checking for getopt.h... yes [09:14:23.525] checking ifaddrs.h usability... no [09:14:23.574] checking ifaddrs.h presence... no [09:14:23.590] checking for ifaddrs.h... no [09:14:23.593] checking mbarrier.h usability... no [09:14:23.641] checking mbarrier.h presence... no [09:14:23.656] checking for mbarrier.h... no [09:14:23.659] checking sys/epoll.h usability... no [09:14:23.706] checking sys/epoll.h presence... no [09:14:23.721] checking for sys/epoll.h... no [09:14:23.724] checking sys/event.h usability... no [09:14:23.770] checking sys/event.h presence... no [09:14:23.787] checking for sys/event.h... no [09:14:23.789] checking sys/personality.h usability... no [09:14:23.837] checking sys/personality.h presence... no [09:14:23.853] checking for sys/personality.h... no [09:14:23.855] checking sys/prctl.h usability... no [09:14:23.902] checking sys/prctl.h presence... no [09:14:23.918] checking for sys/prctl.h... no [09:14:23.921] checking sys/procctl.h usability... no [09:14:23.968] checking sys/procctl.h presence... no [09:14:23.983] checking for sys/procctl.h... no [09:14:23.986] checking sys/signalfd.h usability... no [09:14:24.032] checking sys/signalfd.h presence... no [09:14:24.048] checking for sys/signalfd.h... no [09:14:24.051] checking sys/ucred.h usability... no [09:14:24.098] checking sys/ucred.h presence... no [09:14:24.113] checking for sys/ucred.h... no [09:14:24.116] checking termios.h usability... no [09:14:24.163] checking termios.h presence... no [09:14:24.178] checking for termios.h... no [09:14:24.181] checking ucred.h usability... no [09:14:24.229] checking ucred.h presence... no [09:14:24.246] checking for ucred.h... no [09:14:24.250] checking xlocale.h usability... no [09:14:24.299] checking xlocale.h presence... no [09:14:24.315] checking for xlocale.h... no [09:14:24.317] checking zlib.h usability... yes [09:14:24.325] checking zlib.h presence... yes [09:14:24.342] checking for zlib.h... yes [09:14:24.342] checking for lz4... /usr/bin/lz4 [09:14:24.342] checking for zstd... /usr/bin/zstd [09:14:24.343] checking for openssl... /usr/bin/openssl [09:14:24.346] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [09:14:24.347] checking crtdefs.h usability... yes [09:14:24.354] checking crtdefs.h presence... yes [09:14:24.366] checking for crtdefs.h... yes [09:14:24.368] checking whether byte ordering is bigendian... no [09:14:24.431] checking for inline... inline [09:14:24.437] checking for printf format archetype... gnu_printf [09:14:24.444] checking for _Static_assert... yes [09:14:24.479] checking for typeof... typeof [09:14:24.485] checking for __builtin_types_compatible_p... yes [09:14:24.495] checking for __builtin_constant_p... yes [09:14:24.504] checking for __builtin_mul_overflow... yes [09:14:24.545] checking for __builtin_unreachable... yes [09:14:24.583] checking for computed goto support... yes [09:14:24.589] checking for struct tm.tm_zone... no [09:14:24.657] checking for union semun... no [09:14:24.686] checking for socklen_t... yes [09:14:25.748] checking for struct sockaddr.sa_len... no [09:14:27.610] checking for C/C++ restrict keyword... __restrict [09:14:27.622] checking for struct option... yes [09:14:27.659] checking whether assembler supports x86_64 popcntq... yes [09:14:27.665] checking size of off_t... 4 [09:14:27.849] 0 [09:14:27.849] checking for int timezone... yes [09:14:27.895] checking for backtrace_symbols... no [09:14:27.938] checking for copyfile... no [09:14:27.983] checking for copy_file_range... no [09:14:28.029] checking for elf_aux_info... no [09:14:28.075] checking for getauxval... no [09:14:28.120] checking for getifaddrs... no [09:14:28.166] checking for getpeerucred... no [09:14:28.213] checking for inet_pton... yes [09:14:28.260] checking for kqueue... no [09:14:28.305] checking for localeconv_l... no [09:14:28.351] checking for mbstowcs_l... no [09:14:28.397] checking for posix_fallocate... no [09:14:28.442] checking for ppoll... no [09:14:28.484] checking for pthread_is_threaded_np... no [09:14:28.528] checking for setproctitle... no [09:14:28.573] checking for setproctitle_fast... no [09:14:28.618] checking for strsignal... no [09:14:28.663] checking for syncfs... no [09:14:28.707] checking for sync_file_range... no [09:14:28.753] checking for uselocale... no [09:14:28.797] checking for wcstombs_l... no [09:14:28.838] checking for __builtin_bswap16... yes [09:14:28.882] checking for __builtin_bswap32... yes [09:14:28.923] checking for __builtin_bswap64... yes [09:14:28.967] checking for __builtin_clz... yes [09:14:29.011] checking for __builtin_ctz... yes [09:14:29.053] checking for __builtin_popcount... yes [09:14:29.095] checking for __builtin_frame_address... yes [09:14:29.136] checking for _LARGEFILE_SOURCE value needed for large files... no [09:14:29.181] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:14:29.209] checking for posix_fadvise... no [09:14:29.256] checking whether posix_fadvise is declared... no [09:14:29.294] checking whether fdatasync is declared... no [09:14:29.333] checking whether strlcat is declared... no [09:14:29.389] checking whether strlcpy is declared... no [09:14:29.446] checking whether strnlen is declared... yes [09:14:29.457] checking whether strsep is declared... no [09:14:29.513] checking whether timingsafe_bcmp is declared... no [09:14:29.568] checking whether preadv is declared... no [09:14:29.600] checking whether pwritev is declared... no [09:14:29.632] checking whether strchrnul is declared... no [09:14:29.667] checking whether memset_s is declared... no [09:14:29.703] checking whether F_FULLFSYNC is declared... no [09:14:29.737] checking for explicit_bzero... no [09:14:29.778] checking for getopt... yes [09:14:29.817] checking for getpeereid... no [09:14:29.860] checking for inet_aton... no [09:14:29.902] checking for mkdtemp... no [09:14:29.946] checking for strlcat... no [09:14:29.990] checking for strlcpy... no [09:14:30.032] checking for strnlen... yes [09:14:30.075] checking for strsep... no [09:14:30.118] checking for timingsafe_bcmp... no [09:14:30.161] checking for pthread_barrier_wait... yes [09:14:30.201] configure: On mingw32 we will use our strtof wrapper. [09:14:30.201] checking for getopt_long... yes [09:14:30.241] checking for syslog... no [09:14:30.284] checking for opterr... yes [09:14:30.332] checking for optreset... no [09:14:30.379] checking test program... cross-compiling [09:14:30.379] checking size of void *... 8 [09:14:30.618] checking size of size_t... 8 [09:14:30.859] checking size of long... 4 [09:14:31.041] checking size of long long... 8 [09:14:31.287] checking alignment of short... 2 [09:14:31.412] checking alignment of int... 4 [09:14:31.600] checking alignment of long... 4 [09:14:31.789] checking alignment of int64_t... 8 [09:14:32.036] checking alignment of double... 8 [09:14:32.284] checking for __int128... yes [09:14:32.330] checking for __int128 alignment bug... assuming ok [09:14:32.330] checking alignment of PG_INT128_TYPE... 16 [09:14:32.625] checking for builtin __sync char locking functions... yes [09:14:32.663] checking for builtin __sync int32 locking functions... yes [09:14:32.701] checking for builtin __sync int32 atomic operations... yes [09:14:32.739] checking for builtin __sync int64 atomic operations... yes [09:14:32.778] checking for builtin __atomic int32 atomic operations... yes [09:14:32.816] checking for builtin __atomic int64 atomic operations... yes [09:14:32.855] checking for __get_cpuid... yes [09:14:32.901] checking for __get_cpuid_count... yes [09:14:32.941] checking for __cpuid... no [09:14:33.315] checking for __cpuidex... no [09:14:33.707] checking for _xgetbv... yes [09:14:34.085] checking for _mm512_popcnt_epi64... yes [09:14:34.474] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:14:34.567] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:14:34.587] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:14:34.605] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:14:34.622] 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 [09:14:34.674] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:14:34.674] checking for _mm512_clmulepi64_epi128... yes [09:14:35.056] checking for vectorized CRC-32C... AVX-512 with runtime check [09:14:35.056] checking which random number source to use... Windows native [09:14:35.058] checking for xmllint... /usr/bin/xmllint [09:14:35.058] checking for xsltproc... /usr/bin/xsltproc [09:14:35.058] checking for fop... /usr/bin/fop [09:14:35.058] checking for dbtoepub... no [09:14:35.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:14:35.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:14:35.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:14:35.069] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:14:35.069] 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 [09:14:35.069] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:14:35.070] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:14:35.152] configure: creating ./config.status [09:14:35.231] config.status: creating GNUmakefile [09:14:35.242] config.status: creating src/Makefile.global [09:14:35.256] config.status: creating src/include/pg_config.h [09:14:35.267] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:14:35.281] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:14:35.287] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:14:35.296] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:14:35.303] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:14:35.309] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:14:35.312] config.status: executing check_win32_symlinks commands [09:14:35.341] [09:14:35.341] real 0m14.439s [09:14:35.341] user 0m9.736s [09:14:35.341] sys 0m4.405s [09:14:35.341] make -s -j${BUILD_JOBS} clean [09:14:35.835] time make -s -j${BUILD_JOBS} world-bin [09:14:43.544] backend_startup.c: In function ‘ExposeInformation’: [09:14:43.544] backend_startup.c:1266:65: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64’ {aka ‘long long unsigned int’} [-Werror=format=] [09:14:43.544] 1266 | appendStringInfo(&content, "%s%lu\r\n", [09:14:43.544] | ~~^ [09:14:43.544] | | [09:14:43.544] | long unsigned int [09:14:43.544] | %llu [09:14:43.544] 1267 | type == EXPOSE_GET_ALL ? "SYSID: " : "", [09:14:43.544] 1268 | GetSystemIdentifier()); [09:14:43.544] | ~~~~~~~~~~~~~~~~~~~~~ [09:14:43.544] | | [09:14:43.544] | uint64 {aka long long unsigned int} [09:14:43.544] cc1: all warnings being treated as errors [09:14:43.544] make[3]: *** [: backend_startup.o] Error 1 [09:14:43.544] make[3]: *** Waiting for unfinished jobs.... [09:14:43.555] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [09:14:43.555] make[2]: *** Waiting for unfinished jobs.... [09:14:45.331] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:14:45.331] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:14:45.332] [09:14:45.332] real 0m9.496s [09:14:45.332] user 0m23.308s [09:14:45.332] sys 0m8.664s [09:14:45.332] [09:14:45.332] Exit status: 2