[13:38:51.338] time ./configure \ [13:38:51.338] --host=x86_64-w64-mingw32 \ [13:38:51.338] --enable-cassert \ [13:38:51.338] --without-icu \ [13:38:51.338] CC="ccache x86_64-w64-mingw32-gcc" \ [13:38:51.338] CXX="ccache x86_64-w64-mingw32-g++" [13:38:51.464] checking build system type... x86_64-pc-linux-gnu [13:38:51.689] checking host system type... x86_64-w64-mingw32 [13:38:51.695] checking which template to use... win32 [13:38:51.695] checking whether NLS is wanted... no [13:38:51.695] checking for default port number... 5432 [13:38:51.703] checking for block size... 8kB [13:38:51.704] checking for segment size... 1GB [13:38:51.707] checking for WAL block size... 8kB [13:38:51.708] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:38:51.743] checking whether the C compiler works... yes [13:38:51.903] checking for C compiler default output file name... a.exe [13:38:51.905] checking for suffix of executables... .exe [13:38:51.951] checking whether we are cross compiling... yes [13:38:52.039] checking for suffix of object files... o [13:38:52.058] checking whether we are using the GNU C compiler... yes [13:38:52.067] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:38:52.104] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:38:52.191] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:38:52.326] checking whether we are using the GNU C++ compiler... yes [13:38:52.332] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:38:52.610] checking for gawk... no [13:38:52.611] checking for mawk... mawk [13:38:52.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:38:52.648] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:38:52.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:38:52.725] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:38:52.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:38:52.784] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:38:52.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:38:52.852] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:38:52.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:38:52.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:38:52.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:38:52.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:38:52.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:38:52.960] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:38:52.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:38:53.030] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:38:53.038] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:38:53.075] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:38:53.091] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:38:53.122] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:38:53.154] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:38:53.185] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:38:53.216] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:38:53.239] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:38:53.254] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:38:53.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:38:53.304] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:38:53.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:38:53.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:38:53.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:38:53.411] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:38:53.426] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:38:53.458] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:38:53.466] checking whether the C compiler still works... yes [13:38:53.539] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:38:53.603] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:38:53.603] checking pkg-config is at least version 0.9.0... yes [13:38:53.621] checking whether to build with ICU support... no [13:38:53.621] checking whether to build with Tcl... no [13:38:53.622] checking whether to build Perl modules... no [13:38:53.622] checking whether to build Python modules... no [13:38:53.622] checking whether to build with GSSAPI support... no [13:38:53.623] checking whether to build with PAM support... no [13:38:53.623] checking whether to build with BSD Authentication support... no [13:38:53.623] checking whether to build with LDAP support... no [13:38:53.623] checking whether to build with Bonjour support... no [13:38:53.623] checking whether to build with SELinux support... no [13:38:53.623] checking whether to build with systemd support... no [13:38:53.623] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:38:53.623] checking whether to build with XML support... no [13:38:53.624] checking whether to build with LZ4 support... no [13:38:53.624] checking whether to build with ZSTD support... no [13:38:53.624] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:38:53.625] checking whether it is possible to strip libraries... yes [13:38:53.634] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:38:53.634] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:38:53.635] checking for a BSD-compatible install... /usr/bin/install -c [13:38:53.643] checking for tar... /usr/bin/tar [13:38:53.643] checking whether ln -s works... yes [13:38:53.643] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:38:53.645] checking for bison... /usr/bin/bison [13:38:53.647] configure: using bison (GNU Bison) 3.8.2 [13:38:53.650] checking for flex... /usr/bin/flex [13:38:53.661] configure: using flex 2.6.4 [13:38:53.661] checking for perl... /usr/bin/perl [13:38:53.664] configure: using perl 5.36.0 [13:38:53.666] checking for zic... /usr/sbin/zic [13:38:53.666] checking for a sed that does not truncate output... /usr/bin/sed [13:38:53.671] checking for grep that handles long lines and -e... /usr/bin/grep [13:38:53.673] checking for egrep... /usr/bin/grep -E [13:38:53.674] checking for ANSI C header files... yes [13:38:53.734] checking for sys/types.h... yes [13:38:53.791] checking for sys/stat.h... yes [13:38:53.855] checking for stdlib.h... yes [13:38:53.889] checking for string.h... yes [13:38:53.903] checking for memory.h... yes [13:38:53.967] checking for strings.h... yes [13:38:54.005] checking for inttypes.h... yes [13:38:54.075] checking for stdint.h... yes [13:38:54.112] checking for unistd.h... yes [13:38:54.178] checking for main in -lm... yes [13:38:54.228] checking for library containing setproctitle... no [13:38:54.320] checking for library containing dlsym... no [13:38:54.408] checking for library containing socket... -lws2_32 [13:38:54.535] checking for library containing getopt_long... none required [13:38:54.579] checking for library containing shm_open... no [13:38:54.666] checking for library containing shm_unlink... no [13:38:54.751] checking for library containing clock_gettime... no [13:38:54.836] checking for library containing shmget... no [13:38:54.922] checking for library containing backtrace_symbols... no [13:38:55.008] checking for library containing pthread_barrier_wait... -lpthread [13:38:55.093] checking for inflate in -lz... yes [13:38:55.141] checking atomic.h usability... no [13:38:55.195] checking atomic.h presence... no [13:38:55.214] checking for atomic.h... no [13:38:55.217] checking copyfile.h usability... no [13:38:55.274] checking copyfile.h presence... no [13:38:55.293] checking for copyfile.h... no [13:38:55.296] checking execinfo.h usability... no [13:38:55.349] checking execinfo.h presence... no [13:38:55.367] checking for execinfo.h... no [13:38:55.370] checking getopt.h usability... yes [13:38:55.424] checking getopt.h presence... yes [13:38:55.439] checking for getopt.h... yes [13:38:55.445] checking ifaddrs.h usability... no [13:38:55.498] checking ifaddrs.h presence... no [13:38:55.516] checking for ifaddrs.h... no [13:38:55.519] checking mbarrier.h usability... no [13:38:55.570] checking mbarrier.h presence... no [13:38:55.588] checking for mbarrier.h... no [13:38:55.590] checking sys/epoll.h usability... no [13:38:55.645] checking sys/epoll.h presence... no [13:38:55.663] checking for sys/epoll.h... no [13:38:55.666] checking sys/event.h usability... no [13:38:55.719] checking sys/event.h presence... no [13:38:55.737] checking for sys/event.h... no [13:38:55.740] checking sys/personality.h usability... no [13:38:55.793] checking sys/personality.h presence... no [13:38:55.810] checking for sys/personality.h... no [13:38:55.813] checking sys/prctl.h usability... no [13:38:55.866] checking sys/prctl.h presence... no [13:38:55.884] checking for sys/prctl.h... no [13:38:55.887] checking sys/procctl.h usability... no [13:38:55.942] checking sys/procctl.h presence... no [13:38:55.961] checking for sys/procctl.h... no [13:38:55.964] checking sys/signalfd.h usability... no [13:38:56.019] checking sys/signalfd.h presence... no [13:38:56.038] checking for sys/signalfd.h... no [13:38:56.041] checking sys/ucred.h usability... no [13:38:56.094] checking sys/ucred.h presence... no [13:38:56.112] checking for sys/ucred.h... no [13:38:56.116] checking termios.h usability... no [13:38:56.168] checking termios.h presence... no [13:38:56.186] checking for termios.h... no [13:38:56.189] checking ucred.h usability... no [13:38:56.241] checking ucred.h presence... no [13:38:56.258] checking for ucred.h... no [13:38:56.261] checking xlocale.h usability... no [13:38:56.313] checking xlocale.h presence... no [13:38:56.331] checking for xlocale.h... no [13:38:56.333] checking zlib.h usability... yes [13:38:56.390] checking zlib.h presence... yes [13:38:56.407] checking for zlib.h... yes [13:38:56.407] checking for lz4... /usr/bin/lz4 [13:38:56.408] checking for zstd... /usr/bin/zstd [13:38:56.408] checking for openssl... /usr/bin/openssl [13:38:56.412] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:38:56.412] checking crtdefs.h usability... yes [13:38:56.464] checking crtdefs.h presence... yes [13:38:56.479] checking for crtdefs.h... yes [13:38:56.480] checking whether byte ordering is bigendian... no [13:38:56.580] checking for inline... inline [13:38:56.588] checking for printf format archetype... gnu_printf [13:38:56.625] checking for _Static_assert... yes [13:38:56.666] checking for typeof... typeof [13:38:56.703] checking for __builtin_types_compatible_p... yes [13:38:56.744] checking for __builtin_constant_p... yes [13:38:56.763] checking for __builtin_mul_overflow... yes [13:38:56.810] checking for __builtin_unreachable... yes [13:38:56.853] checking for computed goto support... yes [13:38:56.889] checking for struct tm.tm_zone... no [13:38:56.974] checking for union semun... no [13:38:57.011] checking for socklen_t... yes [13:38:58.501] checking for struct sockaddr.sa_len... no [13:39:00.543] checking for C/C++ restrict keyword... __restrict [13:39:00.585] checking for struct option... yes [13:39:00.661] checking whether assembler supports x86_64 popcntq... yes [13:39:00.696] checking size of off_t... 4 [13:39:01.132] 0 [13:39:01.132] checking for int timezone... yes [13:39:01.188] checking for backtrace_symbols... no [13:39:01.243] checking for copyfile... no [13:39:01.294] checking for copy_file_range... no [13:39:01.345] checking for elf_aux_info... no [13:39:01.398] checking for getauxval... no [13:39:01.449] checking for getifaddrs... no [13:39:01.498] checking for getpeerucred... no [13:39:01.551] checking for inet_pton... yes [13:39:01.603] checking for kqueue... no [13:39:01.654] checking for mbstowcs_l... no [13:39:01.709] checking for memset_s... no [13:39:01.763] checking for posix_fallocate... no [13:39:01.815] checking for ppoll... no [13:39:01.871] checking for pthread_is_threaded_np... no [13:39:01.927] checking for setproctitle... no [13:39:01.980] checking for setproctitle_fast... no [13:39:02.034] checking for strchrnul... no [13:39:02.087] checking for strsignal... no [13:39:02.138] checking for syncfs... no [13:39:02.190] checking for sync_file_range... no [13:39:02.242] checking for uselocale... no [13:39:02.294] checking for wcstombs_l... no [13:39:02.342] checking for __builtin_bswap16... yes [13:39:02.392] checking for __builtin_bswap32... yes [13:39:02.440] checking for __builtin_bswap64... yes [13:39:02.488] checking for __builtin_clz... yes [13:39:02.535] checking for __builtin_ctz... yes [13:39:02.582] checking for __builtin_popcount... yes [13:39:02.628] checking for __builtin_frame_address... yes [13:39:02.674] checking for _LARGEFILE_SOURCE value needed for large files... no [13:39:02.723] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:39:02.754] checking for posix_fadvise... no [13:39:02.803] checking whether posix_fadvise is declared... no [13:39:02.848] checking whether fdatasync is declared... no [13:39:02.892] checking whether strlcat is declared... no [13:39:02.952] checking whether strlcpy is declared... no [13:39:03.013] checking whether strnlen is declared... yes [13:39:03.046] checking whether strsep is declared... no [13:39:03.108] checking whether preadv is declared... no [13:39:03.143] checking whether pwritev is declared... no [13:39:03.179] checking whether F_FULLFSYNC is declared... no [13:39:03.217] checking for explicit_bzero... no [13:39:03.266] checking for getopt... yes [13:39:03.311] checking for getpeereid... no [13:39:03.361] checking for inet_aton... no [13:39:03.410] checking for mkdtemp... no [13:39:03.460] checking for strlcat... no [13:39:03.510] checking for strlcpy... no [13:39:03.559] checking for strnlen... yes [13:39:03.610] checking for strsep... no [13:39:03.659] checking for pthread_barrier_wait... yes [13:39:03.705] configure: On mingw32 we will use our strtof wrapper. [13:39:03.705] checking for getopt_long... yes [13:39:03.752] checking for syslog... no [13:39:03.804] checking for opterr... yes [13:39:03.854] checking for optreset... no [13:39:03.909] checking test program... cross-compiling [13:39:03.910] checking size of void *... 8 [13:39:04.438] checking size of size_t... 8 [13:39:04.968] checking size of long... 4 [13:39:05.268] checking size of long long... 8 [13:39:05.676] checking alignment of short... 2 [13:39:05.901] checking alignment of int... 4 [13:39:06.248] checking alignment of long... 4 [13:39:06.633] checking alignment of int64_t... 8 [13:39:07.084] checking alignment of double... 8 [13:39:07.504] checking for __int128... yes [13:39:07.553] checking for __int128 alignment bug... assuming ok [13:39:07.553] checking alignment of PG_INT128_TYPE... 16 [13:39:08.132] checking for builtin __sync char locking functions... yes [13:39:08.176] checking for builtin __sync int32 locking functions... yes [13:39:08.221] checking for builtin __sync int32 atomic operations... yes [13:39:08.266] checking for builtin __sync int64 atomic operations... yes [13:39:08.313] checking for builtin __atomic int32 atomic operations... yes [13:39:08.361] checking for builtin __atomic int64 atomic operations... yes [13:39:08.408] checking for __get_cpuid... yes [13:39:08.456] checking for __get_cpuid_count... yes [13:39:08.507] checking for __cpuid... no [13:39:08.923] checking for __cpuidex... no [13:39:09.356] checking for _xgetbv... yes [13:39:09.767] checking for _mm512_popcnt_epi64... yes [13:39:10.191] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:39:10.295] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:39:10.319] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:39:10.338] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:39:10.357] 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 [13:39:10.413] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:39:10.413] checking which random number source to use... Windows native [13:39:10.415] checking for xmllint... /usr/bin/xmllint [13:39:10.415] checking for xsltproc... /usr/bin/xsltproc [13:39:10.416] checking for fop... /usr/bin/fop [13:39:10.416] checking for dbtoepub... no [13:39:10.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:39:10.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:39:10.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:39:10.428] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:39:10.428] 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 [13:39:10.428] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:39:10.428] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:39:10.520] configure: creating ./config.status [13:39:10.609] config.status: creating GNUmakefile [13:39:10.622] config.status: creating src/Makefile.global [13:39:10.639] config.status: creating src/include/pg_config.h [13:39:10.652] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:39:10.668] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:39:10.675] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:39:10.683] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:39:10.691] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:39:10.698] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:39:10.701] config.status: executing check_win32_symlinks commands [13:39:10.735] [13:39:10.735] real 0m19.397s [13:39:10.735] user 0m12.473s [13:39:10.735] sys 0m6.428s [13:39:10.735] make -s -j${BUILD_JOBS} clean [13:39:11.258] time make -s -j${BUILD_JOBS} world-bin [13:40:56.626] datachecksumsworker.c: In function ‘ProcessDatabase’: [13:40:56.626] 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=] [13:40:56.626] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [13:40:56.626] | ~^ ~~~ [13:40:56.626] | | | [13:40:56.626] | int pid_t {aka long long int} [13:40:56.626] | %lld [13:40:56.626] cc1: all warnings being treated as errors [13:40:56.626] make[3]: *** [: datachecksumsworker.o] Error 1 [13:40:56.626] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [13:40:56.626] make[2]: *** Waiting for unfinished jobs.... [13:41:18.413] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:41:18.414] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:41:18.414] [13:41:18.414] real 2m7.156s [13:41:18.414] user 6m54.040s [13:41:18.414] sys 1m17.749s [13:41:18.414] [13:41:18.414] Exit status: 2