[07:42:35.889] time ./configure \ [07:42:35.889] --host=x86_64-w64-mingw32 \ [07:42:35.889] --enable-cassert \ [07:42:35.889] --without-icu \ [07:42:35.889] CC="ccache x86_64-w64-mingw32-gcc" \ [07:42:35.889] CXX="ccache x86_64-w64-mingw32-g++" [07:42:35.970] checking build system type... x86_64-pc-linux-gnu [07:42:36.148] checking host system type... x86_64-w64-mingw32 [07:42:36.152] checking which template to use... win32 [07:42:36.152] checking whether NLS is wanted... no [07:42:36.153] checking for default port number... 5432 [07:42:36.157] checking for block size... 8kB [07:42:36.158] checking for segment size... 1GB [07:42:36.159] checking for WAL block size... 8kB [07:42:36.160] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:42:36.184] checking whether the C compiler works... yes [07:42:36.319] checking for C compiler default output file name... a.exe [07:42:36.320] checking for suffix of executables... .exe [07:42:36.349] checking whether we are cross compiling... yes [07:42:36.409] checking for suffix of object files... o [07:42:36.422] checking whether we are using the GNU C compiler... yes [07:42:36.426] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:42:36.451] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:42:36.468] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:42:36.582] checking whether we are using the GNU C++ compiler... yes [07:42:36.585] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:42:36.820] checking for gawk... no [07:42:36.820] checking for mawk... mawk [07:42:36.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:42:36.845] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:42:36.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:42:36.889] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:42:36.921] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:42:36.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:42:36.938] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:42:36.942] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:42:36.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:42:36.956] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:42:36.959] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:42:36.980] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:42:36.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:42:36.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:42:37.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:42:37.025] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:42:37.036] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:42:37.060] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:42:37.086] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:42:37.111] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:42:37.116] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:42:37.121] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:42:37.135] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:42:37.161] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:42:37.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:42:37.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:42:37.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:42:37.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:42:37.284] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:42:37.307] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:42:37.312] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:42:37.318] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:42:37.323] checking whether the C compiler still works... yes [07:42:37.376] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:42:37.426] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:42:37.426] checking pkg-config is at least version 0.9.0... yes [07:42:37.439] checking whether to build with ICU support... no [07:42:37.440] checking whether to build with Tcl... no [07:42:37.440] checking whether to build Perl modules... no [07:42:37.440] checking whether to build Python modules... no [07:42:37.440] checking whether to build with GSSAPI support... no [07:42:37.441] checking whether to build with PAM support... no [07:42:37.441] checking whether to build with BSD Authentication support... no [07:42:37.441] checking whether to build with LDAP support... no [07:42:37.441] checking whether to build with Bonjour support... no [07:42:37.441] checking whether to build with SELinux support... no [07:42:37.441] checking whether to build with systemd support... no [07:42:37.441] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:42:37.441] checking whether to build with XML support... no [07:42:37.442] checking whether to build with LZ4 support... no [07:42:37.442] checking whether to build with ZSTD support... no [07:42:37.442] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:42:37.442] checking whether it is possible to strip libraries... yes [07:42:37.449] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:42:37.449] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:42:37.449] checking for a BSD-compatible install... /usr/bin/install -c [07:42:37.455] checking for tar... /usr/bin/tar [07:42:37.455] checking whether ln -s works... yes [07:42:37.455] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:42:37.456] checking for bison... /usr/bin/bison [07:42:37.458] configure: using bison (GNU Bison) 3.7.5 [07:42:37.460] checking for flex... /usr/bin/flex [07:42:37.468] configure: using flex 2.6.4 [07:42:37.469] checking for perl... /usr/bin/perl [07:42:37.471] configure: using perl 5.32.1 [07:42:37.472] checking for zic... /usr/sbin/zic [07:42:37.472] checking for a sed that does not truncate output... /usr/bin/sed [07:42:37.476] checking for grep that handles long lines and -e... /usr/bin/grep [07:42:37.477] checking for egrep... /usr/bin/grep -E [07:42:37.479] checking for ANSI C header files... yes [07:42:37.539] checking for sys/types.h... yes [07:42:37.551] checking for sys/stat.h... yes [07:42:37.574] checking for stdlib.h... yes [07:42:37.617] checking for string.h... yes [07:42:37.660] checking for memory.h... yes [07:42:37.703] checking for strings.h... yes [07:42:37.713] checking for inttypes.h... yes [07:42:37.724] checking for stdint.h... yes [07:42:37.768] checking for unistd.h... yes [07:42:37.795] checking for main in -lm... yes [07:42:37.827] checking for library containing setproctitle... no [07:42:37.886] checking for library containing dlsym... no [07:42:37.947] checking for library containing socket... -lws2_32 [07:42:38.038] checking for library containing getopt_long... none required [07:42:38.073] checking for library containing shm_open... no [07:42:38.137] checking for library containing shm_unlink... no [07:42:38.200] checking for library containing clock_gettime... no [07:42:38.262] checking for library containing shmget... no [07:42:38.318] checking for library containing backtrace_symbols... no [07:42:38.376] checking for library containing pthread_barrier_wait... -lpthread [07:42:38.441] checking for inflate in -lz... yes [07:42:38.478] checking for stdbool.h that conforms to C99... yes [07:42:38.493] checking for _Bool... yes [07:42:38.591] checking atomic.h usability... no [07:42:38.635] checking atomic.h presence... no [07:42:38.650] checking for atomic.h... no [07:42:38.653] checking copyfile.h usability... no [07:42:38.697] checking copyfile.h presence... no [07:42:38.710] checking for copyfile.h... no [07:42:38.713] checking execinfo.h usability... no [07:42:38.755] checking execinfo.h presence... no [07:42:38.770] checking for execinfo.h... no [07:42:38.773] checking getopt.h usability... yes [07:42:38.778] checking getopt.h presence... yes [07:42:38.789] checking for getopt.h... yes [07:42:38.795] checking ifaddrs.h usability... no [07:42:38.838] checking ifaddrs.h presence... no [07:42:38.851] checking for ifaddrs.h... no [07:42:38.854] checking langinfo.h usability... no [07:42:38.896] checking langinfo.h presence... no [07:42:38.910] checking for langinfo.h... no [07:42:38.913] checking mbarrier.h usability... no [07:42:38.955] checking mbarrier.h presence... no [07:42:38.967] checking for mbarrier.h... no [07:42:38.970] checking sys/epoll.h usability... no [07:42:39.011] checking sys/epoll.h presence... no [07:42:39.026] checking for sys/epoll.h... no [07:42:39.029] checking sys/event.h usability... no [07:42:39.072] checking sys/event.h presence... no [07:42:39.085] checking for sys/event.h... no [07:42:39.087] checking sys/personality.h usability... no [07:42:39.129] checking sys/personality.h presence... no [07:42:39.142] checking for sys/personality.h... no [07:42:39.145] checking sys/prctl.h usability... no [07:42:39.188] checking sys/prctl.h presence... no [07:42:39.202] checking for sys/prctl.h... no [07:42:39.205] checking sys/procctl.h usability... no [07:42:39.248] checking sys/procctl.h presence... no [07:42:39.261] checking for sys/procctl.h... no [07:42:39.264] checking sys/signalfd.h usability... no [07:42:39.303] checking sys/signalfd.h presence... no [07:42:39.315] checking for sys/signalfd.h... no [07:42:39.318] checking sys/ucred.h usability... no [07:42:39.358] checking sys/ucred.h presence... no [07:42:39.371] checking for sys/ucred.h... no [07:42:39.373] checking termios.h usability... no [07:42:39.415] checking termios.h presence... no [07:42:39.429] checking for termios.h... no [07:42:39.432] checking ucred.h usability... no [07:42:39.476] checking ucred.h presence... no [07:42:39.490] checking for ucred.h... no [07:42:39.491] checking zlib.h usability... yes [07:42:39.536] checking zlib.h presence... yes [07:42:39.549] checking for zlib.h... yes [07:42:39.550] checking for lz4... /usr/bin/lz4 [07:42:39.550] checking for zstd... /usr/bin/zstd [07:42:39.550] checking for openssl... /usr/bin/openssl [07:42:39.553] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [07:42:39.554] checking crtdefs.h usability... yes [07:42:39.574] checking crtdefs.h presence... yes [07:42:39.585] checking for crtdefs.h... yes [07:42:39.585] checking whether byte ordering is bigendian... no [07:42:39.634] checking for inline... inline [07:42:39.639] checking for printf format archetype... gnu_printf [07:42:39.663] checking for _Static_assert... yes [07:42:39.691] checking for typeof... typeof [07:42:39.701] checking for __builtin_types_compatible_p... yes [07:42:39.708] checking for __builtin_constant_p... yes [07:42:39.714] checking for __builtin_unreachable... yes [07:42:39.741] checking for computed goto support... yes [07:42:39.763] checking for struct tm.tm_zone... no [07:42:39.810] checking for union semun... no [07:42:39.829] checking for socklen_t... yes [07:42:41.416] checking for struct sockaddr.sa_len... no [07:42:42.888] checking for locale_t... no [07:42:42.933] checking for C/C++ restrict keyword... __restrict [07:42:42.948] checking for struct option... yes [07:42:43.004] checking whether assembler supports x86_64 popcntq... yes [07:42:43.010] checking size of off_t... 4 [07:42:43.223] 0 [07:42:43.223] checking size of bool... 1 [07:42:43.253] checking for int timezone... yes [07:42:43.287] checking for wcstombs_l declaration... no [07:42:43.347] checking for backtrace_symbols... no [07:42:43.383] checking for copyfile... no [07:42:43.418] checking for getifaddrs... no [07:42:43.452] checking for getpeerucred... no [07:42:43.485] checking for inet_pton... yes [07:42:43.521] checking for kqueue... no [07:42:43.580] checking for mbstowcs_l... no [07:42:43.617] checking for memset_s... no [07:42:43.654] checking for posix_fallocate... no [07:42:43.692] checking for ppoll... no [07:42:43.729] checking for pthread_is_threaded_np... no [07:42:43.767] checking for setproctitle... no [07:42:43.802] checking for setproctitle_fast... no [07:42:43.840] checking for strchrnul... no [07:42:43.874] checking for strsignal... no [07:42:43.911] checking for syncfs... no [07:42:43.951] checking for sync_file_range... no [07:42:43.988] checking for uselocale... no [07:42:44.024] checking for wcstombs_l... no [07:42:44.056] checking for __builtin_bswap16... yes [07:42:44.092] checking for __builtin_bswap32... yes [07:42:44.127] checking for __builtin_bswap64... yes [07:42:44.164] checking for __builtin_clz... yes [07:42:44.198] checking for __builtin_ctz... yes [07:42:44.233] checking for __builtin_popcount... yes [07:42:44.266] checking for __builtin_frame_address... yes [07:42:44.301] checking for _LARGEFILE_SOURCE value needed for large files... no [07:42:44.344] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:42:44.367] checking for posix_fadvise... no [07:42:44.408] checking whether posix_fadvise is declared... no [07:42:44.443] checking whether fdatasync is declared... no [07:42:44.479] checking whether strlcat is declared... no [07:42:44.528] checking whether strlcpy is declared... no [07:42:44.579] checking whether strnlen is declared... yes [07:42:44.604] checking whether preadv is declared... no [07:42:44.628] checking whether pwritev is declared... no [07:42:44.654] checking whether F_FULLFSYNC is declared... no [07:42:44.684] checking for explicit_bzero... no [07:42:44.720] checking for getopt... yes [07:42:44.754] checking for getpeereid... no [07:42:44.790] checking for inet_aton... no [07:42:44.824] checking for mkdtemp... no [07:42:44.858] checking for strlcat... no [07:42:44.891] checking for strlcpy... no [07:42:44.924] checking for strnlen... yes [07:42:44.959] checking for pthread_barrier_wait... yes [07:42:44.999] configure: On mingw32 we will use our strtof wrapper. [07:42:44.999] checking for getopt_long... yes [07:42:45.033] checking for _configthreadlocale... yes [07:42:45.065] checking for syslog... no [07:42:45.098] checking for opterr... yes [07:42:45.133] checking for optreset... no [07:42:45.172] checking test program... cross-compiling [07:42:45.172] checking whether long int is 64 bits... no [07:42:45.196] checking whether long long int is 64 bits... yes [07:42:45.227] checking for __builtin_mul_overflow... yes [07:42:45.260] checking size of void *... 8 [07:42:45.543] checking size of size_t... 8 [07:42:45.845] checking size of long... 4 [07:42:46.055] checking alignment of short... 2 [07:42:46.204] checking alignment of int... 4 [07:42:46.396] checking alignment of long... 4 [07:42:46.641] checking alignment of long long int... 8 [07:42:46.945] checking alignment of double... 8 [07:42:47.271] checking for int8... no [07:42:47.305] checking for uint8... no [07:42:47.336] checking for int64... no [07:42:47.369] checking for uint64... no [07:42:47.411] checking for __int128... yes [07:42:47.458] checking for __int128 alignment bug... assuming ok [07:42:47.458] checking alignment of PG_INT128_TYPE... 16 [07:42:47.866] checking for builtin __sync char locking functions... yes [07:42:47.917] checking for builtin __sync int32 locking functions... yes [07:42:47.952] checking for builtin __sync int32 atomic operations... yes [07:42:47.986] checking for builtin __sync int64 atomic operations... yes [07:42:48.021] checking for builtin __atomic int32 atomic operations... yes [07:42:48.056] checking for builtin __atomic int64 atomic operations... yes [07:42:48.089] checking for __get_cpuid... yes [07:42:48.122] checking for __cpuid... no [07:42:48.363] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:42:48.398] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:42:48.466] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:42:48.482] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:42:48.496] 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:42:48.538] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:42:48.539] checking which random number source to use... Windows native [07:42:48.540] checking for xmllint... /usr/bin/xmllint [07:42:48.540] checking for xsltproc... /usr/bin/xsltproc [07:42:48.540] checking for fop... /usr/bin/fop [07:42:48.540] checking for dbtoepub... no [07:42:48.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:42:48.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:42:48.548] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [07:42:48.548] 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:42:48.548] configure: using CPPFLAGS= -I./src/include/port/win32 [07:42:48.548] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:42:48.613] configure: creating ./config.status [07:42:48.669] config.status: creating GNUmakefile [07:42:48.677] config.status: creating src/Makefile.global [07:42:48.688] config.status: creating src/include/pg_config.h [07:42:48.696] config.status: creating src/include/pg_config_ext.h [07:42:48.704] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:42:48.714] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:42:48.719] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:42:48.725] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:42:48.730] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:42:48.735] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:42:48.738] config.status: executing check_win32_symlinks commands [07:42:48.762] [07:42:48.762] real 0m12.874s [07:42:48.762] user 0m9.313s [07:42:48.762] sys 0m3.181s [07:42:48.762] make -s -j${BUILD_JOBS} clean [07:42:49.135] time make -s -j${BUILD_JOBS} world-bin [07:43:56.251] In file included from ../../../src/include/postgres.h:46, [07:43:56.251] from extended_stats.c:17: [07:43:56.251] extended_stats.c: In function ‘import_expressions’: [07:43:56.251] extended_stats.c:2891:13: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64’ {aka ‘long long unsigned int’} [-Werror=format=] [07:43:56.251] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [07:43:56.251] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [07:43:56.251] 2892 | nexprs, tuptable->numvals))); [07:43:56.251] | ~~~~~~~~~~~~~~~~~ [07:43:56.251] | | [07:43:56.251] | uint64 {aka long long unsigned int} [07:43:56.251] ../../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [07:43:56.251] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [07:43:56.251] | ^~~~~~~~~~~ [07:43:56.251] extended_stats.c:2889:3: note: in expansion of macro ‘ereport’ [07:43:56.251] 2889 | ereport(ERROR, [07:43:56.251] | ^~~~~~~ [07:43:56.251] extended_stats.c:2891:69: note: format string is defined here [07:43:56.251] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [07:43:56.251] | ~~^ [07:43:56.251] | | [07:43:56.251] | long unsigned int [07:43:56.251] | %llu [07:43:56.251] cc1: all warnings being treated as errors [07:43:56.252] make[3]: *** [: extended_stats.o] Error 1 [07:43:56.252] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [07:43:56.252] make[2]: *** Waiting for unfinished jobs.... [07:44:05.811] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:44:05.811] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:44:05.811] [07:44:05.811] real 1m16.676s [07:44:05.811] user 4m20.900s [07:44:05.811] sys 0m33.275s [07:44:05.811] [07:44:05.811] Exit status: 2