[11:58:36.177] time ./configure \ [11:58:36.177] --host=x86_64-w64-mingw32 \ [11:58:36.177] --enable-cassert \ [11:58:36.177] --without-icu \ [11:58:36.177] CC="ccache x86_64-w64-mingw32-gcc" \ [11:58:36.177] CXX="ccache x86_64-w64-mingw32-g++" [11:58:36.293] checking build system type... x86_64-pc-linux-gnu [11:58:36.495] checking host system type... x86_64-w64-mingw32 [11:58:36.500] checking which template to use... win32 [11:58:36.501] checking whether NLS is wanted... no [11:58:36.501] checking for default port number... 5432 [11:58:36.507] checking for block size... 8kB [11:58:36.508] checking for segment size... 1GB [11:58:36.510] checking for WAL block size... 8kB [11:58:36.512] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:58:36.543] checking whether the C compiler works... yes [11:58:36.684] checking for C compiler default output file name... a.exe [11:58:36.685] checking for suffix of executables... .exe [11:58:36.724] checking whether we are cross compiling... yes [11:58:36.797] checking for suffix of object files... o [11:58:36.814] checking whether we are using the GNU C compiler... yes [11:58:36.845] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:58:36.861] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:58:36.940] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:58:37.071] checking whether we are using the GNU C++ compiler... yes [11:58:37.230] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:58:37.358] checking for gawk... no [11:58:37.358] checking for mawk... mawk [11:58:37.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:58:37.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:58:37.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:58:37.464] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:58:37.507] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:58:37.513] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:58:37.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:58:37.559] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:58:37.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:58:37.605] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:58:37.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:58:37.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:58:37.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:58:37.683] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:58:37.689] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:58:37.704] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:58:37.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:58:37.770] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:58:37.800] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:58:37.831] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:58:37.846] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:58:37.877] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:58:37.908] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:58:37.930] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:58:37.960] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:58:37.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:58:38.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:58:38.039] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:58:38.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:58:38.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:58:38.134] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:58:38.151] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:58:38.168] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:58:38.202] checking whether the C compiler still works... yes [11:58:38.277] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:58:38.351] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:58:38.351] checking pkg-config is at least version 0.9.0... yes [11:58:38.369] checking whether to build with ICU support... no [11:58:38.369] checking whether to build with Tcl... no [11:58:38.369] checking whether to build Perl modules... no [11:58:38.370] checking whether to build Python modules... no [11:58:38.370] checking whether to build with GSSAPI support... no [11:58:38.371] checking whether to build with PAM support... no [11:58:38.371] checking whether to build with BSD Authentication support... no [11:58:38.371] checking whether to build with LDAP support... no [11:58:38.371] checking whether to build with Bonjour support... no [11:58:38.371] checking whether to build with SELinux support... no [11:58:38.371] checking whether to build with systemd support... no [11:58:38.371] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:58:38.372] checking whether to build with XML support... no [11:58:38.372] checking whether to build with LZ4 support... no [11:58:38.372] checking whether to build with ZSTD support... no [11:58:38.372] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:58:38.373] checking whether it is possible to strip libraries... yes [11:58:38.380] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:58:38.380] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:58:38.380] checking for a BSD-compatible install... /usr/bin/install -c [11:58:38.389] checking for tar... /usr/bin/tar [11:58:38.389] checking whether ln -s works... yes [11:58:38.390] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:58:38.392] checking for bison... /usr/bin/bison [11:58:38.394] configure: using bison (GNU Bison) 3.8.2 [11:58:38.397] checking for flex... /usr/bin/flex [11:58:38.410] configure: using flex 2.6.4 [11:58:38.410] checking for perl... /usr/bin/perl [11:58:38.412] configure: using perl 5.36.0 [11:58:38.415] checking for zic... /usr/sbin/zic [11:58:38.415] checking for a sed that does not truncate output... /usr/bin/sed [11:58:38.420] checking for grep that handles long lines and -e... /usr/bin/grep [11:58:38.422] checking for egrep... /usr/bin/grep -E [11:58:38.424] checking for ANSI C header files... yes [11:58:38.510] checking for sys/types.h... yes [11:58:38.525] checking for sys/stat.h... yes [11:58:38.587] checking for stdlib.h... yes [11:58:38.619] checking for string.h... yes [11:58:38.673] checking for memory.h... yes [11:58:38.732] checking for strings.h... yes [11:58:38.791] checking for inttypes.h... yes [11:58:38.808] checking for stdint.h... yes [11:58:38.843] checking for unistd.h... yes [11:58:38.878] checking for main in -lm... yes [11:58:38.924] checking for library containing setproctitle... no [11:58:39.007] checking for library containing dlsym... no [11:58:39.091] checking for library containing socket... -lws2_32 [11:58:39.218] checking for library containing getopt_long... none required [11:58:39.263] checking for library containing shm_open... no [11:58:39.348] checking for library containing shm_unlink... no [11:58:39.433] checking for library containing clock_gettime... no [11:58:39.520] checking for library containing shmget... no [11:58:39.606] checking for library containing backtrace_symbols... no [11:58:39.693] checking for library containing pthread_barrier_wait... -lpthread [11:58:39.781] checking for inflate in -lz... yes [11:58:39.824] checking for stdbool.h that conforms to C99... yes [11:58:39.865] checking for _Bool... yes [11:58:39.982] checking atomic.h usability... no [11:58:40.036] checking atomic.h presence... no [11:58:40.054] checking for atomic.h... no [11:58:40.058] checking copyfile.h usability... no [11:58:40.112] checking copyfile.h presence... no [11:58:40.130] checking for copyfile.h... no [11:58:40.134] checking execinfo.h usability... no [11:58:40.188] checking execinfo.h presence... no [11:58:40.206] checking for execinfo.h... no [11:58:40.209] checking getopt.h usability... yes [11:58:40.264] checking getopt.h presence... yes [11:58:40.279] checking for getopt.h... yes [11:58:40.285] checking ifaddrs.h usability... no [11:58:40.338] checking ifaddrs.h presence... no [11:58:40.356] checking for ifaddrs.h... no [11:58:40.359] checking mbarrier.h usability... no [11:58:40.413] checking mbarrier.h presence... no [11:58:40.431] checking for mbarrier.h... no [11:58:40.434] checking sys/epoll.h usability... no [11:58:40.485] checking sys/epoll.h presence... no [11:58:40.502] checking for sys/epoll.h... no [11:58:40.505] checking sys/event.h usability... no [11:58:40.557] checking sys/event.h presence... no [11:58:40.574] checking for sys/event.h... no [11:58:40.577] checking sys/personality.h usability... no [11:58:40.631] checking sys/personality.h presence... no [11:58:40.651] checking for sys/personality.h... no [11:58:40.654] checking sys/prctl.h usability... no [11:58:40.710] checking sys/prctl.h presence... no [11:58:40.729] checking for sys/prctl.h... no [11:58:40.732] checking sys/procctl.h usability... no [11:58:40.788] checking sys/procctl.h presence... no [11:58:40.808] checking for sys/procctl.h... no [11:58:40.811] checking sys/signalfd.h usability... no [11:58:40.866] checking sys/signalfd.h presence... no [11:58:40.884] checking for sys/signalfd.h... no [11:58:40.887] checking sys/ucred.h usability... no [11:58:40.941] checking sys/ucred.h presence... no [11:58:40.960] checking for sys/ucred.h... no [11:58:40.963] checking termios.h usability... no [11:58:41.017] checking termios.h presence... no [11:58:41.034] checking for termios.h... no [11:58:41.037] checking ucred.h usability... no [11:58:41.089] checking ucred.h presence... no [11:58:41.109] checking for ucred.h... no [11:58:41.112] checking xlocale.h usability... no [11:58:41.165] checking xlocale.h presence... no [11:58:41.185] checking for xlocale.h... no [11:58:41.188] checking zlib.h usability... yes [11:58:41.197] checking zlib.h presence... yes [11:58:41.216] checking for zlib.h... yes [11:58:41.216] checking for lz4... /usr/bin/lz4 [11:58:41.216] checking for zstd... /usr/bin/zstd [11:58:41.217] checking for openssl... /usr/bin/openssl [11:58:41.221] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [11:58:41.221] checking crtdefs.h usability... yes [11:58:41.275] checking crtdefs.h presence... yes [11:58:41.289] checking for crtdefs.h... yes [11:58:41.291] checking whether byte ordering is bigendian... no [11:58:41.360] checking for inline... inline [11:58:41.385] checking for printf format archetype... gnu_printf [11:58:41.417] checking for _Static_assert... yes [11:58:41.455] checking for typeof... typeof [11:58:41.462] checking for __builtin_types_compatible_p... yes [11:58:41.483] checking for __builtin_constant_p... yes [11:58:41.493] checking for __builtin_unreachable... yes [11:58:41.534] checking for computed goto support... yes [11:58:41.551] checking for struct tm.tm_zone... no [11:58:41.626] checking for union semun... no [11:58:41.658] checking for socklen_t... yes [11:58:43.839] checking for struct sockaddr.sa_len... no [11:58:45.859] checking for C/C++ restrict keyword... __restrict [11:58:45.882] checking for struct option... yes [11:58:45.933] checking whether assembler supports x86_64 popcntq... yes [11:58:45.940] checking size of off_t... 4 [11:58:46.266] 0 [11:58:46.266] checking size of bool... 1 [11:58:46.335] checking for int timezone... yes [11:58:46.384] checking for backtrace_symbols... no [11:58:46.433] checking for copyfile... no [11:58:46.484] checking for copy_file_range... no [11:58:46.533] checking for getifaddrs... no [11:58:46.582] checking for getpeerucred... no [11:58:46.630] checking for inet_pton... yes [11:58:46.678] checking for kqueue... no [11:58:46.727] checking for mbstowcs_l... no [11:58:46.776] checking for memset_s... no [11:58:46.825] checking for posix_fallocate... no [11:58:46.873] checking for ppoll... no [11:58:46.924] checking for pthread_is_threaded_np... no [11:58:46.973] checking for setproctitle... no [11:58:47.023] checking for setproctitle_fast... no [11:58:47.074] checking for strchrnul... no [11:58:47.125] checking for strsignal... no [11:58:47.176] checking for syncfs... no [11:58:47.225] checking for sync_file_range... no [11:58:47.274] checking for uselocale... no [11:58:47.322] checking for wcstombs_l... no [11:58:47.368] checking for __builtin_bswap16... yes [11:58:47.418] checking for __builtin_bswap32... yes [11:58:47.464] checking for __builtin_bswap64... yes [11:58:47.511] checking for __builtin_clz... yes [11:58:47.558] checking for __builtin_ctz... yes [11:58:47.604] checking for __builtin_popcount... yes [11:58:47.652] checking for __builtin_frame_address... yes [11:58:47.699] checking for _LARGEFILE_SOURCE value needed for large files... no [11:58:47.749] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:58:47.778] checking for posix_fadvise... no [11:58:47.827] checking whether posix_fadvise is declared... no [11:58:47.872] checking whether fdatasync is declared... no [11:58:47.917] checking whether strlcat is declared... no [11:58:47.979] checking whether strlcpy is declared... no [11:58:48.042] checking whether strnlen is declared... yes [11:58:48.109] checking whether strsep is declared... no [11:58:48.173] checking whether preadv is declared... no [11:58:48.209] checking whether pwritev is declared... no [11:58:48.244] checking whether F_FULLFSYNC is declared... no [11:58:48.281] checking for explicit_bzero... no [11:58:48.326] checking for getopt... yes [11:58:48.368] checking for getpeereid... no [11:58:48.414] checking for inet_aton... no [11:58:48.461] checking for mkdtemp... no [11:58:48.506] checking for strlcat... no [11:58:48.551] checking for strlcpy... no [11:58:48.596] checking for strnlen... yes [11:58:48.642] checking for strsep... no [11:58:48.687] checking for pthread_barrier_wait... yes [11:58:48.729] configure: On mingw32 we will use our strtof wrapper. [11:58:48.729] checking for getopt_long... yes [11:58:48.772] checking for _configthreadlocale... yes [11:58:48.816] checking for syslog... no [11:58:48.863] checking for opterr... yes [11:58:48.911] checking for optreset... no [11:58:48.962] checking test program... cross-compiling [11:58:48.962] checking whether long int is 64 bits... no [11:58:48.993] checking whether long long int is 64 bits... yes [11:58:49.028] checking for __builtin_mul_overflow... yes [11:58:49.069] checking size of void *... 8 [11:58:49.516] checking size of size_t... 8 [11:58:50.011] checking size of long... 4 [11:58:50.291] checking alignment of short... 2 [11:58:50.563] checking alignment of int... 4 [11:58:50.846] checking alignment of long... 4 [11:58:51.181] checking alignment of long long int... 8 [11:58:51.606] checking alignment of double... 8 [11:58:52.065] checking for __int128... yes [11:58:52.109] checking for __int128 alignment bug... assuming ok [11:58:52.109] checking alignment of PG_INT128_TYPE... 16 [11:58:52.647] checking for builtin __sync char locking functions... yes [11:58:52.687] checking for builtin __sync int32 locking functions... yes [11:58:52.728] checking for builtin __sync int32 atomic operations... yes [11:58:52.767] checking for builtin __sync int64 atomic operations... yes [11:58:52.806] checking for builtin __atomic int32 atomic operations... yes [11:58:52.845] checking for builtin __atomic int64 atomic operations... yes [11:58:52.885] checking for __get_cpuid... yes [11:58:52.927] checking for __get_cpuid_count... yes [11:58:52.968] checking for __cpuid... no [11:58:53.353] checking for __cpuidex... no [11:58:53.770] checking for _xgetbv with CFLAGS=... no [11:58:54.143] checking for _xgetbv with CFLAGS=-mxsave... yes [11:58:54.538] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:58:54.913] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:58:55.252] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:58:55.297] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:58:55.380] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:58:55.401] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:58:55.418] 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 [11:58:55.470] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:58:55.471] checking which random number source to use... Windows native [11:58:55.472] checking for xmllint... /usr/bin/xmllint [11:58:55.472] checking for xsltproc... /usr/bin/xsltproc [11:58:55.473] checking for fop... /usr/bin/fop [11:58:55.473] checking for dbtoepub... no [11:58:55.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:58:55.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:58:55.474] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:58:55.484] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:58:55.484] 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 [11:58:55.484] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:58:55.484] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:58:55.563] configure: creating ./config.status [11:58:55.646] config.status: creating GNUmakefile [11:58:55.658] config.status: creating src/Makefile.global [11:58:55.672] config.status: creating src/include/pg_config.h [11:58:55.684] config.status: creating src/include/pg_config_ext.h [11:58:55.695] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:58:55.709] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:58:55.717] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:58:55.724] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:58:55.731] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:58:55.738] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:58:55.742] config.status: executing check_win32_symlinks commands [11:58:55.774] [11:58:55.774] real 0m19.597s [11:58:55.774] user 0m13.191s [11:58:55.774] sys 0m5.973s [11:58:55.774] make -s -j${BUILD_JOBS} clean [11:58:56.285] time make -s -j${BUILD_JOBS} world-bin [12:00:37.602] datachecksumsworker.c: In function ‘ProcessDatabase’: [12:00:37.602] 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:00:37.602] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [12:00:37.602] | ~^ ~~~ [12:00:37.602] | | | [12:00:37.602] | int pid_t {aka long long int} [12:00:37.602] | %lld [12:00:37.602] cc1: all warnings being treated as errors [12:00:37.603] make[3]: *** [: datachecksumsworker.o] Error 1 [12:00:37.603] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [12:00:37.603] make[2]: *** Waiting for unfinished jobs.... [12:01:00.507] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:01:00.507] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:01:00.508] [12:01:00.508] real 2m4.223s [12:01:00.508] user 6m47.567s [12:01:00.508] sys 1m15.997s [12:01:00.508] [12:01:00.508] Exit status: 2