[21:26:08.904] time ./configure \ [21:26:08.904] --host=x86_64-w64-mingw32 \ [21:26:08.904] --enable-cassert \ [21:26:08.904] --without-icu \ [21:26:08.904] CC="ccache x86_64-w64-mingw32-gcc" \ [21:26:08.904] CXX="ccache x86_64-w64-mingw32-g++" [21:26:09.010] checking build system type... x86_64-pc-linux-gnu [21:26:09.217] checking host system type... x86_64-w64-mingw32 [21:26:09.222] checking which template to use... win32 [21:26:09.222] checking whether NLS is wanted... no [21:26:09.223] checking for default port number... 5432 [21:26:09.229] checking for block size... 8kB [21:26:09.230] checking for segment size... 1GB [21:26:09.232] checking for WAL block size... 8kB [21:26:09.233] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:26:09.264] checking whether the C compiler works... yes [21:26:09.414] checking for C compiler default output file name... a.exe [21:26:09.415] checking for suffix of executables... .exe [21:26:09.453] checking whether we are cross compiling... yes [21:26:09.532] checking for suffix of object files... o [21:26:09.540] checking whether we are using the GNU C compiler... yes [21:26:09.555] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:26:09.561] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:26:09.570] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:26:09.715] checking whether we are using the GNU C++ compiler... yes [21:26:09.875] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:26:09.999] checking for gawk... no [21:26:09.999] checking for mawk... mawk [21:26:10.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:26:10.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:26:10.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:26:10.088] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:26:10.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:26:10.136] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:26:10.166] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:26:10.195] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:26:10.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:26:10.216] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:26:10.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:26:10.252] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:26:10.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:26:10.265] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:26:10.294] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:26:10.324] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:26:10.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:26:10.366] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:26:10.381] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:26:10.411] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:26:10.441] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:26:10.447] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:26:10.453] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:26:10.475] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:26:10.481] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:26:10.511] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:26:10.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:26:10.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:26:10.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:26:10.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:26:10.637] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:26:10.644] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:26:10.659] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:26:10.666] checking whether the C compiler still works... yes [21:26:10.735] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:26:10.797] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:26:10.798] checking pkg-config is at least version 0.9.0... yes [21:26:10.813] checking whether to build with ICU support... no [21:26:10.813] checking whether to build with Tcl... no [21:26:10.814] checking whether to build Perl modules... no [21:26:10.814] checking whether to build Python modules... no [21:26:10.814] checking whether to build with GSSAPI support... no [21:26:10.815] checking whether to build with PAM support... no [21:26:10.815] checking whether to build with BSD Authentication support... no [21:26:10.815] checking whether to build with LDAP support... no [21:26:10.815] checking whether to build with Bonjour support... no [21:26:10.815] checking whether to build with SELinux support... no [21:26:10.815] checking whether to build with systemd support... no [21:26:10.815] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:26:10.815] checking whether to build with XML support... no [21:26:10.816] checking whether to build with LZ4 support... no [21:26:10.816] checking whether to build with ZSTD support... no [21:26:10.816] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:26:10.816] checking whether it is possible to strip libraries... yes [21:26:10.823] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:26:10.824] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:26:10.824] checking for a BSD-compatible install... /usr/bin/install -c [21:26:10.832] checking for tar... /usr/bin/tar [21:26:10.833] checking whether ln -s works... yes [21:26:10.833] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:26:10.835] checking for bison... /usr/bin/bison [21:26:10.837] configure: using bison (GNU Bison) 3.8.2 [21:26:10.839] checking for flex... /usr/bin/flex [21:26:10.850] configure: using flex 2.6.4 [21:26:10.850] checking for perl... /usr/bin/perl [21:26:10.853] configure: using perl 5.36.0 [21:26:10.855] checking for zic... /usr/sbin/zic [21:26:10.855] checking for a sed that does not truncate output... /usr/bin/sed [21:26:10.860] checking for grep that handles long lines and -e... /usr/bin/grep [21:26:10.862] checking for egrep... /usr/bin/grep -E [21:26:10.863] checking for ANSI C header files... yes [21:26:10.920] checking for sys/types.h... yes [21:26:10.973] checking for sys/stat.h... yes [21:26:11.005] checking for stdlib.h... yes [21:26:11.018] checking for string.h... yes [21:26:11.049] checking for memory.h... yes [21:26:11.105] checking for strings.h... yes [21:26:11.119] checking for inttypes.h... yes [21:26:11.178] checking for stdint.h... yes [21:26:11.191] checking for unistd.h... yes [21:26:11.249] checking for main in -lm... yes [21:26:11.292] checking for library containing setproctitle... no [21:26:11.374] checking for library containing dlsym... no [21:26:11.456] checking for library containing socket... -lws2_32 [21:26:11.574] checking for library containing getopt_long... none required [21:26:11.617] checking for library containing shm_open... no [21:26:11.699] checking for library containing shm_unlink... no [21:26:11.779] checking for library containing clock_gettime... no [21:26:11.860] checking for library containing shmget... no [21:26:11.942] checking for library containing backtrace_symbols... no [21:26:12.023] checking for library containing pthread_barrier_wait... -lpthread [21:26:12.106] checking for inflate in -lz... yes [21:26:12.149] checking for stdbool.h that conforms to C99... yes [21:26:12.192] checking for _Bool... yes [21:26:12.307] checking atomic.h usability... no [21:26:12.358] checking atomic.h presence... no [21:26:12.375] checking for atomic.h... no [21:26:12.377] checking copyfile.h usability... no [21:26:12.428] checking copyfile.h presence... no [21:26:12.444] checking for copyfile.h... no [21:26:12.447] checking execinfo.h usability... no [21:26:12.498] checking execinfo.h presence... no [21:26:12.515] checking for execinfo.h... no [21:26:12.518] checking getopt.h usability... yes [21:26:12.545] checking getopt.h presence... yes [21:26:12.558] checking for getopt.h... yes [21:26:12.564] checking ifaddrs.h usability... no [21:26:12.615] checking ifaddrs.h presence... no [21:26:12.632] checking for ifaddrs.h... no [21:26:12.635] checking mbarrier.h usability... no [21:26:12.686] checking mbarrier.h presence... no [21:26:12.703] checking for mbarrier.h... no [21:26:12.706] checking sys/epoll.h usability... no [21:26:12.757] checking sys/epoll.h presence... no [21:26:12.773] checking for sys/epoll.h... no [21:26:12.776] checking sys/event.h usability... no [21:26:12.826] checking sys/event.h presence... no [21:26:12.843] checking for sys/event.h... no [21:26:12.846] checking sys/personality.h usability... no [21:26:12.897] checking sys/personality.h presence... no [21:26:12.914] checking for sys/personality.h... no [21:26:12.917] checking sys/prctl.h usability... no [21:26:12.968] checking sys/prctl.h presence... no [21:26:12.984] checking for sys/prctl.h... no [21:26:12.987] checking sys/procctl.h usability... no [21:26:13.039] checking sys/procctl.h presence... no [21:26:13.056] checking for sys/procctl.h... no [21:26:13.059] checking sys/signalfd.h usability... no [21:26:13.111] checking sys/signalfd.h presence... no [21:26:13.128] checking for sys/signalfd.h... no [21:26:13.131] checking sys/ucred.h usability... no [21:26:13.182] checking sys/ucred.h presence... no [21:26:13.199] checking for sys/ucred.h... no [21:26:13.202] checking termios.h usability... no [21:26:13.253] checking termios.h presence... no [21:26:13.271] checking for termios.h... no [21:26:13.274] checking ucred.h usability... no [21:26:13.325] checking ucred.h presence... no [21:26:13.342] checking for ucred.h... no [21:26:13.345] checking xlocale.h usability... no [21:26:13.396] checking xlocale.h presence... no [21:26:13.413] checking for xlocale.h... no [21:26:13.416] checking zlib.h usability... yes [21:26:13.472] checking zlib.h presence... yes [21:26:13.490] checking for zlib.h... yes [21:26:13.490] checking for lz4... /usr/bin/lz4 [21:26:13.490] checking for zstd... /usr/bin/zstd [21:26:13.490] checking for openssl... /usr/bin/openssl [21:26:13.494] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [21:26:13.495] checking crtdefs.h usability... yes [21:26:13.502] checking crtdefs.h presence... yes [21:26:13.515] checking for crtdefs.h... yes [21:26:13.516] checking whether byte ordering is bigendian... no [21:26:13.592] checking for inline... inline [21:26:13.599] checking for printf format archetype... gnu_printf [21:26:13.606] checking for _Static_assert... yes [21:26:13.645] checking for typeof... typeof [21:26:13.676] checking for __builtin_types_compatible_p... yes [21:26:13.686] checking for __builtin_constant_p... yes [21:26:13.714] checking for __builtin_unreachable... yes [21:26:13.752] checking for computed goto support... yes [21:26:13.783] checking for struct tm.tm_zone... no [21:26:13.853] checking for union semun... no [21:26:13.884] checking for socklen_t... yes [21:26:14.988] checking for struct sockaddr.sa_len... no [21:26:16.911] checking for C/C++ restrict keyword... __restrict [21:26:16.923] checking for struct option... yes [21:26:16.988] checking whether assembler supports x86_64 popcntq... yes [21:26:17.020] checking size of off_t... 4 [21:26:17.298] 0 [21:26:17.298] checking size of bool... 1 [21:26:17.363] checking for int timezone... yes [21:26:17.410] checking for backtrace_symbols... no [21:26:17.458] checking for copyfile... no [21:26:17.505] checking for copy_file_range... no [21:26:17.552] checking for getifaddrs... no [21:26:17.598] checking for getpeerucred... no [21:26:17.645] checking for inet_pton... yes [21:26:17.691] checking for kqueue... no [21:26:17.738] checking for mbstowcs_l... no [21:26:17.786] checking for memset_s... no [21:26:17.833] checking for posix_fallocate... no [21:26:17.880] checking for ppoll... no [21:26:17.926] checking for pthread_is_threaded_np... no [21:26:17.973] checking for setproctitle... no [21:26:18.020] checking for setproctitle_fast... no [21:26:18.067] checking for strchrnul... no [21:26:18.114] checking for strsignal... no [21:26:18.162] checking for syncfs... no [21:26:18.209] checking for sync_file_range... no [21:26:18.255] checking for uselocale... no [21:26:18.301] checking for wcstombs_l... no [21:26:18.346] checking for __builtin_bswap16... yes [21:26:18.391] checking for __builtin_bswap32... yes [21:26:18.435] checking for __builtin_bswap64... yes [21:26:18.479] checking for __builtin_clz... yes [21:26:18.523] checking for __builtin_ctz... yes [21:26:18.567] checking for __builtin_popcount... yes [21:26:18.611] checking for __builtin_frame_address... yes [21:26:18.654] checking for _LARGEFILE_SOURCE value needed for large files... no [21:26:18.703] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:26:18.732] checking for posix_fadvise... no [21:26:18.780] checking whether posix_fadvise is declared... no [21:26:18.821] checking whether fdatasync is declared... no [21:26:18.864] checking whether strlcat is declared... no [21:26:18.923] checking whether strlcpy is declared... no [21:26:18.982] checking whether strnlen is declared... yes [21:26:19.045] checking whether strsep is declared... no [21:26:19.104] checking whether preadv is declared... no [21:26:19.137] checking whether pwritev is declared... no [21:26:19.171] checking whether F_FULLFSYNC is declared... no [21:26:19.206] checking for explicit_bzero... no [21:26:19.250] checking for getopt... yes [21:26:19.293] checking for getpeereid... no [21:26:19.337] checking for inet_aton... no [21:26:19.382] checking for mkdtemp... no [21:26:19.426] checking for strlcat... no [21:26:19.470] checking for strlcpy... no [21:26:19.514] checking for strnlen... yes [21:26:19.559] checking for strsep... no [21:26:19.603] checking for pthread_barrier_wait... yes [21:26:19.644] configure: On mingw32 we will use our strtof wrapper. [21:26:19.644] checking for getopt_long... yes [21:26:19.685] checking for _configthreadlocale... yes [21:26:19.728] checking for syslog... no [21:26:19.772] checking for opterr... yes [21:26:19.817] checking for optreset... no [21:26:19.865] checking test program... cross-compiling [21:26:19.865] checking whether long int is 64 bits... no [21:26:19.894] checking whether long long int is 64 bits... yes [21:26:19.927] checking for __builtin_mul_overflow... yes [21:26:19.966] checking size of void *... 8 [21:26:20.404] checking size of size_t... 8 [21:26:20.752] checking size of long... 4 [21:26:21.062] checking alignment of short... 2 [21:26:21.291] checking alignment of int... 4 [21:26:21.678] checking alignment of long... 4 [21:26:21.937] checking alignment of long long int... 8 [21:26:22.296] checking alignment of double... 8 [21:26:22.702] checking for __int128... yes [21:26:22.746] checking for __int128 alignment bug... assuming ok [21:26:22.746] checking alignment of PG_INT128_TYPE... 16 [21:26:23.128] checking for builtin __sync char locking functions... yes [21:26:23.168] checking for builtin __sync int32 locking functions... yes [21:26:23.207] checking for builtin __sync int32 atomic operations... yes [21:26:23.247] checking for builtin __sync int64 atomic operations... yes [21:26:23.286] checking for builtin __atomic int32 atomic operations... yes [21:26:23.325] checking for builtin __atomic int64 atomic operations... yes [21:26:23.364] checking for __get_cpuid... yes [21:26:23.406] checking for __get_cpuid_count... yes [21:26:23.448] checking for __cpuid... no [21:26:23.837] checking for __cpuidex... no [21:26:24.253] checking for _xgetbv with CFLAGS=... no [21:26:24.624] checking for _xgetbv with CFLAGS=-mxsave... yes [21:26:25.013] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:26:25.392] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:26:25.727] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:26:25.771] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:26:25.853] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:26:25.873] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:26:25.891] 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 [21:26:25.942] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:26:25.942] checking which random number source to use... Windows native [21:26:25.944] checking for xmllint... /usr/bin/xmllint [21:26:25.944] checking for xsltproc... /usr/bin/xsltproc [21:26:25.944] checking for fop... /usr/bin/fop [21:26:25.945] checking for dbtoepub... no [21:26:25.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:26:25.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:26:25.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:26:25.955] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:26:25.955] 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 [21:26:25.955] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:26:25.955] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:26:26.032] configure: creating ./config.status [21:26:26.109] config.status: creating GNUmakefile [21:26:26.121] config.status: creating src/Makefile.global [21:26:26.135] config.status: creating src/include/pg_config.h [21:26:26.146] config.status: creating src/include/pg_config_ext.h [21:26:26.157] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:26:26.171] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:26:26.178] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:26:26.184] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:26:26.191] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:26:26.197] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:26:26.200] config.status: executing check_win32_symlinks commands [21:26:26.232] [21:26:26.232] real 0m17.328s [21:26:26.232] user 0m11.668s [21:26:26.232] sys 0m5.193s [21:26:26.232] make -s -j${BUILD_JOBS} clean [21:26:26.739] time make -s -j${BUILD_JOBS} world-bin [21:28:01.140] datachecksumsworker.c: In function ‘ProcessDatabase’: [21:28:01.140] datachecksumsworker.c:590:67: error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘pid_t’ {aka ‘long long int’} [-Werror=format=] [21:28:01.140] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [21:28:01.140] | ~^ ~~~ [21:28:01.140] | | | [21:28:01.140] | int pid_t {aka long long int} [21:28:01.140] | %lld [21:28:01.140] cc1: all warnings being treated as errors [21:28:01.141] make[3]: *** [: datachecksumsworker.o] Error 1 [21:28:01.141] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [21:28:01.141] make[2]: *** Waiting for unfinished jobs.... [21:28:23.949] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:28:23.950] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:28:23.950] [21:28:23.950] real 1m57.210s [21:28:23.950] user 6m23.215s [21:28:23.950] sys 1m11.434s [21:28:23.950] [21:28:23.950] Exit status: 2