[22:30:16.782] time ./configure \ [22:30:16.782] --host=x86_64-w64-mingw32 \ [22:30:16.782] --enable-cassert \ [22:30:16.782] --without-icu \ [22:30:16.782] CC="ccache x86_64-w64-mingw32-gcc" \ [22:30:16.782] CXX="ccache x86_64-w64-mingw32-g++" [22:30:16.851] checking build system type... x86_64-pc-linux-gnu [22:30:17.045] checking host system type... x86_64-w64-mingw32 [22:30:17.049] checking which template to use... win32 [22:30:17.049] checking whether NLS is wanted... no [22:30:17.049] checking for default port number... 5432 [22:30:17.054] checking for block size... 8kB [22:30:17.054] checking for segment size... 1GB [22:30:17.056] checking for WAL block size... 8kB [22:30:17.056] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:30:17.077] checking whether the C compiler works... yes [22:30:17.219] checking for C compiler default output file name... a.exe [22:30:17.220] checking for suffix of executables... .exe [22:30:17.248] checking whether we are cross compiling... yes [22:30:17.308] checking for suffix of object files... o [22:30:17.318] checking whether we are using the GNU C compiler... yes [22:30:17.338] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:30:17.341] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:30:17.358] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:30:17.412] checking whether we are using the GNU C++ compiler... yes [22:30:17.416] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:30:17.614] checking for gawk... no [22:30:17.614] checking for mawk... mawk [22:30:17.617] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:30:17.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:30:17.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:30:17.671] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:30:17.699] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:30:17.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:30:17.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:30:17.747] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:30:17.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:30:17.776] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:30:17.781] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:30:17.785] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:30:17.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:30:17.858] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:30:17.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:30:17.866] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:30:17.871] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:30:17.876] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:30:17.899] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:30:17.904] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:30:17.927] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:30:17.932] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:30:17.947] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:30:17.971] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:30:17.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:30:18.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:30:18.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:30:18.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:30:18.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:30:18.077] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:30:18.081] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:30:18.092] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:30:18.098] checking whether the C compiler still works... yes [22:30:18.143] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:30:18.187] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:30:18.188] checking pkg-config is at least version 0.9.0... yes [22:30:18.201] checking whether to build with ICU support... no [22:30:18.201] checking whether to build with Tcl... no [22:30:18.201] checking whether to build Perl modules... no [22:30:18.201] checking whether to build Python modules... no [22:30:18.201] checking whether to build with GSSAPI support... no [22:30:18.202] checking whether to build with PAM support... no [22:30:18.202] checking whether to build with BSD Authentication support... no [22:30:18.202] checking whether to build with LDAP support... no [22:30:18.202] checking whether to build with Bonjour support... no [22:30:18.202] checking whether to build with SELinux support... no [22:30:18.203] checking whether to build with systemd support... no [22:30:18.203] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:30:18.203] checking whether to build with XML support... no [22:30:18.203] checking whether to build with LZ4 support... no [22:30:18.203] checking whether to build with ZSTD support... no [22:30:18.204] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:30:18.204] checking whether it is possible to strip libraries... yes [22:30:18.211] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:30:18.212] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:30:18.212] checking for a BSD-compatible install... /usr/bin/install -c [22:30:18.217] checking for tar... /usr/bin/tar [22:30:18.217] checking whether ln -s works... yes [22:30:18.217] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:30:18.219] checking for bison... /usr/bin/bison [22:30:18.220] configure: using bison (GNU Bison) 3.7.5 [22:30:18.222] checking for flex... /usr/bin/flex [22:30:18.229] configure: using flex 2.6.4 [22:30:18.230] checking for perl... /usr/bin/perl [22:30:18.231] configure: using perl 5.32.1 [22:30:18.233] checking for zic... /usr/sbin/zic [22:30:18.233] checking for a sed that does not truncate output... /usr/bin/sed [22:30:18.236] checking for grep that handles long lines and -e... /usr/bin/grep [22:30:18.237] checking for egrep... /usr/bin/grep -E [22:30:18.238] checking for ANSI C header files... yes [22:30:18.278] checking for sys/types.h... yes [22:30:18.288] checking for sys/stat.h... yes [22:30:18.331] checking for stdlib.h... yes [22:30:18.339] checking for string.h... yes [22:30:18.378] checking for memory.h... yes [22:30:18.386] checking for strings.h... yes [22:30:18.395] checking for inttypes.h... yes [22:30:18.417] checking for stdint.h... yes [22:30:18.425] checking for unistd.h... yes [22:30:18.469] checking for main in -lm... yes [22:30:18.499] checking for library containing setproctitle... no [22:30:18.555] checking for library containing dlsym... no [22:30:18.609] checking for library containing socket... -lws2_32 [22:30:18.700] checking for library containing getopt_long... none required [22:30:18.734] checking for library containing shm_open... no [22:30:18.793] checking for library containing shm_unlink... no [22:30:18.853] checking for library containing clock_gettime... no [22:30:18.912] checking for library containing shmget... no [22:30:18.975] checking for library containing backtrace_symbols... no [22:30:19.036] checking for library containing pthread_barrier_wait... -lpthread [22:30:19.098] checking for inflate in -lz... yes [22:30:19.132] checking for stdbool.h that conforms to C99... yes [22:30:19.139] checking for _Bool... yes [22:30:19.231] checking atomic.h usability... no [22:30:19.272] checking atomic.h presence... no [22:30:19.284] checking for atomic.h... no [22:30:19.287] checking copyfile.h usability... no [22:30:19.327] checking copyfile.h presence... no [22:30:19.339] checking for copyfile.h... no [22:30:19.341] checking execinfo.h usability... no [22:30:19.381] checking execinfo.h presence... no [22:30:19.392] checking for execinfo.h... no [22:30:19.394] checking getopt.h usability... yes [22:30:19.435] checking getopt.h presence... yes [22:30:19.445] checking for getopt.h... yes [22:30:19.450] checking ifaddrs.h usability... no [22:30:19.490] checking ifaddrs.h presence... no [22:30:19.502] checking for ifaddrs.h... no [22:30:19.504] checking langinfo.h usability... no [22:30:19.543] checking langinfo.h presence... no [22:30:19.556] checking for langinfo.h... no [22:30:19.559] checking mbarrier.h usability... no [22:30:19.599] checking mbarrier.h presence... no [22:30:19.611] checking for mbarrier.h... no [22:30:19.614] checking sys/epoll.h usability... no [22:30:19.656] checking sys/epoll.h presence... no [22:30:19.669] checking for sys/epoll.h... no [22:30:19.671] checking sys/event.h usability... no [22:30:19.713] checking sys/event.h presence... no [22:30:19.727] checking for sys/event.h... no [22:30:19.730] checking sys/personality.h usability... no [22:30:19.772] checking sys/personality.h presence... no [22:30:19.784] checking for sys/personality.h... no [22:30:19.786] checking sys/prctl.h usability... no [22:30:19.824] checking sys/prctl.h presence... no [22:30:19.835] checking for sys/prctl.h... no [22:30:19.837] checking sys/procctl.h usability... no [22:30:19.875] checking sys/procctl.h presence... no [22:30:19.886] checking for sys/procctl.h... no [22:30:19.888] checking sys/signalfd.h usability... no [22:30:19.927] checking sys/signalfd.h presence... no [22:30:19.940] checking for sys/signalfd.h... no [22:30:19.943] checking sys/ucred.h usability... no [22:30:19.982] checking sys/ucred.h presence... no [22:30:19.994] checking for sys/ucred.h... no [22:30:19.996] checking termios.h usability... no [22:30:20.035] checking termios.h presence... no [22:30:20.047] checking for termios.h... no [22:30:20.049] checking ucred.h usability... no [22:30:20.091] checking ucred.h presence... no [22:30:20.102] checking for ucred.h... no [22:30:20.104] checking zlib.h usability... yes [22:30:20.149] checking zlib.h presence... yes [22:30:20.161] checking for zlib.h... yes [22:30:20.161] checking for lz4... /usr/bin/lz4 [22:30:20.161] checking for zstd... /usr/bin/zstd [22:30:20.162] checking for openssl... /usr/bin/openssl [22:30:20.164] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [22:30:20.165] checking crtdefs.h usability... yes [22:30:20.202] checking crtdefs.h presence... yes [22:30:20.212] checking for crtdefs.h... yes [22:30:20.213] checking whether byte ordering is bigendian... no [22:30:20.255] checking for inline... inline [22:30:20.273] checking for printf format archetype... gnu_printf [22:30:20.295] checking for _Static_assert... yes [22:30:20.322] checking for typeof... typeof [22:30:20.326] checking for __builtin_types_compatible_p... yes [22:30:20.333] checking for __builtin_constant_p... yes [22:30:20.339] checking for __builtin_unreachable... yes [22:30:20.367] checking for computed goto support... yes [22:30:20.372] checking for struct tm.tm_zone... no [22:30:20.429] checking for union semun... no [22:30:20.454] checking for socklen_t... yes [22:30:21.283] checking for struct sockaddr.sa_len... no [22:30:22.648] checking for locale_t... no [22:30:22.689] checking for C/C++ restrict keyword... __restrict [22:30:22.696] checking for struct option... yes [22:30:22.726] checking whether assembler supports x86_64 popcntq... yes [22:30:22.730] checking size of off_t... 4 [22:30:22.912] 0 [22:30:22.912] checking size of bool... 1 [22:30:22.955] checking for int timezone... yes [22:30:22.988] checking for wcstombs_l declaration... no [22:30:23.038] checking for backtrace_symbols... no [22:30:23.070] checking for copyfile... no [22:30:23.102] checking for getifaddrs... no [22:30:23.134] checking for getpeerucred... no [22:30:23.165] checking for inet_pton... yes [22:30:23.197] checking for kqueue... no [22:30:23.228] checking for mbstowcs_l... no [22:30:23.258] checking for memset_s... no [22:30:23.290] checking for posix_fallocate... no [22:30:23.321] checking for ppoll... no [22:30:23.351] checking for pthread_is_threaded_np... no [22:30:23.382] checking for setproctitle... no [22:30:23.413] checking for setproctitle_fast... no [22:30:23.445] checking for strchrnul... no [22:30:23.478] checking for strsignal... no [22:30:23.511] checking for syncfs... no [22:30:23.544] checking for sync_file_range... no [22:30:23.575] checking for uselocale... no [22:30:23.606] checking for wcstombs_l... no [22:30:23.636] checking for __builtin_bswap16... yes [22:30:23.672] checking for __builtin_bswap32... yes [22:30:23.704] checking for __builtin_bswap64... yes [22:30:23.736] checking for __builtin_clz... yes [22:30:23.768] checking for __builtin_ctz... yes [22:30:23.800] checking for __builtin_popcount... yes [22:30:23.833] checking for __builtin_frame_address... yes [22:30:23.865] checking for _LARGEFILE_SOURCE value needed for large files... no [22:30:23.906] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:30:23.927] checking for posix_fadvise... no [22:30:23.962] checking whether posix_fadvise is declared... no [22:30:23.991] checking whether fdatasync is declared... no [22:30:24.019] checking whether strlcat is declared... no [22:30:24.061] checking whether strlcpy is declared... no [22:30:24.103] checking whether strnlen is declared... yes [22:30:24.127] checking whether preadv is declared... no [22:30:24.150] checking whether pwritev is declared... no [22:30:24.171] checking whether F_FULLFSYNC is declared... no [22:30:24.195] checking for explicit_bzero... no [22:30:24.225] checking for getopt... yes [22:30:24.257] checking for getpeereid... no [22:30:24.292] checking for inet_aton... no [22:30:24.325] checking for mkdtemp... no [22:30:24.356] checking for strlcat... no [22:30:24.389] checking for strlcpy... no [22:30:24.421] checking for strnlen... yes [22:30:24.452] checking for pthread_barrier_wait... yes [22:30:24.480] configure: On mingw32 we will use our strtof wrapper. [22:30:24.480] checking for getopt_long... yes [22:30:24.510] checking for _configthreadlocale... yes [22:30:24.540] checking for syslog... no [22:30:24.571] checking for opterr... yes [22:30:24.603] checking for optreset... no [22:30:24.636] checking test program... cross-compiling [22:30:24.636] checking whether long int is 64 bits... no [22:30:24.656] checking whether long long int is 64 bits... yes [22:30:24.669] checking for __builtin_mul_overflow... yes [22:30:24.700] checking size of void *... 8 [22:30:24.911] checking size of size_t... 8 [22:30:25.159] checking size of long... 4 [22:30:25.318] checking alignment of short... 2 [22:30:25.413] checking alignment of int... 4 [22:30:25.619] checking alignment of long... 4 [22:30:25.816] checking alignment of long long int... 8 [22:30:26.059] checking alignment of double... 8 [22:30:26.354] checking for int8... no [22:30:26.382] checking for uint8... no [22:30:26.408] checking for int64... no [22:30:26.435] checking for uint64... no [22:30:26.461] checking for __int128... yes [22:30:26.492] checking for __int128 alignment bug... assuming ok [22:30:26.493] checking alignment of PG_INT128_TYPE... 16 [22:30:26.762] checking for builtin __sync char locking functions... yes [22:30:26.790] checking for builtin __sync int32 locking functions... yes [22:30:26.819] checking for builtin __sync int32 atomic operations... yes [22:30:26.847] checking for builtin __sync int64 atomic operations... yes [22:30:26.874] checking for builtin __atomic int32 atomic operations... yes [22:30:26.902] checking for builtin __atomic int64 atomic operations... yes [22:30:26.930] checking for __get_cpuid... yes [22:30:26.961] checking for __cpuid... no [22:30:27.195] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:30:27.226] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:30:27.287] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:30:27.300] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:30:27.310] 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:30:27.347] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:30:27.347] checking which random number source to use... Windows native [22:30:27.348] checking for xmllint... /usr/bin/xmllint [22:30:27.348] checking for xsltproc... /usr/bin/xsltproc [22:30:27.349] checking for fop... /usr/bin/fop [22:30:27.349] checking for dbtoepub... no [22:30:27.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:30:27.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:30:27.356] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [22:30:27.356] 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:30:27.356] configure: using CPPFLAGS= -I./src/include/port/win32 [22:30:27.356] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:30:27.407] configure: creating ./config.status [22:30:27.454] config.status: creating GNUmakefile [22:30:27.461] config.status: creating src/Makefile.global [22:30:27.470] config.status: creating src/include/pg_config.h [22:30:27.477] config.status: creating src/include/pg_config_ext.h [22:30:27.483] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:30:27.491] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:30:27.495] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:30:27.499] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:30:27.504] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:30:27.508] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:30:27.511] config.status: executing check_win32_symlinks commands [22:30:27.535] [22:30:27.535] real 0m10.753s [22:30:27.535] user 0m7.934s [22:30:27.535] sys 0m2.373s [22:30:27.535] make -s -j${BUILD_JOBS} clean [22:30:27.896] time make -s -j${BUILD_JOBS} world-bin [22:31:23.745] In file included from ../../../src/include/postgres.h:46, [22:31:23.745] from extended_stats.c:17: [22:31:23.745] extended_stats.c: In function ‘import_expressions’: [22:31:23.745] 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:31:23.745] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [22:31:23.745] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [22:31:23.745] 2892 | nexprs, tuptable->numvals))); [22:31:23.745] | ~~~~~~~~~~~~~~~~~ [22:31:23.745] | | [22:31:23.745] | uint64 {aka long long unsigned int} [22:31:23.745] ../../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [22:31:23.745] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [22:31:23.745] | ^~~~~~~~~~~ [22:31:23.745] extended_stats.c:2889:3: note: in expansion of macro ‘ereport’ [22:31:23.745] 2889 | ereport(ERROR, [22:31:23.745] | ^~~~~~~ [22:31:23.745] extended_stats.c:2891:69: note: format string is defined here [22:31:23.745] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [22:31:23.745] | ~~^ [22:31:23.745] | | [22:31:23.745] | long unsigned int [22:31:23.745] | %llu [22:31:23.745] cc1: all warnings being treated as errors [22:31:23.746] make[3]: *** [: extended_stats.o] Error 1 [22:31:23.746] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [22:31:23.746] make[2]: *** Waiting for unfinished jobs.... [22:31:29.306] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:31:29.306] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:31:29.307] [22:31:29.307] real 1m1.411s [22:31:29.307] user 3m29.730s [22:31:29.307] sys 0m26.100s [22:31:29.307] [22:31:29.307] Exit status: 2