[07:59:06.134] time ./configure \ [07:59:06.134] --host=x86_64-w64-mingw32 \ [07:59:06.134] --enable-cassert \ [07:59:06.134] --without-icu \ [07:59:06.134] CC="ccache x86_64-w64-mingw32-gcc" \ [07:59:06.134] CXX="ccache x86_64-w64-mingw32-g++" [07:59:06.241] checking build system type... x86_64-pc-linux-gnu [07:59:06.417] checking host system type... x86_64-w64-mingw32 [07:59:06.422] checking which template to use... win32 [07:59:06.422] checking whether NLS is wanted... no [07:59:06.422] checking for default port number... 5432 [07:59:06.429] checking for block size... 8kB [07:59:06.430] checking for segment size... 1GB [07:59:06.432] checking for WAL block size... 8kB [07:59:06.433] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:59:06.466] checking whether the C compiler works... yes [07:59:06.585] checking for C compiler default output file name... a.exe [07:59:06.586] checking for suffix of executables... .exe [07:59:06.627] checking whether we are cross compiling... yes [07:59:06.699] checking for suffix of object files... o [07:59:06.707] checking whether we are using the GNU C compiler... yes [07:59:06.714] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:59:06.721] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:59:06.731] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:59:06.791] checking whether we are using the GNU C++ compiler... yes [07:59:06.798] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:59:06.865] checking for gawk... no [07:59:06.866] checking for mawk... mawk [07:59:06.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:59:06.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:59:06.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:59:06.927] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:59:07.073] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:59:07.080] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:59:07.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:59:07.094] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:59:07.100] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:59:07.107] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:59:07.114] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:59:07.120] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:59:07.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:59:07.134] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:59:07.140] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:59:07.147] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:59:07.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:59:07.190] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:59:07.197] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:59:07.204] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:59:07.211] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:59:07.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:59:07.225] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:59:07.249] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:59:07.256] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:59:07.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:59:07.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:59:07.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:59:07.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:59:07.353] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:59:07.388] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:59:07.395] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:59:07.402] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:59:07.410] checking whether the C compiler still works... yes [07:59:07.472] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:59:07.545] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:59:07.546] checking pkg-config is at least version 0.9.0... yes [07:59:07.562] checking whether to build with ICU support... no [07:59:07.563] checking whether to build with Tcl... no [07:59:07.563] checking whether to build Perl modules... no [07:59:07.563] checking whether to build Python modules... no [07:59:07.563] checking whether to build with GSSAPI support... no [07:59:07.564] checking whether to build with PAM support... no [07:59:07.564] checking whether to build with BSD Authentication support... no [07:59:07.564] checking whether to build with LDAP support... no [07:59:07.564] checking whether to build with Bonjour support... no [07:59:07.564] checking whether to build with SELinux support... no [07:59:07.564] checking whether to build with systemd support... no [07:59:07.564] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:59:07.565] checking whether to build with libcurl support... no [07:59:07.565] checking whether to build with XML support... no [07:59:07.565] checking whether to build with LZ4 support... no [07:59:07.565] checking whether to build with ZSTD support... no [07:59:07.565] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:59:07.566] checking whether it is possible to strip libraries... yes [07:59:07.575] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:59:07.575] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:59:07.576] checking for a BSD-compatible install... /usr/bin/install -c [07:59:07.584] checking for tar... /usr/bin/tar [07:59:07.585] checking whether ln -s works... yes [07:59:07.585] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:59:07.587] checking for bison... /usr/bin/bison [07:59:07.589] configure: using bison (GNU Bison) 3.8.2 [07:59:07.592] checking for flex... /usr/bin/flex [07:59:07.594] configure: using flex 2.6.4 [07:59:07.594] checking for perl... /usr/bin/perl [07:59:07.596] configure: using perl 5.36.0 [07:59:07.598] checking for zic... /usr/sbin/zic [07:59:07.599] checking for a sed that does not truncate output... /usr/bin/sed [07:59:07.603] checking for grep that handles long lines and -e... /usr/bin/grep [07:59:07.605] checking for egrep... /usr/bin/grep -E [07:59:07.607] checking for ANSI C header files... yes [07:59:07.653] checking for sys/types.h... yes [07:59:07.669] checking for sys/stat.h... yes [07:59:07.683] checking for stdlib.h... yes [07:59:07.697] checking for string.h... yes [07:59:07.710] checking for memory.h... yes [07:59:07.724] checking for strings.h... yes [07:59:07.738] checking for inttypes.h... yes [07:59:07.753] checking for stdint.h... yes [07:59:07.767] checking for unistd.h... yes [07:59:07.781] checking for main in -lm... yes [07:59:07.828] checking for library containing setproctitle... no [07:59:07.916] checking for library containing dlsym... no [07:59:08.003] checking for library containing socket... -lws2_32 [07:59:08.132] checking for library containing getopt_long... none required [07:59:08.179] checking for library containing shm_open... no [07:59:08.266] checking for library containing shm_unlink... no [07:59:08.354] checking for library containing clock_gettime... no [07:59:08.440] checking for library containing shmget... no [07:59:08.529] checking for library containing backtrace_symbols... no [07:59:08.618] checking for library containing pthread_barrier_wait... -lpthread [07:59:08.707] checking for inflate in -lz... yes [07:59:08.756] checking atomic.h usability... no [07:59:08.816] checking atomic.h presence... no [07:59:08.835] checking for atomic.h... no [07:59:08.838] checking copyfile.h usability... no [07:59:08.894] checking copyfile.h presence... no [07:59:08.912] checking for copyfile.h... no [07:59:08.915] checking execinfo.h usability... no [07:59:08.971] checking execinfo.h presence... no [07:59:08.990] checking for execinfo.h... no [07:59:08.993] checking getopt.h usability... yes [07:59:09.000] checking getopt.h presence... yes [07:59:09.015] checking for getopt.h... yes [07:59:09.022] checking ifaddrs.h usability... no [07:59:09.077] checking ifaddrs.h presence... no [07:59:09.095] checking for ifaddrs.h... no [07:59:09.099] checking mbarrier.h usability... no [07:59:09.153] checking mbarrier.h presence... no [07:59:09.171] checking for mbarrier.h... no [07:59:09.174] checking sys/epoll.h usability... no [07:59:09.232] checking sys/epoll.h presence... no [07:59:09.250] checking for sys/epoll.h... no [07:59:09.253] checking sys/event.h usability... no [07:59:09.308] checking sys/event.h presence... no [07:59:09.326] checking for sys/event.h... no [07:59:09.329] checking sys/personality.h usability... no [07:59:09.384] checking sys/personality.h presence... no [07:59:09.403] checking for sys/personality.h... no [07:59:09.406] checking sys/prctl.h usability... no [07:59:09.461] checking sys/prctl.h presence... no [07:59:09.480] checking for sys/prctl.h... no [07:59:09.483] checking sys/procctl.h usability... no [07:59:09.538] checking sys/procctl.h presence... no [07:59:09.556] checking for sys/procctl.h... no [07:59:09.559] checking sys/signalfd.h usability... no [07:59:09.615] checking sys/signalfd.h presence... no [07:59:09.634] checking for sys/signalfd.h... no [07:59:09.637] checking sys/ucred.h usability... no [07:59:09.693] checking sys/ucred.h presence... no [07:59:09.711] checking for sys/ucred.h... no [07:59:09.714] checking termios.h usability... no [07:59:09.769] checking termios.h presence... no [07:59:09.788] checking for termios.h... no [07:59:09.791] checking ucred.h usability... no [07:59:09.846] checking ucred.h presence... no [07:59:09.865] checking for ucred.h... no [07:59:09.868] checking xlocale.h usability... no [07:59:09.922] checking xlocale.h presence... no [07:59:09.942] checking for xlocale.h... no [07:59:09.944] checking zlib.h usability... yes [07:59:09.953] checking zlib.h presence... yes [07:59:09.973] checking for zlib.h... yes [07:59:09.973] checking for lz4... /usr/bin/lz4 [07:59:09.973] checking for zstd... /usr/bin/zstd [07:59:09.973] checking for openssl... /usr/bin/openssl [07:59:09.978] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:59:09.978] checking crtdefs.h usability... yes [07:59:09.985] checking crtdefs.h presence... yes [07:59:10.000] checking for crtdefs.h... yes [07:59:10.002] checking whether byte ordering is bigendian... no [07:59:10.076] checking for inline... inline [07:59:10.083] checking for printf format archetype... gnu_printf [07:59:10.092] checking for _Static_assert... yes [07:59:10.134] checking for typeof... typeof [07:59:10.141] checking for __builtin_types_compatible_p... yes [07:59:10.152] checking for __builtin_constant_p... yes [07:59:10.163] checking for __builtin_mul_overflow... yes [07:59:10.211] checking for __builtin_unreachable... yes [07:59:10.253] checking for computed goto support... yes [07:59:10.261] checking for struct tm.tm_zone... no [07:59:10.337] checking for union semun... no [07:59:10.372] checking for socklen_t... yes [07:59:11.582] checking for struct sockaddr.sa_len... no [07:59:13.754] checking for C/C++ restrict keyword... __restrict [07:59:13.767] checking for struct option... yes [07:59:13.809] checking whether assembler supports x86_64 popcntq... yes [07:59:13.816] checking size of off_t... 4 [07:59:14.023] 0 [07:59:14.023] checking for int timezone... yes [07:59:14.074] checking for backtrace_symbols... no [07:59:14.125] checking for copyfile... no [07:59:14.176] checking for copy_file_range... no [07:59:14.226] checking for elf_aux_info... no [07:59:14.280] checking for getauxval... no [07:59:14.332] checking for getifaddrs... no [07:59:14.384] checking for getpeerucred... no [07:59:14.435] checking for inet_pton... yes [07:59:14.486] checking for kqueue... no [07:59:14.539] checking for mbstowcs_l... no [07:59:14.590] checking for memset_s... no [07:59:14.641] checking for posix_fallocate... no [07:59:14.693] checking for ppoll... no [07:59:14.744] checking for pthread_is_threaded_np... no [07:59:14.795] checking for setproctitle... no [07:59:14.847] checking for setproctitle_fast... no [07:59:14.897] checking for strchrnul... no [07:59:14.948] checking for strsignal... no [07:59:14.999] checking for syncfs... no [07:59:15.050] checking for sync_file_range... no [07:59:15.102] checking for uselocale... no [07:59:15.152] checking for wcstombs_l... no [07:59:15.199] checking for __builtin_bswap16... yes [07:59:15.249] checking for __builtin_bswap32... yes [07:59:15.297] checking for __builtin_bswap64... yes [07:59:15.346] checking for __builtin_clz... yes [07:59:15.395] checking for __builtin_ctz... yes [07:59:15.442] checking for __builtin_popcount... yes [07:59:15.491] checking for __builtin_frame_address... yes [07:59:15.539] checking for _LARGEFILE_SOURCE value needed for large files... no [07:59:15.591] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:59:15.623] checking for posix_fadvise... no [07:59:15.674] checking whether posix_fadvise is declared... no [07:59:15.718] checking whether fdatasync is declared... no [07:59:15.764] checking whether strlcat is declared... no [07:59:15.827] checking whether strlcpy is declared... no [07:59:15.890] checking whether strnlen is declared... yes [07:59:15.903] checking whether strsep is declared... no [07:59:15.965] checking whether preadv is declared... no [07:59:16.001] checking whether pwritev is declared... no [07:59:16.036] checking whether F_FULLFSYNC is declared... no [07:59:16.076] checking for explicit_bzero... no [07:59:16.122] checking for getopt... yes [07:59:16.166] checking for getpeereid... no [07:59:16.212] checking for inet_aton... no [07:59:16.259] checking for mkdtemp... no [07:59:16.306] checking for strlcat... no [07:59:16.354] checking for strlcpy... no [07:59:16.402] checking for strnlen... yes [07:59:16.450] checking for strsep... no [07:59:16.497] checking for pthread_barrier_wait... yes [07:59:16.540] configure: On mingw32 we will use our strtof wrapper. [07:59:16.540] checking for getopt_long... yes [07:59:16.585] checking for syslog... no [07:59:16.632] checking for opterr... yes [07:59:16.681] checking for optreset... no [07:59:16.733] checking test program... cross-compiling [07:59:16.733] checking size of void *... 8 [07:59:17.010] checking size of size_t... 8 [07:59:17.289] checking size of long... 4 [07:59:17.498] checking size of long long... 8 [07:59:17.773] checking alignment of short... 2 [07:59:17.916] checking alignment of int... 4 [07:59:18.127] checking alignment of long... 4 [07:59:18.339] checking alignment of int64_t... 8 [07:59:18.608] checking alignment of double... 8 [07:59:18.886] checking for __int128... yes [07:59:18.936] checking for __int128 alignment bug... assuming ok [07:59:18.937] checking alignment of PG_INT128_TYPE... 16 [07:59:19.279] checking for builtin __sync char locking functions... yes [07:59:19.322] checking for builtin __sync int32 locking functions... yes [07:59:19.365] checking for builtin __sync int32 atomic operations... yes [07:59:19.409] checking for builtin __sync int64 atomic operations... yes [07:59:19.453] checking for builtin __atomic int32 atomic operations... yes [07:59:19.496] checking for builtin __atomic int64 atomic operations... yes [07:59:19.541] checking for __get_cpuid... yes [07:59:19.587] checking for __get_cpuid_count... yes [07:59:19.631] checking for __cpuid... no [07:59:20.036] checking for __cpuidex... no [07:59:20.460] checking for _xgetbv... yes [07:59:20.868] checking for _mm512_popcnt_epi64... yes [07:59:21.297] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:59:21.401] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:59:21.425] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:59:21.445] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:59:21.465] 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:59:21.521] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:59:21.522] checking which random number source to use... Windows native [07:59:21.523] checking for xmllint... /usr/bin/xmllint [07:59:21.524] checking for xsltproc... /usr/bin/xsltproc [07:59:21.524] checking for fop... /usr/bin/fop [07:59:21.524] checking for dbtoepub... no [07:59:21.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:59:21.525] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:59:21.525] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:59:21.536] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:59:21.536] 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:59:21.536] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:59:21.536] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:59:21.620] configure: creating ./config.status [07:59:21.704] config.status: creating GNUmakefile [07:59:21.716] config.status: creating src/Makefile.global [07:59:21.731] config.status: creating src/include/pg_config.h [07:59:21.744] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:59:21.759] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:59:21.767] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:59:21.774] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:59:21.782] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:59:21.789] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:59:21.792] config.status: executing check_win32_symlinks commands [07:59:21.824] [07:59:21.824] real 0m15.690s [07:59:21.824] user 0m10.502s [07:59:21.824] sys 0m4.913s [07:59:21.824] make -s -j${BUILD_JOBS} clean [07:59:22.327] time make -s -j${BUILD_JOBS} world-bin [07:59:35.838] pg_restore.c: In function ‘get_dbname_oid_list_from_mfile’: [07:59:35.838] pg_restore.c:1045:35: error: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 4 has type ‘size_t *’ {aka ‘long long unsigned int *’} [-Werror=format=] [07:59:35.838] 1045 | sscanf(line, "%u %u" , &db_oid, &db_name_size); [07:59:35.838] | ~^ ~~~~~~~~~~~~~ [07:59:35.838] | | | [07:59:35.838] | | size_t * {aka long long unsigned int *} [07:59:35.838] | unsigned int * [07:59:35.838] | %llu [07:59:35.838] cc1: all warnings being treated as errors [07:59:35.840] make[3]: *** [: pg_restore.o] Error 1 [07:59:35.840] make[3]: *** Waiting for unfinished jobs.... [07:59:36.337] pg_dumpall.c: In function ‘dumpDatabases’: [07:59:36.337] pg_dumpall.c:1679:48: error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ {aka ‘long long unsigned int’} [-Werror=format=] [07:59:36.337] 1679 | fprintf(map_file, "%s %u\n%s\n", oid, strlen(dbname), pg_strdup(dbname)); [07:59:36.337] | ~^ ~~~~~~~~~~~~~~ [07:59:36.337] | | | [07:59:36.337] | unsigned int size_t {aka long long unsigned int} [07:59:36.337] | %llu [07:59:36.337] cc1: all warnings being treated as errors [07:59:36.339] make[3]: *** [: pg_dumpall.o] Error 1 [07:59:36.339] make[2]: *** [Makefile:45: all-pg_dump-recurse] Error 2 [07:59:36.339] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [07:59:36.339] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:59:36.340] [07:59:36.340] real 0m14.012s [07:59:36.340] user 0m28.332s [07:59:36.340] sys 0m12.246s [07:59:36.340] [07:59:36.340] Exit status: 2