[12:28:19.702] time ./configure \ [12:28:19.702] --host=x86_64-w64-mingw32 \ [12:28:19.702] --enable-cassert \ [12:28:19.702] --without-icu \ [12:28:19.702] CC="ccache x86_64-w64-mingw32-gcc" \ [12:28:19.702] CXX="ccache x86_64-w64-mingw32-g++" [12:28:19.810] checking build system type... x86_64-pc-linux-gnu [12:28:19.995] checking host system type... x86_64-w64-mingw32 [12:28:20.000] checking which template to use... win32 [12:28:20.000] checking whether NLS is wanted... no [12:28:20.000] checking for default port number... 5432 [12:28:20.007] checking for block size... 8kB [12:28:20.008] checking for segment size... 1GB [12:28:20.010] checking for WAL block size... 8kB [12:28:20.011] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:28:20.043] checking whether the C compiler works... yes [12:28:20.181] checking for C compiler default output file name... a.exe [12:28:20.182] checking for suffix of executables... .exe [12:28:20.223] checking whether we are cross compiling... yes [12:28:20.295] checking for suffix of object files... o [12:28:20.313] checking whether we are using the GNU C compiler... yes [12:28:20.320] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:28:20.326] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:28:20.352] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:28:20.503] checking whether we are using the GNU C++ compiler... yes [12:28:20.692] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:28:20.785] checking for gawk... no [12:28:20.785] checking for mawk... mawk [12:28:20.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:28:20.804] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:28:20.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:28:20.881] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:28:20.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:28:20.939] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:28:20.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:28:20.978] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:28:20.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:28:21.015] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:28:21.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:28:21.061] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:28:21.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:28:21.093] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:28:21.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:28:21.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:28:21.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:28:21.200] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:28:21.206] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:28:21.238] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:28:21.244] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:28:21.259] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:28:21.290] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:28:21.314] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:28:21.321] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:28:21.327] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:28:21.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:28:21.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:28:21.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:28:21.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:28:21.460] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:28:21.467] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:28:21.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:28:21.506] checking whether the C compiler still works... yes [12:28:21.578] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:28:21.652] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:28:21.652] checking pkg-config is at least version 0.9.0... yes [12:28:21.668] checking whether to build with ICU support... no [12:28:21.669] checking whether to build with Tcl... no [12:28:21.669] checking whether to build Perl modules... no [12:28:21.669] checking whether to build Python modules... no [12:28:21.669] checking whether to build with GSSAPI support... no [12:28:21.670] checking whether to build with PAM support... no [12:28:21.670] checking whether to build with BSD Authentication support... no [12:28:21.670] checking whether to build with LDAP support... no [12:28:21.670] checking whether to build with Bonjour support... no [12:28:21.670] checking whether to build with SELinux support... no [12:28:21.671] checking whether to build with systemd support... no [12:28:21.671] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:28:21.671] checking whether to build with XML support... no [12:28:21.671] checking whether to build with LZ4 support... no [12:28:21.671] checking whether to build with ZSTD support... no [12:28:21.672] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:28:21.672] checking whether it is possible to strip libraries... yes [12:28:21.683] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:28:21.683] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:28:21.683] checking for a BSD-compatible install... /usr/bin/install -c [12:28:21.693] checking for tar... /usr/bin/tar [12:28:21.693] checking whether ln -s works... yes [12:28:21.693] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:28:21.695] checking for bison... /usr/bin/bison [12:28:21.698] configure: using bison (GNU Bison) 3.8.2 [12:28:21.701] checking for flex... /usr/bin/flex [12:28:21.703] configure: using flex 2.6.4 [12:28:21.703] checking for perl... /usr/bin/perl [12:28:21.706] configure: using perl 5.36.0 [12:28:21.708] checking for zic... /usr/sbin/zic [12:28:21.708] checking for a sed that does not truncate output... /usr/bin/sed [12:28:21.713] checking for grep that handles long lines and -e... /usr/bin/grep [12:28:21.716] checking for egrep... /usr/bin/grep -E [12:28:21.717] checking for ANSI C header files... yes [12:28:21.806] checking for sys/types.h... yes [12:28:21.864] checking for sys/stat.h... yes [12:28:21.901] checking for stdlib.h... yes [12:28:21.936] checking for string.h... yes [12:28:21.951] checking for memory.h... yes [12:28:22.012] checking for strings.h... yes [12:28:22.027] checking for inttypes.h... yes [12:28:22.090] checking for stdint.h... yes [12:28:22.104] checking for unistd.h... yes [12:28:22.122] checking for main in -lm... yes [12:28:22.169] checking for library containing setproctitle... no [12:28:22.257] checking for library containing dlsym... no [12:28:22.344] checking for library containing socket... -lws2_32 [12:28:22.471] checking for library containing getopt_long... none required [12:28:22.518] checking for library containing shm_open... no [12:28:22.604] checking for library containing shm_unlink... no [12:28:22.691] checking for library containing clock_gettime... no [12:28:22.779] checking for library containing shmget... no [12:28:22.867] checking for library containing backtrace_symbols... no [12:28:22.954] checking for library containing pthread_barrier_wait... -lpthread [12:28:23.041] checking for inflate in -lz... yes [12:28:23.088] checking atomic.h usability... no [12:28:23.142] checking atomic.h presence... no [12:28:23.160] checking for atomic.h... no [12:28:23.163] checking copyfile.h usability... no [12:28:23.214] checking copyfile.h presence... no [12:28:23.231] checking for copyfile.h... no [12:28:23.235] checking execinfo.h usability... no [12:28:23.287] checking execinfo.h presence... no [12:28:23.304] checking for execinfo.h... no [12:28:23.307] checking getopt.h usability... yes [12:28:23.314] checking getopt.h presence... yes [12:28:23.328] checking for getopt.h... yes [12:28:23.335] checking ifaddrs.h usability... no [12:28:23.388] checking ifaddrs.h presence... no [12:28:23.407] checking for ifaddrs.h... no [12:28:23.410] checking mbarrier.h usability... no [12:28:23.462] checking mbarrier.h presence... no [12:28:23.480] checking for mbarrier.h... no [12:28:23.484] checking sys/epoll.h usability... no [12:28:23.540] checking sys/epoll.h presence... no [12:28:23.558] checking for sys/epoll.h... no [12:28:23.561] checking sys/event.h usability... no [12:28:23.615] checking sys/event.h presence... no [12:28:23.634] checking for sys/event.h... no [12:28:23.637] checking sys/personality.h usability... no [12:28:23.691] checking sys/personality.h presence... no [12:28:23.710] checking for sys/personality.h... no [12:28:23.713] checking sys/prctl.h usability... no [12:28:23.766] checking sys/prctl.h presence... no [12:28:23.784] checking for sys/prctl.h... no [12:28:23.787] checking sys/procctl.h usability... no [12:28:23.839] checking sys/procctl.h presence... no [12:28:23.857] checking for sys/procctl.h... no [12:28:23.860] checking sys/signalfd.h usability... no [12:28:23.915] checking sys/signalfd.h presence... no [12:28:23.935] checking for sys/signalfd.h... no [12:28:23.939] checking sys/ucred.h usability... no [12:28:23.994] checking sys/ucred.h presence... no [12:28:24.015] checking for sys/ucred.h... no [12:28:24.018] checking termios.h usability... no [12:28:24.076] checking termios.h presence... no [12:28:24.096] checking for termios.h... no [12:28:24.099] checking ucred.h usability... no [12:28:24.155] checking ucred.h presence... no [12:28:24.175] checking for ucred.h... no [12:28:24.178] checking xlocale.h usability... no [12:28:24.234] checking xlocale.h presence... no [12:28:24.254] checking for xlocale.h... no [12:28:24.257] checking zlib.h usability... yes [12:28:24.288] checking zlib.h presence... yes [12:28:24.308] checking for zlib.h... yes [12:28:24.308] checking for lz4... /usr/bin/lz4 [12:28:24.308] checking for zstd... /usr/bin/zstd [12:28:24.309] checking for openssl... /usr/bin/openssl [12:28:24.313] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [12:28:24.314] checking crtdefs.h usability... yes [12:28:24.369] checking crtdefs.h presence... yes [12:28:24.383] checking for crtdefs.h... yes [12:28:24.385] checking whether byte ordering is bigendian... no [12:28:24.486] checking for inline... inline [12:28:24.493] checking for printf format archetype... gnu_printf [12:28:24.510] checking for _Static_assert... yes [12:28:24.552] checking for typeof... typeof [12:28:24.559] checking for __builtin_types_compatible_p... yes [12:28:24.579] checking for __builtin_constant_p... yes [12:28:24.601] checking for __builtin_mul_overflow... yes [12:28:24.649] checking for __builtin_unreachable... yes [12:28:24.691] checking for computed goto support... yes [12:28:24.725] checking for struct tm.tm_zone... no [12:28:24.800] checking for union semun... no [12:28:24.833] checking for socklen_t... yes [12:28:26.286] checking for struct sockaddr.sa_len... no [12:28:28.267] checking for C/C++ restrict keyword... __restrict [12:28:28.309] checking for struct option... yes [12:28:28.352] checking whether assembler supports x86_64 popcntq... yes [12:28:28.388] checking size of off_t... 4 [12:28:28.748] 0 [12:28:28.749] checking for int timezone... yes [12:28:28.798] checking for backtrace_symbols... no [12:28:28.847] checking for copyfile... no [12:28:28.896] checking for copy_file_range... no [12:28:28.944] checking for elf_aux_info... no [12:28:28.992] checking for getauxval... no [12:28:29.040] checking for getifaddrs... no [12:28:29.088] checking for getpeerucred... no [12:28:29.138] checking for inet_pton... yes [12:28:29.188] checking for kqueue... no [12:28:29.237] checking for mbstowcs_l... no [12:28:29.287] checking for memset_s... no [12:28:29.338] checking for posix_fallocate... no [12:28:29.387] checking for ppoll... no [12:28:29.438] checking for pthread_is_threaded_np... no [12:28:29.489] checking for setproctitle... no [12:28:29.541] checking for setproctitle_fast... no [12:28:29.590] checking for strchrnul... no [12:28:29.640] checking for strsignal... no [12:28:29.691] checking for syncfs... no [12:28:29.738] checking for sync_file_range... no [12:28:29.786] checking for uselocale... no [12:28:29.833] checking for wcstombs_l... no [12:28:29.878] checking for __builtin_bswap16... yes [12:28:29.927] checking for __builtin_bswap32... yes [12:28:29.973] checking for __builtin_bswap64... yes [12:28:30.020] checking for __builtin_clz... yes [12:28:30.068] checking for __builtin_ctz... yes [12:28:30.115] checking for __builtin_popcount... yes [12:28:30.162] checking for __builtin_frame_address... yes [12:28:30.209] checking for _LARGEFILE_SOURCE value needed for large files... no [12:28:30.260] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:28:30.293] checking for posix_fadvise... no [12:28:30.343] checking whether posix_fadvise is declared... no [12:28:30.386] checking whether fdatasync is declared... no [12:28:30.434] checking whether strlcat is declared... no [12:28:30.498] checking whether strlcpy is declared... no [12:28:30.563] checking whether strnlen is declared... yes [12:28:30.596] checking whether strsep is declared... no [12:28:30.656] checking whether preadv is declared... no [12:28:30.692] checking whether pwritev is declared... no [12:28:30.726] checking whether F_FULLFSYNC is declared... no [12:28:30.765] checking for explicit_bzero... no [12:28:30.810] checking for getopt... yes [12:28:30.854] checking for getpeereid... no [12:28:30.900] checking for inet_aton... no [12:28:30.947] checking for mkdtemp... no [12:28:30.993] checking for strlcat... no [12:28:31.037] checking for strlcpy... no [12:28:31.082] checking for strnlen... yes [12:28:31.129] checking for strsep... no [12:28:31.175] checking for pthread_barrier_wait... yes [12:28:31.217] configure: On mingw32 we will use our strtof wrapper. [12:28:31.217] checking for getopt_long... yes [12:28:31.262] checking for syslog... no [12:28:31.308] checking for opterr... yes [12:28:31.354] checking for optreset... no [12:28:31.404] checking test program... cross-compiling [12:28:31.404] checking size of void *... 8 [12:28:31.894] checking size of size_t... 8 [12:28:32.238] checking size of long... 4 [12:28:32.507] checking size of long long... 8 [12:28:32.890] checking alignment of short... 2 [12:28:33.097] checking alignment of int... 4 [12:28:33.363] checking alignment of long... 4 [12:28:33.650] checking alignment of int64_t... 8 [12:28:34.018] checking alignment of double... 8 [12:28:34.356] checking for __int128... yes [12:28:34.403] checking for __int128 alignment bug... assuming ok [12:28:34.403] checking alignment of PG_INT128_TYPE... 16 [12:28:34.836] checking for builtin __sync char locking functions... yes [12:28:34.878] checking for builtin __sync int32 locking functions... yes [12:28:34.921] checking for builtin __sync int32 atomic operations... yes [12:28:34.962] checking for builtin __sync int64 atomic operations... yes [12:28:35.007] checking for builtin __atomic int32 atomic operations... yes [12:28:35.049] checking for builtin __atomic int64 atomic operations... yes [12:28:35.093] checking for __get_cpuid... yes [12:28:35.139] checking for __get_cpuid_count... yes [12:28:35.183] checking for __cpuid... no [12:28:35.578] checking for __cpuidex... no [12:28:36.004] checking for _xgetbv... yes [12:28:36.401] checking for _mm512_popcnt_epi64... yes [12:28:36.825] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:28:36.924] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:28:36.945] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:28:36.964] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:28:36.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 [12:28:37.036] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:28:37.037] checking which random number source to use... Windows native [12:28:37.039] checking for xmllint... /usr/bin/xmllint [12:28:37.039] checking for xsltproc... /usr/bin/xsltproc [12:28:37.039] checking for fop... /usr/bin/fop [12:28:37.039] checking for dbtoepub... no [12:28:37.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:28:37.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:28:37.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:28:37.050] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:28:37.050] 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 [12:28:37.050] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:28:37.050] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:28:37.128] configure: creating ./config.status [12:28:37.207] config.status: creating GNUmakefile [12:28:37.220] config.status: creating src/Makefile.global [12:28:37.235] config.status: creating src/include/pg_config.h [12:28:37.248] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:28:37.263] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:28:37.270] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:28:37.277] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:28:37.284] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:28:37.291] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:28:37.294] config.status: executing check_win32_symlinks commands [12:28:37.328] [12:28:37.328] real 0m17.626s [12:28:37.328] user 0m11.717s [12:28:37.328] sys 0m5.495s [12:28:37.328] make -s -j${BUILD_JOBS} clean [12:28:37.835] time make -s -j${BUILD_JOBS} world-bin [12:30:10.518] datachecksumsworker.c: In function ‘ProcessDatabase’: [12:30:10.518] 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=] [12:30:10.518] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [12:30:10.518] | ~^ ~~~ [12:30:10.518] | | | [12:30:10.518] | int pid_t {aka long long int} [12:30:10.518] | %lld [12:30:10.518] cc1: all warnings being treated as errors [12:30:10.519] make[3]: *** [: datachecksumsworker.o] Error 1 [12:30:10.519] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [12:30:10.519] make[2]: *** Waiting for unfinished jobs.... [12:30:32.756] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:30:32.756] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:30:32.756] [12:30:32.756] real 1m54.922s [12:30:32.756] user 6m14.063s [12:30:32.756] sys 1m9.264s [12:30:32.757] [12:30:32.757] Exit status: 2