[19:14:19.106] time ./configure \ [19:14:19.106] --host=x86_64-w64-mingw32 \ [19:14:19.106] --enable-cassert \ [19:14:19.106] --without-icu \ [19:14:19.106] CC="ccache x86_64-w64-mingw32-gcc" \ [19:14:19.106] CXX="ccache x86_64-w64-mingw32-g++" [19:14:19.213] checking build system type... x86_64-pc-linux-gnu [19:14:19.408] checking host system type... x86_64-w64-mingw32 [19:14:19.413] checking which template to use... win32 [19:14:19.413] checking whether NLS is wanted... no [19:14:19.413] checking for default port number... 5432 [19:14:19.419] checking for block size... 8kB [19:14:19.421] checking for segment size... 1GB [19:14:19.423] checking for WAL block size... 8kB [19:14:19.424] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:14:19.454] checking whether the C compiler works... yes [19:14:19.585] checking for C compiler default output file name... a.exe [19:14:19.586] checking for suffix of executables... .exe [19:14:19.625] checking whether we are cross compiling... yes [19:14:19.698] checking for suffix of object files... o [19:14:19.714] checking whether we are using the GNU C compiler... yes [19:14:19.720] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:14:19.735] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:14:19.759] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:14:19.813] checking whether we are using the GNU C++ compiler... yes [19:14:19.819] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:14:20.071] checking for gawk... no [19:14:20.071] checking for mawk... mawk [19:14:20.073] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:14:20.079] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:14:20.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:14:20.151] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:14:20.192] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:14:20.198] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:14:20.228] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:14:20.257] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:14:20.272] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:14:20.300] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:14:20.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:14:20.330] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:14:20.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:14:20.358] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:14:20.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:14:20.378] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:14:20.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:14:20.428] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:14:20.443] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:14:20.474] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:14:20.480] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:14:20.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:14:20.517] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:14:20.539] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:14:20.568] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:14:20.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:14:20.610] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:14:20.646] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:14:20.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:14:20.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:14:20.699] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:14:20.729] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:14:20.736] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:14:20.766] checking whether the C compiler still works... yes [19:14:20.828] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:14:20.893] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:14:20.893] checking pkg-config is at least version 0.9.0... yes [19:14:20.909] checking whether to build with ICU support... no [19:14:20.909] checking whether to build with Tcl... no [19:14:20.909] checking whether to build Perl modules... no [19:14:20.909] checking whether to build Python modules... no [19:14:20.909] checking whether to build with GSSAPI support... no [19:14:20.911] checking whether to build with PAM support... no [19:14:20.911] checking whether to build with BSD Authentication support... no [19:14:20.911] checking whether to build with LDAP support... no [19:14:20.911] checking whether to build with Bonjour support... no [19:14:20.911] checking whether to build with SELinux support... no [19:14:20.911] checking whether to build with systemd support... no [19:14:20.911] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:14:20.911] checking whether to build with XML support... no [19:14:20.911] checking whether to build with LZ4 support... no [19:14:20.912] checking whether to build with ZSTD support... no [19:14:20.912] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:14:20.912] checking whether it is possible to strip libraries... yes [19:14:20.919] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:14:20.919] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:14:20.920] checking for a BSD-compatible install... /usr/bin/install -c [19:14:20.929] checking for tar... /usr/bin/tar [19:14:20.929] checking whether ln -s works... yes [19:14:20.929] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:14:20.931] checking for bison... /usr/bin/bison [19:14:20.934] configure: using bison (GNU Bison) 3.8.2 [19:14:20.936] checking for flex... /usr/bin/flex [19:14:20.948] configure: using flex 2.6.4 [19:14:20.948] checking for perl... /usr/bin/perl [19:14:20.951] configure: using perl 5.36.0 [19:14:20.953] checking for zic... /usr/sbin/zic [19:14:20.953] checking for a sed that does not truncate output... /usr/bin/sed [19:14:20.958] checking for grep that handles long lines and -e... /usr/bin/grep [19:14:20.960] checking for egrep... /usr/bin/grep -E [19:14:20.962] checking for ANSI C header files... yes [19:14:21.048] checking for sys/types.h... yes [19:14:21.064] checking for sys/stat.h... yes [19:14:21.099] checking for stdlib.h... yes [19:14:21.156] checking for string.h... yes [19:14:21.169] checking for memory.h... yes [19:14:21.183] checking for strings.h... yes [19:14:21.197] checking for inttypes.h... yes [19:14:21.233] checking for stdint.h... yes [19:14:21.292] checking for unistd.h... yes [19:14:21.330] checking for main in -lm... yes [19:14:21.375] checking for library containing setproctitle... no [19:14:21.464] checking for library containing dlsym... no [19:14:21.547] checking for library containing socket... -lws2_32 [19:14:21.669] checking for library containing getopt_long... none required [19:14:21.713] checking for library containing shm_open... no [19:14:21.796] checking for library containing shm_unlink... no [19:14:21.879] checking for library containing clock_gettime... no [19:14:21.960] checking for library containing shmget... no [19:14:22.042] checking for library containing backtrace_symbols... no [19:14:22.125] checking for library containing pthread_barrier_wait... -lpthread [19:14:22.209] checking for inflate in -lz... yes [19:14:22.251] checking for stdbool.h that conforms to C99... yes [19:14:22.297] checking for _Bool... yes [19:14:22.413] checking atomic.h usability... no [19:14:22.464] checking atomic.h presence... no [19:14:22.481] checking for atomic.h... no [19:14:22.484] checking copyfile.h usability... no [19:14:22.534] checking copyfile.h presence... no [19:14:22.551] checking for copyfile.h... no [19:14:22.554] checking execinfo.h usability... no [19:14:22.604] checking execinfo.h presence... no [19:14:22.621] checking for execinfo.h... no [19:14:22.624] checking getopt.h usability... yes [19:14:22.675] checking getopt.h presence... yes [19:14:22.688] checking for getopt.h... yes [19:14:22.695] checking ifaddrs.h usability... no [19:14:22.745] checking ifaddrs.h presence... no [19:14:22.762] checking for ifaddrs.h... no [19:14:22.764] checking mbarrier.h usability... no [19:14:22.815] checking mbarrier.h presence... no [19:14:22.832] checking for mbarrier.h... no [19:14:22.835] checking sys/epoll.h usability... no [19:14:22.885] checking sys/epoll.h presence... no [19:14:22.902] checking for sys/epoll.h... no [19:14:22.905] checking sys/event.h usability... no [19:14:22.956] checking sys/event.h presence... no [19:14:22.974] checking for sys/event.h... no [19:14:22.977] checking sys/personality.h usability... no [19:14:23.027] checking sys/personality.h presence... no [19:14:23.044] checking for sys/personality.h... no [19:14:23.047] checking sys/prctl.h usability... no [19:14:23.098] checking sys/prctl.h presence... no [19:14:23.116] checking for sys/prctl.h... no [19:14:23.120] checking sys/procctl.h usability... no [19:14:23.173] checking sys/procctl.h presence... no [19:14:23.192] checking for sys/procctl.h... no [19:14:23.195] checking sys/signalfd.h usability... no [19:14:23.247] checking sys/signalfd.h presence... no [19:14:23.264] checking for sys/signalfd.h... no [19:14:23.267] checking sys/ucred.h usability... no [19:14:23.317] checking sys/ucred.h presence... no [19:14:23.334] checking for sys/ucred.h... no [19:14:23.337] checking termios.h usability... no [19:14:23.387] checking termios.h presence... no [19:14:23.404] checking for termios.h... no [19:14:23.407] checking ucred.h usability... no [19:14:23.458] checking ucred.h presence... no [19:14:23.475] checking for ucred.h... no [19:14:23.478] checking xlocale.h usability... no [19:14:23.530] checking xlocale.h presence... no [19:14:23.548] checking for xlocale.h... no [19:14:23.550] checking zlib.h usability... yes [19:14:23.609] checking zlib.h presence... yes [19:14:23.627] checking for zlib.h... yes [19:14:23.627] checking for lz4... /usr/bin/lz4 [19:14:23.627] checking for zstd... /usr/bin/zstd [19:14:23.627] checking for openssl... /usr/bin/openssl [19:14:23.631] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:14:23.632] checking crtdefs.h usability... yes [19:14:23.683] checking crtdefs.h presence... yes [19:14:23.697] checking for crtdefs.h... yes [19:14:23.699] checking whether byte ordering is bigendian... no [19:14:23.794] checking for inline... inline [19:14:23.801] checking for printf format archetype... gnu_printf [19:14:23.833] checking for _Static_assert... yes [19:14:23.871] checking for typeof... typeof [19:14:23.878] checking for __builtin_types_compatible_p... yes [19:14:23.913] checking for __builtin_constant_p... yes [19:14:23.932] checking for __builtin_unreachable... yes [19:14:23.972] checking for computed goto support... yes [19:14:23.987] checking for struct tm.tm_zone... no [19:14:24.058] checking for union semun... no [19:14:24.088] checking for socklen_t... yes [19:14:25.532] checking for struct sockaddr.sa_len... no [19:14:27.466] checking for C/C++ restrict keyword... __restrict [19:14:27.478] checking for struct option... yes [19:14:27.517] checking whether assembler supports x86_64 popcntq... yes [19:14:27.523] checking size of off_t... 4 [19:14:27.851] 0 [19:14:27.851] checking size of bool... 1 [19:14:27.917] checking for int timezone... yes [19:14:27.965] checking for backtrace_symbols... no [19:14:28.012] checking for copyfile... no [19:14:28.058] checking for copy_file_range... no [19:14:28.105] checking for getifaddrs... no [19:14:28.152] checking for getpeerucred... no [19:14:28.200] checking for inet_pton... yes [19:14:28.247] checking for kqueue... no [19:14:28.294] checking for mbstowcs_l... no [19:14:28.340] checking for memset_s... no [19:14:28.389] checking for posix_fallocate... no [19:14:28.438] checking for ppoll... no [19:14:28.487] checking for pthread_is_threaded_np... no [19:14:28.537] checking for setproctitle... no [19:14:28.586] checking for setproctitle_fast... no [19:14:28.635] checking for strchrnul... no [19:14:28.684] checking for strsignal... no [19:14:28.735] checking for syncfs... no [19:14:28.785] checking for sync_file_range... no [19:14:28.835] checking for uselocale... no [19:14:28.887] checking for wcstombs_l... no [19:14:28.933] checking for __builtin_bswap16... yes [19:14:28.983] checking for __builtin_bswap32... yes [19:14:29.028] checking for __builtin_bswap64... yes [19:14:29.076] checking for __builtin_clz... yes [19:14:29.128] checking for __builtin_ctz... yes [19:14:29.174] checking for __builtin_popcount... yes [19:14:29.220] checking for __builtin_frame_address... yes [19:14:29.265] checking for _LARGEFILE_SOURCE value needed for large files... no [19:14:29.316] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:14:29.347] checking for posix_fadvise... no [19:14:29.397] checking whether posix_fadvise is declared... no [19:14:29.440] checking whether fdatasync is declared... no [19:14:29.486] checking whether strlcat is declared... no [19:14:29.547] checking whether strlcpy is declared... no [19:14:29.609] checking whether strnlen is declared... yes [19:14:29.676] checking whether strsep is declared... no [19:14:29.739] checking whether preadv is declared... no [19:14:29.776] checking whether pwritev is declared... no [19:14:29.814] checking whether F_FULLFSYNC is declared... no [19:14:29.854] checking for explicit_bzero... no [19:14:29.901] checking for getopt... yes [19:14:29.944] checking for getpeereid... no [19:14:29.991] checking for inet_aton... no [19:14:30.038] checking for mkdtemp... no [19:14:30.083] checking for strlcat... no [19:14:30.130] checking for strlcpy... no [19:14:30.178] checking for strnlen... yes [19:14:30.225] checking for strsep... no [19:14:30.271] checking for pthread_barrier_wait... yes [19:14:30.313] configure: On mingw32 we will use our strtof wrapper. [19:14:30.313] checking for getopt_long... yes [19:14:30.355] checking for _configthreadlocale... yes [19:14:30.397] checking for syslog... no [19:14:30.442] checking for opterr... yes [19:14:30.487] checking for optreset... no [19:14:30.537] checking test program... cross-compiling [19:14:30.537] checking whether long int is 64 bits... no [19:14:30.566] checking whether long long int is 64 bits... yes [19:14:30.599] checking for __builtin_mul_overflow... yes [19:14:30.639] checking size of void *... 8 [19:14:31.015] checking size of size_t... 8 [19:14:31.361] checking size of long... 4 [19:14:31.644] checking alignment of short... 2 [19:14:31.842] checking alignment of int... 4 [19:14:32.179] checking alignment of long... 4 [19:14:32.464] checking alignment of long long int... 8 [19:14:32.906] checking alignment of double... 8 [19:14:33.375] checking for __int128... yes [19:14:33.422] checking for __int128 alignment bug... assuming ok [19:14:33.422] checking alignment of PG_INT128_TYPE... 16 [19:14:33.855] checking for builtin __sync char locking functions... yes [19:14:33.895] checking for builtin __sync int32 locking functions... yes [19:14:33.935] checking for builtin __sync int32 atomic operations... yes [19:14:33.978] checking for builtin __sync int64 atomic operations... yes [19:14:34.019] checking for builtin __atomic int32 atomic operations... yes [19:14:34.060] checking for builtin __atomic int64 atomic operations... yes [19:14:34.104] checking for __get_cpuid... yes [19:14:34.149] checking for __get_cpuid_count... yes [19:14:34.192] checking for __cpuid... no [19:14:34.591] checking for __cpuidex... no [19:14:35.007] checking for _xgetbv with CFLAGS=... no [19:14:35.375] checking for _xgetbv with CFLAGS=-mxsave... yes [19:14:35.764] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:14:36.140] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:14:36.474] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:14:36.518] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:14:36.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:14:36.626] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:14:36.644] 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 [19:14:36.696] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:14:36.696] checking which random number source to use... Windows native [19:14:36.698] checking for xmllint... /usr/bin/xmllint [19:14:36.698] checking for xsltproc... /usr/bin/xsltproc [19:14:36.698] checking for fop... /usr/bin/fop [19:14:36.699] checking for dbtoepub... no [19:14:36.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:14:36.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:14:36.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:14:36.709] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:14:36.709] 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 [19:14:36.709] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:14:36.709] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:14:36.786] configure: creating ./config.status [19:14:36.863] config.status: creating GNUmakefile [19:14:36.875] config.status: creating src/Makefile.global [19:14:36.890] config.status: creating src/include/pg_config.h [19:14:36.902] config.status: creating src/include/pg_config_ext.h [19:14:36.913] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:14:36.927] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:14:36.934] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:14:36.940] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:14:36.947] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:14:36.953] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:14:36.956] config.status: executing check_win32_symlinks commands [19:14:36.987] [19:14:36.987] real 0m17.881s [19:14:36.987] user 0m11.927s [19:14:36.987] sys 0m5.534s [19:14:36.987] make -s -j${BUILD_JOBS} clean [19:14:37.482] time make -s -j${BUILD_JOBS} world-bin [19:16:15.772] datachecksumsworker.c: In function ‘ProcessDatabase’: [19:16:15.772] 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=] [19:16:15.772] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [19:16:15.772] | ~^ ~~~ [19:16:15.772] | | | [19:16:15.772] | int pid_t {aka long long int} [19:16:15.772] | %lld [19:16:15.772] cc1: all warnings being treated as errors [19:16:15.773] make[3]: *** [: datachecksumsworker.o] Error 1 [19:16:15.773] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [19:16:15.773] make[2]: *** Waiting for unfinished jobs.... [19:16:38.154] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:16:38.155] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:16:38.155] [19:16:38.155] real 2m0.672s [19:16:38.155] user 6m33.648s [19:16:38.155] sys 1m13.096s [19:16:38.155] [19:16:38.155] Exit status: 2