[17:19:16.376] time ./configure \ [17:19:16.376] --host=x86_64-w64-mingw32 \ [17:19:16.376] --enable-cassert \ [17:19:16.376] --without-icu \ [17:19:16.376] CC="ccache x86_64-w64-mingw32-gcc" \ [17:19:16.376] CXX="ccache x86_64-w64-mingw32-g++" [17:19:16.448] checking build system type... x86_64-pc-linux-gnu [17:19:16.625] checking host system type... x86_64-w64-mingw32 [17:19:16.628] checking which template to use... win32 [17:19:16.629] checking whether NLS is wanted... no [17:19:16.629] checking for default port number... 5432 [17:19:16.633] checking for block size... 8kB [17:19:16.633] checking for segment size... 1GB [17:19:16.635] checking for WAL block size... 8kB [17:19:16.635] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:19:16.659] checking whether the C compiler works... yes [17:19:16.793] checking for C compiler default output file name... a.exe [17:19:16.793] checking for suffix of executables... .exe [17:19:16.823] checking whether we are cross compiling... yes [17:19:16.884] checking for suffix of object files... o [17:19:16.895] checking whether we are using the GNU C compiler... yes [17:19:16.905] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:19:16.915] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:19:16.922] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:19:16.968] checking whether we are using the GNU C++ compiler... yes [17:19:16.972] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:19:17.212] checking for gawk... no [17:19:17.212] checking for mawk... mawk [17:19:17.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:19:17.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:19:17.229] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:19:17.260] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:19:17.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:19:17.299] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:19:17.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:19:17.312] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:19:17.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:19:17.319] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:19:17.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:19:17.346] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:19:17.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:19:17.372] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:19:17.394] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:19:17.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:19:17.402] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:19:17.412] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:19:17.422] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:19:17.426] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:19:17.431] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:19:17.451] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:19:17.464] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:19:17.485] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:19:17.495] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:19:17.517] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:19:17.540] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:19:17.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:19:17.553] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:19:17.573] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:19:17.593] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:19:17.604] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:19:17.626] checking whether the C compiler still works... yes [17:19:17.671] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:19:17.718] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:19:17.718] checking pkg-config is at least version 0.9.0... yes [17:19:17.732] checking whether to build with ICU support... no [17:19:17.732] checking whether to build with Tcl... no [17:19:17.732] checking whether to build Perl modules... no [17:19:17.732] checking whether to build Python modules... no [17:19:17.732] checking whether to build with GSSAPI support... no [17:19:17.733] checking whether to build with PAM support... no [17:19:17.733] checking whether to build with BSD Authentication support... no [17:19:17.733] checking whether to build with LDAP support... no [17:19:17.733] checking whether to build with Bonjour support... no [17:19:17.733] checking whether to build with SELinux support... no [17:19:17.733] checking whether to build with systemd support... no [17:19:17.733] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:19:17.733] checking whether to build with XML support... no [17:19:17.733] checking whether to build with LZ4 support... no [17:19:17.734] checking whether to build with ZSTD support... no [17:19:17.734] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:19:17.734] checking whether it is possible to strip libraries... yes [17:19:17.744] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:19:17.744] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:19:17.744] checking for a BSD-compatible install... /usr/bin/install -c [17:19:17.749] checking for tar... /usr/bin/tar [17:19:17.749] checking whether ln -s works... yes [17:19:17.749] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:19:17.751] checking for bison... /usr/bin/bison [17:19:17.753] configure: using bison (GNU Bison) 3.7.5 [17:19:17.755] checking for flex... /usr/bin/flex [17:19:17.765] configure: using flex 2.6.4 [17:19:17.765] checking for perl... /usr/bin/perl [17:19:17.767] configure: using perl 5.32.1 [17:19:17.769] checking for zic... /usr/sbin/zic [17:19:17.769] checking for a sed that does not truncate output... /usr/bin/sed [17:19:17.772] checking for grep that handles long lines and -e... /usr/bin/grep [17:19:17.774] checking for egrep... /usr/bin/grep -E [17:19:17.775] checking for ANSI C header files... yes [17:19:17.805] checking for sys/types.h... yes [17:19:17.844] checking for sys/stat.h... yes [17:19:17.853] checking for stdlib.h... yes [17:19:17.863] checking for string.h... yes [17:19:17.871] checking for memory.h... yes [17:19:17.880] checking for strings.h... yes [17:19:17.889] checking for inttypes.h... yes [17:19:17.899] checking for stdint.h... yes [17:19:17.941] checking for unistd.h... yes [17:19:17.952] checking for main in -lm... yes [17:19:17.980] checking for library containing setproctitle... no [17:19:18.033] checking for library containing dlsym... no [17:19:18.086] checking for library containing socket... -lws2_32 [17:19:18.165] checking for library containing getopt_long... none required [17:19:18.196] checking for library containing shm_open... no [17:19:18.251] checking for library containing shm_unlink... no [17:19:18.305] checking for library containing clock_gettime... no [17:19:18.367] checking for library containing shmget... no [17:19:18.431] checking for library containing backtrace_symbols... no [17:19:18.491] checking for library containing pthread_barrier_wait... -lpthread [17:19:18.555] checking for inflate in -lz... yes [17:19:18.591] checking for stdbool.h that conforms to C99... yes [17:19:18.630] checking for _Bool... yes [17:19:18.718] checking atomic.h usability... no [17:19:18.755] checking atomic.h presence... no [17:19:18.768] checking for atomic.h... no [17:19:18.771] checking copyfile.h usability... no [17:19:18.811] checking copyfile.h presence... no [17:19:18.827] checking for copyfile.h... no [17:19:18.830] checking execinfo.h usability... no [17:19:18.871] checking execinfo.h presence... no [17:19:18.883] checking for execinfo.h... no [17:19:18.885] checking getopt.h usability... yes [17:19:18.923] checking getopt.h presence... yes [17:19:18.934] checking for getopt.h... yes [17:19:18.939] checking ifaddrs.h usability... no [17:19:18.978] checking ifaddrs.h presence... no [17:19:18.991] checking for ifaddrs.h... no [17:19:18.993] checking langinfo.h usability... no [17:19:19.031] checking langinfo.h presence... no [17:19:19.044] checking for langinfo.h... no [17:19:19.046] checking mbarrier.h usability... no [17:19:19.083] checking mbarrier.h presence... no [17:19:19.094] checking for mbarrier.h... no [17:19:19.096] checking sys/epoll.h usability... no [17:19:19.132] checking sys/epoll.h presence... no [17:19:19.144] checking for sys/epoll.h... no [17:19:19.146] checking sys/event.h usability... no [17:19:19.186] checking sys/event.h presence... no [17:19:19.197] checking for sys/event.h... no [17:19:19.199] checking sys/personality.h usability... no [17:19:19.238] checking sys/personality.h presence... no [17:19:19.250] checking for sys/personality.h... no [17:19:19.252] checking sys/prctl.h usability... no [17:19:19.290] checking sys/prctl.h presence... no [17:19:19.302] checking for sys/prctl.h... no [17:19:19.304] checking sys/procctl.h usability... no [17:19:19.341] checking sys/procctl.h presence... no [17:19:19.353] checking for sys/procctl.h... no [17:19:19.355] checking sys/signalfd.h usability... no [17:19:19.391] checking sys/signalfd.h presence... no [17:19:19.401] checking for sys/signalfd.h... no [17:19:19.403] checking sys/ucred.h usability... no [17:19:19.438] checking sys/ucred.h presence... no [17:19:19.449] checking for sys/ucred.h... no [17:19:19.451] checking termios.h usability... no [17:19:19.487] checking termios.h presence... no [17:19:19.498] checking for termios.h... no [17:19:19.500] checking ucred.h usability... no [17:19:19.537] checking ucred.h presence... no [17:19:19.547] checking for ucred.h... no [17:19:19.549] checking zlib.h usability... yes [17:19:19.592] checking zlib.h presence... yes [17:19:19.604] checking for zlib.h... yes [17:19:19.605] checking for lz4... /usr/bin/lz4 [17:19:19.605] checking for zstd... /usr/bin/zstd [17:19:19.605] checking for openssl... /usr/bin/openssl [17:19:19.608] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [17:19:19.608] checking crtdefs.h usability... yes [17:19:19.628] checking crtdefs.h presence... yes [17:19:19.638] checking for crtdefs.h... yes [17:19:19.639] checking whether byte ordering is bigendian... no [17:19:19.689] checking for inline... inline [17:19:19.698] checking for printf format archetype... gnu_printf [17:19:19.721] checking for _Static_assert... yes [17:19:19.750] checking for typeof... typeof [17:19:19.775] checking for __builtin_types_compatible_p... yes [17:19:19.801] checking for __builtin_constant_p... yes [17:19:19.809] checking for __builtin_unreachable... yes [17:19:19.838] checking for computed goto support... yes [17:19:19.864] checking for struct tm.tm_zone... no [17:19:19.917] checking for union semun... no [17:19:19.939] checking for socklen_t... yes [17:19:20.748] checking for struct sockaddr.sa_len... no [17:19:22.122] checking for locale_t... no [17:19:22.164] checking for C/C++ restrict keyword... __restrict [17:19:22.191] checking for struct option... yes [17:19:22.218] checking whether assembler supports x86_64 popcntq... yes [17:19:22.222] checking size of off_t... 4 [17:19:22.437] 0 [17:19:22.438] checking size of bool... 1 [17:19:22.484] checking for int timezone... yes [17:19:22.519] checking for wcstombs_l declaration... no [17:19:22.579] checking for backtrace_symbols... no [17:19:22.616] checking for copyfile... no [17:19:22.654] checking for copy_file_range... no [17:19:22.689] checking for getifaddrs... no [17:19:22.723] checking for getpeerucred... no [17:19:22.754] checking for inet_pton... yes [17:19:22.787] checking for kqueue... no [17:19:22.818] checking for mbstowcs_l... no [17:19:22.851] checking for memset_s... no [17:19:22.884] checking for posix_fallocate... no [17:19:22.916] checking for ppoll... no [17:19:22.951] checking for pthread_is_threaded_np... no [17:19:22.984] checking for setproctitle... no [17:19:23.017] checking for setproctitle_fast... no [17:19:23.051] checking for strchrnul... no [17:19:23.084] checking for strsignal... no [17:19:23.118] checking for syncfs... no [17:19:23.150] checking for sync_file_range... no [17:19:23.181] checking for uselocale... no [17:19:23.213] checking for wcstombs_l... no [17:19:23.243] checking for __builtin_bswap16... yes [17:19:23.273] checking for __builtin_bswap32... yes [17:19:23.304] checking for __builtin_bswap64... yes [17:19:23.334] checking for __builtin_clz... yes [17:19:23.365] checking for __builtin_ctz... yes [17:19:23.395] checking for __builtin_popcount... yes [17:19:23.426] checking for __builtin_frame_address... yes [17:19:23.455] checking for _LARGEFILE_SOURCE value needed for large files... no [17:19:23.496] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:19:23.517] checking for posix_fadvise... no [17:19:23.550] checking whether posix_fadvise is declared... no [17:19:23.576] checking whether fdatasync is declared... no [17:19:23.603] checking whether strlcat is declared... no [17:19:23.644] checking whether strlcpy is declared... no [17:19:23.688] checking whether strnlen is declared... yes [17:19:23.711] checking whether preadv is declared... no [17:19:23.734] checking whether pwritev is declared... no [17:19:23.756] checking whether F_FULLFSYNC is declared... no [17:19:23.782] checking for explicit_bzero... no [17:19:23.815] checking for getopt... yes [17:19:23.848] checking for getpeereid... no [17:19:23.884] checking for inet_aton... no [17:19:23.916] checking for mkdtemp... no [17:19:23.947] checking for strlcat... no [17:19:23.980] checking for strlcpy... no [17:19:24.013] checking for strnlen... yes [17:19:24.047] checking for pthread_barrier_wait... yes [17:19:24.078] configure: On mingw32 we will use our strtof wrapper. [17:19:24.078] checking for getopt_long... yes [17:19:24.110] checking for _configthreadlocale... yes [17:19:24.142] checking for syslog... no [17:19:24.172] checking for opterr... yes [17:19:24.207] checking for optreset... no [17:19:24.243] checking test program... cross-compiling [17:19:24.243] checking whether long int is 64 bits... no [17:19:24.266] checking whether long long int is 64 bits... yes [17:19:24.272] checking for __builtin_mul_overflow... yes [17:19:24.307] checking size of void *... 8 [17:19:24.519] checking size of size_t... 8 [17:19:24.752] checking size of long... 4 [17:19:24.937] checking alignment of short... 2 [17:19:25.108] checking alignment of int... 4 [17:19:25.265] checking alignment of long... 4 [17:19:25.503] checking alignment of long long int... 8 [17:19:25.758] checking alignment of double... 8 [17:19:25.963] checking for int8... no [17:19:25.990] checking for uint8... no [17:19:26.020] checking for int64... no [17:19:26.048] checking for uint64... no [17:19:26.077] checking for __int128... yes [17:19:26.110] checking for __int128 alignment bug... assuming ok [17:19:26.110] checking alignment of PG_INT128_TYPE... 16 [17:19:26.491] checking for builtin __sync char locking functions... yes [17:19:26.519] checking for builtin __sync int32 locking functions... yes [17:19:26.545] checking for builtin __sync int32 atomic operations... yes [17:19:26.572] checking for builtin __sync int64 atomic operations... yes [17:19:26.599] checking for builtin __atomic int32 atomic operations... yes [17:19:26.625] checking for builtin __atomic int64 atomic operations... yes [17:19:26.653] checking for __get_cpuid... yes [17:19:26.683] checking for __cpuid... no [17:19:26.910] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:19:26.941] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:19:27.005] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:19:27.019] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:19:27.030] 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 [17:19:27.067] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:19:27.067] checking which random number source to use... Windows native [17:19:27.068] checking for xmllint... /usr/bin/xmllint [17:19:27.068] checking for xsltproc... /usr/bin/xsltproc [17:19:27.069] checking for fop... /usr/bin/fop [17:19:27.069] checking for dbtoepub... no [17:19:27.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:19:27.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:19:27.075] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [17:19:27.075] 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 [17:19:27.075] configure: using CPPFLAGS= -I./src/include/port/win32 [17:19:27.076] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:19:27.127] configure: creating ./config.status [17:19:27.172] config.status: creating GNUmakefile [17:19:27.179] config.status: creating src/Makefile.global [17:19:27.187] config.status: creating src/include/pg_config.h [17:19:27.194] config.status: creating src/include/pg_config_ext.h [17:19:27.201] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:19:27.209] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:19:27.213] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:19:27.217] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:19:27.221] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:19:27.225] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:19:27.227] config.status: executing check_win32_symlinks commands [17:19:27.250] [17:19:27.250] real 0m10.874s [17:19:27.250] user 0m7.842s [17:19:27.250] sys 0m2.633s [17:19:27.250] make -s -j${BUILD_JOBS} clean [17:19:27.611] time make -s -j${BUILD_JOBS} world-bin [17:21:54.023] In file included from ../../src/include/postgres.h:46, [17:21:54.023] from verify_nbtree.c:24: [17:21:54.023] verify_nbtree.c: In function ‘palloc_btree_page’: [17:21:54.023] 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=] [17:21:54.023] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [17:21:54.023] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:21:54.023] 3454 | blocknum, RelationGetRelationName(state->rel), [17:21:54.023] 3455 | ClusterMaxIndexTuplesPerPage))); [17:21:54.023] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:21:54.023] | | [17:21:54.023] | Size {aka const long long unsigned int} [17:21:54.023] ../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [17:21:54.023] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [17:21:54.023] | ^~~~~~~~~~~ [17:21:54.023] verify_nbtree.c:3451:3: note: in expansion of macro ‘ereport’ [17:21:54.023] 3451 | ereport(ERROR, [17:21:54.023] | ^~~~~~~ [17:21:54.023] verify_nbtree.c:3453:97: note: format string is defined here [17:21:54.023] 3453 | errmsg("Number of items on block %u of index \"%s\" exceeds ClusterMaxIndexTuplesPerPage (%u)", [17:21:54.023] | ~^ [17:21:54.023] | | [17:21:54.023] | unsigned int [17:21:54.023] | %llu [17:21:54.023] cc1: all warnings being treated as errors [17:21:54.023] make[2]: *** [: verify_nbtree.o] Error 1 [17:21:54.023] make[1]: *** [Makefile:94: all-amcheck-recurse] Error 2 [17:21:54.023] make[1]: *** Waiting for unfinished jobs.... [17:21:57.539] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [17:21:57.539] [17:21:57.539] real 2m29.928s [17:21:57.539] user 8m3.014s [17:21:57.539] sys 0m58.899s [17:21:57.539] [17:21:57.539] Exit status: 2