[07:19:45.759] time ./configure \ [07:19:45.759] --host=x86_64-w64-mingw32 \ [07:19:45.759] --enable-cassert \ [07:19:45.759] --without-icu \ [07:19:45.759] CC="ccache x86_64-w64-mingw32-gcc" \ [07:19:45.759] CXX="ccache x86_64-w64-mingw32-g++" [07:19:45.868] checking build system type... x86_64-pc-linux-gnu [07:19:46.068] checking host system type... x86_64-w64-mingw32 [07:19:46.073] checking which template to use... win32 [07:19:46.073] checking whether NLS is wanted... no [07:19:46.073] checking for default port number... 5432 [07:19:46.079] checking for block size... 8kB [07:19:46.080] checking for segment size... 1GB [07:19:46.083] checking for WAL block size... 8kB [07:19:46.084] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:19:46.116] checking whether the C compiler works... yes [07:19:46.267] checking for C compiler default output file name... a.exe [07:19:46.268] checking for suffix of executables... .exe [07:19:46.309] checking whether we are cross compiling... yes [07:19:46.388] checking for suffix of object files... o [07:19:46.405] checking whether we are using the GNU C compiler... yes [07:19:46.421] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:19:46.438] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:19:46.465] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:19:46.624] checking whether we are using the GNU C++ compiler... yes [07:19:46.777] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:19:46.907] checking for gawk... no [07:19:46.907] checking for mawk... mawk [07:19:46.909] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:19:46.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:19:46.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:19:47.022] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:19:47.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:19:47.083] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:19:47.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:19:47.130] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:19:47.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:19:47.172] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:19:47.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:19:47.214] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:19:47.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:19:47.248] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:19:47.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:19:47.316] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:19:47.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:19:47.387] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:19:47.404] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:19:47.437] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:19:47.469] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:19:47.503] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:19:47.536] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:19:47.561] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:19:47.578] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:19:47.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:19:47.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:19:47.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:19:47.720] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:19:47.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:19:47.770] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:19:47.786] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:19:47.802] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:19:47.835] checking whether the C compiler still works... yes [07:19:47.909] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:19:47.979] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:19:47.980] checking pkg-config is at least version 0.9.0... yes [07:19:47.995] checking whether to build with ICU support... no [07:19:47.996] checking whether to build with Tcl... no [07:19:47.996] checking whether to build Perl modules... no [07:19:47.996] checking whether to build Python modules... no [07:19:47.996] checking whether to build with GSSAPI support... no [07:19:47.997] checking whether to build with PAM support... no [07:19:47.997] checking whether to build with BSD Authentication support... no [07:19:47.997] checking whether to build with LDAP support... no [07:19:47.998] checking whether to build with Bonjour support... no [07:19:47.998] checking whether to build with SELinux support... no [07:19:47.998] checking whether to build with systemd support... no [07:19:47.998] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:19:47.998] checking whether to build with XML support... no [07:19:47.998] checking whether to build with LZ4 support... no [07:19:47.998] checking whether to build with ZSTD support... no [07:19:47.999] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:19:47.999] checking whether it is possible to strip libraries... yes [07:19:48.006] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:19:48.006] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:19:48.007] checking for a BSD-compatible install... /usr/bin/install -c [07:19:48.016] checking for tar... /usr/bin/tar [07:19:48.016] checking whether ln -s works... yes [07:19:48.016] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:19:48.018] checking for bison... /usr/bin/bison [07:19:48.021] configure: using bison (GNU Bison) 3.8.2 [07:19:48.023] checking for flex... /usr/bin/flex [07:19:48.035] configure: using flex 2.6.4 [07:19:48.035] checking for perl... /usr/bin/perl [07:19:48.038] configure: using perl 5.36.0 [07:19:48.040] checking for zic... /usr/sbin/zic [07:19:48.041] checking for a sed that does not truncate output... /usr/bin/sed [07:19:48.046] checking for grep that handles long lines and -e... /usr/bin/grep [07:19:48.048] checking for egrep... /usr/bin/grep -E [07:19:48.050] checking for ANSI C header files... yes [07:19:48.140] checking for sys/types.h... yes [07:19:48.176] checking for sys/stat.h... yes [07:19:48.212] checking for stdlib.h... yes [07:19:48.273] checking for string.h... yes [07:19:48.308] checking for memory.h... yes [07:19:48.371] checking for strings.h... yes [07:19:48.432] checking for inttypes.h... yes [07:19:48.496] checking for stdint.h... yes [07:19:48.560] checking for unistd.h... yes [07:19:48.602] checking for main in -lm... yes [07:19:48.653] checking for library containing setproctitle... no [07:19:48.745] checking for library containing dlsym... no [07:19:48.837] checking for library containing socket... -lws2_32 [07:19:48.974] checking for library containing getopt_long... none required [07:19:49.023] checking for library containing shm_open... no [07:19:49.115] checking for library containing shm_unlink... no [07:19:49.209] checking for library containing clock_gettime... no [07:19:49.304] checking for library containing shmget... no [07:19:49.394] checking for library containing backtrace_symbols... no [07:19:49.480] checking for library containing pthread_barrier_wait... -lpthread [07:19:49.568] checking for inflate in -lz... yes [07:19:49.615] checking atomic.h usability... no [07:19:49.670] checking atomic.h presence... no [07:19:49.691] checking for atomic.h... no [07:19:49.694] checking copyfile.h usability... no [07:19:49.749] checking copyfile.h presence... no [07:19:49.768] checking for copyfile.h... no [07:19:49.771] checking execinfo.h usability... no [07:19:49.826] checking execinfo.h presence... no [07:19:49.845] checking for execinfo.h... no [07:19:49.848] checking getopt.h usability... yes [07:19:49.902] checking getopt.h presence... yes [07:19:49.918] checking for getopt.h... yes [07:19:49.926] checking ifaddrs.h usability... no [07:19:49.983] checking ifaddrs.h presence... no [07:19:50.003] checking for ifaddrs.h... no [07:19:50.006] checking mbarrier.h usability... no [07:19:50.064] checking mbarrier.h presence... no [07:19:50.084] checking for mbarrier.h... no [07:19:50.087] checking sys/epoll.h usability... no [07:19:50.144] checking sys/epoll.h presence... no [07:19:50.163] checking for sys/epoll.h... no [07:19:50.166] checking sys/event.h usability... no [07:19:50.221] checking sys/event.h presence... no [07:19:50.241] checking for sys/event.h... no [07:19:50.244] checking sys/personality.h usability... no [07:19:50.300] checking sys/personality.h presence... no [07:19:50.319] checking for sys/personality.h... no [07:19:50.322] checking sys/prctl.h usability... no [07:19:50.376] checking sys/prctl.h presence... no [07:19:50.395] checking for sys/prctl.h... no [07:19:50.398] checking sys/procctl.h usability... no [07:19:50.454] checking sys/procctl.h presence... no [07:19:50.474] checking for sys/procctl.h... no [07:19:50.478] checking sys/signalfd.h usability... no [07:19:50.535] checking sys/signalfd.h presence... no [07:19:50.555] checking for sys/signalfd.h... no [07:19:50.558] checking sys/ucred.h usability... no [07:19:50.616] checking sys/ucred.h presence... no [07:19:50.635] checking for sys/ucred.h... no [07:19:50.639] checking termios.h usability... no [07:19:50.694] checking termios.h presence... no [07:19:50.713] checking for termios.h... no [07:19:50.716] checking ucred.h usability... no [07:19:50.771] checking ucred.h presence... no [07:19:50.790] checking for ucred.h... no [07:19:50.793] checking xlocale.h usability... no [07:19:50.848] checking xlocale.h presence... no [07:19:50.867] checking for xlocale.h... no [07:19:50.869] checking zlib.h usability... yes [07:19:50.902] checking zlib.h presence... yes [07:19:50.922] checking for zlib.h... yes [07:19:50.922] checking for lz4... /usr/bin/lz4 [07:19:50.923] checking for zstd... /usr/bin/zstd [07:19:50.923] checking for openssl... /usr/bin/openssl [07:19:50.927] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:19:50.928] checking crtdefs.h usability... yes [07:19:50.983] checking crtdefs.h presence... yes [07:19:50.999] checking for crtdefs.h... yes [07:19:51.000] checking whether byte ordering is bigendian... no [07:19:51.103] checking for inline... inline [07:19:51.119] checking for printf format archetype... gnu_printf [07:19:51.153] checking for _Static_assert... yes [07:19:51.194] checking for typeof... typeof [07:19:51.227] checking for __builtin_types_compatible_p... yes [07:19:51.265] checking for __builtin_constant_p... yes [07:19:51.276] checking for __builtin_mul_overflow... yes [07:19:51.324] checking for __builtin_unreachable... yes [07:19:51.366] checking for computed goto support... yes [07:19:51.400] checking for struct tm.tm_zone... no [07:19:51.479] checking for union semun... no [07:19:51.514] checking for socklen_t... yes [07:19:53.139] checking for struct sockaddr.sa_len... no [07:19:55.207] checking for C/C++ restrict keyword... __restrict [07:19:55.249] checking for struct option... yes [07:19:55.301] checking whether assembler supports x86_64 popcntq... yes [07:19:55.335] checking size of off_t... 4 [07:19:55.694] 0 [07:19:55.695] checking for int timezone... yes [07:19:55.745] checking for backtrace_symbols... no [07:19:55.794] checking for copyfile... no [07:19:55.843] checking for copy_file_range... no [07:19:55.893] checking for elf_aux_info... no [07:19:55.945] checking for getauxval... no [07:19:55.996] checking for getifaddrs... no [07:19:56.049] checking for getpeerucred... no [07:19:56.100] checking for inet_pton... yes [07:19:56.152] checking for kqueue... no [07:19:56.204] checking for mbstowcs_l... no [07:19:56.255] checking for memset_s... no [07:19:56.306] checking for posix_fallocate... no [07:19:56.357] checking for ppoll... no [07:19:56.408] checking for pthread_is_threaded_np... no [07:19:56.459] checking for setproctitle... no [07:19:56.509] checking for setproctitle_fast... no [07:19:56.560] checking for strchrnul... no [07:19:56.610] checking for strsignal... no [07:19:56.660] checking for syncfs... no [07:19:56.709] checking for sync_file_range... no [07:19:56.759] checking for uselocale... no [07:19:56.813] checking for wcstombs_l... no [07:19:56.861] checking for __builtin_bswap16... yes [07:19:56.910] checking for __builtin_bswap32... yes [07:19:56.957] checking for __builtin_bswap64... yes [07:19:57.004] checking for __builtin_clz... yes [07:19:57.052] checking for __builtin_ctz... yes [07:19:57.099] checking for __builtin_popcount... yes [07:19:57.148] checking for __builtin_frame_address... yes [07:19:57.196] checking for _LARGEFILE_SOURCE value needed for large files... no [07:19:57.247] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:19:57.278] checking for posix_fadvise... no [07:19:57.331] checking whether posix_fadvise is declared... no [07:19:57.379] checking whether fdatasync is declared... no [07:19:57.427] checking whether strlcat is declared... no [07:19:57.496] checking whether strlcpy is declared... no [07:19:57.562] checking whether strnlen is declared... yes [07:19:57.630] checking whether strsep is declared... no [07:19:57.694] checking whether preadv is declared... no [07:19:57.731] checking whether pwritev is declared... no [07:19:57.768] checking whether F_FULLFSYNC is declared... no [07:19:57.808] checking for explicit_bzero... no [07:19:57.855] checking for getopt... yes [07:19:57.900] checking for getpeereid... no [07:19:57.947] checking for inet_aton... no [07:19:57.996] checking for mkdtemp... no [07:19:58.044] checking for strlcat... no [07:19:58.092] checking for strlcpy... no [07:19:58.139] checking for strnlen... yes [07:19:58.186] checking for strsep... no [07:19:58.233] checking for pthread_barrier_wait... yes [07:19:58.276] configure: On mingw32 we will use our strtof wrapper. [07:19:58.276] checking for getopt_long... yes [07:19:58.320] checking for syslog... no [07:19:58.367] checking for opterr... yes [07:19:58.416] checking for optreset... no [07:19:58.467] checking test program... cross-compiling [07:19:58.467] checking size of void *... 8 [07:19:58.986] checking size of size_t... 8 [07:19:59.414] checking size of long... 4 [07:19:59.796] checking size of long long... 8 [07:20:00.281] checking alignment of short... 2 [07:20:00.528] checking alignment of int... 4 [07:20:00.879] checking alignment of long... 4 [07:20:01.265] checking alignment of int64_t... 8 [07:20:01.763] checking alignment of double... 8 [07:20:02.219] checking for __int128... yes [07:20:02.265] checking for __int128 alignment bug... assuming ok [07:20:02.265] checking alignment of PG_INT128_TYPE... 16 [07:20:02.804] checking for builtin __sync char locking functions... yes [07:20:02.846] checking for builtin __sync int32 locking functions... yes [07:20:02.889] checking for builtin __sync int32 atomic operations... yes [07:20:02.931] checking for builtin __sync int64 atomic operations... yes [07:20:02.975] checking for builtin __atomic int32 atomic operations... yes [07:20:03.016] checking for builtin __atomic int64 atomic operations... yes [07:20:03.059] checking for __get_cpuid... yes [07:20:03.104] checking for __get_cpuid_count... yes [07:20:03.148] checking for __cpuid... no [07:20:03.539] checking for __cpuidex... no [07:20:03.955] checking for _xgetbv... yes [07:20:04.355] checking for _mm512_popcnt_epi64... yes [07:20:04.776] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:20:04.876] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:20:04.898] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:20:04.917] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:20:04.935] 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 [07:20:04.989] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:20:04.990] checking which random number source to use... Windows native [07:20:04.991] checking for xmllint... /usr/bin/xmllint [07:20:04.992] checking for xsltproc... /usr/bin/xsltproc [07:20:04.992] checking for fop... /usr/bin/fop [07:20:04.992] checking for dbtoepub... no [07:20:04.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:20:04.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:20:04.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:20:05.003] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:20:05.003] 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 [07:20:05.003] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:20:05.003] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:20:05.080] configure: creating ./config.status [07:20:05.161] config.status: creating GNUmakefile [07:20:05.172] config.status: creating src/Makefile.global [07:20:05.186] config.status: creating src/include/pg_config.h [07:20:05.197] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:20:05.211] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:20:05.217] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:20:05.224] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:20:05.230] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:20:05.237] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:20:05.240] config.status: executing check_win32_symlinks commands [07:20:05.271] [07:20:05.271] real 0m19.511s [07:20:05.271] user 0m12.893s [07:20:05.271] sys 0m6.169s [07:20:05.271] make -s -j${BUILD_JOBS} clean [07:20:05.780] time make -s -j${BUILD_JOBS} world-bin [07:21:57.663] datachecksumsworker.c: In function ‘ProcessDatabase’: [07:21:57.663] 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=] [07:21:57.663] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [07:21:57.663] | ~^ ~~~ [07:21:57.663] | | | [07:21:57.663] | int pid_t {aka long long int} [07:21:57.663] | %lld [07:21:57.663] cc1: all warnings being treated as errors [07:21:57.664] make[3]: *** [: datachecksumsworker.o] Error 1 [07:21:57.664] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [07:21:57.664] make[2]: *** Waiting for unfinished jobs.... [07:22:17.339] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:22:17.339] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:22:17.339] [07:22:17.339] real 2m11.559s [07:22:17.339] user 7m10.465s [07:22:17.339] sys 1m20.497s [07:22:17.339] [07:22:17.339] Exit status: 2