[02:24:33.965] time ./configure \ [02:24:33.965] --host=x86_64-w64-mingw32 \ [02:24:33.965] --enable-cassert \ [02:24:33.965] --without-icu \ [02:24:33.965] CC="ccache x86_64-w64-mingw32-gcc" \ [02:24:33.965] CXX="ccache x86_64-w64-mingw32-g++" [02:24:34.050] checking build system type... x86_64-pc-linux-gnu [02:24:34.234] checking host system type... x86_64-w64-mingw32 [02:24:34.238] checking which template to use... win32 [02:24:34.239] checking whether NLS is wanted... no [02:24:34.239] checking for default port number... 5432 [02:24:34.244] checking for block size... 8kB [02:24:34.245] checking for segment size... 1GB [02:24:34.247] checking for WAL block size... 8kB [02:24:34.248] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:24:34.275] checking whether the C compiler works... yes [02:24:34.420] checking for C compiler default output file name... a.exe [02:24:34.421] checking for suffix of executables... .exe [02:24:34.453] checking whether we are cross compiling... yes [02:24:34.519] checking for suffix of object files... o [02:24:34.525] checking whether we are using the GNU C compiler... yes [02:24:34.530] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:24:34.535] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:24:34.599] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:24:34.700] checking whether we are using the GNU C++ compiler... yes [02:24:34.705] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:24:34.950] checking for gawk... no [02:24:34.951] checking for mawk... mawk [02:24:34.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:24:34.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:24:35.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:24:35.035] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:24:35.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:24:35.072] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:24:35.083] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:24:35.108] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:24:35.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:24:35.135] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:24:35.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:24:35.185] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:24:35.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:24:35.195] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:24:35.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:24:35.213] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:24:35.238] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:24:35.264] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:24:35.287] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:24:35.299] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:24:35.310] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:24:35.321] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:24:35.335] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:24:35.340] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:24:35.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:24:35.376] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:24:35.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:24:35.411] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:24:35.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:24:35.455] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:24:35.460] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:24:35.471] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:24:35.476] checking whether the C compiler still works... yes [02:24:35.513] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:24:35.565] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:24:35.565] checking pkg-config is at least version 0.9.0... yes [02:24:35.580] checking whether to build with ICU support... no [02:24:35.580] checking whether to build with Tcl... no [02:24:35.580] checking whether to build Perl modules... no [02:24:35.580] checking whether to build Python modules... no [02:24:35.580] checking whether to build with GSSAPI support... no [02:24:35.581] checking whether to build with PAM support... no [02:24:35.581] checking whether to build with BSD Authentication support... no [02:24:35.581] checking whether to build with LDAP support... no [02:24:35.581] checking whether to build with Bonjour support... no [02:24:35.582] checking whether to build with SELinux support... no [02:24:35.582] checking whether to build with systemd support... no [02:24:35.582] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:24:35.582] checking whether to build with XML support... no [02:24:35.582] checking whether to build with LZ4 support... no [02:24:35.582] checking whether to build with ZSTD support... no [02:24:35.583] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:24:35.583] checking whether it is possible to strip libraries... yes [02:24:35.591] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:24:35.591] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:24:35.591] checking for a BSD-compatible install... /usr/bin/install -c [02:24:35.598] checking for tar... /usr/bin/tar [02:24:35.598] checking whether ln -s works... yes [02:24:35.598] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:24:35.600] checking for bison... /usr/bin/bison [02:24:35.602] configure: using bison (GNU Bison) 3.7.5 [02:24:35.604] checking for flex... /usr/bin/flex [02:24:35.614] configure: using flex 2.6.4 [02:24:35.614] checking for perl... /usr/bin/perl [02:24:35.616] configure: using perl 5.32.1 [02:24:35.619] checking for zic... /usr/sbin/zic [02:24:35.619] checking for a sed that does not truncate output... /usr/bin/sed [02:24:35.624] checking for grep that handles long lines and -e... /usr/bin/grep [02:24:35.626] checking for egrep... /usr/bin/grep -E [02:24:35.627] checking for ANSI C header files... yes [02:24:35.664] checking for sys/types.h... yes [02:24:35.710] checking for sys/stat.h... yes [02:24:35.758] checking for stdlib.h... yes [02:24:35.784] checking for string.h... yes [02:24:35.794] checking for memory.h... yes [02:24:35.843] checking for strings.h... yes [02:24:35.891] checking for inttypes.h... yes [02:24:35.941] checking for stdint.h... yes [02:24:35.989] checking for unistd.h... yes [02:24:36.003] checking for main in -lm... yes [02:24:36.038] checking for library containing setproctitle... no [02:24:36.105] checking for library containing dlsym... no [02:24:36.169] checking for library containing socket... -lws2_32 [02:24:36.264] checking for library containing getopt_long... none required [02:24:36.300] checking for library containing shm_open... no [02:24:36.367] checking for library containing shm_unlink... no [02:24:36.430] checking for library containing clock_gettime... no [02:24:36.494] checking for library containing shmget... no [02:24:36.558] checking for library containing backtrace_symbols... no [02:24:36.628] checking for library containing pthread_barrier_wait... -lpthread [02:24:36.699] checking for inflate in -lz... yes [02:24:36.736] checking for stdbool.h that conforms to C99... yes [02:24:36.744] checking for _Bool... yes [02:24:36.798] checking atomic.h usability... no [02:24:36.840] checking atomic.h presence... no [02:24:36.853] checking for atomic.h... no [02:24:36.855] checking copyfile.h usability... no [02:24:36.898] checking copyfile.h presence... no [02:24:36.911] checking for copyfile.h... no [02:24:36.914] checking execinfo.h usability... no [02:24:36.957] checking execinfo.h presence... no [02:24:36.970] checking for execinfo.h... no [02:24:36.973] checking getopt.h usability... yes [02:24:37.016] checking getopt.h presence... yes [02:24:37.029] checking for getopt.h... yes [02:24:37.035] checking ifaddrs.h usability... no [02:24:37.077] checking ifaddrs.h presence... no [02:24:37.092] checking for ifaddrs.h... no [02:24:37.094] checking langinfo.h usability... no [02:24:37.137] checking langinfo.h presence... no [02:24:37.151] checking for langinfo.h... no [02:24:37.154] checking mbarrier.h usability... no [02:24:37.197] checking mbarrier.h presence... no [02:24:37.211] checking for mbarrier.h... no [02:24:37.214] checking sys/epoll.h usability... no [02:24:37.257] checking sys/epoll.h presence... no [02:24:37.272] checking for sys/epoll.h... no [02:24:37.274] checking sys/event.h usability... no [02:24:37.317] checking sys/event.h presence... no [02:24:37.332] checking for sys/event.h... no [02:24:37.334] checking sys/personality.h usability... no [02:24:37.377] checking sys/personality.h presence... no [02:24:37.392] checking for sys/personality.h... no [02:24:37.394] checking sys/prctl.h usability... no [02:24:37.438] checking sys/prctl.h presence... no [02:24:37.452] checking for sys/prctl.h... no [02:24:37.454] checking sys/procctl.h usability... no [02:24:37.495] checking sys/procctl.h presence... no [02:24:37.507] checking for sys/procctl.h... no [02:24:37.510] checking sys/signalfd.h usability... no [02:24:37.554] checking sys/signalfd.h presence... no [02:24:37.570] checking for sys/signalfd.h... no [02:24:37.572] checking sys/ucred.h usability... no [02:24:37.613] checking sys/ucred.h presence... no [02:24:37.628] checking for sys/ucred.h... no [02:24:37.630] checking termios.h usability... no [02:24:37.674] checking termios.h presence... no [02:24:37.688] checking for termios.h... no [02:24:37.691] checking ucred.h usability... no [02:24:37.733] checking ucred.h presence... no [02:24:37.748] checking for ucred.h... no [02:24:37.751] checking zlib.h usability... yes [02:24:37.775] checking zlib.h presence... yes [02:24:37.791] checking for zlib.h... yes [02:24:37.791] checking for lz4... /usr/bin/lz4 [02:24:37.792] checking for zstd... /usr/bin/zstd [02:24:37.792] checking for openssl... /usr/bin/openssl [02:24:37.796] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [02:24:37.796] checking crtdefs.h usability... yes [02:24:37.802] checking crtdefs.h presence... yes [02:24:37.814] checking for crtdefs.h... yes [02:24:37.815] checking whether byte ordering is bigendian... no [02:24:37.867] checking for inline... inline [02:24:37.887] checking for printf format archetype... gnu_printf [02:24:37.918] checking for _Static_assert... yes [02:24:37.952] checking for typeof... typeof [02:24:37.958] checking for __builtin_types_compatible_p... yes [02:24:37.966] checking for __builtin_constant_p... yes [02:24:37.990] checking for __builtin_unreachable... yes [02:24:38.022] checking for computed goto support... yes [02:24:38.028] checking for struct tm.tm_zone... no [02:24:38.088] checking for union semun... no [02:24:38.115] checking for socklen_t... yes [02:24:39.814] checking for struct sockaddr.sa_len... no [02:24:41.317] checking for locale_t... no [02:24:41.370] checking for C/C++ restrict keyword... __restrict [02:24:41.388] checking for struct option... yes [02:24:41.445] checking whether assembler supports x86_64 popcntq... yes [02:24:41.472] checking size of off_t... 4 [02:24:41.644] 0 [02:24:41.644] checking size of bool... 1 [02:24:41.701] checking for int timezone... yes [02:24:41.737] checking for wcstombs_l declaration... no [02:24:41.800] checking for backtrace_symbols... no [02:24:41.839] checking for copyfile... no [02:24:41.875] checking for getifaddrs... no [02:24:41.911] checking for getpeerucred... no [02:24:41.948] checking for inet_pton... yes [02:24:41.987] checking for kqueue... no [02:24:42.026] checking for mbstowcs_l... no [02:24:42.064] checking for memset_s... no [02:24:42.101] checking for posix_fallocate... no [02:24:42.137] checking for ppoll... no [02:24:42.173] checking for pthread_is_threaded_np... no [02:24:42.211] checking for setproctitle... no [02:24:42.246] checking for setproctitle_fast... no [02:24:42.283] checking for strchrnul... no [02:24:42.322] checking for strsignal... no [02:24:42.361] checking for syncfs... no [02:24:42.401] checking for sync_file_range... no [02:24:42.441] checking for uselocale... no [02:24:42.479] checking for wcstombs_l... no [02:24:42.513] checking for __builtin_bswap16... yes [02:24:42.552] checking for __builtin_bswap32... yes [02:24:42.589] checking for __builtin_bswap64... yes [02:24:42.625] checking for __builtin_clz... yes [02:24:42.661] checking for __builtin_ctz... yes [02:24:42.697] checking for __builtin_popcount... yes [02:24:42.735] checking for __builtin_frame_address... yes [02:24:42.772] checking for _LARGEFILE_SOURCE value needed for large files... no [02:24:42.818] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:24:42.843] checking for posix_fadvise... no [02:24:42.881] checking whether posix_fadvise is declared... no [02:24:42.914] checking whether fdatasync is declared... no [02:24:42.950] checking whether strlcat is declared... no [02:24:42.999] checking whether strlcpy is declared... no [02:24:43.044] checking whether strnlen is declared... yes [02:24:43.090] checking whether preadv is declared... no [02:24:43.113] checking whether pwritev is declared... no [02:24:43.139] checking whether F_FULLFSYNC is declared... no [02:24:43.168] checking for explicit_bzero... no [02:24:43.203] checking for getopt... yes [02:24:43.237] checking for getpeereid... no [02:24:43.273] checking for inet_aton... no [02:24:43.308] checking for mkdtemp... no [02:24:43.346] checking for strlcat... no [02:24:43.383] checking for strlcpy... no [02:24:43.415] checking for strnlen... yes [02:24:43.451] checking for pthread_barrier_wait... yes [02:24:43.486] configure: On mingw32 we will use our strtof wrapper. [02:24:43.486] checking for getopt_long... yes [02:24:43.523] checking for _configthreadlocale... yes [02:24:43.557] checking for syslog... no [02:24:43.593] checking for opterr... yes [02:24:43.631] checking for optreset... no [02:24:43.671] checking test program... cross-compiling [02:24:43.671] checking whether long int is 64 bits... no [02:24:43.695] checking whether long long int is 64 bits... yes [02:24:43.702] checking for __builtin_mul_overflow... yes [02:24:43.736] checking size of void *... 8 [02:24:43.995] checking size of size_t... 8 [02:24:44.330] checking size of long... 4 [02:24:44.548] checking alignment of short... 2 [02:24:44.750] checking alignment of int... 4 [02:24:44.938] checking alignment of long... 4 [02:24:45.210] checking alignment of long long int... 8 [02:24:45.503] checking alignment of double... 8 [02:24:45.790] checking for int8... no [02:24:45.822] checking for uint8... no [02:24:45.855] checking for int64... no [02:24:45.890] checking for uint64... no [02:24:45.924] checking for __int128... yes [02:24:45.960] checking for __int128 alignment bug... assuming ok [02:24:45.960] checking alignment of PG_INT128_TYPE... 16 [02:24:46.286] checking for builtin __sync char locking functions... yes [02:24:46.319] checking for builtin __sync int32 locking functions... yes [02:24:46.352] checking for builtin __sync int32 atomic operations... yes [02:24:46.386] checking for builtin __sync int64 atomic operations... yes [02:24:46.420] checking for builtin __atomic int32 atomic operations... yes [02:24:46.455] checking for builtin __atomic int64 atomic operations... yes [02:24:46.489] checking for __get_cpuid... yes [02:24:46.523] checking for __cpuid... no [02:24:46.770] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [02:24:46.804] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [02:24:46.877] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:24:46.893] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:24:46.907] 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 [02:24:46.947] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:24:46.947] checking which random number source to use... Windows native [02:24:46.949] checking for xmllint... /usr/bin/xmllint [02:24:46.949] checking for xsltproc... /usr/bin/xsltproc [02:24:46.949] checking for fop... /usr/bin/fop [02:24:46.950] checking for dbtoepub... no [02:24:46.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:24:46.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:24:46.958] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [02:24:46.958] 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 [02:24:46.958] configure: using CPPFLAGS= -I./src/include/port/win32 [02:24:46.958] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:24:47.030] configure: creating ./config.status [02:24:47.095] config.status: creating GNUmakefile [02:24:47.105] config.status: creating src/Makefile.global [02:24:47.117] config.status: creating src/include/pg_config.h [02:24:47.127] config.status: creating src/include/pg_config_ext.h [02:24:47.135] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:24:47.147] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:24:47.153] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:24:47.159] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:24:47.165] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:24:47.171] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:24:47.174] config.status: executing check_win32_symlinks commands [02:24:47.203] [02:24:47.203] real 0m13.238s [02:24:47.203] user 0m9.652s [02:24:47.203] sys 0m3.214s [02:24:47.203] make -s -j${BUILD_JOBS} clean [02:24:47.590] time make -s -j${BUILD_JOBS} world-bin [02:25:52.360] In file included from ../../../src/include/postgres.h:46, [02:25:52.360] from extended_stats.c:17: [02:25:52.360] extended_stats.c: In function ‘import_expressions’: [02:25:52.360] 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=] [02:25:52.360] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [02:25:52.360] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [02:25:52.360] 2892 | nexprs, tuptable->numvals))); [02:25:52.360] | ~~~~~~~~~~~~~~~~~ [02:25:52.360] | | [02:25:52.360] | uint64 {aka long long unsigned int} [02:25:52.360] ../../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [02:25:52.360] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [02:25:52.360] | ^~~~~~~~~~~ [02:25:52.360] extended_stats.c:2889:3: note: in expansion of macro ‘ereport’ [02:25:52.360] 2889 | ereport(ERROR, [02:25:52.360] | ^~~~~~~ [02:25:52.360] extended_stats.c:2891:69: note: format string is defined here [02:25:52.360] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [02:25:52.360] | ~~^ [02:25:52.360] | | [02:25:52.360] | long unsigned int [02:25:52.360] | %llu [02:25:52.360] cc1: all warnings being treated as errors [02:25:52.361] make[3]: *** [: extended_stats.o] Error 1 [02:25:52.361] make[3]: *** Waiting for unfinished jobs.... [02:25:52.410] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [02:25:52.410] make[2]: *** Waiting for unfinished jobs.... [02:25:56.063] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:25:56.064] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:25:56.064] [02:25:56.064] real 1m8.474s [02:25:56.064] user 3m53.067s [02:25:56.064] sys 0m30.909s [02:25:56.064] [02:25:56.064] Exit status: 2