[22:07:29.474] time ./configure \ [22:07:29.474] --host=x86_64-w64-mingw32 \ [22:07:29.474] --enable-cassert \ [22:07:29.474] --without-icu \ [22:07:29.474] CC="ccache x86_64-w64-mingw32-gcc" \ [22:07:29.474] CXX="ccache x86_64-w64-mingw32-g++" [22:07:29.583] checking build system type... x86_64-pc-linux-gnu [22:07:29.796] checking host system type... x86_64-w64-mingw32 [22:07:29.801] checking which template to use... win32 [22:07:29.802] checking whether NLS is wanted... no [22:07:29.802] checking for default port number... 5432 [22:07:29.808] checking for block size... 8kB [22:07:29.810] checking for segment size... 1GB [22:07:29.812] checking for WAL block size... 8kB [22:07:29.814] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:07:29.847] checking whether the C compiler works... yes [22:07:29.996] checking for C compiler default output file name... a.exe [22:07:29.997] checking for suffix of executables... .exe [22:07:30.037] checking whether we are cross compiling... yes [22:07:30.118] checking for suffix of object files... o [22:07:30.135] checking whether we are using the GNU C compiler... yes [22:07:30.168] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:07:30.185] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:07:30.264] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:07:30.323] checking whether we are using the GNU C++ compiler... yes [22:07:30.482] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:07:30.614] checking for gawk... no [22:07:30.614] checking for mawk... mawk [22:07:30.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:07:30.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:07:30.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:07:30.726] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:07:30.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:07:30.786] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:07:30.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:07:30.855] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:07:30.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:07:30.898] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:07:30.906] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:07:30.939] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:07:30.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:07:30.971] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:07:31.004] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:07:31.037] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:07:31.071] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:07:31.109] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:07:31.126] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:07:31.158] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:07:31.165] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:07:31.198] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:07:31.231] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:07:31.255] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:07:31.262] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:07:31.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:07:31.313] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:07:31.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:07:31.383] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:07:31.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:07:31.449] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:07:31.465] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:07:31.480] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:07:31.513] checking whether the C compiler still works... yes [22:07:31.570] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:07:31.640] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:07:31.641] checking pkg-config is at least version 0.9.0... yes [22:07:31.657] checking whether to build with ICU support... no [22:07:31.657] checking whether to build with Tcl... no [22:07:31.657] checking whether to build Perl modules... no [22:07:31.658] checking whether to build Python modules... no [22:07:31.658] checking whether to build with GSSAPI support... no [22:07:31.659] checking whether to build with PAM support... no [22:07:31.659] checking whether to build with BSD Authentication support... no [22:07:31.659] checking whether to build with LDAP support... no [22:07:31.659] checking whether to build with Bonjour support... no [22:07:31.659] checking whether to build with SELinux support... no [22:07:31.659] checking whether to build with systemd support... no [22:07:31.659] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:07:31.659] checking whether to build with XML support... no [22:07:31.660] checking whether to build with LZ4 support... no [22:07:31.660] checking whether to build with ZSTD support... no [22:07:31.660] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:07:31.660] checking whether it is possible to strip libraries... yes [22:07:31.668] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:07:31.669] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:07:31.669] checking for a BSD-compatible install... /usr/bin/install -c [22:07:31.678] checking for tar... /usr/bin/tar [22:07:31.679] checking whether ln -s works... yes [22:07:31.679] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:07:31.681] checking for bison... /usr/bin/bison [22:07:31.683] configure: using bison (GNU Bison) 3.8.2 [22:07:31.686] checking for flex... /usr/bin/flex [22:07:31.699] configure: using flex 2.6.4 [22:07:31.699] checking for perl... /usr/bin/perl [22:07:31.701] configure: using perl 5.36.0 [22:07:31.704] checking for zic... /usr/sbin/zic [22:07:31.704] checking for a sed that does not truncate output... /usr/bin/sed [22:07:31.709] checking for grep that handles long lines and -e... /usr/bin/grep [22:07:31.711] checking for egrep... /usr/bin/grep -E [22:07:31.713] checking for ANSI C header files... yes [22:07:31.801] checking for sys/types.h... yes [22:07:31.836] checking for sys/stat.h... yes [22:07:31.897] checking for stdlib.h... yes [22:07:31.956] checking for string.h... yes [22:07:31.988] checking for memory.h... yes [22:07:32.023] checking for strings.h... yes [22:07:32.083] checking for inttypes.h... yes [22:07:32.144] checking for stdint.h... yes [22:07:32.202] checking for unistd.h... yes [22:07:32.265] checking for main in -lm... yes [22:07:32.311] checking for library containing setproctitle... no [22:07:32.396] checking for library containing dlsym... no [22:07:32.480] checking for library containing socket... -lws2_32 [22:07:32.609] checking for library containing getopt_long... none required [22:07:32.658] checking for library containing shm_open... no [22:07:32.752] checking for library containing shm_unlink... no [22:07:32.840] checking for library containing clock_gettime... no [22:07:32.927] checking for library containing shmget... no [22:07:33.014] checking for library containing backtrace_symbols... no [22:07:33.102] checking for library containing pthread_barrier_wait... -lpthread [22:07:33.195] checking for inflate in -lz... yes [22:07:33.241] checking for stdbool.h that conforms to C99... yes [22:07:33.287] checking for _Bool... yes [22:07:33.411] checking atomic.h usability... no [22:07:33.467] checking atomic.h presence... no [22:07:33.486] checking for atomic.h... no [22:07:33.490] checking copyfile.h usability... no [22:07:33.544] checking copyfile.h presence... no [22:07:33.563] checking for copyfile.h... no [22:07:33.567] checking execinfo.h usability... no [22:07:33.623] checking execinfo.h presence... no [22:07:33.642] checking for execinfo.h... no [22:07:33.645] checking getopt.h usability... yes [22:07:33.699] checking getopt.h presence... yes [22:07:33.714] checking for getopt.h... yes [22:07:33.720] checking ifaddrs.h usability... no [22:07:33.776] checking ifaddrs.h presence... no [22:07:33.795] checking for ifaddrs.h... no [22:07:33.799] checking mbarrier.h usability... no [22:07:33.856] checking mbarrier.h presence... no [22:07:33.874] checking for mbarrier.h... no [22:07:33.878] checking sys/epoll.h usability... no [22:07:33.932] checking sys/epoll.h presence... no [22:07:33.953] checking for sys/epoll.h... no [22:07:33.956] checking sys/event.h usability... no [22:07:34.010] checking sys/event.h presence... no [22:07:34.029] checking for sys/event.h... no [22:07:34.033] checking sys/personality.h usability... no [22:07:34.086] checking sys/personality.h presence... no [22:07:34.106] checking for sys/personality.h... no [22:07:34.110] checking sys/prctl.h usability... no [22:07:34.165] checking sys/prctl.h presence... no [22:07:34.184] checking for sys/prctl.h... no [22:07:34.188] checking sys/procctl.h usability... no [22:07:34.241] checking sys/procctl.h presence... no [22:07:34.259] checking for sys/procctl.h... no [22:07:34.262] checking sys/signalfd.h usability... no [22:07:34.317] checking sys/signalfd.h presence... no [22:07:34.337] checking for sys/signalfd.h... no [22:07:34.340] checking sys/ucred.h usability... no [22:07:34.395] checking sys/ucred.h presence... no [22:07:34.412] checking for sys/ucred.h... no [22:07:34.415] checking termios.h usability... no [22:07:34.471] checking termios.h presence... no [22:07:34.490] checking for termios.h... no [22:07:34.494] checking ucred.h usability... no [22:07:34.548] checking ucred.h presence... no [22:07:34.567] checking for ucred.h... no [22:07:34.570] checking xlocale.h usability... no [22:07:34.625] checking xlocale.h presence... no [22:07:34.645] checking for xlocale.h... no [22:07:34.647] checking zlib.h usability... yes [22:07:34.707] checking zlib.h presence... yes [22:07:34.725] checking for zlib.h... yes [22:07:34.726] checking for lz4... /usr/bin/lz4 [22:07:34.726] checking for zstd... /usr/bin/zstd [22:07:34.726] checking for openssl... /usr/bin/openssl [22:07:34.730] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:07:34.731] checking crtdefs.h usability... yes [22:07:34.785] checking crtdefs.h presence... yes [22:07:34.801] checking for crtdefs.h... yes [22:07:34.802] checking whether byte ordering is bigendian... no [22:07:34.907] checking for inline... inline [22:07:34.935] checking for printf format archetype... gnu_printf [22:07:34.970] checking for _Static_assert... yes [22:07:35.011] checking for typeof... typeof [22:07:35.044] checking for __builtin_types_compatible_p... yes [22:07:35.063] checking for __builtin_constant_p... yes [22:07:35.082] checking for __builtin_unreachable... yes [22:07:35.121] checking for computed goto support... yes [22:07:35.154] checking for struct tm.tm_zone... no [22:07:35.226] checking for union semun... no [22:07:35.257] checking for socklen_t... yes [22:07:37.442] checking for struct sockaddr.sa_len... no [22:07:39.439] checking for C/C++ restrict keyword... __restrict [22:07:39.460] checking for struct option... yes [22:07:39.528] checking whether assembler supports x86_64 popcntq... yes [22:07:39.544] checking size of off_t... 4 [22:07:39.862] 0 [22:07:39.862] checking size of bool... 1 [22:07:39.956] checking for int timezone... yes [22:07:40.007] checking for backtrace_symbols... no [22:07:40.056] checking for copyfile... no [22:07:40.106] checking for copy_file_range... no [22:07:40.157] checking for getifaddrs... no [22:07:40.208] checking for getpeerucred... no [22:07:40.258] checking for inet_pton... yes [22:07:40.309] checking for kqueue... no [22:07:40.360] checking for mbstowcs_l... no [22:07:40.409] checking for memset_s... no [22:07:40.459] checking for posix_fallocate... no [22:07:40.510] checking for ppoll... no [22:07:40.561] checking for pthread_is_threaded_np... no [22:07:40.612] checking for setproctitle... no [22:07:40.664] checking for setproctitle_fast... no [22:07:40.716] checking for strchrnul... no [22:07:40.770] checking for strsignal... no [22:07:40.823] checking for syncfs... no [22:07:40.875] checking for sync_file_range... no [22:07:40.927] checking for uselocale... no [22:07:40.978] checking for wcstombs_l... no [22:07:41.025] checking for __builtin_bswap16... yes [22:07:41.075] checking for __builtin_bswap32... yes [22:07:41.123] checking for __builtin_bswap64... yes [22:07:41.173] checking for __builtin_clz... yes [22:07:41.222] checking for __builtin_ctz... yes [22:07:41.270] checking for __builtin_popcount... yes [22:07:41.317] checking for __builtin_frame_address... yes [22:07:41.366] checking for _LARGEFILE_SOURCE value needed for large files... no [22:07:41.418] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:07:41.449] checking for posix_fadvise... no [22:07:41.501] checking whether posix_fadvise is declared... no [22:07:41.544] checking whether fdatasync is declared... no [22:07:41.589] checking whether strlcat is declared... no [22:07:41.652] checking whether strlcpy is declared... no [22:07:41.717] checking whether strnlen is declared... yes [22:07:41.783] checking whether strsep is declared... no [22:07:41.850] checking whether preadv is declared... no [22:07:41.888] checking whether pwritev is declared... no [22:07:41.926] checking whether F_FULLFSYNC is declared... no [22:07:41.966] checking for explicit_bzero... no [22:07:42.013] checking for getopt... yes [22:07:42.056] checking for getpeereid... no [22:07:42.104] checking for inet_aton... no [22:07:42.150] checking for mkdtemp... no [22:07:42.198] checking for strlcat... no [22:07:42.244] checking for strlcpy... no [22:07:42.292] checking for strnlen... yes [22:07:42.339] checking for strsep... no [22:07:42.388] checking for pthread_barrier_wait... yes [22:07:42.431] configure: On mingw32 we will use our strtof wrapper. [22:07:42.431] checking for getopt_long... yes [22:07:42.475] checking for _configthreadlocale... yes [22:07:42.520] checking for syslog... no [22:07:42.569] checking for opterr... yes [22:07:42.616] checking for optreset... no [22:07:42.668] checking test program... cross-compiling [22:07:42.668] checking whether long int is 64 bits... no [22:07:42.703] checking whether long long int is 64 bits... yes [22:07:42.741] checking for __builtin_mul_overflow... yes [22:07:42.785] checking size of void *... 8 [22:07:43.237] checking size of size_t... 8 [22:07:43.709] checking size of long... 4 [22:07:44.042] checking alignment of short... 2 [22:07:44.346] checking alignment of int... 4 [22:07:44.697] checking alignment of long... 4 [22:07:45.028] checking alignment of long long int... 8 [22:07:45.505] checking alignment of double... 8 [22:07:46.006] checking for __int128... yes [22:07:46.055] checking for __int128 alignment bug... assuming ok [22:07:46.055] checking alignment of PG_INT128_TYPE... 16 [22:07:46.605] checking for builtin __sync char locking functions... yes [22:07:46.648] checking for builtin __sync int32 locking functions... yes [22:07:46.692] checking for builtin __sync int32 atomic operations... yes [22:07:46.735] checking for builtin __sync int64 atomic operations... yes [22:07:46.777] checking for builtin __atomic int32 atomic operations... yes [22:07:46.820] checking for builtin __atomic int64 atomic operations... yes [22:07:46.863] checking for __get_cpuid... yes [22:07:46.911] checking for __get_cpuid_count... yes [22:07:46.956] checking for __cpuid... no [22:07:47.358] checking for __cpuidex... no [22:07:47.781] checking for _xgetbv... yes [22:07:48.186] checking for _mm512_popcnt_epi64... yes [22:07:48.605] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:07:48.652] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:07:48.743] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:07:48.766] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:07:48.785] 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:07:48.840] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:07:48.841] checking which random number source to use... Windows native [22:07:48.842] checking for xmllint... /usr/bin/xmllint [22:07:48.843] checking for xsltproc... /usr/bin/xsltproc [22:07:48.843] checking for fop... /usr/bin/fop [22:07:48.843] checking for dbtoepub... no [22:07:48.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:07:48.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:07:48.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:07:48.854] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:07:48.854] 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 [22:07:48.854] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:07:48.854] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:07:48.941] configure: creating ./config.status [22:07:49.023] config.status: creating GNUmakefile [22:07:49.035] config.status: creating src/Makefile.global [22:07:49.051] config.status: creating src/include/pg_config.h [22:07:49.063] config.status: creating src/include/pg_config_ext.h [22:07:49.075] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:07:49.089] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:07:49.096] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:07:49.103] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:07:49.109] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:07:49.116] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:07:49.119] config.status: executing check_win32_symlinks commands [22:07:49.151] [22:07:49.151] real 0m19.676s [22:07:49.151] user 0m13.042s [22:07:49.151] sys 0m6.181s [22:07:49.151] make -s -j${BUILD_JOBS} clean [22:07:49.663] time make -s -j${BUILD_JOBS} world-bin [22:09:40.666] datachecksumsworker.c: In function ‘ProcessDatabase’: [22:09:40.666] 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=] [22:09:40.666] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [22:09:40.666] | ~^ ~~~ [22:09:40.666] | | | [22:09:40.666] | int pid_t {aka long long int} [22:09:40.666] | %lld [22:09:40.666] cc1: all warnings being treated as errors [22:09:40.667] make[3]: *** [: datachecksumsworker.o] Error 1 [22:09:40.667] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [22:09:40.667] make[2]: *** Waiting for unfinished jobs.... [22:10:02.114] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:10:02.115] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:10:02.115] [22:10:02.115] real 2m12.452s [22:10:02.115] user 7m10.062s [22:10:02.115] sys 1m22.411s [22:10:02.115] [22:10:02.115] Exit status: 2