[22:43:36.221] time ./configure \ [22:43:36.221] --host=x86_64-w64-mingw32 \ [22:43:36.221] --enable-cassert \ [22:43:36.221] --without-icu \ [22:43:36.221] CC="ccache x86_64-w64-mingw32-gcc" \ [22:43:36.221] CXX="ccache x86_64-w64-mingw32-g++" [22:43:36.290] checking build system type... x86_64-pc-linux-gnu [22:43:36.457] checking host system type... x86_64-w64-mingw32 [22:43:36.461] checking which template to use... win32 [22:43:36.461] checking whether NLS is wanted... no [22:43:36.461] checking for default port number... 5432 [22:43:36.465] checking for block size... 8kB [22:43:36.465] checking for segment size... 1GB [22:43:36.467] checking for WAL block size... 8kB [22:43:36.468] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:43:36.487] checking whether the C compiler works... yes [22:43:36.625] checking for C compiler default output file name... a.exe [22:43:36.626] checking for suffix of executables... .exe [22:43:36.653] checking whether we are cross compiling... yes [22:43:36.710] checking for suffix of object files... o [22:43:36.715] checking whether we are using the GNU C compiler... yes [22:43:36.720] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:43:36.724] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:43:36.731] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:43:36.786] checking whether we are using the GNU C++ compiler... yes [22:43:36.789] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:43:37.025] checking for gawk... no [22:43:37.025] checking for mawk... mawk [22:43:37.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:43:37.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:43:37.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:43:37.079] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:43:37.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:43:37.112] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:43:37.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:43:37.121] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:43:37.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:43:37.146] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:43:37.166] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:43:37.186] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:43:37.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:43:37.194] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:43:37.203] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:43:37.212] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:43:37.232] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:43:37.253] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:43:37.275] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:43:37.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:43:37.295] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:43:37.299] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:43:37.310] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:43:37.330] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:43:37.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:43:37.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:43:37.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:43:37.398] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:43:37.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:43:37.439] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:43:37.461] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:43:37.465] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:43:37.489] checking whether the C compiler still works... yes [22:43:37.532] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:43:37.571] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:43:37.572] checking pkg-config is at least version 0.9.0... yes [22:43:37.585] checking whether to build with ICU support... no [22:43:37.585] checking whether to build with Tcl... no [22:43:37.585] checking whether to build Perl modules... no [22:43:37.585] checking whether to build Python modules... no [22:43:37.585] checking whether to build with GSSAPI support... no [22:43:37.586] checking whether to build with PAM support... no [22:43:37.586] checking whether to build with BSD Authentication support... no [22:43:37.586] checking whether to build with LDAP support... no [22:43:37.586] checking whether to build with Bonjour support... no [22:43:37.586] checking whether to build with SELinux support... no [22:43:37.586] checking whether to build with systemd support... no [22:43:37.586] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:43:37.586] checking whether to build with XML support... no [22:43:37.587] checking whether to build with LZ4 support... no [22:43:37.587] checking whether to build with ZSTD support... no [22:43:37.587] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:43:37.587] checking whether it is possible to strip libraries... yes [22:43:37.596] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:43:37.596] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:43:37.597] checking for a BSD-compatible install... /usr/bin/install -c [22:43:37.601] checking for tar... /usr/bin/tar [22:43:37.602] checking whether ln -s works... yes [22:43:37.602] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:43:37.603] checking for bison... /usr/bin/bison [22:43:37.604] configure: using bison (GNU Bison) 3.7.5 [22:43:37.606] checking for flex... /usr/bin/flex [22:43:37.613] configure: using flex 2.6.4 [22:43:37.613] checking for perl... /usr/bin/perl [22:43:37.615] configure: using perl 5.32.1 [22:43:37.616] checking for zic... /usr/sbin/zic [22:43:37.617] checking for a sed that does not truncate output... /usr/bin/sed [22:43:37.620] checking for grep that handles long lines and -e... /usr/bin/grep [22:43:37.621] checking for egrep... /usr/bin/grep -E [22:43:37.623] checking for ANSI C header files... yes [22:43:37.655] checking for sys/types.h... yes [22:43:37.666] checking for sys/stat.h... yes [22:43:37.675] checking for stdlib.h... yes [22:43:37.698] checking for string.h... yes [22:43:37.706] checking for memory.h... yes [22:43:37.750] checking for strings.h... yes [22:43:37.772] checking for inttypes.h... yes [22:43:37.814] checking for stdint.h... yes [22:43:37.856] checking for unistd.h... yes [22:43:37.881] checking for main in -lm... yes [22:43:37.910] checking for library containing setproctitle... no [22:43:37.967] checking for library containing dlsym... no [22:43:38.025] checking for library containing socket... -lws2_32 [22:43:38.111] checking for library containing getopt_long... none required [22:43:38.144] checking for library containing shm_open... no [22:43:38.198] checking for library containing shm_unlink... no [22:43:38.252] checking for library containing clock_gettime... no [22:43:38.307] checking for library containing shmget... no [22:43:38.361] checking for library containing backtrace_symbols... no [22:43:38.416] checking for library containing pthread_barrier_wait... -lpthread [22:43:38.483] checking for inflate in -lz... yes [22:43:38.514] checking for stdbool.h that conforms to C99... yes [22:43:38.547] checking for _Bool... yes [22:43:38.591] checking atomic.h usability... no [22:43:38.627] checking atomic.h presence... no [22:43:38.637] checking for atomic.h... no [22:43:38.639] checking copyfile.h usability... no [22:43:38.675] checking copyfile.h presence... no [22:43:38.685] checking for copyfile.h... no [22:43:38.687] checking execinfo.h usability... no [22:43:38.723] checking execinfo.h presence... no [22:43:38.733] checking for execinfo.h... no [22:43:38.735] checking getopt.h usability... yes [22:43:38.739] checking getopt.h presence... yes [22:43:38.747] checking for getopt.h... yes [22:43:38.751] checking ifaddrs.h usability... no [22:43:38.787] checking ifaddrs.h presence... no [22:43:38.797] checking for ifaddrs.h... no [22:43:38.799] checking langinfo.h usability... no [22:43:38.834] checking langinfo.h presence... no [22:43:38.844] checking for langinfo.h... no [22:43:38.846] checking mbarrier.h usability... no [22:43:38.881] checking mbarrier.h presence... no [22:43:38.891] checking for mbarrier.h... no [22:43:38.893] checking sys/epoll.h usability... no [22:43:38.929] checking sys/epoll.h presence... no [22:43:38.939] checking for sys/epoll.h... no [22:43:38.941] checking sys/event.h usability... no [22:43:38.976] checking sys/event.h presence... no [22:43:38.986] checking for sys/event.h... no [22:43:38.988] checking sys/personality.h usability... no [22:43:39.023] checking sys/personality.h presence... no [22:43:39.034] checking for sys/personality.h... no [22:43:39.035] checking sys/prctl.h usability... no [22:43:39.071] checking sys/prctl.h presence... no [22:43:39.082] checking for sys/prctl.h... no [22:43:39.083] checking sys/procctl.h usability... no [22:43:39.119] checking sys/procctl.h presence... no [22:43:39.129] checking for sys/procctl.h... no [22:43:39.130] checking sys/signalfd.h usability... no [22:43:39.166] checking sys/signalfd.h presence... no [22:43:39.176] checking for sys/signalfd.h... no [22:43:39.178] checking sys/ucred.h usability... no [22:43:39.213] checking sys/ucred.h presence... no [22:43:39.223] checking for sys/ucred.h... no [22:43:39.225] checking termios.h usability... no [22:43:39.261] checking termios.h presence... no [22:43:39.272] checking for termios.h... no [22:43:39.274] checking ucred.h usability... no [22:43:39.312] checking ucred.h presence... no [22:43:39.323] checking for ucred.h... no [22:43:39.325] checking zlib.h usability... yes [22:43:39.365] checking zlib.h presence... yes [22:43:39.376] checking for zlib.h... yes [22:43:39.377] checking for lz4... /usr/bin/lz4 [22:43:39.377] checking for zstd... /usr/bin/zstd [22:43:39.377] checking for openssl... /usr/bin/openssl [22:43:39.380] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [22:43:39.380] checking crtdefs.h usability... yes [22:43:39.385] checking crtdefs.h presence... yes [22:43:39.393] checking for crtdefs.h... yes [22:43:39.394] checking whether byte ordering is bigendian... no [22:43:39.455] checking for inline... inline [22:43:39.472] checking for printf format archetype... gnu_printf [22:43:39.493] checking for _Static_assert... yes [22:43:39.520] checking for typeof... typeof [22:43:39.524] checking for __builtin_types_compatible_p... yes [22:43:39.530] checking for __builtin_constant_p... yes [22:43:39.549] checking for __builtin_unreachable... yes [22:43:39.576] checking for computed goto support... yes [22:43:39.597] checking for struct tm.tm_zone... no [22:43:39.642] checking for union semun... no [22:43:39.661] checking for socklen_t... yes [22:43:41.209] checking for struct sockaddr.sa_len... no [22:43:42.606] checking for locale_t... no [22:43:42.646] checking for C/C++ restrict keyword... __restrict [22:43:42.672] checking for struct option... yes [22:43:42.697] checking whether assembler supports x86_64 popcntq... yes [22:43:42.709] checking size of off_t... 4 [22:43:42.915] 0 [22:43:42.915] checking size of bool... 1 [22:43:42.963] checking for int timezone... yes [22:43:42.996] checking for wcstombs_l declaration... no [22:43:43.052] checking for backtrace_symbols... no [22:43:43.086] checking for copyfile... no [22:43:43.120] checking for getifaddrs... no [22:43:43.153] checking for getpeerucred... no [22:43:43.187] checking for inet_pton... yes [22:43:43.222] checking for kqueue... no [22:43:43.256] checking for mbstowcs_l... no [22:43:43.289] checking for memset_s... no [22:43:43.325] checking for posix_fallocate... no [22:43:43.359] checking for ppoll... no [22:43:43.391] checking for pthread_is_threaded_np... no [22:43:43.425] checking for setproctitle... no [22:43:43.458] checking for setproctitle_fast... no [22:43:43.491] checking for strchrnul... no [22:43:43.526] checking for strsignal... no [22:43:43.558] checking for syncfs... no [22:43:43.592] checking for sync_file_range... no [22:43:43.624] checking for uselocale... no [22:43:43.657] checking for wcstombs_l... no [22:43:43.690] checking for __builtin_bswap16... yes [22:43:43.723] checking for __builtin_bswap32... yes [22:43:43.756] checking for __builtin_bswap64... yes [22:43:43.788] checking for __builtin_clz... yes [22:43:43.819] checking for __builtin_ctz... yes [22:43:43.850] checking for __builtin_popcount... yes [22:43:43.881] checking for __builtin_frame_address... yes [22:43:43.912] checking for _LARGEFILE_SOURCE value needed for large files... no [22:43:43.950] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:43:43.968] checking for posix_fadvise... no [22:43:44.000] checking whether posix_fadvise is declared... no [22:43:44.028] checking whether fdatasync is declared... no [22:43:44.056] checking whether strlcat is declared... no [22:43:44.098] checking whether strlcpy is declared... no [22:43:44.141] checking whether strnlen is declared... yes [22:43:44.190] checking whether preadv is declared... no [22:43:44.213] checking whether pwritev is declared... no [22:43:44.236] checking whether F_FULLFSYNC is declared... no [22:43:44.262] checking for explicit_bzero... no [22:43:44.293] checking for getopt... yes [22:43:44.324] checking for getpeereid... no [22:43:44.355] checking for inet_aton... no [22:43:44.388] checking for mkdtemp... no [22:43:44.419] checking for strlcat... no [22:43:44.452] checking for strlcpy... no [22:43:44.484] checking for strnlen... yes [22:43:44.517] checking for pthread_barrier_wait... yes [22:43:44.547] configure: On mingw32 we will use our strtof wrapper. [22:43:44.548] checking for getopt_long... yes [22:43:44.577] checking for _configthreadlocale... yes [22:43:44.607] checking for syslog... no [22:43:44.637] checking for opterr... yes [22:43:44.671] checking for optreset... no [22:43:44.708] checking test program... cross-compiling [22:43:44.708] checking whether long int is 64 bits... no [22:43:44.728] checking whether long long int is 64 bits... yes [22:43:44.739] checking for __builtin_mul_overflow... yes [22:43:44.768] checking size of void *... 8 [22:43:45.017] checking size of size_t... 8 [22:43:45.289] checking size of long... 4 [22:43:45.481] checking alignment of short... 2 [22:43:45.628] checking alignment of int... 4 [22:43:45.872] checking alignment of long... 4 [22:43:46.103] checking alignment of long long int... 8 [22:43:46.377] checking alignment of double... 8 [22:43:46.628] checking for int8... no [22:43:46.654] checking for uint8... no [22:43:46.680] checking for int64... no [22:43:46.706] checking for uint64... no [22:43:46.732] checking for __int128... yes [22:43:46.763] checking for __int128 alignment bug... assuming ok [22:43:46.763] checking alignment of PG_INT128_TYPE... 16 [22:43:47.156] checking for builtin __sync char locking functions... yes [22:43:47.185] checking for builtin __sync int32 locking functions... yes [22:43:47.214] checking for builtin __sync int32 atomic operations... yes [22:43:47.243] checking for builtin __sync int64 atomic operations... yes [22:43:47.273] checking for builtin __atomic int32 atomic operations... yes [22:43:47.302] checking for builtin __atomic int64 atomic operations... yes [22:43:47.332] checking for __get_cpuid... yes [22:43:47.363] checking for __cpuid... no [22:43:47.590] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:43:47.621] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:43:47.678] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:43:47.690] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:43:47.700] 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 [22:43:47.735] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:43:47.735] checking which random number source to use... Windows native [22:43:47.736] checking for xmllint... /usr/bin/xmllint [22:43:47.736] checking for xsltproc... /usr/bin/xsltproc [22:43:47.736] checking for fop... /usr/bin/fop [22:43:47.737] checking for dbtoepub... no [22:43:47.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:43:47.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:43:47.743] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [22:43:47.743] 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 [22:43:47.743] configure: using CPPFLAGS= -I./src/include/port/win32 [22:43:47.743] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:43:47.807] configure: creating ./config.status [22:43:47.861] config.status: creating GNUmakefile [22:43:47.868] config.status: creating src/Makefile.global [22:43:47.877] config.status: creating src/include/pg_config.h [22:43:47.884] config.status: creating src/include/pg_config_ext.h [22:43:47.890] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:43:47.898] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:43:47.902] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:43:47.906] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:43:47.909] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:43:47.913] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:43:47.915] config.status: executing check_win32_symlinks commands [22:43:47.938] [22:43:47.938] real 0m11.717s [22:43:47.938] user 0m8.718s [22:43:47.938] sys 0m2.580s [22:43:47.938] make -s -j${BUILD_JOBS} clean [22:43:48.298] time make -s -j${BUILD_JOBS} world-bin [22:44:50.394] In file included from ../../../src/include/postgres.h:46, [22:44:50.394] from extended_stats.c:17: [22:44:50.394] extended_stats.c: In function ‘import_expressions’: [22:44:50.394] 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=] [22:44:50.394] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [22:44:50.394] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [22:44:50.394] 2892 | nexprs, tuptable->numvals))); [22:44:50.394] | ~~~~~~~~~~~~~~~~~ [22:44:50.394] | | [22:44:50.394] | uint64 {aka long long unsigned int} [22:44:50.394] ../../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [22:44:50.394] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [22:44:50.394] | ^~~~~~~~~~~ [22:44:50.394] extended_stats.c:2889:3: note: in expansion of macro ‘ereport’ [22:44:50.394] 2889 | ereport(ERROR, [22:44:50.394] | ^~~~~~~ [22:44:50.394] extended_stats.c:2891:69: note: format string is defined here [22:44:50.394] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [22:44:50.394] | ~~^ [22:44:50.394] | | [22:44:50.394] | long unsigned int [22:44:50.394] | %llu [22:44:50.394] cc1: all warnings being treated as errors [22:44:50.395] make[3]: *** [: extended_stats.o] Error 1 [22:44:50.395] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [22:44:50.395] make[2]: *** Waiting for unfinished jobs.... [22:44:53.655] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:44:53.655] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:44:53.655] [22:44:53.655] real 1m5.358s [22:44:53.655] user 3m43.547s [22:44:53.655] sys 0m27.888s [22:44:53.656] [22:44:53.656] Exit status: 2