[22:23:36.155] time ./configure \ [22:23:36.155] --host=x86_64-w64-mingw32 \ [22:23:36.155] --enable-cassert \ [22:23:36.155] --without-icu \ [22:23:36.155] CC="ccache x86_64-w64-mingw32-gcc" \ [22:23:36.155] CXX="ccache x86_64-w64-mingw32-g++" [22:23:36.276] checking build system type... x86_64-pc-linux-gnu [22:23:36.471] checking host system type... x86_64-w64-mingw32 [22:23:36.477] checking which template to use... win32 [22:23:36.477] checking whether NLS is wanted... no [22:23:36.477] checking for default port number... 5432 [22:23:36.484] checking for block size... 8kB [22:23:36.486] checking for segment size... 1GB [22:23:36.488] checking for WAL block size... 8kB [22:23:36.490] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:23:36.526] checking whether the C compiler works... yes [22:23:36.667] checking for C compiler default output file name... a.exe [22:23:36.669] checking for suffix of executables... .exe [22:23:36.712] checking whether we are cross compiling... yes [22:23:36.793] checking for suffix of object files... o [22:23:36.811] checking whether we are using the GNU C compiler... yes [22:23:36.828] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:23:36.835] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:23:36.862] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:23:36.926] checking whether we are using the GNU C++ compiler... yes [22:23:36.932] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:23:37.000] checking for gawk... no [22:23:37.000] checking for mawk... mawk [22:23:37.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:23:37.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:23:37.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:23:37.098] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:23:37.261] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:23:37.269] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:23:37.300] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:23:37.307] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:23:37.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:23:37.347] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:23:37.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:23:37.387] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:23:37.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:23:37.412] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:23:37.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:23:37.522] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:23:37.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:23:37.597] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:23:37.614] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:23:37.631] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:23:37.639] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:23:37.673] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:23:37.709] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:23:37.734] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:23:37.767] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:23:37.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:23:37.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:23:37.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:23:37.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:23:37.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:23:37.938] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:23:37.944] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:23:37.951] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:23:37.985] checking whether the C compiler still works... yes [22:23:38.050] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:23:38.123] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:23:38.123] checking pkg-config is at least version 0.9.0... yes [22:23:38.139] checking whether to build with ICU support... no [22:23:38.139] checking whether to build with Tcl... no [22:23:38.139] checking whether to build Perl modules... no [22:23:38.139] checking whether to build Python modules... no [22:23:38.139] checking whether to build with GSSAPI support... no [22:23:38.141] checking whether to build with PAM support... no [22:23:38.141] checking whether to build with BSD Authentication support... no [22:23:38.141] checking whether to build with LDAP support... no [22:23:38.141] checking whether to build with Bonjour support... no [22:23:38.141] checking whether to build with SELinux support... no [22:23:38.141] checking whether to build with systemd support... no [22:23:38.141] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:23:38.141] checking whether to build with XML support... no [22:23:38.142] checking whether to build with LZ4 support... no [22:23:38.142] checking whether to build with ZSTD support... no [22:23:38.142] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:23:38.142] checking whether it is possible to strip libraries... yes [22:23:38.153] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:23:38.153] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:23:38.154] checking for a BSD-compatible install... /usr/bin/install -c [22:23:38.163] checking for tar... /usr/bin/tar [22:23:38.164] checking whether ln -s works... yes [22:23:38.164] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:23:38.166] checking for bison... /usr/bin/bison [22:23:38.169] configure: using bison (GNU Bison) 3.8.2 [22:23:38.172] checking for flex... /usr/bin/flex [22:23:38.174] configure: using flex 2.6.4 [22:23:38.174] checking for perl... /usr/bin/perl [22:23:38.177] configure: using perl 5.36.0 [22:23:38.180] checking for zic... /usr/sbin/zic [22:23:38.180] checking for a sed that does not truncate output... /usr/bin/sed [22:23:38.185] checking for grep that handles long lines and -e... /usr/bin/grep [22:23:38.188] checking for egrep... /usr/bin/grep -E [22:23:38.190] checking for ANSI C header files... yes [22:23:38.278] checking for sys/types.h... yes [22:23:38.295] checking for sys/stat.h... yes [22:23:38.333] checking for stdlib.h... yes [22:23:38.392] checking for string.h... yes [22:23:38.406] checking for memory.h... yes [22:23:38.440] checking for strings.h... yes [22:23:38.501] checking for inttypes.h... yes [22:23:38.567] checking for stdint.h... yes [22:23:38.632] checking for unistd.h... yes [22:23:38.703] checking for main in -lm... yes [22:23:38.753] checking for library containing setproctitle... no [22:23:38.847] checking for library containing dlsym... no [22:23:38.939] checking for library containing socket... -lws2_32 [22:23:39.074] checking for library containing getopt_long... none required [22:23:39.124] checking for library containing shm_open... no [22:23:39.215] checking for library containing shm_unlink... no [22:23:39.307] checking for library containing clock_gettime... no [22:23:39.400] checking for library containing shmget... no [22:23:39.491] checking for library containing backtrace_symbols... no [22:23:39.583] checking for library containing pthread_barrier_wait... -lpthread [22:23:39.673] checking for inflate in -lz... yes [22:23:39.723] checking atomic.h usability... no [22:23:39.782] checking atomic.h presence... no [22:23:39.802] checking for atomic.h... no [22:23:39.806] checking copyfile.h usability... no [22:23:39.866] checking copyfile.h presence... no [22:23:39.887] checking for copyfile.h... no [22:23:39.890] checking execinfo.h usability... no [22:23:39.948] checking execinfo.h presence... no [22:23:39.969] checking for execinfo.h... no [22:23:39.973] checking getopt.h usability... yes [22:23:40.032] checking getopt.h presence... yes [22:23:40.049] checking for getopt.h... yes [22:23:40.057] checking ifaddrs.h usability... no [22:23:40.116] checking ifaddrs.h presence... no [22:23:40.137] checking for ifaddrs.h... no [22:23:40.140] checking mbarrier.h usability... no [22:23:40.200] checking mbarrier.h presence... no [22:23:40.221] checking for mbarrier.h... no [22:23:40.224] checking sys/epoll.h usability... no [22:23:40.282] checking sys/epoll.h presence... no [22:23:40.302] checking for sys/epoll.h... no [22:23:40.305] checking sys/event.h usability... no [22:23:40.363] checking sys/event.h presence... no [22:23:40.383] checking for sys/event.h... no [22:23:40.386] checking sys/personality.h usability... no [22:23:40.443] checking sys/personality.h presence... no [22:23:40.462] checking for sys/personality.h... no [22:23:40.465] checking sys/prctl.h usability... no [22:23:40.522] checking sys/prctl.h presence... no [22:23:40.542] checking for sys/prctl.h... no [22:23:40.545] checking sys/procctl.h usability... no [22:23:40.601] checking sys/procctl.h presence... no [22:23:40.620] checking for sys/procctl.h... no [22:23:40.624] checking sys/signalfd.h usability... no [22:23:40.682] checking sys/signalfd.h presence... no [22:23:40.701] checking for sys/signalfd.h... no [22:23:40.704] checking sys/ucred.h usability... no [22:23:40.763] checking sys/ucred.h presence... no [22:23:40.783] checking for sys/ucred.h... no [22:23:40.786] checking termios.h usability... no [22:23:40.843] checking termios.h presence... no [22:23:40.862] checking for termios.h... no [22:23:40.865] checking ucred.h usability... no [22:23:40.926] checking ucred.h presence... no [22:23:40.946] checking for ucred.h... no [22:23:40.950] checking xlocale.h usability... no [22:23:41.008] checking xlocale.h presence... no [22:23:41.028] checking for xlocale.h... no [22:23:41.031] checking zlib.h usability... yes [22:23:41.042] checking zlib.h presence... yes [22:23:41.062] checking for zlib.h... yes [22:23:41.063] checking for lz4... /usr/bin/lz4 [22:23:41.063] checking for zstd... /usr/bin/zstd [22:23:41.063] checking for openssl... /usr/bin/openssl [22:23:41.068] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:23:41.068] checking crtdefs.h usability... yes [22:23:41.126] checking crtdefs.h presence... yes [22:23:41.143] checking for crtdefs.h... yes [22:23:41.145] checking whether byte ordering is bigendian... no [22:23:41.255] checking for inline... inline [22:23:41.263] checking for printf format archetype... gnu_printf [22:23:41.282] checking for _Static_assert... yes [22:23:41.326] checking for typeof... typeof [22:23:41.364] checking for __builtin_types_compatible_p... yes [22:23:41.385] checking for __builtin_constant_p... yes [22:23:41.408] checking for __builtin_mul_overflow... yes [22:23:41.458] checking for __builtin_unreachable... yes [22:23:41.501] checking for computed goto support... yes [22:23:41.538] checking for struct tm.tm_zone... no [22:23:41.620] checking for union semun... no [22:23:41.656] checking for socklen_t... yes [22:23:43.950] checking for struct sockaddr.sa_len... no [22:23:46.070] checking for C/C++ restrict keyword... __restrict [22:23:46.084] checking for struct option... yes [22:23:46.141] checking whether assembler supports x86_64 popcntq... yes [22:23:46.149] checking size of off_t... 4 [22:23:46.499] 0 [22:23:46.499] checking for int timezone... yes [22:23:46.555] checking for backtrace_symbols... no [22:23:46.610] checking for copyfile... no [22:23:46.665] checking for copy_file_range... no [22:23:46.721] checking for elf_aux_info... no [22:23:46.778] checking for getauxval... no [22:23:46.835] checking for getifaddrs... no [22:23:46.891] checking for getpeerucred... no [22:23:46.947] checking for inet_pton... yes [22:23:47.002] checking for kqueue... no [22:23:47.058] checking for mbstowcs_l... no [22:23:47.112] checking for memset_s... no [22:23:47.167] checking for posix_fallocate... no [22:23:47.222] checking for ppoll... no [22:23:47.277] checking for pthread_is_threaded_np... no [22:23:47.334] checking for setproctitle... no [22:23:47.389] checking for setproctitle_fast... no [22:23:47.444] checking for strchrnul... no [22:23:47.499] checking for strsignal... no [22:23:47.553] checking for syncfs... no [22:23:47.610] checking for sync_file_range... no [22:23:47.666] checking for uselocale... no [22:23:47.722] checking for wcstombs_l... no [22:23:47.776] checking for __builtin_bswap16... yes [22:23:47.831] checking for __builtin_bswap32... yes [22:23:47.886] checking for __builtin_bswap64... yes [22:23:47.942] checking for __builtin_clz... yes [22:23:47.997] checking for __builtin_ctz... yes [22:23:48.049] checking for __builtin_popcount... yes [22:23:48.102] checking for __builtin_frame_address... yes [22:23:48.153] checking for _LARGEFILE_SOURCE value needed for large files... no [22:23:48.209] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:23:48.244] checking for posix_fadvise... no [22:23:48.300] checking whether posix_fadvise is declared... no [22:23:48.349] checking whether fdatasync is declared... no [22:23:48.400] checking whether strlcat is declared... no [22:23:48.469] checking whether strlcpy is declared... no [22:23:48.538] checking whether strnlen is declared... yes [22:23:48.575] checking whether strsep is declared... no [22:23:48.643] checking whether preadv is declared... no [22:23:48.681] checking whether pwritev is declared... no [22:23:48.718] checking whether F_FULLFSYNC is declared... no [22:23:48.761] checking for explicit_bzero... no [22:23:48.814] checking for getopt... yes [22:23:48.866] checking for getpeereid... no [22:23:48.921] checking for inet_aton... no [22:23:48.976] checking for mkdtemp... no [22:23:49.031] checking for strlcat... no [22:23:49.085] checking for strlcpy... no [22:23:49.139] checking for strnlen... yes [22:23:49.193] checking for strsep... no [22:23:49.247] checking for pthread_barrier_wait... yes [22:23:49.299] configure: On mingw32 we will use our strtof wrapper. [22:23:49.299] checking for getopt_long... yes [22:23:49.353] checking for syslog... no [22:23:49.407] checking for opterr... yes [22:23:49.464] checking for optreset... no [22:23:49.523] checking test program... cross-compiling [22:23:49.524] checking size of void *... 8 [22:23:50.069] checking size of size_t... 8 [22:23:50.513] checking size of long... 4 [22:23:50.883] checking size of long long... 8 [22:23:51.377] checking alignment of short... 2 [22:23:51.586] checking alignment of int... 4 [22:23:51.852] checking alignment of long... 4 [22:23:52.152] checking alignment of int64_t... 8 [22:23:52.661] checking alignment of double... 8 [22:23:53.038] checking for __int128... yes [22:23:53.095] checking for __int128 alignment bug... assuming ok [22:23:53.095] checking alignment of PG_INT128_TYPE... 16 [22:23:53.628] checking for builtin __sync char locking functions... yes [22:23:53.674] checking for builtin __sync int32 locking functions... yes [22:23:53.721] checking for builtin __sync int32 atomic operations... yes [22:23:53.767] checking for builtin __sync int64 atomic operations... yes [22:23:53.816] checking for builtin __atomic int32 atomic operations... yes [22:23:53.862] checking for builtin __atomic int64 atomic operations... yes [22:23:53.910] checking for __get_cpuid... yes [22:23:53.962] checking for __get_cpuid_count... yes [22:23:54.010] checking for __cpuid... no [22:23:54.418] checking for __cpuidex... no [22:23:54.857] checking for _xgetbv... yes [22:23:55.281] checking for _mm512_popcnt_epi64... yes [22:23:55.721] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:23:55.833] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:23:55.859] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:23:55.880] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:23:55.902] 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:23:55.963] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:23:55.964] checking which random number source to use... Windows native [22:23:55.966] checking for xmllint... /usr/bin/xmllint [22:23:55.966] checking for xsltproc... /usr/bin/xsltproc [22:23:55.966] checking for fop... /usr/bin/fop [22:23:55.967] checking for dbtoepub... no [22:23:55.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:23:55.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:23:55.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:23:55.980] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:23:55.980] 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:23:55.980] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:23:55.980] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:23:56.080] configure: creating ./config.status [22:23:56.175] config.status: creating GNUmakefile [22:23:56.189] config.status: creating src/Makefile.global [22:23:56.206] config.status: creating src/include/pg_config.h [22:23:56.220] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:23:56.237] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:23:56.244] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:23:56.252] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:23:56.259] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:23:56.267] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:23:56.270] config.status: executing check_win32_symlinks commands [22:23:56.305] [22:23:56.305] real 0m20.151s [22:23:56.305] user 0m13.355s [22:23:56.305] sys 0m6.416s [22:23:56.305] make -s -j${BUILD_JOBS} clean [22:23:56.815] time make -s -j${BUILD_JOBS} world-bin [22:25:35.188] datachecksumsworker.c: In function ‘ProcessDatabase’: [22:25:35.188] 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:25:35.188] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [22:25:35.188] | ~^ ~~~ [22:25:35.188] | | | [22:25:35.188] | int pid_t {aka long long int} [22:25:35.188] | %lld [22:25:35.188] cc1: all warnings being treated as errors [22:25:35.189] make[3]: *** [: datachecksumsworker.o] Error 1 [22:25:35.189] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [22:25:35.189] make[2]: *** Waiting for unfinished jobs.... [22:25:58.315] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:25:58.316] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:25:58.316] [22:25:58.316] real 2m1.501s [22:25:58.316] user 6m38.774s [22:25:58.316] sys 1m12.239s [22:25:58.316] [22:25:58.316] Exit status: 2