[17:43:37.846] time ./configure \ [17:43:37.846] --host=x86_64-w64-mingw32 \ [17:43:37.846] --enable-cassert \ [17:43:37.846] --without-icu \ [17:43:37.846] CC="ccache x86_64-w64-mingw32-gcc" \ [17:43:37.846] CXX="ccache x86_64-w64-mingw32-g++" [17:43:37.960] checking build system type... x86_64-pc-linux-gnu [17:43:38.163] checking host system type... x86_64-w64-mingw32 [17:43:38.168] checking which template to use... win32 [17:43:38.168] checking whether NLS is wanted... no [17:43:38.168] checking for default port number... 5432 [17:43:38.175] checking for block size... 8kB [17:43:38.176] checking for segment size... 1GB [17:43:38.178] checking for WAL block size... 8kB [17:43:38.179] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:43:38.212] checking whether the C compiler works... yes [17:43:38.351] checking for C compiler default output file name... a.exe [17:43:38.352] checking for suffix of executables... .exe [17:43:38.394] checking whether we are cross compiling... yes [17:43:38.472] checking for suffix of object files... o [17:43:38.480] checking whether we are using the GNU C compiler... yes [17:43:38.487] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:43:38.493] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:43:38.503] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:43:38.561] checking whether we are using the GNU C++ compiler... yes [17:43:38.568] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:43:38.636] checking for gawk... no [17:43:38.636] checking for mawk... mawk [17:43:38.639] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:43:38.646] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:43:38.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:43:38.699] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:43:38.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:43:38.879] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:43:38.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:43:38.894] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:43:38.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:43:38.908] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:43:38.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:43:38.921] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:43:38.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:43:38.934] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:43:38.941] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:43:38.948] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:43:38.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:43:38.993] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:43:39.000] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:43:39.032] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:43:39.040] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:43:39.047] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:43:39.054] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:43:39.078] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:43:39.085] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:43:39.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:43:39.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:43:39.169] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:43:39.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:43:39.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:43:39.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:43:39.226] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:43:39.233] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:43:39.252] checking whether the C compiler still works... yes [17:43:39.319] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:43:39.396] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:43:39.397] checking pkg-config is at least version 0.9.0... yes [17:43:39.413] checking whether to build with ICU support... no [17:43:39.413] checking whether to build with Tcl... no [17:43:39.413] checking whether to build Perl modules... no [17:43:39.413] checking whether to build Python modules... no [17:43:39.413] checking whether to build with GSSAPI support... no [17:43:39.415] checking whether to build with PAM support... no [17:43:39.415] checking whether to build with BSD Authentication support... no [17:43:39.415] checking whether to build with LDAP support... no [17:43:39.415] checking whether to build with Bonjour support... no [17:43:39.415] checking whether to build with SELinux support... no [17:43:39.415] checking whether to build with systemd support... no [17:43:39.415] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:43:39.415] checking whether to build with XML support... no [17:43:39.416] checking whether to build with LZ4 support... no [17:43:39.416] checking whether to build with ZSTD support... no [17:43:39.416] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:43:39.416] checking whether it is possible to strip libraries... yes [17:43:39.424] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:43:39.425] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:43:39.425] checking for a BSD-compatible install... /usr/bin/install -c [17:43:39.434] checking for tar... /usr/bin/tar [17:43:39.434] checking whether ln -s works... yes [17:43:39.434] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:43:39.437] checking for bison... /usr/bin/bison [17:43:39.439] configure: using bison (GNU Bison) 3.8.2 [17:43:39.442] checking for flex... /usr/bin/flex [17:43:39.455] configure: using flex 2.6.4 [17:43:39.455] checking for perl... /usr/bin/perl [17:43:39.458] configure: using perl 5.36.0 [17:43:39.460] checking for zic... /usr/sbin/zic [17:43:39.461] checking for a sed that does not truncate output... /usr/bin/sed [17:43:39.466] checking for grep that handles long lines and -e... /usr/bin/grep [17:43:39.468] checking for egrep... /usr/bin/grep -E [17:43:39.470] checking for ANSI C header files... yes [17:43:39.519] checking for sys/types.h... yes [17:43:39.538] checking for sys/stat.h... yes [17:43:39.555] checking for stdlib.h... yes [17:43:39.570] checking for string.h... yes [17:43:39.585] checking for memory.h... yes [17:43:39.601] checking for strings.h... yes [17:43:39.617] checking for inttypes.h... yes [17:43:39.634] checking for stdint.h... yes [17:43:39.650] checking for unistd.h... yes [17:43:39.666] checking for main in -lm... yes [17:43:39.715] checking for library containing setproctitle... no [17:43:39.807] checking for library containing dlsym... no [17:43:39.897] checking for library containing socket... -lws2_32 [17:43:40.031] checking for library containing getopt_long... none required [17:43:40.082] checking for library containing shm_open... no [17:43:40.173] checking for library containing shm_unlink... no [17:43:40.262] checking for library containing clock_gettime... no [17:43:40.349] checking for library containing shmget... no [17:43:40.436] checking for library containing backtrace_symbols... no [17:43:40.525] checking for library containing pthread_barrier_wait... -lpthread [17:43:40.616] checking for inflate in -lz... yes [17:43:40.663] checking for stdbool.h that conforms to C99... yes [17:43:40.674] checking for _Bool... yes [17:43:40.746] checking atomic.h usability... no [17:43:40.803] checking atomic.h presence... no [17:43:40.822] checking for atomic.h... no [17:43:40.826] checking copyfile.h usability... no [17:43:40.884] checking copyfile.h presence... no [17:43:40.904] checking for copyfile.h... no [17:43:40.907] checking execinfo.h usability... no [17:43:40.964] checking execinfo.h presence... no [17:43:40.984] checking for execinfo.h... no [17:43:40.987] checking getopt.h usability... yes [17:43:41.045] checking getopt.h presence... yes [17:43:41.060] checking for getopt.h... yes [17:43:41.067] checking ifaddrs.h usability... no [17:43:41.125] checking ifaddrs.h presence... no [17:43:41.145] checking for ifaddrs.h... no [17:43:41.148] checking mbarrier.h usability... no [17:43:41.206] checking mbarrier.h presence... no [17:43:41.225] checking for mbarrier.h... no [17:43:41.229] checking sys/epoll.h usability... no [17:43:41.286] checking sys/epoll.h presence... no [17:43:41.305] checking for sys/epoll.h... no [17:43:41.308] checking sys/event.h usability... no [17:43:41.364] checking sys/event.h presence... no [17:43:41.383] checking for sys/event.h... no [17:43:41.386] checking sys/personality.h usability... no [17:43:41.441] checking sys/personality.h presence... no [17:43:41.460] checking for sys/personality.h... no [17:43:41.463] checking sys/prctl.h usability... no [17:43:41.518] checking sys/prctl.h presence... no [17:43:41.538] checking for sys/prctl.h... no [17:43:41.541] checking sys/procctl.h usability... no [17:43:41.600] checking sys/procctl.h presence... no [17:43:41.621] checking for sys/procctl.h... no [17:43:41.624] checking sys/signalfd.h usability... no [17:43:41.682] checking sys/signalfd.h presence... no [17:43:41.701] checking for sys/signalfd.h... no [17:43:41.705] checking sys/ucred.h usability... no [17:43:41.760] checking sys/ucred.h presence... no [17:43:41.779] checking for sys/ucred.h... no [17:43:41.782] checking termios.h usability... no [17:43:41.839] checking termios.h presence... no [17:43:41.859] checking for termios.h... no [17:43:41.863] checking ucred.h usability... no [17:43:41.920] checking ucred.h presence... no [17:43:41.943] checking for ucred.h... no [17:43:41.946] checking zlib.h usability... yes [17:43:41.955] checking zlib.h presence... yes [17:43:41.975] checking for zlib.h... yes [17:43:41.975] checking for lz4... /usr/bin/lz4 [17:43:41.975] checking for zstd... /usr/bin/zstd [17:43:41.976] checking for openssl... /usr/bin/openssl [17:43:41.980] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:43:41.981] checking crtdefs.h usability... yes [17:43:42.038] checking crtdefs.h presence... yes [17:43:42.053] checking for crtdefs.h... yes [17:43:42.054] checking whether byte ordering is bigendian... no [17:43:42.132] checking for inline... inline [17:43:42.139] checking for printf format archetype... gnu_printf [17:43:42.177] checking for _Static_assert... yes [17:43:42.220] checking for typeof... typeof [17:43:42.228] checking for __builtin_types_compatible_p... yes [17:43:42.248] checking for __builtin_constant_p... yes [17:43:42.259] checking for __builtin_unreachable... yes [17:43:42.300] checking for computed goto support... yes [17:43:42.307] checking for struct tm.tm_zone... no [17:43:42.386] checking for union semun... no [17:43:42.421] checking for socklen_t... yes [17:43:43.689] checking for struct sockaddr.sa_len... no [17:43:45.854] checking for locale_t... no [17:43:45.921] checking for C/C++ restrict keyword... __restrict [17:43:45.934] checking for struct option... yes [17:43:45.975] checking whether assembler supports x86_64 popcntq... yes [17:43:45.983] checking size of off_t... 4 [17:43:46.246] 0 [17:43:46.246] checking size of bool... 1 [17:43:46.299] checking for int timezone... yes [17:43:46.349] checking for wcstombs_l declaration... no [17:43:46.441] checking for backtrace_symbols... no [17:43:46.493] checking for copyfile... no [17:43:46.545] checking for copy_file_range... no [17:43:46.596] checking for getifaddrs... no [17:43:46.649] checking for getpeerucred... no [17:43:46.700] checking for inet_pton... yes [17:43:46.754] checking for kqueue... no [17:43:46.807] checking for mbstowcs_l... no [17:43:46.861] checking for memset_s... no [17:43:46.913] checking for posix_fallocate... no [17:43:46.968] checking for ppoll... no [17:43:47.021] checking for pthread_is_threaded_np... no [17:43:47.074] checking for setproctitle... no [17:43:47.129] checking for setproctitle_fast... no [17:43:47.181] checking for strchrnul... no [17:43:47.233] checking for strsignal... no [17:43:47.285] checking for syncfs... no [17:43:47.340] checking for sync_file_range... no [17:43:47.391] checking for uselocale... no [17:43:47.443] checking for wcstombs_l... no [17:43:47.490] checking for __builtin_bswap16... yes [17:43:47.542] checking for __builtin_bswap32... yes [17:43:47.591] checking for __builtin_bswap64... yes [17:43:47.641] checking for __builtin_clz... yes [17:43:47.693] checking for __builtin_ctz... yes [17:43:47.741] checking for __builtin_popcount... yes [17:43:47.789] checking for __builtin_frame_address... yes [17:43:47.836] checking for _LARGEFILE_SOURCE value needed for large files... no [17:43:47.888] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:43:47.921] checking for posix_fadvise... no [17:43:47.973] checking whether posix_fadvise is declared... no [17:43:48.019] checking whether fdatasync is declared... no [17:43:48.067] checking whether strlcat is declared... no [17:43:48.134] checking whether strlcpy is declared... no [17:43:48.201] checking whether strnlen is declared... yes [17:43:48.216] checking whether strsep is declared... no [17:43:48.282] checking whether preadv is declared... no [17:43:48.321] checking whether pwritev is declared... no [17:43:48.358] checking whether F_FULLFSYNC is declared... no [17:43:48.400] checking for explicit_bzero... no [17:43:48.449] checking for getopt... yes [17:43:48.492] checking for getpeereid... no [17:43:48.543] checking for inet_aton... no [17:43:48.591] checking for mkdtemp... no [17:43:48.641] checking for strlcat... no [17:43:48.690] checking for strlcpy... no [17:43:48.739] checking for strnlen... yes [17:43:48.788] checking for strsep... no [17:43:48.837] checking for pthread_barrier_wait... yes [17:43:48.880] configure: On mingw32 we will use our strtof wrapper. [17:43:48.880] checking for getopt_long... yes [17:43:48.926] checking for _configthreadlocale... yes [17:43:48.972] checking for syslog... no [17:43:49.021] checking for opterr... yes [17:43:49.071] checking for optreset... no [17:43:49.125] checking test program... cross-compiling [17:43:49.125] checking whether long int is 64 bits... no [17:43:49.159] checking whether long long int is 64 bits... yes [17:43:49.169] checking for __builtin_mul_overflow... yes [17:43:49.214] checking size of void *... 8 [17:43:49.494] checking size of size_t... 8 [17:43:49.776] checking size of long... 4 [17:43:50.007] checking alignment of short... 2 [17:43:50.151] checking alignment of int... 4 [17:43:50.355] checking alignment of long... 4 [17:43:50.581] checking alignment of long long int... 8 [17:43:50.907] checking alignment of double... 8 [17:43:51.184] checking for int8... no [17:43:51.229] checking for uint8... no [17:43:51.272] checking for int64... no [17:43:51.317] checking for uint64... no [17:43:51.361] checking for __int128... yes [17:43:51.413] checking for __int128 alignment bug... assuming ok [17:43:51.413] checking alignment of PG_INT128_TYPE... 16 [17:43:51.778] checking for builtin __sync char locking functions... yes [17:43:51.821] checking for builtin __sync int32 locking functions... yes [17:43:51.864] checking for builtin __sync int32 atomic operations... yes [17:43:51.906] checking for builtin __sync int64 atomic operations... yes [17:43:51.949] checking for builtin __atomic int32 atomic operations... yes [17:43:51.992] checking for builtin __atomic int64 atomic operations... yes [17:43:52.035] checking for __get_cpuid... yes [17:43:52.081] checking for __get_cpuid_count... yes [17:43:52.126] checking for __cpuid... no [17:43:52.525] checking for __cpuidex... no [17:43:52.950] checking for _xgetbv with CFLAGS=... no [17:43:53.340] checking for _xgetbv with CFLAGS=-mxsave... yes [17:43:53.730] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:43:54.121] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:43:54.457] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:43:54.503] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:43:54.594] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:43:54.618] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:43:54.638] 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:43:54.694] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:43:54.694] checking which random number source to use... Windows native [17:43:54.696] checking for xmllint... /usr/bin/xmllint [17:43:54.697] checking for xsltproc... /usr/bin/xsltproc [17:43:54.697] checking for fop... /usr/bin/fop [17:43:54.697] checking for dbtoepub... no [17:43:54.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:43:54.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:43:54.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:43:54.709] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:43:54.709] 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:43:54.709] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:43:54.709] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:43:54.797] configure: creating ./config.status [17:43:54.875] config.status: creating GNUmakefile [17:43:54.887] config.status: creating src/Makefile.global [17:43:54.901] config.status: creating src/include/pg_config.h [17:43:54.913] config.status: creating src/include/pg_config_ext.h [17:43:54.924] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:43:54.938] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:43:54.945] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:43:54.952] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:43:54.959] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:43:54.966] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:43:54.969] config.status: executing check_win32_symlinks commands [17:43:55.002] [17:43:55.002] real 0m17.155s [17:43:55.002] user 0m11.447s [17:43:55.002] sys 0m5.335s [17:43:55.002] make -s -j${BUILD_JOBS} clean [17:43:55.522] time make -s -j${BUILD_JOBS} world-bin [17:44:19.113] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [17:44:19.113] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [17:44:19.113] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [17:44:19.113] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:44:19.113] 3889 | group_rel, [17:44:19.113] | ~~~~~~~~~~ [17:44:19.113] 3890 | &varinfos, [17:44:19.113] | ~~~~~~~~~~ [17:44:19.113] 3891 | &mvndistinct); [17:44:19.113] | ~~~~~~~~~~~~~ [17:44:19.113] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [17:44:19.113] 3792 | RelOptInfo *group_rel; [17:44:19.113] | ^~~~~~~~~ [17:44:19.113] cc1: all warnings being treated as errors [17:44:19.114] make[4]: *** [: selfuncs.o] Error 1 [17:44:19.114] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [17:44:19.114] make[3]: *** Waiting for unfinished jobs.... [17:44:19.644] make[2]: *** [common.mk:37: utils-recursive] Error 2 [17:44:19.644] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:44:19.644] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:44:19.644] [17:44:19.644] real 0m24.122s [17:44:19.644] user 1m10.061s [17:44:19.644] sys 0m17.727s [17:44:19.645] [17:44:19.645] Exit status: 2