[00:55:21.896] time ./configure \ [00:55:21.896] --host=x86_64-w64-mingw32 \ [00:55:21.896] --enable-cassert \ [00:55:21.896] --without-icu \ [00:55:21.896] CC="ccache x86_64-w64-mingw32-gcc" \ [00:55:21.896] CXX="ccache x86_64-w64-mingw32-g++" [00:55:21.962] checking build system type... x86_64-pc-linux-gnu [00:55:22.159] checking host system type... x86_64-w64-mingw32 [00:55:22.163] checking which template to use... win32 [00:55:22.163] checking whether NLS is wanted... no [00:55:22.163] checking for default port number... 5432 [00:55:22.168] checking for block size... 8kB [00:55:22.169] checking for segment size... 1GB [00:55:22.171] checking for WAL block size... 8kB [00:55:22.172] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:55:22.198] checking whether the C compiler works... yes [00:55:22.340] checking for C compiler default output file name... a.exe [00:55:22.341] checking for suffix of executables... .exe [00:55:22.374] checking whether we are cross compiling... yes [00:55:22.434] checking for suffix of object files... o [00:55:22.447] checking whether we are using the GNU C compiler... yes [00:55:22.471] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:55:22.495] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:55:22.514] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:55:22.555] checking whether we are using the GNU C++ compiler... yes [00:55:22.559] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:55:22.791] checking for gawk... no [00:55:22.791] checking for mawk... mawk [00:55:22.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:55:22.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:55:22.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:55:22.859] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:55:22.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:55:22.896] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:55:22.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:55:22.905] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:55:22.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:55:22.915] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:55:22.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:55:22.932] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:55:22.956] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:55:22.961] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:55:22.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:55:22.970] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:55:22.996] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:55:23.008] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:55:23.013] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:55:23.018] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:55:23.023] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:55:23.048] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:55:23.064] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:55:23.090] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:55:23.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:55:23.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:55:23.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:55:23.195] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:55:23.201] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:55:23.225] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:55:23.231] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:55:23.257] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:55:23.263] checking whether the C compiler still works... yes [00:55:23.313] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:55:23.365] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:55:23.365] checking pkg-config is at least version 0.9.0... yes [00:55:23.379] checking whether to build with ICU support... no [00:55:23.379] checking whether to build with Tcl... no [00:55:23.379] checking whether to build Perl modules... no [00:55:23.379] checking whether to build Python modules... no [00:55:23.379] checking whether to build with GSSAPI support... no [00:55:23.380] checking whether to build with PAM support... no [00:55:23.380] checking whether to build with BSD Authentication support... no [00:55:23.380] checking whether to build with LDAP support... no [00:55:23.380] checking whether to build with Bonjour support... no [00:55:23.380] checking whether to build with SELinux support... no [00:55:23.381] checking whether to build with systemd support... no [00:55:23.381] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:55:23.381] checking whether to build with XML support... no [00:55:23.381] checking whether to build with LZ4 support... no [00:55:23.381] checking whether to build with ZSTD support... no [00:55:23.381] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:55:23.382] checking whether it is possible to strip libraries... yes [00:55:23.389] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:55:23.389] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:55:23.389] checking for a BSD-compatible install... /usr/bin/install -c [00:55:23.396] checking for tar... /usr/bin/tar [00:55:23.396] checking whether ln -s works... yes [00:55:23.396] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:55:23.398] checking for bison... /usr/bin/bison [00:55:23.400] configure: using bison (GNU Bison) 3.7.5 [00:55:23.402] checking for flex... /usr/bin/flex [00:55:23.412] configure: using flex 2.6.4 [00:55:23.412] checking for perl... /usr/bin/perl [00:55:23.414] configure: using perl 5.32.1 [00:55:23.416] checking for zic... /usr/sbin/zic [00:55:23.416] checking for a sed that does not truncate output... /usr/bin/sed [00:55:23.420] checking for grep that handles long lines and -e... /usr/bin/grep [00:55:23.421] checking for egrep... /usr/bin/grep -E [00:55:23.423] checking for ANSI C header files... yes [00:55:23.461] checking for sys/types.h... yes [00:55:23.474] checking for sys/stat.h... yes [00:55:23.527] checking for stdlib.h... yes [00:55:23.552] checking for string.h... yes [00:55:23.599] checking for memory.h... yes [00:55:23.625] checking for strings.h... yes [00:55:23.636] checking for inttypes.h... yes [00:55:23.649] checking for stdint.h... yes [00:55:23.700] checking for unistd.h... yes [00:55:23.713] checking for main in -lm... yes [00:55:23.749] checking for library containing setproctitle... no [00:55:23.815] checking for library containing dlsym... no [00:55:23.881] checking for library containing socket... -lws2_32 [00:55:23.981] checking for library containing getopt_long... none required [00:55:24.020] checking for library containing shm_open... no [00:55:24.088] checking for library containing shm_unlink... no [00:55:24.154] checking for library containing clock_gettime... no [00:55:24.220] checking for library containing shmget... no [00:55:24.289] checking for library containing backtrace_symbols... no [00:55:24.357] checking for library containing pthread_barrier_wait... -lpthread [00:55:24.430] checking for inflate in -lz... yes [00:55:24.468] checking for stdbool.h that conforms to C99... yes [00:55:24.509] checking for _Bool... yes [00:55:24.603] checking atomic.h usability... no [00:55:24.645] checking atomic.h presence... no [00:55:24.659] checking for atomic.h... no [00:55:24.661] checking copyfile.h usability... no [00:55:24.704] checking copyfile.h presence... no [00:55:24.718] checking for copyfile.h... no [00:55:24.720] checking execinfo.h usability... no [00:55:24.763] checking execinfo.h presence... no [00:55:24.777] checking for execinfo.h... no [00:55:24.780] checking getopt.h usability... yes [00:55:24.823] checking getopt.h presence... yes [00:55:24.833] checking for getopt.h... yes [00:55:24.839] checking ifaddrs.h usability... no [00:55:24.881] checking ifaddrs.h presence... no [00:55:24.895] checking for ifaddrs.h... no [00:55:24.897] checking langinfo.h usability... no [00:55:24.938] checking langinfo.h presence... no [00:55:24.953] checking for langinfo.h... no [00:55:24.956] checking mbarrier.h usability... no [00:55:24.999] checking mbarrier.h presence... no [00:55:25.014] checking for mbarrier.h... no [00:55:25.016] checking sys/epoll.h usability... no [00:55:25.059] checking sys/epoll.h presence... no [00:55:25.074] checking for sys/epoll.h... no [00:55:25.076] checking sys/event.h usability... no [00:55:25.119] checking sys/event.h presence... no [00:55:25.134] checking for sys/event.h... no [00:55:25.137] checking sys/personality.h usability... no [00:55:25.180] checking sys/personality.h presence... no [00:55:25.193] checking for sys/personality.h... no [00:55:25.196] checking sys/prctl.h usability... no [00:55:25.240] checking sys/prctl.h presence... no [00:55:25.253] checking for sys/prctl.h... no [00:55:25.256] checking sys/procctl.h usability... no [00:55:25.300] checking sys/procctl.h presence... no [00:55:25.314] checking for sys/procctl.h... no [00:55:25.317] checking sys/signalfd.h usability... no [00:55:25.359] checking sys/signalfd.h presence... no [00:55:25.373] checking for sys/signalfd.h... no [00:55:25.376] checking sys/ucred.h usability... no [00:55:25.419] checking sys/ucred.h presence... no [00:55:25.430] checking for sys/ucred.h... no [00:55:25.432] checking termios.h usability... no [00:55:25.475] checking termios.h presence... no [00:55:25.489] checking for termios.h... no [00:55:25.492] checking ucred.h usability... no [00:55:25.536] checking ucred.h presence... no [00:55:25.549] checking for ucred.h... no [00:55:25.552] checking zlib.h usability... yes [00:55:25.599] checking zlib.h presence... yes [00:55:25.615] checking for zlib.h... yes [00:55:25.615] checking for lz4... /usr/bin/lz4 [00:55:25.615] checking for zstd... /usr/bin/zstd [00:55:25.615] checking for openssl... /usr/bin/openssl [00:55:25.619] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [00:55:25.619] checking crtdefs.h usability... yes [00:55:25.625] checking crtdefs.h presence... yes [00:55:25.638] checking for crtdefs.h... yes [00:55:25.639] checking whether byte ordering is bigendian... no [00:55:25.721] checking for inline... inline [00:55:25.726] checking for printf format archetype... gnu_printf [00:55:25.755] checking for _Static_assert... yes [00:55:25.788] checking for typeof... typeof [00:55:25.801] checking for __builtin_types_compatible_p... yes [00:55:25.809] checking for __builtin_constant_p... yes [00:55:25.835] checking for __builtin_unreachable... yes [00:55:25.867] checking for computed goto support... yes [00:55:25.873] checking for struct tm.tm_zone... no [00:55:25.935] checking for union semun... no [00:55:25.962] checking for socklen_t... yes [00:55:27.183] checking for struct sockaddr.sa_len... no [00:55:28.779] checking for locale_t... no [00:55:28.831] checking for C/C++ restrict keyword... __restrict [00:55:28.840] checking for struct option... yes [00:55:28.897] checking whether assembler supports x86_64 popcntq... yes [00:55:28.902] checking size of off_t... 4 [00:55:29.077] 0 [00:55:29.077] checking size of bool... 1 [00:55:29.152] checking for int timezone... yes [00:55:29.187] checking for wcstombs_l declaration... no [00:55:29.254] checking for backtrace_symbols... no [00:55:29.294] checking for copyfile... no [00:55:29.333] checking for getifaddrs... no [00:55:29.373] checking for getpeerucred... no [00:55:29.410] checking for inet_pton... yes [00:55:29.450] checking for kqueue... no [00:55:29.490] checking for mbstowcs_l... no [00:55:29.530] checking for memset_s... no [00:55:29.569] checking for posix_fallocate... no [00:55:29.608] checking for ppoll... no [00:55:29.644] checking for pthread_is_threaded_np... no [00:55:29.681] checking for setproctitle... no [00:55:29.719] checking for setproctitle_fast... no [00:55:29.755] checking for strchrnul... no [00:55:29.792] checking for strsignal... no [00:55:29.829] checking for syncfs... no [00:55:29.866] checking for sync_file_range... no [00:55:29.903] checking for uselocale... no [00:55:29.941] checking for wcstombs_l... no [00:55:29.977] checking for __builtin_bswap16... yes [00:55:30.015] checking for __builtin_bswap32... yes [00:55:30.053] checking for __builtin_bswap64... yes [00:55:30.090] checking for __builtin_clz... yes [00:55:30.126] checking for __builtin_ctz... yes [00:55:30.163] checking for __builtin_popcount... yes [00:55:30.202] checking for __builtin_frame_address... yes [00:55:30.239] checking for _LARGEFILE_SOURCE value needed for large files... no [00:55:30.284] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:55:30.309] checking for posix_fadvise... no [00:55:30.348] checking whether posix_fadvise is declared... no [00:55:30.382] checking whether fdatasync is declared... no [00:55:30.419] checking whether strlcat is declared... no [00:55:30.466] checking whether strlcpy is declared... no [00:55:30.515] checking whether strnlen is declared... yes [00:55:30.542] checking whether preadv is declared... no [00:55:30.568] checking whether pwritev is declared... no [00:55:30.596] checking whether F_FULLFSYNC is declared... no [00:55:30.626] checking for explicit_bzero... no [00:55:30.662] checking for getopt... yes [00:55:30.696] checking for getpeereid... no [00:55:30.731] checking for inet_aton... no [00:55:30.766] checking for mkdtemp... no [00:55:30.801] checking for strlcat... no [00:55:30.835] checking for strlcpy... no [00:55:30.870] checking for strnlen... yes [00:55:30.905] checking for pthread_barrier_wait... yes [00:55:30.938] configure: On mingw32 we will use our strtof wrapper. [00:55:30.938] checking for getopt_long... yes [00:55:30.973] checking for _configthreadlocale... yes [00:55:31.009] checking for syslog... no [00:55:31.046] checking for opterr... yes [00:55:31.085] checking for optreset... no [00:55:31.125] checking test program... cross-compiling [00:55:31.125] checking whether long int is 64 bits... no [00:55:31.148] checking whether long long int is 64 bits... yes [00:55:31.155] checking for __builtin_mul_overflow... yes [00:55:31.188] checking size of void *... 8 [00:55:31.396] checking size of size_t... 8 [00:55:31.675] checking size of long... 4 [00:55:31.874] checking alignment of short... 2 [00:55:31.991] checking alignment of int... 4 [00:55:32.235] checking alignment of long... 4 [00:55:32.436] checking alignment of long long int... 8 [00:55:32.753] checking alignment of double... 8 [00:55:33.014] checking for int8... no [00:55:33.047] checking for uint8... no [00:55:33.083] checking for int64... no [00:55:33.119] checking for uint64... no [00:55:33.155] checking for __int128... yes [00:55:33.193] checking for __int128 alignment bug... assuming ok [00:55:33.193] checking alignment of PG_INT128_TYPE... 16 [00:55:33.663] checking for builtin __sync char locking functions... yes [00:55:33.698] checking for builtin __sync int32 locking functions... yes [00:55:33.732] checking for builtin __sync int32 atomic operations... yes [00:55:33.765] checking for builtin __sync int64 atomic operations... yes [00:55:33.800] checking for builtin __atomic int32 atomic operations... yes [00:55:33.835] checking for builtin __atomic int64 atomic operations... yes [00:55:33.868] checking for __get_cpuid... yes [00:55:33.906] checking for __cpuid... no [00:55:34.152] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:55:34.187] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:55:34.253] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:55:34.269] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:55:34.282] 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 [00:55:34.321] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:55:34.321] checking which random number source to use... Windows native [00:55:34.322] checking for xmllint... /usr/bin/xmllint [00:55:34.323] checking for xsltproc... /usr/bin/xsltproc [00:55:34.323] checking for fop... /usr/bin/fop [00:55:34.323] checking for dbtoepub... no [00:55:34.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:55:34.324] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:55:34.332] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [00:55:34.332] 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 [00:55:34.332] configure: using CPPFLAGS= -I./src/include/port/win32 [00:55:34.332] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:55:34.394] configure: creating ./config.status [00:55:34.456] config.status: creating GNUmakefile [00:55:34.464] config.status: creating src/Makefile.global [00:55:34.475] config.status: creating src/include/pg_config.h [00:55:34.484] config.status: creating src/include/pg_config_ext.h [00:55:34.492] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:55:34.503] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:55:34.508] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:55:34.513] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:55:34.518] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:55:34.523] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:55:34.527] config.status: executing check_win32_symlinks commands [00:55:34.555] [00:55:34.555] real 0m12.659s [00:55:34.555] user 0m9.247s [00:55:34.555] sys 0m3.056s [00:55:34.555] make -s -j${BUILD_JOBS} clean [00:55:34.945] time make -s -j${BUILD_JOBS} world-bin [00:56:28.676] In file included from ../../../src/include/postgres.h:46, [00:56:28.676] from extended_stats.c:17: [00:56:28.676] extended_stats.c: In function ‘import_expressions’: [00:56:28.676] 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=] [00:56:28.676] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [00:56:28.676] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:56:28.676] 2892 | nexprs, tuptable->numvals))); [00:56:28.676] | ~~~~~~~~~~~~~~~~~ [00:56:28.676] | | [00:56:28.676] | uint64 {aka long long unsigned int} [00:56:28.676] ../../../src/include/utils/elog.h:147:4: note: in definition of macro ‘ereport_domain’ [00:56:28.676] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [00:56:28.676] | ^~~~~~~~~~~ [00:56:28.676] extended_stats.c:2889:3: note: in expansion of macro ‘ereport’ [00:56:28.676] 2889 | ereport(ERROR, [00:56:28.676] | ^~~~~~~ [00:56:28.676] extended_stats.c:2891:69: note: format string is defined here [00:56:28.676] 2891 | errmsg("statistic export expected %d stxdexpr rows but found %lu", [00:56:28.676] | ~~^ [00:56:28.676] | | [00:56:28.676] | long unsigned int [00:56:28.676] | %llu [00:56:28.676] extended_stats.c: In function ‘pg_import_ext_stats’: [00:56:28.676] extended_stats.c:3213:7: error: variable ‘require_match_oids’ set but not used [-Werror=unused-but-set-variable] [00:56:28.676] 3213 | bool require_match_oids; [00:56:28.676] | ^~~~~~~~~~~~~~~~~~ [00:56:28.676] cc1: all warnings being treated as errors [00:56:28.676] make[3]: *** [: extended_stats.o] Error 1 [00:56:28.676] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [00:56:28.676] make[2]: *** Waiting for unfinished jobs.... [00:56:34.325] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:56:34.325] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:56:34.325] [00:56:34.325] real 0m59.380s [00:56:34.325] user 3m20.352s [00:56:34.325] sys 0m26.695s [00:56:34.326] [00:56:34.326] Exit status: 2