[00:07:36.483] time ./configure \ [00:07:36.483] --host=x86_64-w64-mingw32 \ [00:07:36.483] --enable-cassert \ [00:07:36.483] --without-icu \ [00:07:36.483] CC="ccache x86_64-w64-mingw32-gcc" \ [00:07:36.483] CXX="ccache x86_64-w64-mingw32-g++" [00:07:36.568] checking build system type... x86_64-pc-linux-gnu [00:07:36.751] checking host system type... x86_64-w64-mingw32 [00:07:36.755] checking which template to use... win32 [00:07:36.755] checking whether NLS is wanted... no [00:07:36.755] checking for default port number... 5432 [00:07:36.760] checking for block size... 8kB [00:07:36.761] checking for segment size... 1GB [00:07:36.762] checking for WAL block size... 8kB [00:07:36.763] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:07:36.787] checking whether the C compiler works... yes [00:07:36.934] checking for C compiler default output file name... a.exe [00:07:36.935] checking for suffix of executables... .exe [00:07:36.965] checking whether we are cross compiling... yes [00:07:37.029] checking for suffix of object files... o [00:07:37.033] checking whether we are using the GNU C compiler... yes [00:07:37.037] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:07:37.041] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:07:37.049] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:07:37.091] checking whether we are using the GNU C++ compiler... yes [00:07:37.297] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:07:37.359] checking for gawk... no [00:07:37.359] checking for mawk... mawk [00:07:37.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:07:37.365] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:07:37.369] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:07:37.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:07:37.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:07:37.444] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:07:37.449] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:07:37.453] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:07:37.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:07:37.463] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:07:37.467] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:07:37.472] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:07:37.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:07:37.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:07:37.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:07:37.490] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:07:37.494] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:07:37.506] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:07:37.511] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:07:37.515] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:07:37.519] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:07:37.524] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:07:37.538] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:07:37.543] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:07:37.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:07:37.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:07:37.594] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:07:37.598] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:07:37.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:07:37.626] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:07:37.630] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:07:37.635] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:07:37.640] checking whether the C compiler still works... yes [00:07:37.690] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:07:37.742] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:07:37.742] checking pkg-config is at least version 0.9.0... yes [00:07:37.758] checking whether to build with ICU support... no [00:07:37.758] checking whether to build with Tcl... no [00:07:37.758] checking whether to build Perl modules... no [00:07:37.758] checking whether to build Python modules... no [00:07:37.758] checking whether to build with GSSAPI support... no [00:07:37.759] checking whether to build with PAM support... no [00:07:37.759] checking whether to build with BSD Authentication support... no [00:07:37.759] checking whether to build with LDAP support... no [00:07:37.759] checking whether to build with Bonjour support... no [00:07:37.759] checking whether to build with SELinux support... no [00:07:37.759] checking whether to build with systemd support... no [00:07:37.760] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:07:37.760] checking whether to build with XML support... no [00:07:37.760] checking whether to build with LZ4 support... no [00:07:37.760] checking whether to build with ZSTD support... no [00:07:37.760] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:07:37.761] checking whether it is possible to strip libraries... yes [00:07:37.768] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:07:37.768] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:07:37.768] checking for a BSD-compatible install... /usr/bin/install -c [00:07:37.774] checking for tar... /usr/bin/tar [00:07:37.774] checking whether ln -s works... yes [00:07:37.774] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:07:37.776] checking for bison... /usr/bin/bison [00:07:37.778] configure: using bison (GNU Bison) 3.7.5 [00:07:37.780] checking for flex... /usr/bin/flex [00:07:37.788] configure: using flex 2.6.4 [00:07:37.789] checking for perl... /usr/bin/perl [00:07:37.791] configure: using perl 5.32.1 [00:07:37.793] checking for zic... /usr/sbin/zic [00:07:37.793] checking for a sed that does not truncate output... /usr/bin/sed [00:07:37.797] checking for grep that handles long lines and -e... /usr/bin/grep [00:07:37.799] checking for egrep... /usr/bin/grep -E [00:07:37.800] checking for ANSI C header files... yes [00:07:37.834] checking for sys/types.h... yes [00:07:37.844] checking for sys/stat.h... yes [00:07:37.854] checking for stdlib.h... yes [00:07:37.862] checking for string.h... yes [00:07:37.870] checking for memory.h... yes [00:07:37.879] checking for strings.h... yes [00:07:37.888] checking for inttypes.h... yes [00:07:37.898] checking for stdint.h... yes [00:07:37.947] checking for unistd.h... yes [00:07:37.959] checking for main in -lm... yes [00:07:37.991] checking for library containing setproctitle... no [00:07:38.053] checking for library containing dlsym... no [00:07:38.115] checking for library containing socket... -lws2_32 [00:07:38.216] checking for library containing getopt_long... none required [00:07:38.256] checking for library containing shm_open... no [00:07:38.321] checking for library containing shm_unlink... no [00:07:38.386] checking for library containing clock_gettime... no [00:07:38.447] checking for library containing shmget... no [00:07:38.508] checking for library containing backtrace_symbols... no [00:07:38.573] checking for library containing pthread_barrier_wait... -lpthread [00:07:38.637] checking for inflate in -lz... yes [00:07:38.670] checking for stdbool.h that conforms to C99... yes [00:07:38.677] checking for _Bool... yes [00:07:38.727] checking atomic.h usability... no [00:07:38.768] checking atomic.h presence... no [00:07:38.781] checking for atomic.h... no [00:07:38.783] checking copyfile.h usability... no [00:07:38.822] checking copyfile.h presence... no [00:07:38.835] checking for copyfile.h... no [00:07:38.837] checking execinfo.h usability... no [00:07:38.877] checking execinfo.h presence... no [00:07:38.888] checking for execinfo.h... no [00:07:38.890] checking getopt.h usability... yes [00:07:38.895] checking getopt.h presence... yes [00:07:38.905] checking for getopt.h... yes [00:07:38.909] checking ifaddrs.h usability... no [00:07:38.950] checking ifaddrs.h presence... no [00:07:38.964] checking for ifaddrs.h... no [00:07:38.966] checking langinfo.h usability... no [00:07:39.009] checking langinfo.h presence... no [00:07:39.021] checking for langinfo.h... no [00:07:39.023] checking mbarrier.h usability... no [00:07:39.064] checking mbarrier.h presence... no [00:07:39.075] checking for mbarrier.h... no [00:07:39.077] checking sys/epoll.h usability... no [00:07:39.119] checking sys/epoll.h presence... no [00:07:39.131] checking for sys/epoll.h... no [00:07:39.133] checking sys/event.h usability... no [00:07:39.176] checking sys/event.h presence... no [00:07:39.189] checking for sys/event.h... no [00:07:39.191] checking sys/personality.h usability... no [00:07:39.232] checking sys/personality.h presence... no [00:07:39.243] checking for sys/personality.h... no [00:07:39.245] checking sys/prctl.h usability... no [00:07:39.285] checking sys/prctl.h presence... no [00:07:39.300] checking for sys/prctl.h... no [00:07:39.302] checking sys/procctl.h usability... no [00:07:39.344] checking sys/procctl.h presence... no [00:07:39.357] checking for sys/procctl.h... no [00:07:39.359] checking sys/signalfd.h usability... no [00:07:39.400] checking sys/signalfd.h presence... no [00:07:39.413] checking for sys/signalfd.h... no [00:07:39.415] checking sys/ucred.h usability... no [00:07:39.456] checking sys/ucred.h presence... no [00:07:39.468] checking for sys/ucred.h... no [00:07:39.470] checking termios.h usability... no [00:07:39.511] checking termios.h presence... no [00:07:39.524] checking for termios.h... no [00:07:39.527] checking ucred.h usability... no [00:07:39.570] checking ucred.h presence... no [00:07:39.585] checking for ucred.h... no [00:07:39.587] checking zlib.h usability... yes [00:07:39.595] checking zlib.h presence... yes [00:07:39.610] checking for zlib.h... yes [00:07:39.610] checking for lz4... /usr/bin/lz4 [00:07:39.610] checking for zstd... /usr/bin/zstd [00:07:39.611] checking for openssl... /usr/bin/openssl [00:07:39.614] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [00:07:39.615] checking crtdefs.h usability... yes [00:07:39.620] checking crtdefs.h presence... yes [00:07:39.632] checking for crtdefs.h... yes [00:07:39.633] checking whether byte ordering is bigendian... no [00:07:39.685] checking for inline... inline [00:07:39.689] checking for printf format archetype... gnu_printf [00:07:39.702] checking for _Static_assert... yes [00:07:39.733] checking for typeof... typeof [00:07:39.738] checking for __builtin_types_compatible_p... yes [00:07:39.744] checking for __builtin_constant_p... yes [00:07:39.750] checking for __builtin_unreachable... yes [00:07:39.780] checking for computed goto support... yes [00:07:39.786] checking for struct tm.tm_zone... no [00:07:39.843] checking for union semun... no [00:07:39.867] checking for socklen_t... yes [00:07:40.797] checking for struct sockaddr.sa_len... no [00:07:42.327] checking for locale_t... no [00:07:42.371] checking for C/C++ restrict keyword... __restrict [00:07:42.379] checking for struct option... yes [00:07:42.410] checking whether assembler supports x86_64 popcntq... yes [00:07:42.415] checking size of off_t... 4 [00:07:42.559] 0 [00:07:42.559] checking size of bool... 1 [00:07:42.607] checking for int timezone... yes [00:07:42.643] checking for wcstombs_l declaration... no [00:07:42.700] checking for backtrace_symbols... no [00:07:42.736] checking for copyfile... no [00:07:42.773] checking for copy_file_range... no [00:07:42.810] checking for getifaddrs... no [00:07:42.846] checking for getpeerucred... no [00:07:42.882] checking for inet_pton... yes [00:07:42.918] checking for kqueue... no [00:07:42.956] checking for mbstowcs_l... no [00:07:42.993] checking for memset_s... no [00:07:43.030] checking for posix_fallocate... no [00:07:43.065] checking for ppoll... no [00:07:43.100] checking for pthread_is_threaded_np... no [00:07:43.137] checking for setproctitle... no [00:07:43.173] checking for setproctitle_fast... no [00:07:43.209] checking for strchrnul... no [00:07:43.245] checking for strsignal... no [00:07:43.281] checking for syncfs... no [00:07:43.315] checking for sync_file_range... no [00:07:43.350] checking for uselocale... no [00:07:43.386] checking for wcstombs_l... no [00:07:43.421] checking for __builtin_bswap16... yes [00:07:43.457] checking for __builtin_bswap32... yes [00:07:43.491] checking for __builtin_bswap64... yes [00:07:43.527] checking for __builtin_clz... yes [00:07:43.564] checking for __builtin_ctz... yes [00:07:43.599] checking for __builtin_popcount... yes [00:07:43.635] checking for __builtin_frame_address... yes [00:07:43.669] checking for _LARGEFILE_SOURCE value needed for large files... no [00:07:43.713] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:07:43.735] checking for posix_fadvise... no [00:07:43.773] checking whether posix_fadvise is declared... no [00:07:43.807] checking whether fdatasync is declared... no [00:07:43.842] checking whether strlcat is declared... no [00:07:43.890] checking whether strlcpy is declared... no [00:07:43.935] checking whether strnlen is declared... yes [00:07:43.944] checking whether preadv is declared... no [00:07:43.968] checking whether pwritev is declared... no [00:07:43.992] checking whether F_FULLFSYNC is declared... no [00:07:44.018] checking for explicit_bzero... no [00:07:44.050] checking for getopt... yes [00:07:44.083] checking for getpeereid... no [00:07:44.116] checking for inet_aton... no [00:07:44.151] checking for mkdtemp... no [00:07:44.185] checking for strlcat... no [00:07:44.220] checking for strlcpy... no [00:07:44.254] checking for strnlen... yes [00:07:44.289] checking for pthread_barrier_wait... yes [00:07:44.319] configure: On mingw32 we will use our strtof wrapper. [00:07:44.319] checking for getopt_long... yes [00:07:44.351] checking for _configthreadlocale... yes [00:07:44.384] checking for syslog... no [00:07:44.418] checking for opterr... yes [00:07:44.453] checking for optreset... no [00:07:44.490] checking test program... cross-compiling [00:07:44.490] checking whether long int is 64 bits... no [00:07:44.509] checking whether long long int is 64 bits... yes [00:07:44.514] checking for __builtin_mul_overflow... yes [00:07:44.547] checking size of void *... 8 [00:07:44.748] checking size of size_t... 8 [00:07:44.985] checking size of long... 4 [00:07:45.177] checking alignment of short... 2 [00:07:45.281] checking alignment of int... 4 [00:07:45.472] checking alignment of long... 4 [00:07:45.657] checking alignment of long long int... 8 [00:07:45.858] checking alignment of double... 8 [00:07:46.061] checking for int8... no [00:07:46.091] checking for uint8... no [00:07:46.122] checking for int64... no [00:07:46.151] checking for uint64... no [00:07:46.179] checking for __int128... yes [00:07:46.216] checking for __int128 alignment bug... assuming ok [00:07:46.216] checking alignment of PG_INT128_TYPE... 16 [00:07:46.520] checking for builtin __sync char locking functions... yes [00:07:46.551] checking for builtin __sync int32 locking functions... yes [00:07:46.581] checking for builtin __sync int32 atomic operations... yes [00:07:46.611] checking for builtin __sync int64 atomic operations... yes [00:07:46.641] checking for builtin __atomic int32 atomic operations... yes [00:07:46.672] checking for builtin __atomic int64 atomic operations... yes [00:07:46.704] checking for __get_cpuid... yes [00:07:46.739] checking for __cpuid... no [00:07:46.985] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:07:47.019] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:07:47.084] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:07:47.098] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:07:47.109] 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:07:47.147] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:07:47.147] checking which random number source to use... Windows native [00:07:47.148] checking for xmllint... /usr/bin/xmllint [00:07:47.149] checking for xsltproc... /usr/bin/xsltproc [00:07:47.149] checking for fop... /usr/bin/fop [00:07:47.149] checking for dbtoepub... no [00:07:47.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:07:47.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:07:47.157] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [00:07:47.157] 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:07:47.157] configure: using CPPFLAGS= -I./src/include/port/win32 [00:07:47.157] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:07:47.219] configure: creating ./config.status [00:07:47.267] config.status: creating GNUmakefile [00:07:47.274] config.status: creating src/Makefile.global [00:07:47.285] config.status: creating src/include/pg_config.h [00:07:47.294] config.status: creating src/include/pg_config_ext.h [00:07:47.302] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:07:47.312] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:07:47.317] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:07:47.323] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:07:47.327] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:07:47.331] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:07:47.333] config.status: executing check_win32_symlinks commands [00:07:47.356] [00:07:47.356] real 0m10.873s [00:07:47.356] user 0m7.905s [00:07:47.356] sys 0m2.535s [00:07:47.356] make -s -j${BUILD_JOBS} clean [00:07:47.699] time make -s -j${BUILD_JOBS} world-bin [00:08:21.846] heapam_handler.c: In function ‘heapam_acquire_sample_rows’: [00:08:21.846] heapam_handler.c:1757:16: error: implicit declaration of function ‘floor’ [-Werror=implicit-function-declaration] [00:08:21.846] 1757 | *totalrows = floor((liverows / bs.m) * totalblocks + 0.5); [00:08:21.846] | ^~~~~ [00:08:21.846] heapam_handler.c:1757:16: error: incompatible implicit declaration of built-in function ‘floor’ [-Werror] [00:08:21.846] heapam_handler.c:49:1: note: include ‘’ or provide a declaration of ‘floor’ [00:08:21.846] 48 | #include "utils/sampling.h" [00:08:21.846] +++ |+#include [00:08:21.846] 49 | [00:08:21.846] cc1: all warnings being treated as errors [00:08:21.847] make[4]: *** [: heapam_handler.o] Error 1 [00:08:21.847] make[3]: *** [../../../src/backend/common.mk:37: heap-recursive] Error 2 [00:08:21.847] make[2]: *** [common.mk:37: access-recursive] Error 2 [00:08:21.847] make[2]: *** Waiting for unfinished jobs.... [00:08:32.897] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:08:32.897] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:08:32.897] [00:08:32.897] real 0m45.198s [00:08:32.897] user 2m34.849s [00:08:32.897] sys 0m18.033s [00:08:32.897] [00:08:32.897] Exit status: 2