[15:13:43.462] time ./configure \ [15:13:43.462] --host=x86_64-w64-mingw32 \ [15:13:43.462] --enable-cassert \ [15:13:43.462] --without-icu \ [15:13:43.462] CC="ccache x86_64-w64-mingw32-gcc" \ [15:13:43.462] CXX="ccache x86_64-w64-mingw32-g++" [15:13:43.525] checking build system type... x86_64-pc-linux-gnu [15:13:43.704] checking host system type... x86_64-w64-mingw32 [15:13:43.707] checking which template to use... win32 [15:13:43.708] checking whether NLS is wanted... no [15:13:43.708] checking for default port number... 5432 [15:13:43.712] checking for block size... 8kB [15:13:43.713] checking for segment size... 1GB [15:13:43.714] checking for WAL block size... 8kB [15:13:43.715] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:13:43.735] checking whether the C compiler works... yes [15:13:43.876] checking for C compiler default output file name... a.exe [15:13:43.876] checking for suffix of executables... .exe [15:13:43.904] checking whether we are cross compiling... yes [15:13:43.970] checking for suffix of object files... o [15:13:43.975] checking whether we are using the GNU C compiler... yes [15:13:43.978] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:13:44.000] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:13:44.006] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:13:44.124] checking whether we are using the GNU C++ compiler... yes [15:13:44.129] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:13:44.168] checking for gawk... no [15:13:44.168] checking for mawk... mawk [15:13:44.170] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:13:44.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:13:44.195] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:13:44.225] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:13:44.376] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:13:44.406] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:13:44.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:13:44.430] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:13:44.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:13:44.438] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:13:44.459] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:13:44.462] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:13:44.472] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:13:44.492] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:13:44.550] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:13:44.554] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:13:44.558] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:13:44.562] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:13:44.583] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:13:44.587] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:13:44.597] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:13:44.600] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:13:44.612] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:13:44.615] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:13:44.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:13:44.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:13:44.669] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:13:44.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:13:44.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:13:44.703] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:13:44.725] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:13:44.729] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:13:44.752] checking whether the C compiler still works... yes [15:13:44.799] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:13:44.839] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:13:44.839] checking pkg-config is at least version 0.9.0... yes [15:13:44.852] checking whether to build with ICU support... no [15:13:44.852] checking whether to build with Tcl... no [15:13:44.852] checking whether to build Perl modules... no [15:13:44.852] checking whether to build Python modules... no [15:13:44.853] checking whether to build with GSSAPI support... no [15:13:44.853] checking whether to build with PAM support... no [15:13:44.853] checking whether to build with BSD Authentication support... no [15:13:44.853] checking whether to build with LDAP support... no [15:13:44.853] checking whether to build with Bonjour support... no [15:13:44.853] checking whether to build with SELinux support... no [15:13:44.854] checking whether to build with systemd support... no [15:13:44.854] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:13:44.854] checking whether to build with XML support... no [15:13:44.854] checking whether to build with LZ4 support... no [15:13:44.854] checking whether to build with ZSTD support... no [15:13:44.854] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:13:44.855] checking whether it is possible to strip libraries... yes [15:13:44.861] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:13:44.861] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:13:44.862] checking for a BSD-compatible install... /usr/bin/install -c [15:13:44.867] checking for tar... /usr/bin/tar [15:13:44.867] checking whether ln -s works... yes [15:13:44.867] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:13:44.868] checking for bison... /usr/bin/bison [15:13:44.869] configure: using bison (GNU Bison) 3.7.5 [15:13:44.871] checking for flex... /usr/bin/flex [15:13:44.878] configure: using flex 2.6.4 [15:13:44.878] checking for perl... /usr/bin/perl [15:13:44.880] configure: using perl 5.32.1 [15:13:44.881] checking for zic... /usr/sbin/zic [15:13:44.882] checking for a sed that does not truncate output... /usr/bin/sed [15:13:44.884] checking for grep that handles long lines and -e... /usr/bin/grep [15:13:44.886] checking for egrep... /usr/bin/grep -E [15:13:44.887] checking for ANSI C header files... yes [15:13:44.924] checking for sys/types.h... yes [15:13:44.934] checking for sys/stat.h... yes [15:13:44.943] checking for stdlib.h... yes [15:13:44.983] checking for string.h... yes [15:13:45.003] checking for memory.h... yes [15:13:45.011] checking for strings.h... yes [15:13:45.020] checking for inttypes.h... yes [15:13:45.043] checking for stdint.h... yes [15:13:45.050] checking for unistd.h... yes [15:13:45.092] checking for main in -lm... yes [15:13:45.121] checking for library containing setproctitle... no [15:13:45.177] checking for library containing dlsym... no [15:13:45.232] checking for library containing socket... -lws2_32 [15:13:45.315] checking for library containing getopt_long... none required [15:13:45.347] checking for library containing shm_open... no [15:13:45.402] checking for library containing shm_unlink... no [15:13:45.455] checking for library containing clock_gettime... no [15:13:45.509] checking for library containing shmget... no [15:13:45.563] checking for library containing backtrace_symbols... no [15:13:45.616] checking for library containing pthread_barrier_wait... -lpthread [15:13:45.683] checking for inflate in -lz... yes [15:13:45.715] checking for stdbool.h that conforms to C99... yes [15:13:45.742] checking for _Bool... yes [15:13:45.821] checking atomic.h usability... no [15:13:45.860] checking atomic.h presence... no [15:13:45.871] checking for atomic.h... no [15:13:45.873] checking copyfile.h usability... no [15:13:45.909] checking copyfile.h presence... no [15:13:45.919] checking for copyfile.h... no [15:13:45.921] checking execinfo.h usability... no [15:13:45.957] checking execinfo.h presence... no [15:13:45.967] checking for execinfo.h... no [15:13:45.969] checking getopt.h usability... yes [15:13:46.005] checking getopt.h presence... yes [15:13:46.014] checking for getopt.h... yes [15:13:46.018] checking ifaddrs.h usability... no [15:13:46.054] checking ifaddrs.h presence... no [15:13:46.064] checking for ifaddrs.h... no [15:13:46.066] checking langinfo.h usability... no [15:13:46.102] checking langinfo.h presence... no [15:13:46.113] checking for langinfo.h... no [15:13:46.115] checking mbarrier.h usability... no [15:13:46.151] checking mbarrier.h presence... no [15:13:46.161] checking for mbarrier.h... no [15:13:46.163] checking sys/epoll.h usability... no [15:13:46.199] checking sys/epoll.h presence... no [15:13:46.209] checking for sys/epoll.h... no [15:13:46.211] checking sys/event.h usability... no [15:13:46.245] checking sys/event.h presence... no [15:13:46.255] checking for sys/event.h... no [15:13:46.257] checking sys/personality.h usability... no [15:13:46.294] checking sys/personality.h presence... no [15:13:46.304] checking for sys/personality.h... no [15:13:46.306] checking sys/prctl.h usability... no [15:13:46.342] checking sys/prctl.h presence... no [15:13:46.353] checking for sys/prctl.h... no [15:13:46.354] checking sys/procctl.h usability... no [15:13:46.390] checking sys/procctl.h presence... no [15:13:46.400] checking for sys/procctl.h... no [15:13:46.402] checking sys/signalfd.h usability... no [15:13:46.438] checking sys/signalfd.h presence... no [15:13:46.448] checking for sys/signalfd.h... no [15:13:46.450] checking sys/ucred.h usability... no [15:13:46.485] checking sys/ucred.h presence... no [15:13:46.495] checking for sys/ucred.h... no [15:13:46.497] checking termios.h usability... no [15:13:46.533] checking termios.h presence... no [15:13:46.543] checking for termios.h... no [15:13:46.545] checking ucred.h usability... no [15:13:46.579] checking ucred.h presence... no [15:13:46.590] checking for ucred.h... no [15:13:46.591] checking zlib.h usability... yes [15:13:46.597] checking zlib.h presence... yes [15:13:46.609] checking for zlib.h... yes [15:13:46.609] checking for lz4... /usr/bin/lz4 [15:13:46.609] checking for zstd... /usr/bin/zstd [15:13:46.609] checking for openssl... /usr/bin/openssl [15:13:46.612] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [15:13:46.612] checking crtdefs.h usability... yes [15:13:46.648] checking crtdefs.h presence... yes [15:13:46.658] checking for crtdefs.h... yes [15:13:46.658] checking whether byte ordering is bigendian... no [15:13:46.706] checking for inline... inline [15:13:46.715] checking for printf format archetype... gnu_printf [15:13:46.736] checking for _Static_assert... yes [15:13:46.763] checking for typeof... typeof [15:13:46.784] checking for __builtin_types_compatible_p... yes [15:13:46.806] checking for __builtin_constant_p... yes [15:13:46.812] checking for __builtin_unreachable... yes [15:13:46.838] checking for computed goto support... yes [15:13:46.859] checking for struct tm.tm_zone... no [15:13:46.904] checking for union semun... no [15:13:46.924] checking for socklen_t... yes [15:13:47.719] checking for struct sockaddr.sa_len... no [15:13:49.022] checking for locale_t... no [15:13:49.058] checking for C/C++ restrict keyword... __restrict [15:13:49.065] checking for struct option... yes [15:13:49.088] checking whether assembler supports x86_64 popcntq... yes [15:13:49.110] checking size of off_t... 4 [15:13:49.331] 0 [15:13:49.331] checking size of bool... 1 [15:13:49.359] checking for int timezone... yes [15:13:49.408] checking for wcstombs_l declaration... no [15:13:49.465] checking for backtrace_symbols... no [15:13:49.497] checking for copyfile... no [15:13:49.528] checking for copy_file_range... no [15:13:49.559] checking for getifaddrs... no [15:13:49.589] checking for getpeerucred... no [15:13:49.621] checking for inet_pton... yes [15:13:49.655] checking for kqueue... no [15:13:49.687] checking for mbstowcs_l... no [15:13:49.719] checking for memset_s... no [15:13:49.750] checking for posix_fallocate... no [15:13:49.782] checking for ppoll... no [15:13:49.813] checking for pthread_is_threaded_np... no [15:13:49.844] checking for setproctitle... no [15:13:49.875] checking for setproctitle_fast... no [15:13:49.908] checking for strchrnul... no [15:13:49.942] checking for strsignal... no [15:13:49.973] checking for syncfs... no [15:13:50.005] checking for sync_file_range... no [15:13:50.037] checking for uselocale... no [15:13:50.068] checking for wcstombs_l... no [15:13:50.101] checking for __builtin_bswap16... yes [15:13:50.133] checking for __builtin_bswap32... yes [15:13:50.164] checking for __builtin_bswap64... yes [15:13:50.195] checking for __builtin_clz... yes [15:13:50.224] checking for __builtin_ctz... yes [15:13:50.254] checking for __builtin_popcount... yes [15:13:50.284] checking for __builtin_frame_address... yes [15:13:50.314] checking for _LARGEFILE_SOURCE value needed for large files... no [15:13:50.351] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:13:50.369] checking for posix_fadvise... no [15:13:50.400] checking whether posix_fadvise is declared... no [15:13:50.426] checking whether fdatasync is declared... no [15:13:50.452] checking whether strlcat is declared... no [15:13:50.492] checking whether strlcpy is declared... no [15:13:50.532] checking whether strnlen is declared... yes [15:13:50.539] checking whether preadv is declared... no [15:13:50.558] checking whether pwritev is declared... no [15:13:50.577] checking whether F_FULLFSYNC is declared... no [15:13:50.599] checking for explicit_bzero... no [15:13:50.627] checking for getopt... yes [15:13:50.654] checking for getpeereid... no [15:13:50.683] checking for inet_aton... no [15:13:50.712] checking for mkdtemp... no [15:13:50.739] checking for strlcat... no [15:13:50.767] checking for strlcpy... no [15:13:50.795] checking for strnlen... yes [15:13:50.825] checking for pthread_barrier_wait... yes [15:13:50.852] configure: On mingw32 we will use our strtof wrapper. [15:13:50.852] checking for getopt_long... yes [15:13:50.880] checking for _configthreadlocale... yes [15:13:50.908] checking for syslog... no [15:13:50.936] checking for opterr... yes [15:13:50.966] checking for optreset... no [15:13:50.997] checking test program... cross-compiling [15:13:50.997] checking whether long int is 64 bits... no [15:13:51.014] checking whether long long int is 64 bits... yes [15:13:51.034] checking for __builtin_mul_overflow... yes [15:13:51.061] checking size of void *... 8 [15:13:51.305] checking size of size_t... 8 [15:13:51.527] checking size of long... 4 [15:13:51.716] checking alignment of short... 2 [15:13:51.797] checking alignment of int... 4 [15:13:51.972] checking alignment of long... 4 [15:13:52.145] checking alignment of long long int... 8 [15:13:52.414] checking alignment of double... 8 [15:13:52.624] checking for int8... no [15:13:52.651] checking for uint8... no [15:13:52.677] checking for int64... no [15:13:52.703] checking for uint64... no [15:13:52.729] checking for __int128... yes [15:13:52.758] checking for __int128 alignment bug... assuming ok [15:13:52.759] checking alignment of PG_INT128_TYPE... 16 [15:13:53.005] checking for builtin __sync char locking functions... yes [15:13:53.032] checking for builtin __sync int32 locking functions... yes [15:13:53.058] checking for builtin __sync int32 atomic operations... yes [15:13:53.083] checking for builtin __sync int64 atomic operations... yes [15:13:53.110] checking for builtin __atomic int32 atomic operations... yes [15:13:53.138] checking for builtin __atomic int64 atomic operations... yes [15:13:53.165] checking for __get_cpuid... yes [15:13:53.193] checking for __cpuid... no [15:13:53.415] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:13:53.444] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:13:53.501] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:13:53.514] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:13:53.523] 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 [15:13:53.557] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:13:53.558] checking which random number source to use... Windows native [15:13:53.559] checking for xmllint... /usr/bin/xmllint [15:13:53.559] checking for xsltproc... /usr/bin/xsltproc [15:13:53.559] checking for fop... /usr/bin/fop [15:13:53.559] checking for dbtoepub... no [15:13:53.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:13:53.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:13:53.566] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [15:13:53.566] 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 [15:13:53.566] configure: using CPPFLAGS= -I./src/include/port/win32 [15:13:53.566] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:13:53.615] configure: creating ./config.status [15:13:53.661] config.status: creating GNUmakefile [15:13:53.667] config.status: creating src/Makefile.global [15:13:53.676] config.status: creating src/include/pg_config.h [15:13:53.683] config.status: creating src/include/pg_config_ext.h [15:13:53.689] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:13:53.697] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:13:53.701] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:13:53.704] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:13:53.708] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:13:53.712] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:13:53.714] config.status: executing check_win32_symlinks commands [15:13:53.737] [15:13:53.737] real 0m10.275s [15:13:53.737] user 0m7.658s [15:13:53.737] sys 0m2.148s [15:13:53.737] make -s -j${BUILD_JOBS} clean [15:13:54.087] time make -s -j${BUILD_JOBS} world-bin [15:16:08.058] In file included from ../../src/include/postgres.h:46, [15:16:08.058] from verify_nbtree.c:24: [15:16:08.058] verify_nbtree.c: In function ‘palloc_btree_page’: [15:16:08.058] 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=] [15:16:08.058] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [15:16:08.058] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [15:16:08.058] 3454 | blocknum, RelationGetRelationName(state->rel), [15:16:08.058] 3455 | ClusterMaxIndexTuplesPerPage))); [15:16:08.058] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [15:16:08.058] | | [15:16:08.058] | Size {aka const long long unsigned int} [15:16:08.058] ../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [15:16:08.058] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [15:16:08.058] | ^~~~~~~~~~~ [15:16:08.058] verify_nbtree.c:3451:3: note: in expansion of macro ‘ereport’ [15:16:08.058] 3451 | ereport(ERROR, [15:16:08.058] | ^~~~~~~ [15:16:08.058] verify_nbtree.c:3453:97: note: format string is defined here [15:16:08.058] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [15:16:08.058] | ~^ [15:16:08.058] | | [15:16:08.058] | unsigned int [15:16:08.058] | %llu [15:16:08.058] cc1: all warnings being treated as errors [15:16:08.058] make[2]: *** [: verify_nbtree.o] Error 1 [15:16:08.058] make[1]: *** [Makefile:94: all-amcheck-recurse] Error 2 [15:16:08.058] make[1]: *** Waiting for unfinished jobs.... [15:16:11.242] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [15:16:11.243] [15:16:11.243] real 2m17.155s [15:16:11.243] user 7m41.758s [15:16:11.243] sys 0m56.890s [15:16:11.243] [15:16:11.243] Exit status: 2