[18:07:11.254] time ./configure \ [18:07:11.254] --host=x86_64-w64-mingw32 \ [18:07:11.254] --enable-cassert \ [18:07:11.254] --without-icu \ [18:07:11.254] CC="ccache x86_64-w64-mingw32-gcc" \ [18:07:11.254] CXX="ccache x86_64-w64-mingw32-g++" [18:07:11.323] checking build system type... x86_64-pc-linux-gnu [18:07:11.551] checking host system type... x86_64-w64-mingw32 [18:07:11.555] checking which template to use... win32 [18:07:11.555] checking whether NLS is wanted... no [18:07:11.555] checking for default port number... 5432 [18:07:11.559] checking for block size... 8kB [18:07:11.560] checking for segment size... 1GB [18:07:11.561] checking for WAL block size... 8kB [18:07:11.562] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:07:11.583] checking whether the C compiler works... yes [18:07:11.747] checking for C compiler default output file name... a.exe [18:07:11.748] checking for suffix of executables... .exe [18:07:11.777] checking whether we are cross compiling... yes [18:07:11.838] checking for suffix of object files... o [18:07:11.843] checking whether we are using the GNU C compiler... yes [18:07:11.847] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:07:11.859] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:07:11.865] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:07:11.918] checking whether we are using the GNU C++ compiler... yes [18:07:11.922] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:07:11.964] checking for gawk... no [18:07:11.964] checking for mawk... mawk [18:07:11.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:07:11.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:07:11.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:07:12.012] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:07:12.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:07:12.190] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:07:12.270] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:07:12.274] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:07:12.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:07:12.289] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:07:12.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:07:12.316] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:07:12.320] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:07:12.342] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:07:12.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:07:12.368] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:07:12.372] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:07:12.376] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:07:12.379] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:07:12.383] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:07:12.387] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:07:12.391] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:07:12.404] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:07:12.408] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:07:12.412] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:07:12.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:07:12.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:07:12.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:07:12.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:07:12.507] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:07:12.512] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:07:12.534] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:07:12.556] checking whether the C compiler still works... yes [18:07:12.620] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:07:12.667] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:07:12.667] checking pkg-config is at least version 0.9.0... yes [18:07:12.681] checking whether to build with ICU support... no [18:07:12.681] checking whether to build with Tcl... no [18:07:12.681] checking whether to build Perl modules... no [18:07:12.681] checking whether to build Python modules... no [18:07:12.681] checking whether to build with GSSAPI support... no [18:07:12.682] checking whether to build with PAM support... no [18:07:12.682] checking whether to build with BSD Authentication support... no [18:07:12.682] checking whether to build with LDAP support... no [18:07:12.682] checking whether to build with Bonjour support... no [18:07:12.682] checking whether to build with SELinux support... no [18:07:12.682] checking whether to build with systemd support... no [18:07:12.683] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:07:12.683] checking whether to build with XML support... no [18:07:12.683] checking whether to build with LZ4 support... no [18:07:12.683] checking whether to build with ZSTD support... no [18:07:12.684] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:07:12.684] checking whether it is possible to strip libraries... yes [18:07:12.692] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:07:12.693] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:07:12.693] checking for a BSD-compatible install... /usr/bin/install -c [18:07:12.698] checking for tar... /usr/bin/tar [18:07:12.698] checking whether ln -s works... yes [18:07:12.698] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:07:12.699] checking for bison... /usr/bin/bison [18:07:12.701] configure: using bison (GNU Bison) 3.7.5 [18:07:12.703] checking for flex... /usr/bin/flex [18:07:12.712] configure: using flex 2.6.4 [18:07:12.712] checking for perl... /usr/bin/perl [18:07:12.714] configure: using perl 5.32.1 [18:07:12.715] checking for zic... /usr/sbin/zic [18:07:12.715] checking for a sed that does not truncate output... /usr/bin/sed [18:07:12.719] checking for grep that handles long lines and -e... /usr/bin/grep [18:07:12.720] checking for egrep... /usr/bin/grep -E [18:07:12.721] checking for ANSI C header files... yes [18:07:12.753] checking for sys/types.h... yes [18:07:12.777] checking for sys/stat.h... yes [18:07:12.789] checking for stdlib.h... yes [18:07:12.798] checking for string.h... yes [18:07:12.821] checking for memory.h... yes [18:07:12.831] checking for strings.h... yes [18:07:12.841] checking for inttypes.h... yes [18:07:12.851] checking for stdint.h... yes [18:07:12.860] checking for unistd.h... yes [18:07:12.871] checking for main in -lm... yes [18:07:12.902] checking for library containing setproctitle... no [18:07:12.960] checking for library containing dlsym... no [18:07:13.016] checking for library containing socket... -lws2_32 [18:07:13.103] checking for library containing getopt_long... none required [18:07:13.138] checking for library containing shm_open... no [18:07:13.195] checking for library containing shm_unlink... no [18:07:13.254] checking for library containing clock_gettime... no [18:07:13.316] checking for library containing shmget... no [18:07:13.374] checking for library containing backtrace_symbols... no [18:07:13.430] checking for library containing pthread_barrier_wait... -lpthread [18:07:13.495] checking for inflate in -lz... yes [18:07:13.532] checking for stdbool.h that conforms to C99... yes [18:07:13.571] checking for _Bool... yes [18:07:13.636] checking atomic.h usability... no [18:07:13.674] checking atomic.h presence... no [18:07:13.685] checking for atomic.h... no [18:07:13.687] checking copyfile.h usability... no [18:07:13.725] checking copyfile.h presence... no [18:07:13.736] checking for copyfile.h... no [18:07:13.738] checking execinfo.h usability... no [18:07:13.776] checking execinfo.h presence... no [18:07:13.787] checking for execinfo.h... no [18:07:13.789] checking getopt.h usability... yes [18:07:13.828] checking getopt.h presence... yes [18:07:13.838] checking for getopt.h... yes [18:07:13.842] checking ifaddrs.h usability... no [18:07:13.881] checking ifaddrs.h presence... no [18:07:13.893] checking for ifaddrs.h... no [18:07:13.895] checking langinfo.h usability... no [18:07:13.934] checking langinfo.h presence... no [18:07:13.946] checking for langinfo.h... no [18:07:13.948] checking mbarrier.h usability... no [18:07:13.989] checking mbarrier.h presence... no [18:07:14.001] checking for mbarrier.h... no [18:07:14.003] checking sys/epoll.h usability... no [18:07:14.042] checking sys/epoll.h presence... no [18:07:14.054] checking for sys/epoll.h... no [18:07:14.056] checking sys/event.h usability... no [18:07:14.094] checking sys/event.h presence... no [18:07:14.105] checking for sys/event.h... no [18:07:14.107] checking sys/personality.h usability... no [18:07:14.147] checking sys/personality.h presence... no [18:07:14.158] checking for sys/personality.h... no [18:07:14.161] checking sys/prctl.h usability... no [18:07:14.200] checking sys/prctl.h presence... no [18:07:14.211] checking for sys/prctl.h... no [18:07:14.213] checking sys/procctl.h usability... no [18:07:14.253] checking sys/procctl.h presence... no [18:07:14.265] checking for sys/procctl.h... no [18:07:14.267] checking sys/signalfd.h usability... no [18:07:14.306] checking sys/signalfd.h presence... no [18:07:14.319] checking for sys/signalfd.h... no [18:07:14.322] checking sys/ucred.h usability... no [18:07:14.364] checking sys/ucred.h presence... no [18:07:14.377] checking for sys/ucred.h... no [18:07:14.380] checking termios.h usability... no [18:07:14.422] checking termios.h presence... no [18:07:14.433] checking for termios.h... no [18:07:14.435] checking ucred.h usability... no [18:07:14.473] checking ucred.h presence... no [18:07:14.484] checking for ucred.h... no [18:07:14.486] checking zlib.h usability... yes [18:07:14.493] checking zlib.h presence... yes [18:07:14.505] checking for zlib.h... yes [18:07:14.506] checking for lz4... /usr/bin/lz4 [18:07:14.506] checking for zstd... /usr/bin/zstd [18:07:14.506] checking for openssl... /usr/bin/openssl [18:07:14.509] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [18:07:14.510] checking crtdefs.h usability... yes [18:07:14.529] checking crtdefs.h presence... yes [18:07:14.538] checking for crtdefs.h... yes [18:07:14.539] checking whether byte ordering is bigendian... no [18:07:14.586] checking for inline... inline [18:07:14.590] checking for printf format archetype... gnu_printf [18:07:14.595] checking for _Static_assert... yes [18:07:14.625] checking for typeof... typeof [18:07:14.651] checking for __builtin_types_compatible_p... yes [18:07:14.678] checking for __builtin_constant_p... yes [18:07:14.685] checking for __builtin_unreachable... yes [18:07:14.716] checking for computed goto support... yes [18:07:14.739] checking for struct tm.tm_zone... no [18:07:14.791] checking for union semun... no [18:07:14.812] checking for socklen_t... yes [18:07:16.485] checking for struct sockaddr.sa_len... no [18:07:18.002] checking for locale_t... no [18:07:18.043] checking for C/C++ restrict keyword... __restrict [18:07:18.056] checking for struct option... yes [18:07:18.084] checking whether assembler supports x86_64 popcntq... yes [18:07:18.088] checking size of off_t... 4 [18:07:18.306] 0 [18:07:18.307] checking size of bool... 1 [18:07:18.354] checking for int timezone... yes [18:07:18.387] checking for wcstombs_l declaration... no [18:07:18.442] checking for backtrace_symbols... no [18:07:18.476] checking for copyfile... no [18:07:18.510] checking for copy_file_range... no [18:07:18.544] checking for getifaddrs... no [18:07:18.578] checking for getpeerucred... no [18:07:18.612] checking for inet_pton... yes [18:07:18.645] checking for kqueue... no [18:07:18.679] checking for mbstowcs_l... no [18:07:18.716] checking for memset_s... no [18:07:18.752] checking for posix_fallocate... no [18:07:18.788] checking for ppoll... no [18:07:18.824] checking for pthread_is_threaded_np... no [18:07:18.862] checking for setproctitle... no [18:07:18.896] checking for setproctitle_fast... no [18:07:18.931] checking for strchrnul... no [18:07:18.967] checking for strsignal... no [18:07:19.002] checking for syncfs... no [18:07:19.036] checking for sync_file_range... no [18:07:19.069] checking for uselocale... no [18:07:19.104] checking for wcstombs_l... no [18:07:19.137] checking for __builtin_bswap16... yes [18:07:19.170] checking for __builtin_bswap32... yes [18:07:19.202] checking for __builtin_bswap64... yes [18:07:19.235] checking for __builtin_clz... yes [18:07:19.268] checking for __builtin_ctz... yes [18:07:19.301] checking for __builtin_popcount... yes [18:07:19.337] checking for __builtin_frame_address... yes [18:07:19.369] checking for _LARGEFILE_SOURCE value needed for large files... no [18:07:19.413] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:07:19.432] checking for posix_fadvise... no [18:07:19.467] checking whether posix_fadvise is declared... no [18:07:19.495] checking whether fdatasync is declared... no [18:07:19.525] checking whether strlcat is declared... no [18:07:19.569] checking whether strlcpy is declared... no [18:07:19.613] checking whether strnlen is declared... yes [18:07:19.621] checking whether preadv is declared... no [18:07:19.643] checking whether pwritev is declared... no [18:07:19.665] checking whether F_FULLFSYNC is declared... no [18:07:19.691] checking for explicit_bzero... no [18:07:19.723] checking for getopt... yes [18:07:19.754] checking for getpeereid... no [18:07:19.787] checking for inet_aton... no [18:07:19.820] checking for mkdtemp... no [18:07:19.853] checking for strlcat... no [18:07:19.886] checking for strlcpy... no [18:07:19.918] checking for strnlen... yes [18:07:19.951] checking for pthread_barrier_wait... yes [18:07:19.981] configure: On mingw32 we will use our strtof wrapper. [18:07:19.981] checking for getopt_long... yes [18:07:20.012] checking for _configthreadlocale... yes [18:07:20.043] checking for syslog... no [18:07:20.076] checking for opterr... yes [18:07:20.111] checking for optreset... no [18:07:20.146] checking test program... cross-compiling [18:07:20.146] checking whether long int is 64 bits... no [18:07:20.164] checking whether long long int is 64 bits... yes [18:07:20.169] checking for __builtin_mul_overflow... yes [18:07:20.199] checking size of void *... 8 [18:07:20.422] checking size of size_t... 8 [18:07:20.698] checking size of long... 4 [18:07:20.838] checking alignment of short... 2 [18:07:20.982] checking alignment of int... 4 [18:07:21.133] checking alignment of long... 4 [18:07:21.347] checking alignment of long long int... 8 [18:07:21.532] checking alignment of double... 8 [18:07:21.738] checking for int8... no [18:07:21.763] checking for uint8... no [18:07:21.788] checking for int64... no [18:07:21.813] checking for uint64... no [18:07:21.839] checking for __int128... yes [18:07:21.869] checking for __int128 alignment bug... assuming ok [18:07:21.869] checking alignment of PG_INT128_TYPE... 16 [18:07:22.144] checking for builtin __sync char locking functions... yes [18:07:22.178] checking for builtin __sync int32 locking functions... yes [18:07:22.210] checking for builtin __sync int32 atomic operations... yes [18:07:22.244] checking for builtin __sync int64 atomic operations... yes [18:07:22.277] checking for builtin __atomic int32 atomic operations... yes [18:07:22.311] checking for builtin __atomic int64 atomic operations... yes [18:07:22.343] checking for __get_cpuid... yes [18:07:22.379] checking for __cpuid... no [18:07:22.622] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:07:22.652] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:07:22.710] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:07:22.722] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:07:22.732] 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 [18:07:22.766] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:07:22.766] checking which random number source to use... Windows native [18:07:22.767] checking for xmllint... /usr/bin/xmllint [18:07:22.768] checking for xsltproc... /usr/bin/xsltproc [18:07:22.768] checking for fop... /usr/bin/fop [18:07:22.768] checking for dbtoepub... no [18:07:22.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:07:22.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:07:22.774] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [18:07:22.774] 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 [18:07:22.774] configure: using CPPFLAGS= -I./src/include/port/win32 [18:07:22.774] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:07:22.830] configure: creating ./config.status [18:07:22.883] config.status: creating GNUmakefile [18:07:22.890] config.status: creating src/Makefile.global [18:07:22.899] config.status: creating src/include/pg_config.h [18:07:22.906] config.status: creating src/include/pg_config_ext.h [18:07:22.913] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:07:22.921] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:07:22.925] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:07:22.929] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:07:22.933] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:07:22.937] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:07:22.939] config.status: executing check_win32_symlinks commands [18:07:22.962] [18:07:22.962] real 0m11.708s [18:07:22.962] user 0m8.757s [18:07:22.962] sys 0m2.409s [18:07:22.962] make -s -j${BUILD_JOBS} clean [18:07:23.346] time make -s -j${BUILD_JOBS} world-bin [18:09:32.820] In file included from ../../src/include/postgres.h:46, [18:09:32.820] from verify_nbtree.c:24: [18:09:32.820] verify_nbtree.c: In function ‘palloc_btree_page’: [18:09:32.820] verify_nbtree.c:3453:13: error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Size’ {aka ‘const long long unsigned int’} [-Werror=format=] [18:09:32.820] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [18:09:32.820] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18:09:32.820] 3454 | blocknum, RelationGetRelationName(state->rel), [18:09:32.820] 3455 | ClusterMaxIndexTuplesPerPage))); [18:09:32.820] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18:09:32.820] | | [18:09:32.820] | Size {aka const long long unsigned int} [18:09:32.820] ../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [18:09:32.820] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [18:09:32.820] | ^~~~~~~~~~~ [18:09:32.820] verify_nbtree.c:3451:3: note: in expansion of macro ‘ereport’ [18:09:32.820] 3451 | ereport(ERROR, [18:09:32.820] | ^~~~~~~ [18:09:32.820] verify_nbtree.c:3453:97: note: format string is defined here [18:09:32.820] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [18:09:32.820] | ~^ [18:09:32.820] | | [18:09:32.820] | unsigned int [18:09:32.820] | %llu [18:09:32.820] cc1: all warnings being treated as errors [18:09:32.821] make[2]: *** [: verify_nbtree.o] Error 1 [18:09:32.821] make[1]: *** [Makefile:94: all-amcheck-recurse] Error 2 [18:09:32.821] make[1]: *** Waiting for unfinished jobs.... [18:09:36.289] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [18:09:36.289] [18:09:36.289] real 2m12.943s [18:09:36.289] user 7m26.522s [18:09:36.289] sys 0m54.961s [18:09:36.289] [18:09:36.289] Exit status: 2