[08:28:46.370] time ./configure \ [08:28:46.370] --host=x86_64-w64-mingw32 \ [08:28:46.370] --enable-cassert \ [08:28:46.370] --without-icu \ [08:28:46.370] CC="ccache x86_64-w64-mingw32-gcc" \ [08:28:46.370] CXX="ccache x86_64-w64-mingw32-g++" [08:28:46.479] checking build system type... x86_64-pc-linux-gnu [08:28:46.686] checking host system type... x86_64-w64-mingw32 [08:28:46.691] checking which template to use... win32 [08:28:46.691] checking whether NLS is wanted... no [08:28:46.691] checking for default port number... 5432 [08:28:46.697] checking for block size... 8kB [08:28:46.698] checking for segment size... 1GB [08:28:46.701] checking for WAL block size... 8kB [08:28:46.702] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:28:46.733] checking whether the C compiler works... yes [08:28:46.879] checking for C compiler default output file name... a.exe [08:28:46.880] checking for suffix of executables... .exe [08:28:46.917] checking whether we are cross compiling... yes [08:28:46.989] checking for suffix of object files... o [08:28:46.996] checking whether we are using the GNU C compiler... yes [08:28:47.025] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:28:47.055] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:28:47.129] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:28:47.184] checking whether we are using the GNU C++ compiler... yes [08:28:47.191] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:28:47.440] checking for gawk... no [08:28:47.440] checking for mawk... mawk [08:28:47.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:28:47.449] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:28:47.479] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:28:47.522] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:28:47.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:28:47.572] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:28:47.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:28:47.609] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:28:47.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:28:47.641] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:28:47.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:28:47.662] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:28:47.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:28:47.700] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:28:47.715] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:28:47.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:28:47.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:28:47.763] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:28:47.793] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:28:47.823] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:28:47.829] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:28:47.836] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:28:47.842] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:28:47.863] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:28:47.878] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:28:47.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:28:47.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:28:47.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:28:47.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:28:48.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:28:48.034] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:28:48.040] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:28:48.047] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:28:48.054] checking whether the C compiler still works... yes [08:28:48.099] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:28:48.164] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:28:48.164] checking pkg-config is at least version 0.9.0... yes [08:28:48.180] checking whether to build with ICU support... no [08:28:48.180] checking whether to build with Tcl... no [08:28:48.180] checking whether to build Perl modules... no [08:28:48.180] checking whether to build Python modules... no [08:28:48.180] checking whether to build with GSSAPI support... no [08:28:48.182] checking whether to build with PAM support... no [08:28:48.182] checking whether to build with BSD Authentication support... no [08:28:48.182] checking whether to build with LDAP support... no [08:28:48.182] checking whether to build with Bonjour support... no [08:28:48.182] checking whether to build with SELinux support... no [08:28:48.182] checking whether to build with systemd support... no [08:28:48.182] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:28:48.182] checking whether to build with XML support... no [08:28:48.182] checking whether to build with LZ4 support... no [08:28:48.183] checking whether to build with ZSTD support... no [08:28:48.183] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:28:48.183] checking whether it is possible to strip libraries... yes [08:28:48.190] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:28:48.190] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:28:48.190] checking for a BSD-compatible install... /usr/bin/install -c [08:28:48.199] checking for tar... /usr/bin/tar [08:28:48.199] checking whether ln -s works... yes [08:28:48.199] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:28:48.201] checking for bison... /usr/bin/bison [08:28:48.203] configure: using bison (GNU Bison) 3.8.2 [08:28:48.205] checking for flex... /usr/bin/flex [08:28:48.216] configure: using flex 2.6.4 [08:28:48.217] checking for perl... /usr/bin/perl [08:28:48.219] configure: using perl 5.36.0 [08:28:48.221] checking for zic... /usr/sbin/zic [08:28:48.221] checking for a sed that does not truncate output... /usr/bin/sed [08:28:48.225] checking for grep that handles long lines and -e... /usr/bin/grep [08:28:48.227] checking for egrep... /usr/bin/grep -E [08:28:48.229] checking for ANSI C header files... yes [08:28:48.273] checking for sys/types.h... yes [08:28:48.305] checking for sys/stat.h... yes [08:28:48.362] checking for stdlib.h... yes [08:28:48.417] checking for string.h... yes [08:28:48.448] checking for memory.h... yes [08:28:48.462] checking for strings.h... yes [08:28:48.492] checking for inttypes.h... yes [08:28:48.506] checking for stdint.h... yes [08:28:48.562] checking for unistd.h... yes [08:28:48.623] checking for main in -lm... yes [08:28:48.668] checking for library containing setproctitle... no [08:28:48.748] checking for library containing dlsym... no [08:28:48.830] checking for library containing socket... -lws2_32 [08:28:48.956] checking for library containing getopt_long... none required [08:28:49.000] checking for library containing shm_open... no [08:28:49.081] checking for library containing shm_unlink... no [08:28:49.163] checking for library containing clock_gettime... no [08:28:49.246] checking for library containing shmget... no [08:28:49.330] checking for library containing backtrace_symbols... no [08:28:49.413] checking for library containing pthread_barrier_wait... -lpthread [08:28:49.505] checking for inflate in -lz... yes [08:28:49.551] checking for stdbool.h that conforms to C99... yes [08:28:49.561] checking for _Bool... yes [08:28:49.678] checking atomic.h usability... no [08:28:49.730] checking atomic.h presence... no [08:28:49.747] checking for atomic.h... no [08:28:49.749] checking copyfile.h usability... no [08:28:49.799] checking copyfile.h presence... no [08:28:49.816] checking for copyfile.h... no [08:28:49.819] checking execinfo.h usability... no [08:28:49.870] checking execinfo.h presence... no [08:28:49.887] checking for execinfo.h... no [08:28:49.890] checking getopt.h usability... yes [08:28:49.896] checking getopt.h presence... yes [08:28:49.910] checking for getopt.h... yes [08:28:49.917] checking ifaddrs.h usability... no [08:28:49.968] checking ifaddrs.h presence... no [08:28:49.985] checking for ifaddrs.h... no [08:28:49.988] checking mbarrier.h usability... no [08:28:50.040] checking mbarrier.h presence... no [08:28:50.057] checking for mbarrier.h... no [08:28:50.059] checking sys/epoll.h usability... no [08:28:50.110] checking sys/epoll.h presence... no [08:28:50.128] checking for sys/epoll.h... no [08:28:50.131] checking sys/event.h usability... no [08:28:50.185] checking sys/event.h presence... no [08:28:50.204] checking for sys/event.h... no [08:28:50.207] checking sys/personality.h usability... no [08:28:50.257] checking sys/personality.h presence... no [08:28:50.275] checking for sys/personality.h... no [08:28:50.278] checking sys/prctl.h usability... no [08:28:50.330] checking sys/prctl.h presence... no [08:28:50.347] checking for sys/prctl.h... no [08:28:50.350] checking sys/procctl.h usability... no [08:28:50.401] checking sys/procctl.h presence... no [08:28:50.418] checking for sys/procctl.h... no [08:28:50.421] checking sys/signalfd.h usability... no [08:28:50.472] checking sys/signalfd.h presence... no [08:28:50.489] checking for sys/signalfd.h... no [08:28:50.491] checking sys/ucred.h usability... no [08:28:50.542] checking sys/ucred.h presence... no [08:28:50.559] checking for sys/ucred.h... no [08:28:50.562] checking termios.h usability... no [08:28:50.613] checking termios.h presence... no [08:28:50.630] checking for termios.h... no [08:28:50.633] checking ucred.h usability... no [08:28:50.686] checking ucred.h presence... no [08:28:50.703] checking for ucred.h... no [08:28:50.706] checking zlib.h usability... yes [08:28:50.717] checking zlib.h presence... yes [08:28:50.735] checking for zlib.h... yes [08:28:50.735] checking for lz4... /usr/bin/lz4 [08:28:50.735] checking for zstd... /usr/bin/zstd [08:28:50.735] checking for openssl... /usr/bin/openssl [08:28:50.739] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [08:28:50.740] checking crtdefs.h usability... yes [08:28:50.746] checking crtdefs.h presence... yes [08:28:50.760] checking for crtdefs.h... yes [08:28:50.761] checking whether byte ordering is bigendian... no [08:28:50.854] checking for inline... inline [08:28:50.869] checking for printf format archetype... gnu_printf [08:28:50.876] checking for _Static_assert... yes [08:28:50.915] checking for typeof... typeof [08:28:50.922] checking for __builtin_types_compatible_p... yes [08:28:50.932] checking for __builtin_constant_p... yes [08:28:50.951] checking for __builtin_unreachable... yes [08:28:50.989] checking for computed goto support... yes [08:28:51.005] checking for struct tm.tm_zone... no [08:28:51.075] checking for union semun... no [08:28:51.106] checking for socklen_t... yes [08:28:53.182] checking for struct sockaddr.sa_len... no [08:28:55.090] checking for locale_t... no [08:28:55.150] checking for C/C++ restrict keyword... __restrict [08:28:55.162] checking for struct option... yes [08:28:55.226] checking whether assembler supports x86_64 popcntq... yes [08:28:55.233] checking size of off_t... 4 [08:28:55.522] 0 [08:28:55.522] checking size of bool... 1 [08:28:55.563] checking for int timezone... yes [08:28:55.608] checking for wcstombs_l declaration... no [08:28:55.689] checking for backtrace_symbols... no [08:28:55.736] checking for copyfile... no [08:28:55.786] checking for copy_file_range... no [08:28:55.832] checking for getifaddrs... no [08:28:55.879] checking for getpeerucred... no [08:28:55.926] checking for inet_pton... yes [08:28:55.973] checking for kqueue... no [08:28:56.019] checking for mbstowcs_l... no [08:28:56.066] checking for memset_s... no [08:28:56.112] checking for posix_fallocate... no [08:28:56.159] checking for ppoll... no [08:28:56.205] checking for pthread_is_threaded_np... no [08:28:56.253] checking for setproctitle... no [08:28:56.301] checking for setproctitle_fast... no [08:28:56.349] checking for strchrnul... no [08:28:56.397] checking for strsignal... no [08:28:56.447] checking for syncfs... no [08:28:56.496] checking for sync_file_range... no [08:28:56.545] checking for uselocale... no [08:28:56.595] checking for wcstombs_l... no [08:28:56.642] checking for __builtin_bswap16... yes [08:28:56.688] checking for __builtin_bswap32... yes [08:28:56.734] checking for __builtin_bswap64... yes [08:28:56.780] checking for __builtin_clz... yes [08:28:56.825] checking for __builtin_ctz... yes [08:28:56.869] checking for __builtin_popcount... yes [08:28:56.913] checking for __builtin_frame_address... yes [08:28:56.957] checking for _LARGEFILE_SOURCE value needed for large files... no [08:28:57.005] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:28:57.033] checking for posix_fadvise... no [08:28:57.081] checking whether posix_fadvise is declared... no [08:28:57.122] checking whether fdatasync is declared... no [08:28:57.164] checking whether strlcat is declared... no [08:28:57.226] checking whether strlcpy is declared... no [08:28:57.284] checking whether strnlen is declared... yes [08:28:57.296] checking whether strsep is declared... no [08:28:57.356] checking whether preadv is declared... no [08:28:57.389] checking whether pwritev is declared... no [08:28:57.422] checking whether F_FULLFSYNC is declared... no [08:28:57.458] checking for explicit_bzero... no [08:28:57.501] checking for getopt... yes [08:28:57.545] checking for getpeereid... no [08:28:57.589] checking for inet_aton... no [08:28:57.633] checking for mkdtemp... no [08:28:57.677] checking for strlcat... no [08:28:57.721] checking for strlcpy... no [08:28:57.767] checking for strnlen... yes [08:28:57.811] checking for strsep... no [08:28:57.855] checking for pthread_barrier_wait... yes [08:28:57.896] configure: On mingw32 we will use our strtof wrapper. [08:28:57.896] checking for getopt_long... yes [08:28:57.937] checking for _configthreadlocale... yes [08:28:57.979] checking for syslog... no [08:28:58.023] checking for opterr... yes [08:28:58.069] checking for optreset... no [08:28:58.119] checking test program... cross-compiling [08:28:58.119] checking whether long int is 64 bits... no [08:28:58.148] checking whether long long int is 64 bits... yes [08:28:58.181] checking for __builtin_mul_overflow... yes [08:28:58.221] checking size of void *... 8 [08:28:58.600] checking size of size_t... 8 [08:28:58.947] checking size of long... 4 [08:28:59.153] checking alignment of short... 2 [08:28:59.390] checking alignment of int... 4 [08:28:59.649] checking alignment of long... 4 [08:28:59.836] checking alignment of long long int... 8 [08:29:00.124] checking alignment of double... 8 [08:29:00.442] checking for int8... no [08:29:00.481] checking for uint8... no [08:29:00.519] checking for int64... no [08:29:00.558] checking for uint64... no [08:29:00.596] checking for __int128... yes [08:29:00.645] checking for __int128 alignment bug... assuming ok [08:29:00.645] checking alignment of PG_INT128_TYPE... 16 [08:29:01.021] checking for builtin __sync char locking functions... yes [08:29:01.060] checking for builtin __sync int32 locking functions... yes [08:29:01.099] checking for builtin __sync int32 atomic operations... yes [08:29:01.138] checking for builtin __sync int64 atomic operations... yes [08:29:01.178] checking for builtin __atomic int32 atomic operations... yes [08:29:01.219] checking for builtin __atomic int64 atomic operations... yes [08:29:01.260] checking for __get_cpuid... yes [08:29:01.305] checking for __get_cpuid_count... yes [08:29:01.347] checking for __cpuid... no [08:29:01.743] checking for __cpuidex... no [08:29:02.166] checking for _xgetbv with CFLAGS=... no [08:29:02.540] checking for _xgetbv with CFLAGS=-mxsave... yes [08:29:02.930] checking for _mm512_popcnt_epi64 with CFLAGS=... no [08:29:03.301] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [08:29:03.628] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [08:29:03.672] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [08:29:03.753] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:29:03.773] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:29:03.790] 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 [08:29:03.841] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:29:03.841] checking which random number source to use... Windows native [08:29:03.843] checking for xmllint... /usr/bin/xmllint [08:29:03.843] checking for xsltproc... /usr/bin/xsltproc [08:29:03.843] checking for fop... /usr/bin/fop [08:29:03.844] checking for dbtoepub... no [08:29:03.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:29:03.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:29:03.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:29:03.854] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:29:03.854] 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 [08:29:03.854] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:29:03.854] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:29:03.931] configure: creating ./config.status [08:29:04.008] config.status: creating GNUmakefile [08:29:04.019] config.status: creating src/Makefile.global [08:29:04.033] config.status: creating src/include/pg_config.h [08:29:04.046] config.status: creating src/include/pg_config_ext.h [08:29:04.057] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:29:04.070] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:29:04.077] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:29:04.083] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:29:04.090] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:29:04.096] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:29:04.099] config.status: executing check_win32_symlinks commands [08:29:04.131] [08:29:04.131] real 0m17.761s [08:29:04.131] user 0m11.871s [08:29:04.131] sys 0m5.450s [08:29:04.131] make -s -j${BUILD_JOBS} clean [08:29:04.638] time make -s -j${BUILD_JOBS} world-bin [08:31:27.042] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [08:31:27.042] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [08:31:27.042] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [08:31:27.042] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [08:31:27.042] 3889 | group_rel, [08:31:27.042] | ~~~~~~~~~~ [08:31:27.042] 3890 | &varinfos, [08:31:27.042] | ~~~~~~~~~~ [08:31:27.042] 3891 | &mvndistinct); [08:31:27.042] | ~~~~~~~~~~~~~ [08:31:27.042] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [08:31:27.042] 3792 | RelOptInfo *group_rel; [08:31:27.042] | ^~~~~~~~~ [08:31:27.042] cc1: all warnings being treated as errors [08:31:27.043] make[4]: *** [: selfuncs.o] Error 1 [08:31:27.043] make[4]: *** Waiting for unfinished jobs.... [08:31:28.113] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [08:31:28.113] make[3]: *** Waiting for unfinished jobs.... [08:31:31.347] make[2]: *** [common.mk:37: utils-recursive] Error 2 [08:31:31.348] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:31:31.348] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:31:31.348] [08:31:31.348] real 2m26.710s [08:31:31.348] user 7m57.708s [08:31:31.348] sys 1m29.036s [08:31:31.348] [08:31:31.348] Exit status: 2