[07:14:52.909] time ./configure \ [07:14:52.909] --host=x86_64-w64-mingw32 \ [07:14:52.909] --enable-cassert \ [07:14:52.909] --without-icu \ [07:14:52.909] CC="ccache x86_64-w64-mingw32-gcc" \ [07:14:52.909] CXX="ccache x86_64-w64-mingw32-g++" [07:14:53.016] checking build system type... x86_64-pc-linux-gnu [07:14:53.232] checking host system type... x86_64-w64-mingw32 [07:14:53.237] checking which template to use... win32 [07:14:53.238] checking whether NLS is wanted... no [07:14:53.238] checking for default port number... 5432 [07:14:53.244] checking for block size... 8kB [07:14:53.246] checking for segment size... 1GB [07:14:53.248] checking for WAL block size... 8kB [07:14:53.249] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:14:53.283] checking whether the C compiler works... yes [07:14:53.442] checking for C compiler default output file name... a.exe [07:14:53.443] checking for suffix of executables... .exe [07:14:53.483] checking whether we are cross compiling... yes [07:14:53.570] checking for suffix of object files... o [07:14:53.587] checking whether we are using the GNU C compiler... yes [07:14:53.594] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:14:53.600] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:14:53.610] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:14:53.670] checking whether we are using the GNU C++ compiler... yes [07:14:53.676] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:14:53.742] checking for gawk... no [07:14:53.743] checking for mawk... mawk [07:14:53.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:14:53.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:14:53.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:14:53.804] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:14:53.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:14:53.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:14:54.001] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:14:54.016] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:14:54.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:14:54.029] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:14:54.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:14:54.093] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:14:54.100] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:14:54.106] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:14:54.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:14:54.144] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:14:54.151] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:14:54.187] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:14:54.194] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:14:54.210] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:14:54.217] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:14:54.223] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:14:54.239] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:14:54.261] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:14:54.268] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:14:54.274] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:14:54.310] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:14:54.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:14:54.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:14:54.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:14:54.395] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:14:54.426] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:14:54.433] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:14:54.449] checking whether the C compiler still works... yes [07:14:54.515] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:14:54.586] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:14:54.586] checking pkg-config is at least version 0.9.0... yes [07:14:54.602] checking whether to build with ICU support... no [07:14:54.602] checking whether to build with Tcl... no [07:14:54.602] checking whether to build Perl modules... no [07:14:54.603] checking whether to build Python modules... no [07:14:54.603] checking whether to build with GSSAPI support... no [07:14:54.604] checking whether to build with PAM support... no [07:14:54.604] checking whether to build with BSD Authentication support... no [07:14:54.604] checking whether to build with LDAP support... no [07:14:54.604] checking whether to build with Bonjour support... no [07:14:54.604] checking whether to build with SELinux support... no [07:14:54.604] checking whether to build with systemd support... no [07:14:54.604] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:14:54.604] checking whether to build with XML support... no [07:14:54.605] checking whether to build with LZ4 support... no [07:14:54.605] checking whether to build with ZSTD support... no [07:14:54.605] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:14:54.605] checking whether it is possible to strip libraries... yes [07:14:54.612] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:14:54.613] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:14:54.613] checking for a BSD-compatible install... /usr/bin/install -c [07:14:54.621] checking for tar... /usr/bin/tar [07:14:54.622] checking whether ln -s works... yes [07:14:54.622] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:14:54.624] checking for bison... /usr/bin/bison [07:14:54.626] configure: using bison (GNU Bison) 3.8.2 [07:14:54.629] checking for flex... /usr/bin/flex [07:14:54.641] configure: using flex 2.6.4 [07:14:54.641] checking for perl... /usr/bin/perl [07:14:54.644] configure: using perl 5.36.0 [07:14:54.647] checking for zic... /usr/sbin/zic [07:14:54.647] checking for a sed that does not truncate output... /usr/bin/sed [07:14:54.652] checking for grep that handles long lines and -e... /usr/bin/grep [07:14:54.653] checking for egrep... /usr/bin/grep -E [07:14:54.655] checking for ANSI C header files... yes [07:14:54.702] checking for sys/types.h... yes [07:14:54.720] checking for sys/stat.h... yes [07:14:54.737] checking for stdlib.h... yes [07:14:54.751] checking for string.h... yes [07:14:54.765] checking for memory.h... yes [07:14:54.780] checking for strings.h... yes [07:14:54.794] checking for inttypes.h... yes [07:14:54.810] checking for stdint.h... yes [07:14:54.825] checking for unistd.h... yes [07:14:54.843] checking for main in -lm... yes [07:14:54.889] checking for library containing setproctitle... no [07:14:54.975] checking for library containing dlsym... no [07:14:55.062] checking for library containing socket... -lws2_32 [07:14:55.191] checking for library containing getopt_long... none required [07:14:55.238] checking for library containing shm_open... no [07:14:55.326] checking for library containing shm_unlink... no [07:14:55.413] checking for library containing clock_gettime... no [07:14:55.499] checking for library containing shmget... no [07:14:55.586] checking for library containing backtrace_symbols... no [07:14:55.672] checking for library containing pthread_barrier_wait... -lpthread [07:14:55.761] checking for inflate in -lz... yes [07:14:55.806] checking for stdbool.h that conforms to C99... yes [07:14:55.817] checking for _Bool... yes [07:14:55.895] checking atomic.h usability... no [07:14:55.949] checking atomic.h presence... no [07:14:55.967] checking for atomic.h... no [07:14:55.970] checking copyfile.h usability... no [07:14:56.027] checking copyfile.h presence... no [07:14:56.047] checking for copyfile.h... no [07:14:56.050] checking execinfo.h usability... no [07:14:56.105] checking execinfo.h presence... no [07:14:56.123] checking for execinfo.h... no [07:14:56.126] checking getopt.h usability... yes [07:14:56.181] checking getopt.h presence... yes [07:14:56.196] checking for getopt.h... yes [07:14:56.203] checking ifaddrs.h usability... no [07:14:56.260] checking ifaddrs.h presence... no [07:14:56.279] checking for ifaddrs.h... no [07:14:56.282] checking mbarrier.h usability... no [07:14:56.337] checking mbarrier.h presence... no [07:14:56.356] checking for mbarrier.h... no [07:14:56.359] checking sys/epoll.h usability... no [07:14:56.415] checking sys/epoll.h presence... no [07:14:56.434] checking for sys/epoll.h... no [07:14:56.437] checking sys/event.h usability... no [07:14:56.492] checking sys/event.h presence... no [07:14:56.510] checking for sys/event.h... no [07:14:56.513] checking sys/personality.h usability... no [07:14:56.568] checking sys/personality.h presence... no [07:14:56.589] checking for sys/personality.h... no [07:14:56.592] checking sys/prctl.h usability... no [07:14:56.646] checking sys/prctl.h presence... no [07:14:56.664] checking for sys/prctl.h... no [07:14:56.667] checking sys/procctl.h usability... no [07:14:56.722] checking sys/procctl.h presence... no [07:14:56.741] checking for sys/procctl.h... no [07:14:56.745] checking sys/signalfd.h usability... no [07:14:56.797] checking sys/signalfd.h presence... no [07:14:56.816] checking for sys/signalfd.h... no [07:14:56.819] checking sys/ucred.h usability... no [07:14:56.872] checking sys/ucred.h presence... no [07:14:56.891] checking for sys/ucred.h... no [07:14:56.894] checking termios.h usability... no [07:14:56.948] checking termios.h presence... no [07:14:56.967] checking for termios.h... no [07:14:56.970] checking ucred.h usability... no [07:14:57.025] checking ucred.h presence... no [07:14:57.044] checking for ucred.h... no [07:14:57.047] checking zlib.h usability... yes [07:14:57.057] checking zlib.h presence... yes [07:14:57.075] checking for zlib.h... yes [07:14:57.076] checking for lz4... /usr/bin/lz4 [07:14:57.076] checking for zstd... /usr/bin/zstd [07:14:57.076] checking for openssl... /usr/bin/openssl [07:14:57.080] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [07:14:57.081] checking crtdefs.h usability... yes [07:14:57.134] checking crtdefs.h presence... yes [07:14:57.150] checking for crtdefs.h... yes [07:14:57.152] checking whether byte ordering is bigendian... no [07:14:57.228] checking for inline... inline [07:14:57.236] checking for printf format archetype... gnu_printf [07:14:57.275] checking for _Static_assert... yes [07:14:57.318] checking for typeof... typeof [07:14:57.352] checking for __builtin_types_compatible_p... yes [07:14:57.389] checking for __builtin_constant_p... yes [07:14:57.400] checking for __builtin_unreachable... yes [07:14:57.440] checking for computed goto support... yes [07:14:57.471] checking for struct tm.tm_zone... no [07:14:57.549] checking for union semun... no [07:14:57.582] checking for socklen_t... yes [07:14:58.736] checking for struct sockaddr.sa_len... no [07:15:00.761] checking for locale_t... no [07:15:00.823] checking for C/C++ restrict keyword... __restrict [07:15:00.836] checking for struct option... yes [07:15:00.876] checking whether assembler supports x86_64 popcntq... yes [07:15:00.883] checking size of off_t... 4 [07:15:01.135] 0 [07:15:01.135] checking size of bool... 1 [07:15:01.178] checking for int timezone... yes [07:15:01.224] checking for wcstombs_l declaration... no [07:15:01.305] checking for backtrace_symbols... no [07:15:01.353] checking for copyfile... no [07:15:01.402] checking for copy_file_range... no [07:15:01.452] checking for getifaddrs... no [07:15:01.502] checking for getpeerucred... no [07:15:01.552] checking for inet_pton... yes [07:15:01.602] checking for kqueue... no [07:15:01.650] checking for mbstowcs_l... no [07:15:01.704] checking for memset_s... no [07:15:01.754] checking for posix_fallocate... no [07:15:01.805] checking for ppoll... no [07:15:01.854] checking for pthread_is_threaded_np... no [07:15:01.904] checking for setproctitle... no [07:15:01.953] checking for setproctitle_fast... no [07:15:02.003] checking for strchrnul... no [07:15:02.052] checking for strsignal... no [07:15:02.101] checking for syncfs... no [07:15:02.150] checking for sync_file_range... no [07:15:02.199] checking for uselocale... no [07:15:02.248] checking for wcstombs_l... no [07:15:02.294] checking for __builtin_bswap16... yes [07:15:02.342] checking for __builtin_bswap32... yes [07:15:02.389] checking for __builtin_bswap64... yes [07:15:02.435] checking for __builtin_clz... yes [07:15:02.482] checking for __builtin_ctz... yes [07:15:02.527] checking for __builtin_popcount... yes [07:15:02.574] checking for __builtin_frame_address... yes [07:15:02.621] checking for _LARGEFILE_SOURCE value needed for large files... no [07:15:02.672] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:15:02.703] checking for posix_fadvise... no [07:15:02.753] checking whether posix_fadvise is declared... no [07:15:02.797] checking whether fdatasync is declared... no [07:15:02.842] checking whether strlcat is declared... no [07:15:02.905] checking whether strlcpy is declared... no [07:15:02.966] checking whether strnlen is declared... yes [07:15:02.979] checking whether strsep is declared... no [07:15:03.041] checking whether preadv is declared... no [07:15:03.079] checking whether pwritev is declared... no [07:15:03.115] checking whether F_FULLFSYNC is declared... no [07:15:03.156] checking for explicit_bzero... no [07:15:03.204] checking for getopt... yes [07:15:03.248] checking for getpeereid... no [07:15:03.294] checking for inet_aton... no [07:15:03.341] checking for mkdtemp... no [07:15:03.388] checking for strlcat... no [07:15:03.434] checking for strlcpy... no [07:15:03.480] checking for strnlen... yes [07:15:03.525] checking for strsep... no [07:15:03.571] checking for pthread_barrier_wait... yes [07:15:03.612] configure: On mingw32 we will use our strtof wrapper. [07:15:03.612] checking for getopt_long... yes [07:15:03.654] checking for _configthreadlocale... yes [07:15:03.696] checking for syslog... no [07:15:03.741] checking for opterr... yes [07:15:03.787] checking for optreset... no [07:15:03.835] checking test program... cross-compiling [07:15:03.835] checking whether long int is 64 bits... no [07:15:03.864] checking whether long long int is 64 bits... yes [07:15:03.873] checking for __builtin_mul_overflow... yes [07:15:03.914] checking size of void *... 8 [07:15:04.195] checking size of size_t... 8 [07:15:04.507] checking size of long... 4 [07:15:04.727] checking alignment of short... 2 [07:15:04.865] checking alignment of int... 4 [07:15:05.116] checking alignment of long... 4 [07:15:05.329] checking alignment of long long int... 8 [07:15:05.740] checking alignment of double... 8 [07:15:06.073] checking for int8... no [07:15:06.113] checking for uint8... no [07:15:06.155] checking for int64... no [07:15:06.196] checking for uint64... no [07:15:06.237] checking for __int128... yes [07:15:06.287] checking for __int128 alignment bug... assuming ok [07:15:06.287] checking alignment of PG_INT128_TYPE... 16 [07:15:06.668] checking for builtin __sync char locking functions... yes [07:15:06.710] checking for builtin __sync int32 locking functions... yes [07:15:06.751] checking for builtin __sync int32 atomic operations... yes [07:15:06.792] checking for builtin __sync int64 atomic operations... yes [07:15:06.833] checking for builtin __atomic int32 atomic operations... yes [07:15:06.874] checking for builtin __atomic int64 atomic operations... yes [07:15:06.916] checking for __get_cpuid... yes [07:15:06.961] checking for __get_cpuid_count... yes [07:15:07.005] checking for __cpuid... no [07:15:07.409] checking for __cpuidex... no [07:15:07.833] checking for _xgetbv with CFLAGS=... no [07:15:08.215] checking for _xgetbv with CFLAGS=-mxsave... yes [07:15:08.616] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:15:08.996] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:15:09.339] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:15:09.384] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:15:09.471] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:15:09.493] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:15:09.512] 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 [07:15:09.565] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:15:09.566] checking which random number source to use... Windows native [07:15:09.567] checking for xmllint... /usr/bin/xmllint [07:15:09.568] checking for xsltproc... /usr/bin/xsltproc [07:15:09.568] checking for fop... /usr/bin/fop [07:15:09.568] checking for dbtoepub... no [07:15:09.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:15:09.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:15:09.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:15:09.579] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:15:09.579] 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 [07:15:09.579] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:15:09.579] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:15:09.657] configure: creating ./config.status [07:15:09.737] config.status: creating GNUmakefile [07:15:09.748] config.status: creating src/Makefile.global [07:15:09.762] config.status: creating src/include/pg_config.h [07:15:09.774] config.status: creating src/include/pg_config_ext.h [07:15:09.785] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:15:09.799] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:15:09.806] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:15:09.812] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:15:09.819] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:15:09.826] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:15:09.829] config.status: executing check_win32_symlinks commands [07:15:09.861] [07:15:09.861] real 0m16.952s [07:15:09.861] user 0m11.231s [07:15:09.861] sys 0m5.255s [07:15:09.861] make -s -j${BUILD_JOBS} clean [07:15:10.363] time make -s -j${BUILD_JOBS} world-bin [07:16:54.500] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [07:16:54.500] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [07:16:54.500] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [07:16:54.500] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [07:16:54.500] 3889 | group_rel, [07:16:54.500] | ~~~~~~~~~~ [07:16:54.500] 3890 | &varinfos, [07:16:54.500] | ~~~~~~~~~~ [07:16:54.500] 3891 | &mvndistinct); [07:16:54.500] | ~~~~~~~~~~~~~ [07:16:54.500] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [07:16:54.500] 3792 | RelOptInfo *group_rel; [07:16:54.500] | ^~~~~~~~~ [07:16:54.500] cc1: all warnings being treated as errors [07:16:54.500] make[4]: *** [: selfuncs.o] Error 1 [07:16:54.500] make[4]: *** Waiting for unfinished jobs.... [07:16:55.626] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [07:16:55.626] make[3]: *** Waiting for unfinished jobs.... [07:16:58.080] make[2]: *** [common.mk:37: utils-recursive] Error 2 [07:16:58.080] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:16:58.080] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:16:58.080] [07:16:58.080] real 1m47.717s [07:16:58.080] user 5m52.290s [07:16:58.080] sys 1m5.181s [07:16:58.080] [07:16:58.080] Exit status: 2