[17:06:24.920] time ./configure \ [17:06:24.920] --host=x86_64-w64-mingw32 \ [17:06:24.920] --enable-cassert \ [17:06:24.920] --without-icu \ [17:06:24.920] CC="ccache x86_64-w64-mingw32-gcc" \ [17:06:24.920] CXX="ccache x86_64-w64-mingw32-g++" [17:06:25.031] checking build system type... x86_64-pc-linux-gnu [17:06:25.220] checking host system type... x86_64-w64-mingw32 [17:06:25.226] checking which template to use... win32 [17:06:25.226] checking whether NLS is wanted... no [17:06:25.226] checking for default port number... 5432 [17:06:25.233] checking for block size... 8kB [17:06:25.234] checking for segment size... 1GB [17:06:25.236] checking for WAL block size... 8kB [17:06:25.238] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:06:25.271] checking whether the C compiler works... yes [17:06:25.408] checking for C compiler default output file name... a.exe [17:06:25.409] checking for suffix of executables... .exe [17:06:25.450] checking whether we are cross compiling... yes [17:06:25.523] checking for suffix of object files... o [17:06:25.531] checking whether we are using the GNU C compiler... yes [17:06:25.537] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:06:25.543] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:06:25.553] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:06:25.610] checking whether we are using the GNU C++ compiler... yes [17:06:25.616] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:06:25.685] checking for gawk... no [17:06:25.685] checking for mawk... mawk [17:06:25.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:06:25.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:06:25.700] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:06:25.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:06:25.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:06:25.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:06:25.921] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:06:25.928] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:06:25.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:06:25.942] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:06:25.949] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:06:25.955] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:06:25.962] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:06:25.970] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:06:25.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:06:25.984] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:06:25.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:06:26.027] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:06:26.034] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:06:26.041] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:06:26.048] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:06:26.055] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:06:26.062] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:06:26.085] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:06:26.092] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:06:26.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:06:26.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:06:26.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:06:26.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:06:26.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:06:26.225] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:06:26.232] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:06:26.239] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:06:26.247] checking whether the C compiler still works... yes [17:06:26.311] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:06:26.382] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:06:26.382] checking pkg-config is at least version 0.9.0... yes [17:06:26.399] checking whether to build with ICU support... no [17:06:26.399] checking whether to build with Tcl... no [17:06:26.399] checking whether to build Perl modules... no [17:06:26.399] checking whether to build Python modules... no [17:06:26.399] checking whether to build with GSSAPI support... no [17:06:26.400] checking whether to build with PAM support... no [17:06:26.400] checking whether to build with BSD Authentication support... no [17:06:26.400] checking whether to build with LDAP support... no [17:06:26.401] checking whether to build with Bonjour support... no [17:06:26.401] checking whether to build with SELinux support... no [17:06:26.401] checking whether to build with systemd support... no [17:06:26.401] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:06:26.401] checking whether to build with libcurl support... no [17:06:26.401] checking whether to build with XML support... no [17:06:26.402] checking whether to build with LZ4 support... no [17:06:26.402] checking whether to build with ZSTD support... no [17:06:26.402] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:06:26.402] checking whether it is possible to strip libraries... yes [17:06:26.409] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:06:26.410] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:06:26.410] checking for a BSD-compatible install... /usr/bin/install -c [17:06:26.419] checking for tar... /usr/bin/tar [17:06:26.419] checking whether ln -s works... yes [17:06:26.419] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:06:26.422] checking for bison... /usr/bin/bison [17:06:26.424] configure: using bison (GNU Bison) 3.8.2 [17:06:26.427] checking for flex... /usr/bin/flex [17:06:26.429] configure: using flex 2.6.4 [17:06:26.429] checking for perl... /usr/bin/perl [17:06:26.432] configure: using perl 5.36.0 [17:06:26.435] checking for zic... /usr/sbin/zic [17:06:26.435] checking for a sed that does not truncate output... /usr/bin/sed [17:06:26.440] checking for grep that handles long lines and -e... /usr/bin/grep [17:06:26.442] checking for egrep... /usr/bin/grep -E [17:06:26.444] checking for ANSI C header files... yes [17:06:26.493] checking for sys/types.h... yes [17:06:26.511] checking for sys/stat.h... yes [17:06:26.527] checking for stdlib.h... yes [17:06:26.542] checking for string.h... yes [17:06:26.557] checking for memory.h... yes [17:06:26.573] checking for strings.h... yes [17:06:26.589] checking for inttypes.h... yes [17:06:26.605] checking for stdint.h... yes [17:06:26.621] checking for unistd.h... yes [17:06:26.637] checking for main in -lm... yes [17:06:26.686] checking for library containing setproctitle... no [17:06:26.777] checking for library containing dlsym... no [17:06:26.864] checking for library containing socket... -lws2_32 [17:06:26.993] checking for library containing getopt_long... none required [17:06:27.041] checking for library containing shm_open... no [17:06:27.130] checking for library containing shm_unlink... no [17:06:27.219] checking for library containing clock_gettime... no [17:06:27.308] checking for library containing shmget... no [17:06:27.398] checking for library containing backtrace_symbols... no [17:06:27.485] checking for library containing pthread_barrier_wait... -lpthread [17:06:27.573] checking for inflate in -lz... yes [17:06:27.623] checking atomic.h usability... no [17:06:27.681] checking atomic.h presence... no [17:06:27.700] checking for atomic.h... no [17:06:27.703] checking copyfile.h usability... no [17:06:27.758] checking copyfile.h presence... no [17:06:27.776] checking for copyfile.h... no [17:06:27.779] checking execinfo.h usability... no [17:06:27.834] checking execinfo.h presence... no [17:06:27.853] checking for execinfo.h... no [17:06:27.856] checking getopt.h usability... yes [17:06:27.864] checking getopt.h presence... yes [17:06:27.880] checking for getopt.h... yes [17:06:27.887] checking ifaddrs.h usability... no [17:06:27.942] checking ifaddrs.h presence... no [17:06:27.960] checking for ifaddrs.h... no [17:06:27.964] checking mbarrier.h usability... no [17:06:28.018] checking mbarrier.h presence... no [17:06:28.036] checking for mbarrier.h... no [17:06:28.040] checking sys/epoll.h usability... no [17:06:28.094] checking sys/epoll.h presence... no [17:06:28.114] checking for sys/epoll.h... no [17:06:28.117] checking sys/event.h usability... no [17:06:28.172] checking sys/event.h presence... no [17:06:28.192] checking for sys/event.h... no [17:06:28.195] checking sys/personality.h usability... no [17:06:28.251] checking sys/personality.h presence... no [17:06:28.270] checking for sys/personality.h... no [17:06:28.274] checking sys/prctl.h usability... no [17:06:28.327] checking sys/prctl.h presence... no [17:06:28.348] checking for sys/prctl.h... no [17:06:28.351] checking sys/procctl.h usability... no [17:06:28.408] checking sys/procctl.h presence... no [17:06:28.427] checking for sys/procctl.h... no [17:06:28.430] checking sys/signalfd.h usability... no [17:06:28.484] checking sys/signalfd.h presence... no [17:06:28.503] checking for sys/signalfd.h... no [17:06:28.506] checking sys/ucred.h usability... no [17:06:28.560] checking sys/ucred.h presence... no [17:06:28.578] checking for sys/ucred.h... no [17:06:28.582] checking termios.h usability... no [17:06:28.636] checking termios.h presence... no [17:06:28.654] checking for termios.h... no [17:06:28.657] checking ucred.h usability... no [17:06:28.710] checking ucred.h presence... no [17:06:28.728] checking for ucred.h... no [17:06:28.732] checking xlocale.h usability... no [17:06:28.787] checking xlocale.h presence... no [17:06:28.806] checking for xlocale.h... no [17:06:28.809] checking zlib.h usability... yes [17:06:28.818] checking zlib.h presence... yes [17:06:28.839] checking for zlib.h... yes [17:06:28.839] checking for lz4... /usr/bin/lz4 [17:06:28.839] checking for zstd... /usr/bin/zstd [17:06:28.840] checking for openssl... /usr/bin/openssl [17:06:28.844] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:06:28.845] checking crtdefs.h usability... yes [17:06:28.852] checking crtdefs.h presence... yes [17:06:28.868] checking for crtdefs.h... yes [17:06:28.869] checking whether byte ordering is bigendian... no [17:06:28.944] checking for inline... inline [17:06:28.951] checking for printf format archetype... gnu_printf [17:06:28.960] checking for _Static_assert... yes [17:06:29.002] checking for typeof... typeof [17:06:29.010] checking for __builtin_types_compatible_p... yes [17:06:29.021] checking for __builtin_constant_p... yes [17:06:29.032] checking for __builtin_mul_overflow... yes [17:06:29.081] checking for __builtin_unreachable... yes [17:06:29.123] checking for computed goto support... yes [17:06:29.131] checking for struct tm.tm_zone... no [17:06:29.211] checking for union semun... no [17:06:29.247] checking for socklen_t... yes [17:06:30.379] checking for struct sockaddr.sa_len... no [17:06:32.384] checking for C/C++ restrict keyword... __restrict [17:06:32.397] checking for struct option... yes [17:06:32.442] checking whether assembler supports x86_64 popcntq... yes [17:06:32.450] checking size of off_t... 4 [17:06:32.651] 0 [17:06:32.651] checking for int timezone... yes [17:06:32.703] checking for backtrace_symbols... no [17:06:32.755] checking for copyfile... no [17:06:32.807] checking for copy_file_range... no [17:06:32.857] checking for elf_aux_info... no [17:06:32.909] checking for getauxval... no [17:06:32.959] checking for getifaddrs... no [17:06:33.011] checking for getpeerucred... no [17:06:33.063] checking for inet_pton... yes [17:06:33.115] checking for kqueue... no [17:06:33.166] checking for mbstowcs_l... no [17:06:33.218] checking for memset_s... no [17:06:33.271] checking for posix_fallocate... no [17:06:33.324] checking for ppoll... no [17:06:33.376] checking for pthread_is_threaded_np... no [17:06:33.428] checking for setproctitle... no [17:06:33.477] checking for setproctitle_fast... no [17:06:33.527] checking for strchrnul... no [17:06:33.578] checking for strsignal... no [17:06:33.628] checking for syncfs... no [17:06:33.679] checking for sync_file_range... no [17:06:33.728] checking for uselocale... no [17:06:33.780] checking for wcstombs_l... no [17:06:33.830] checking for __builtin_bswap16... yes [17:06:33.880] checking for __builtin_bswap32... yes [17:06:33.930] checking for __builtin_bswap64... yes [17:06:33.980] checking for __builtin_clz... yes [17:06:34.030] checking for __builtin_ctz... yes [17:06:34.077] checking for __builtin_popcount... yes [17:06:34.125] checking for __builtin_frame_address... yes [17:06:34.172] checking for _LARGEFILE_SOURCE value needed for large files... no [17:06:34.224] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:06:34.256] checking for posix_fadvise... no [17:06:34.310] checking whether posix_fadvise is declared... no [17:06:34.358] checking whether fdatasync is declared... no [17:06:34.406] checking whether strlcat is declared... no [17:06:34.470] checking whether strlcpy is declared... no [17:06:34.533] checking whether strnlen is declared... yes [17:06:34.546] checking whether strsep is declared... no [17:06:34.609] checking whether preadv is declared... no [17:06:34.645] checking whether pwritev is declared... no [17:06:34.683] checking whether F_FULLFSYNC is declared... no [17:06:34.726] checking for explicit_bzero... no [17:06:34.774] checking for getopt... yes [17:06:34.820] checking for getpeereid... no [17:06:34.868] checking for inet_aton... no [17:06:34.917] checking for mkdtemp... no [17:06:34.965] checking for strlcat... no [17:06:35.015] checking for strlcpy... no [17:06:35.064] checking for strnlen... yes [17:06:35.114] checking for strsep... no [17:06:35.163] checking for pthread_barrier_wait... yes [17:06:35.208] configure: On mingw32 we will use our strtof wrapper. [17:06:35.208] checking for getopt_long... yes [17:06:35.255] checking for syslog... no [17:06:35.303] checking for opterr... yes [17:06:35.356] checking for optreset... no [17:06:35.409] checking test program... cross-compiling [17:06:35.409] checking size of void *... 8 [17:06:35.682] checking size of size_t... 8 [17:06:35.959] checking size of long... 4 [17:06:36.166] checking size of long long... 8 [17:06:36.446] checking alignment of short... 2 [17:06:36.585] checking alignment of int... 4 [17:06:36.788] checking alignment of long... 4 [17:06:36.990] checking alignment of int64_t... 8 [17:06:37.255] checking alignment of double... 8 [17:06:37.522] checking for __int128... yes [17:06:37.572] checking for __int128 alignment bug... assuming ok [17:06:37.573] checking alignment of PG_INT128_TYPE... 16 [17:06:37.896] checking for builtin __sync char locking functions... yes [17:06:37.937] checking for builtin __sync int32 locking functions... yes [17:06:37.978] checking for builtin __sync int32 atomic operations... yes [17:06:38.019] checking for builtin __sync int64 atomic operations... yes [17:06:38.062] checking for builtin __atomic int32 atomic operations... yes [17:06:38.103] checking for builtin __atomic int64 atomic operations... yes [17:06:38.145] checking for __get_cpuid... yes [17:06:38.191] checking for __get_cpuid_count... yes [17:06:38.235] checking for __cpuid... no [17:06:38.625] checking for __cpuidex... no [17:06:39.043] checking for _xgetbv... yes [17:06:39.441] checking for _mm512_popcnt_epi64... yes [17:06:39.850] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:06:39.950] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:06:39.972] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:06:39.991] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:06:40.009] 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 [17:06:40.063] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:06:40.063] checking which random number source to use... Windows native [17:06:40.065] checking for xmllint... /usr/bin/xmllint [17:06:40.065] checking for xsltproc... /usr/bin/xsltproc [17:06:40.065] checking for fop... /usr/bin/fop [17:06:40.066] checking for dbtoepub... no [17:06:40.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:06:40.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:06:40.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:06:40.076] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:06:40.077] 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 [17:06:40.077] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:06:40.077] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:06:40.167] configure: creating ./config.status [17:06:40.255] config.status: creating GNUmakefile [17:06:40.268] config.status: creating src/Makefile.global [17:06:40.284] config.status: creating src/include/pg_config.h [17:06:40.297] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:06:40.313] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:06:40.320] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:06:40.328] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:06:40.335] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:06:40.342] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:06:40.345] config.status: executing check_win32_symlinks commands [17:06:40.381] [17:06:40.381] real 0m15.462s [17:06:40.381] user 0m10.344s [17:06:40.381] sys 0m4.822s [17:06:40.381] make -s -j${BUILD_JOBS} clean [17:06:40.894] time make -s -j${BUILD_JOBS} world-bin [17:06:54.258] pg_restore.c: In function ‘get_dbname_oid_list_from_mfile’: [17:06:54.258] 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=] [17:06:54.258] 1045 | sscanf(line, "%u %u" , &db_oid, &db_name_size); [17:06:54.258] | ~^ ~~~~~~~~~~~~~ [17:06:54.258] | | | [17:06:54.258] | | size_t * {aka long long unsigned int *} [17:06:54.258] | unsigned int * [17:06:54.258] | %llu [17:06:54.258] cc1: all warnings being treated as errors [17:06:54.260] make[3]: *** [: pg_restore.o] Error 1 [17:06:54.260] make[3]: *** Waiting for unfinished jobs.... [17:06:54.735] pg_dumpall.c: In function ‘dumpDatabases’: [17:06:54.735] 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=] [17:06:54.735] 1679 | fprintf(map_file, "%s %u\n%s\n", oid, strlen(dbname), pg_strdup(dbname)); [17:06:54.735] | ~^ ~~~~~~~~~~~~~~ [17:06:54.735] | | | [17:06:54.735] | unsigned int size_t {aka long long unsigned int} [17:06:54.735] | %llu [17:06:54.735] cc1: all warnings being treated as errors [17:06:54.736] make[3]: *** [: pg_dumpall.o] Error 1 [17:06:54.737] make[2]: *** [Makefile:45: all-pg_dump-recurse] Error 2 [17:06:54.737] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [17:06:54.737] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:06:54.738] [17:06:54.738] real 0m13.844s [17:06:54.738] user 0m27.923s [17:06:54.738] sys 0m12.101s [17:06:54.738] [17:06:54.738] Exit status: 2