[06:10:00.929] time ./configure \ [06:10:00.929] --host=x86_64-w64-mingw32 \ [06:10:00.929] --enable-cassert \ [06:10:00.929] --without-icu \ [06:10:00.929] CC="ccache x86_64-w64-mingw32-gcc" \ [06:10:00.929] CXX="ccache x86_64-w64-mingw32-g++" [06:10:01.039] checking build system type... x86_64-pc-linux-gnu [06:10:01.196] checking host system type... x86_64-w64-mingw32 [06:10:01.202] checking which template to use... win32 [06:10:01.202] checking whether NLS is wanted... no [06:10:01.202] checking for default port number... 5432 [06:10:01.208] checking for block size... 8kB [06:10:01.210] checking for segment size... 1GB [06:10:01.212] checking for WAL block size... 8kB [06:10:01.213] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:10:01.246] checking whether the C compiler works... yes [06:10:01.371] checking for C compiler default output file name... a.exe [06:10:01.372] checking for suffix of executables... .exe [06:10:01.412] checking whether we are cross compiling... yes [06:10:01.484] checking for suffix of object files... o [06:10:01.491] checking whether we are using the GNU C compiler... yes [06:10:01.506] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:10:01.522] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:10:01.595] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:10:01.650] checking whether we are using the GNU C++ compiler... yes [06:10:01.657] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:10:01.835] checking for gawk... no [06:10:01.835] checking for mawk... mawk [06:10:01.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:10:01.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:10:01.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:10:01.920] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:10:01.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:10:01.979] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:10:01.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:10:01.993] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:10:01.999] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:10:02.030] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:10:02.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:10:02.043] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:10:02.059] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:10:02.075] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:10:02.090] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:10:02.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:10:02.155] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:10:02.191] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:10:02.198] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:10:02.205] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:10:02.211] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:10:02.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:10:02.250] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:10:02.272] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:10:02.303] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:10:02.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:10:02.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:10:02.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:10:02.426] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:10:02.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:10:02.469] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:10:02.486] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:10:02.503] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:10:02.538] checking whether the C compiler still works... yes [06:10:02.595] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:10:02.663] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:10:02.664] checking pkg-config is at least version 0.9.0... yes [06:10:02.679] checking whether to build with ICU support... no [06:10:02.679] checking whether to build with Tcl... no [06:10:02.679] checking whether to build Perl modules... no [06:10:02.679] checking whether to build Python modules... no [06:10:02.680] checking whether to build with GSSAPI support... no [06:10:02.681] checking whether to build with PAM support... no [06:10:02.681] checking whether to build with BSD Authentication support... no [06:10:02.681] checking whether to build with LDAP support... no [06:10:02.681] checking whether to build with Bonjour support... no [06:10:02.681] checking whether to build with SELinux support... no [06:10:02.681] checking whether to build with systemd support... no [06:10:02.681] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:10:02.681] checking whether to build with XML support... no [06:10:02.682] checking whether to build with LZ4 support... no [06:10:02.682] checking whether to build with ZSTD support... no [06:10:02.682] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:10:02.682] checking whether it is possible to strip libraries... yes [06:10:02.688] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:10:02.689] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:10:02.689] checking for a BSD-compatible install... /usr/bin/install -c [06:10:02.697] checking for tar... /usr/bin/tar [06:10:02.697] checking whether ln -s works... yes [06:10:02.697] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:10:02.699] checking for bison... /usr/bin/bison [06:10:02.701] configure: using bison (GNU Bison) 3.8.2 [06:10:02.704] checking for flex... /usr/bin/flex [06:10:02.715] configure: using flex 2.6.4 [06:10:02.715] checking for perl... /usr/bin/perl [06:10:02.717] configure: using perl 5.36.0 [06:10:02.719] checking for zic... /usr/sbin/zic [06:10:02.719] checking for a sed that does not truncate output... /usr/bin/sed [06:10:02.724] checking for grep that handles long lines and -e... /usr/bin/grep [06:10:02.726] checking for egrep... /usr/bin/grep -E [06:10:02.727] checking for ANSI C header files... yes [06:10:02.807] checking for sys/types.h... yes [06:10:02.823] checking for sys/stat.h... yes [06:10:02.857] checking for stdlib.h... yes [06:10:02.913] checking for string.h... yes [06:10:02.926] checking for memory.h... yes [06:10:02.959] checking for strings.h... yes [06:10:03.015] checking for inttypes.h... yes [06:10:03.030] checking for stdint.h... yes [06:10:03.088] checking for unistd.h... yes [06:10:03.153] checking for main in -lm... yes [06:10:03.201] checking for library containing setproctitle... no [06:10:03.290] checking for library containing dlsym... no [06:10:03.380] checking for library containing socket... -lws2_32 [06:10:03.515] checking for library containing getopt_long... none required [06:10:03.563] checking for library containing shm_open... no [06:10:03.652] checking for library containing shm_unlink... no [06:10:03.743] checking for library containing clock_gettime... no [06:10:03.838] checking for library containing shmget... no [06:10:03.930] checking for library containing backtrace_symbols... no [06:10:04.027] checking for library containing pthread_barrier_wait... -lpthread [06:10:04.127] checking for inflate in -lz... yes [06:10:04.181] checking atomic.h usability... no [06:10:04.242] checking atomic.h presence... no [06:10:04.265] checking for atomic.h... no [06:10:04.269] checking copyfile.h usability... no [06:10:04.330] checking copyfile.h presence... no [06:10:04.351] checking for copyfile.h... no [06:10:04.355] checking execinfo.h usability... no [06:10:04.414] checking execinfo.h presence... no [06:10:04.435] checking for execinfo.h... no [06:10:04.439] checking getopt.h usability... yes [06:10:04.470] checking getopt.h presence... yes [06:10:04.488] checking for getopt.h... yes [06:10:04.496] checking ifaddrs.h usability... no [06:10:04.556] checking ifaddrs.h presence... no [06:10:04.578] checking for ifaddrs.h... no [06:10:04.582] checking mbarrier.h usability... no [06:10:04.643] checking mbarrier.h presence... no [06:10:04.665] checking for mbarrier.h... no [06:10:04.668] checking sys/epoll.h usability... no [06:10:04.728] checking sys/epoll.h presence... no [06:10:04.751] checking for sys/epoll.h... no [06:10:04.754] checking sys/event.h usability... no [06:10:04.816] checking sys/event.h presence... no [06:10:04.838] checking for sys/event.h... no [06:10:04.841] checking sys/personality.h usability... no [06:10:04.904] checking sys/personality.h presence... no [06:10:04.926] checking for sys/personality.h... no [06:10:04.930] checking sys/prctl.h usability... no [06:10:04.989] checking sys/prctl.h presence... no [06:10:05.010] checking for sys/prctl.h... no [06:10:05.014] checking sys/procctl.h usability... no [06:10:05.072] checking sys/procctl.h presence... no [06:10:05.093] checking for sys/procctl.h... no [06:10:05.097] checking sys/signalfd.h usability... no [06:10:05.157] checking sys/signalfd.h presence... no [06:10:05.178] checking for sys/signalfd.h... no [06:10:05.182] checking sys/ucred.h usability... no [06:10:05.240] checking sys/ucred.h presence... no [06:10:05.260] checking for sys/ucred.h... no [06:10:05.263] checking termios.h usability... no [06:10:05.325] checking termios.h presence... no [06:10:05.346] checking for termios.h... no [06:10:05.350] checking ucred.h usability... no [06:10:05.413] checking ucred.h presence... no [06:10:05.435] checking for ucred.h... no [06:10:05.439] checking xlocale.h usability... no [06:10:05.499] checking xlocale.h presence... no [06:10:05.521] checking for xlocale.h... no [06:10:05.524] checking zlib.h usability... yes [06:10:05.534] checking zlib.h presence... yes [06:10:05.555] checking for zlib.h... yes [06:10:05.555] checking for lz4... /usr/bin/lz4 [06:10:05.555] checking for zstd... /usr/bin/zstd [06:10:05.556] checking for openssl... /usr/bin/openssl [06:10:05.560] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:10:05.561] checking crtdefs.h usability... yes [06:10:05.622] checking crtdefs.h presence... yes [06:10:05.639] checking for crtdefs.h... yes [06:10:05.640] checking whether byte ordering is bigendian... no [06:10:05.718] checking for inline... inline [06:10:05.727] checking for printf format archetype... gnu_printf [06:10:05.768] checking for _Static_assert... yes [06:10:05.813] checking for typeof... typeof [06:10:05.832] checking for __builtin_types_compatible_p... yes [06:10:05.844] checking for __builtin_constant_p... yes [06:10:05.857] checking for __builtin_mul_overflow... yes [06:10:05.908] checking for __builtin_unreachable... yes [06:10:05.955] checking for computed goto support... yes [06:10:05.963] checking for struct tm.tm_zone... no [06:10:06.050] checking for union semun... no [06:10:06.088] checking for socklen_t... yes [06:10:08.530] checking for struct sockaddr.sa_len... no [06:10:10.821] checking for C/C++ restrict keyword... __restrict [06:10:10.836] checking for struct option... yes [06:10:10.897] checking whether assembler supports x86_64 popcntq... yes [06:10:10.935] checking size of off_t... 4 [06:10:11.269] 0 [06:10:11.269] checking for int timezone... yes [06:10:11.327] checking for backtrace_symbols... no [06:10:11.384] checking for copyfile... no [06:10:11.440] checking for copy_file_range... no [06:10:11.497] checking for elf_aux_info... no [06:10:11.554] checking for getauxval... no [06:10:11.610] checking for getifaddrs... no [06:10:11.668] checking for getpeerucred... no [06:10:11.726] checking for inet_pton... yes [06:10:11.784] checking for kqueue... no [06:10:11.840] checking for mbstowcs_l... no [06:10:11.897] checking for memset_s... no [06:10:11.953] checking for posix_fallocate... no [06:10:12.009] checking for ppoll... no [06:10:12.064] checking for pthread_is_threaded_np... no [06:10:12.120] checking for setproctitle... no [06:10:12.177] checking for setproctitle_fast... no [06:10:12.234] checking for strchrnul... no [06:10:12.291] checking for strsignal... no [06:10:12.347] checking for syncfs... no [06:10:12.401] checking for sync_file_range... no [06:10:12.453] checking for uselocale... no [06:10:12.507] checking for wcstombs_l... no [06:10:12.558] checking for __builtin_bswap16... yes [06:10:12.612] checking for __builtin_bswap32... yes [06:10:12.665] checking for __builtin_bswap64... yes [06:10:12.718] checking for __builtin_clz... yes [06:10:12.772] checking for __builtin_ctz... yes [06:10:12.825] checking for __builtin_popcount... yes [06:10:12.877] checking for __builtin_frame_address... yes [06:10:12.930] checking for _LARGEFILE_SOURCE value needed for large files... no [06:10:12.986] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:10:13.024] checking for posix_fadvise... no [06:10:13.080] checking whether posix_fadvise is declared... no [06:10:13.131] checking whether fdatasync is declared... no [06:10:13.184] checking whether strlcat is declared... no [06:10:13.254] checking whether strlcpy is declared... no [06:10:13.325] checking whether strnlen is declared... yes [06:10:13.340] checking whether strsep is declared... no [06:10:13.411] checking whether preadv is declared... no [06:10:13.452] checking whether pwritev is declared... no [06:10:13.490] checking whether F_FULLFSYNC is declared... no [06:10:13.533] checking for explicit_bzero... no [06:10:13.582] checking for getopt... yes [06:10:13.631] checking for getpeereid... no [06:10:13.681] checking for inet_aton... no [06:10:13.732] checking for mkdtemp... no [06:10:13.782] checking for strlcat... no [06:10:13.832] checking for strlcpy... no [06:10:13.883] checking for strnlen... yes [06:10:13.935] checking for strsep... no [06:10:13.987] checking for pthread_barrier_wait... yes [06:10:14.035] configure: On mingw32 we will use our strtof wrapper. [06:10:14.035] checking for getopt_long... yes [06:10:14.084] checking for syslog... no [06:10:14.137] checking for opterr... yes [06:10:14.188] checking for optreset... no [06:10:14.243] checking test program... cross-compiling [06:10:14.243] checking size of void *... 8 [06:10:14.758] checking size of size_t... 8 [06:10:15.259] checking size of long... 4 [06:10:15.605] checking size of long long... 8 [06:10:16.078] checking alignment of short... 2 [06:10:16.279] checking alignment of int... 4 [06:10:16.650] checking alignment of long... 4 [06:10:16.985] checking alignment of int64_t... 8 [06:10:17.563] checking alignment of double... 8 [06:10:17.886] checking for __int128... yes [06:10:17.942] checking for __int128 alignment bug... assuming ok [06:10:17.942] checking alignment of PG_INT128_TYPE... 16 [06:10:18.551] checking for builtin __sync char locking functions... yes [06:10:18.598] checking for builtin __sync int32 locking functions... yes [06:10:18.645] checking for builtin __sync int32 atomic operations... yes [06:10:18.693] checking for builtin __sync int64 atomic operations... yes [06:10:18.742] checking for builtin __atomic int32 atomic operations... yes [06:10:18.788] checking for builtin __atomic int64 atomic operations... yes [06:10:18.835] checking for __get_cpuid... yes [06:10:18.886] checking for __get_cpuid_count... yes [06:10:18.935] checking for __cpuid... no [06:10:19.357] checking for __cpuidex... no [06:10:19.796] checking for _xgetbv... yes [06:10:20.221] checking for _mm512_popcnt_epi64... yes [06:10:20.660] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:10:20.771] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:10:20.796] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:10:20.818] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:10:20.839] 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 [06:10:20.898] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:10:20.898] checking which random number source to use... Windows native [06:10:20.900] checking for xmllint... /usr/bin/xmllint [06:10:20.901] checking for xsltproc... /usr/bin/xsltproc [06:10:20.901] checking for fop... /usr/bin/fop [06:10:20.901] checking for dbtoepub... no [06:10:20.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:10:20.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:10:20.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:10:20.914] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:10:20.914] 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 [06:10:20.914] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:10:20.914] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:10:21.007] configure: creating ./config.status [06:10:21.103] config.status: creating GNUmakefile [06:10:21.116] config.status: creating src/Makefile.global [06:10:21.134] config.status: creating src/include/pg_config.h [06:10:21.149] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:10:21.167] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:10:21.175] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:10:21.183] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:10:21.192] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:10:21.201] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:10:21.204] config.status: executing check_win32_symlinks commands [06:10:21.242] [06:10:21.242] real 0m20.313s [06:10:21.242] user 0m13.375s [06:10:21.242] sys 0m6.657s [06:10:21.242] make -s -j${BUILD_JOBS} clean [06:10:21.784] time make -s -j${BUILD_JOBS} world-bin [06:12:12.217] datachecksumsworker.c: In function ‘ProcessDatabase’: [06:12:12.217] 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=] [06:12:12.217] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [06:12:12.217] | ~^ ~~~ [06:12:12.217] | | | [06:12:12.217] | int pid_t {aka long long int} [06:12:12.217] | %lld [06:12:12.217] cc1: all warnings being treated as errors [06:12:12.218] make[3]: *** [: datachecksumsworker.o] Error 1 [06:12:12.218] make[3]: *** Waiting for unfinished jobs.... [06:12:12.755] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [06:12:12.755] make[2]: *** Waiting for unfinished jobs.... [06:12:22.761] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:12:22.761] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:12:22.761] [06:12:22.761] real 2m0.978s [06:12:22.761] user 6m35.182s [06:12:22.761] sys 1m13.144s [06:12:22.761] [06:12:22.761] Exit status: 2