[11:14:34.042] time ./configure \ [11:14:34.042] --host=x86_64-w64-mingw32 \ [11:14:34.042] --enable-cassert \ [11:14:34.042] --without-icu \ [11:14:34.042] CC="ccache x86_64-w64-mingw32-gcc" \ [11:14:34.042] CXX="ccache x86_64-w64-mingw32-g++" [11:14:34.147] checking build system type... x86_64-pc-linux-gnu [11:14:34.334] checking host system type... x86_64-w64-mingw32 [11:14:34.339] checking which template to use... win32 [11:14:34.339] checking whether NLS is wanted... no [11:14:34.339] checking for default port number... 5432 [11:14:34.345] checking for block size... 8kB [11:14:34.346] checking for segment size... 1GB [11:14:34.348] checking for WAL block size... 8kB [11:14:34.349] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:14:34.380] checking whether the C compiler works... yes [11:14:34.508] checking for C compiler default output file name... a.exe [11:14:34.509] checking for suffix of executables... .exe [11:14:34.547] checking whether we are cross compiling... yes [11:14:34.618] checking for suffix of object files... o [11:14:34.626] checking whether we are using the GNU C compiler... yes [11:14:34.632] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:14:34.638] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:14:34.648] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:14:34.704] checking whether we are using the GNU C++ compiler... yes [11:14:34.710] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:14:34.772] checking for gawk... no [11:14:34.772] checking for mawk... mawk [11:14:34.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:14:34.781] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:14:34.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:14:34.829] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:14:34.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:14:35.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:14:35.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:14:35.013] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:14:35.019] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:14:35.025] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:14:35.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:14:35.037] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:14:35.043] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:14:35.050] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:14:35.056] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:14:35.062] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:14:35.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:14:35.103] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:14:35.109] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:14:35.116] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:14:35.122] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:14:35.128] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:14:35.134] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:14:35.156] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:14:35.162] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:14:35.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:14:35.204] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:14:35.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:14:35.246] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:14:35.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:14:35.285] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:14:35.292] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:14:35.298] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:14:35.305] checking whether the C compiler still works... yes [11:14:35.367] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:14:35.433] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:14:35.434] checking pkg-config is at least version 0.9.0... yes [11:14:35.449] checking whether to build with ICU support... no [11:14:35.449] checking whether to build with Tcl... no [11:14:35.449] checking whether to build Perl modules... no [11:14:35.450] checking whether to build Python modules... no [11:14:35.450] checking whether to build with GSSAPI support... no [11:14:35.451] checking whether to build with PAM support... no [11:14:35.451] checking whether to build with BSD Authentication support... no [11:14:35.451] checking whether to build with LDAP support... no [11:14:35.451] checking whether to build with Bonjour support... no [11:14:35.451] checking whether to build with SELinux support... no [11:14:35.451] checking whether to build with systemd support... no [11:14:35.451] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:14:35.451] checking whether to build with XML support... no [11:14:35.452] checking whether to build with LZ4 support... no [11:14:35.452] checking whether to build with ZSTD support... no [11:14:35.452] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:14:35.452] checking whether it is possible to strip libraries... yes [11:14:35.460] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:14:35.460] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:14:35.460] checking for a BSD-compatible install... /usr/bin/install -c [11:14:35.468] checking for tar... /usr/bin/tar [11:14:35.468] checking whether ln -s works... yes [11:14:35.468] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:14:35.470] checking for bison... /usr/bin/bison [11:14:35.472] configure: using bison (GNU Bison) 3.8.2 [11:14:35.475] checking for flex... /usr/bin/flex [11:14:35.487] configure: using flex 2.6.4 [11:14:35.487] checking for perl... /usr/bin/perl [11:14:35.490] configure: using perl 5.36.0 [11:14:35.491] checking for zic... /usr/sbin/zic [11:14:35.492] checking for a sed that does not truncate output... /usr/bin/sed [11:14:35.496] checking for grep that handles long lines and -e... /usr/bin/grep [11:14:35.498] checking for egrep... /usr/bin/grep -E [11:14:35.500] checking for ANSI C header files... yes [11:14:35.543] checking for sys/types.h... yes [11:14:35.558] checking for sys/stat.h... yes [11:14:35.572] checking for stdlib.h... yes [11:14:35.586] checking for string.h... yes [11:14:35.600] checking for memory.h... yes [11:14:35.615] checking for strings.h... yes [11:14:35.628] checking for inttypes.h... yes [11:14:35.643] checking for stdint.h... yes [11:14:35.655] checking for unistd.h... yes [11:14:35.669] checking for main in -lm... yes [11:14:35.714] checking for library containing setproctitle... no [11:14:35.797] checking for library containing dlsym... no [11:14:35.877] checking for library containing socket... -lws2_32 [11:14:35.999] checking for library containing getopt_long... none required [11:14:36.043] checking for library containing shm_open... no [11:14:36.124] checking for library containing shm_unlink... no [11:14:36.205] checking for library containing clock_gettime... no [11:14:36.295] checking for library containing shmget... no [11:14:36.378] checking for library containing backtrace_symbols... no [11:14:36.460] checking for library containing pthread_barrier_wait... -lpthread [11:14:36.543] checking for inflate in -lz... yes [11:14:36.585] checking for stdbool.h that conforms to C99... yes [11:14:36.596] checking for _Bool... yes [11:14:36.664] checking atomic.h usability... no [11:14:36.718] checking atomic.h presence... no [11:14:36.737] checking for atomic.h... no [11:14:36.740] checking copyfile.h usability... no [11:14:36.794] checking copyfile.h presence... no [11:14:36.812] checking for copyfile.h... no [11:14:36.815] checking execinfo.h usability... no [11:14:36.868] checking execinfo.h presence... no [11:14:36.887] checking for execinfo.h... no [11:14:36.891] checking getopt.h usability... yes [11:14:36.899] checking getopt.h presence... yes [11:14:36.914] checking for getopt.h... yes [11:14:36.922] checking ifaddrs.h usability... no [11:14:36.976] checking ifaddrs.h presence... no [11:14:36.994] checking for ifaddrs.h... no [11:14:36.997] checking mbarrier.h usability... no [11:14:37.052] checking mbarrier.h presence... no [11:14:37.070] checking for mbarrier.h... no [11:14:37.072] checking sys/epoll.h usability... no [11:14:37.124] checking sys/epoll.h presence... no [11:14:37.142] checking for sys/epoll.h... no [11:14:37.145] checking sys/event.h usability... no [11:14:37.196] checking sys/event.h presence... no [11:14:37.214] checking for sys/event.h... no [11:14:37.217] checking sys/personality.h usability... no [11:14:37.268] checking sys/personality.h presence... no [11:14:37.285] checking for sys/personality.h... no [11:14:37.288] checking sys/prctl.h usability... no [11:14:37.339] checking sys/prctl.h presence... no [11:14:37.356] checking for sys/prctl.h... no [11:14:37.359] checking sys/procctl.h usability... no [11:14:37.410] checking sys/procctl.h presence... no [11:14:37.428] checking for sys/procctl.h... no [11:14:37.431] checking sys/signalfd.h usability... no [11:14:37.483] checking sys/signalfd.h presence... no [11:14:37.502] checking for sys/signalfd.h... no [11:14:37.505] checking sys/ucred.h usability... no [11:14:37.556] checking sys/ucred.h presence... no [11:14:37.574] checking for sys/ucred.h... no [11:14:37.578] checking termios.h usability... no [11:14:37.631] checking termios.h presence... no [11:14:37.649] checking for termios.h... no [11:14:37.652] checking ucred.h usability... no [11:14:37.703] checking ucred.h presence... no [11:14:37.721] checking for ucred.h... no [11:14:37.724] checking zlib.h usability... yes [11:14:37.735] checking zlib.h presence... yes [11:14:37.753] checking for zlib.h... yes [11:14:37.753] checking for lz4... /usr/bin/lz4 [11:14:37.753] checking for zstd... /usr/bin/zstd [11:14:37.753] checking for openssl... /usr/bin/openssl [11:14:37.757] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [11:14:37.758] checking crtdefs.h usability... yes [11:14:37.765] checking crtdefs.h presence... yes [11:14:37.779] checking for crtdefs.h... yes [11:14:37.780] checking whether byte ordering is bigendian... no [11:14:37.850] checking for inline... inline [11:14:37.856] checking for printf format archetype... gnu_printf [11:14:37.865] checking for _Static_assert... yes [11:14:37.905] checking for typeof... typeof [11:14:37.912] checking for __builtin_types_compatible_p... yes [11:14:37.922] checking for __builtin_constant_p... yes [11:14:37.933] checking for __builtin_unreachable... yes [11:14:37.972] checking for computed goto support... yes [11:14:37.980] checking for struct tm.tm_zone... no [11:14:38.055] checking for union semun... no [11:14:38.088] checking for socklen_t... yes [11:14:39.199] checking for struct sockaddr.sa_len... no [11:14:41.139] checking for locale_t... no [11:14:41.201] checking for C/C++ restrict keyword... __restrict [11:14:41.218] checking for struct option... yes [11:14:41.258] checking whether assembler supports x86_64 popcntq... yes [11:14:41.265] checking size of off_t... 4 [11:14:41.460] 0 [11:14:41.460] checking size of bool... 1 [11:14:41.504] checking for int timezone... yes [11:14:41.550] checking for wcstombs_l declaration... no [11:14:41.628] checking for backtrace_symbols... no [11:14:41.675] checking for copyfile... no [11:14:41.722] checking for copy_file_range... no [11:14:41.770] checking for getifaddrs... no [11:14:41.816] checking for getpeerucred... no [11:14:41.862] checking for inet_pton... yes [11:14:41.910] checking for kqueue... no [11:14:41.957] checking for mbstowcs_l... no [11:14:42.004] checking for memset_s... no [11:14:42.051] checking for posix_fallocate... no [11:14:42.098] checking for ppoll... no [11:14:42.144] checking for pthread_is_threaded_np... no [11:14:42.191] checking for setproctitle... no [11:14:42.238] checking for setproctitle_fast... no [11:14:42.284] checking for strchrnul... no [11:14:42.331] checking for strsignal... no [11:14:42.377] checking for syncfs... no [11:14:42.425] checking for sync_file_range... no [11:14:42.473] checking for uselocale... no [11:14:42.520] checking for wcstombs_l... no [11:14:42.564] checking for __builtin_bswap16... yes [11:14:42.610] checking for __builtin_bswap32... yes [11:14:42.654] checking for __builtin_bswap64... yes [11:14:42.700] checking for __builtin_clz... yes [11:14:42.747] checking for __builtin_ctz... yes [11:14:42.792] checking for __builtin_popcount... yes [11:14:42.837] checking for __builtin_frame_address... yes [11:14:42.881] checking for _LARGEFILE_SOURCE value needed for large files... no [11:14:42.933] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:14:42.962] checking for posix_fadvise... no [11:14:43.012] checking whether posix_fadvise is declared... no [11:14:43.054] checking whether fdatasync is declared... no [11:14:43.095] checking whether strlcat is declared... no [11:14:43.154] checking whether strlcpy is declared... no [11:14:43.213] checking whether strnlen is declared... yes [11:14:43.225] checking whether strsep is declared... no [11:14:43.285] checking whether preadv is declared... no [11:14:43.318] checking whether pwritev is declared... no [11:14:43.351] checking whether F_FULLFSYNC is declared... no [11:14:43.388] checking for explicit_bzero... no [11:14:43.432] checking for getopt... yes [11:14:43.475] checking for getpeereid... no [11:14:43.520] checking for inet_aton... no [11:14:43.564] checking for mkdtemp... no [11:14:43.608] checking for strlcat... no [11:14:43.653] checking for strlcpy... no [11:14:43.697] checking for strnlen... yes [11:14:43.741] checking for strsep... no [11:14:43.785] checking for pthread_barrier_wait... yes [11:14:43.827] configure: On mingw32 we will use our strtof wrapper. [11:14:43.827] checking for getopt_long... yes [11:14:43.868] checking for _configthreadlocale... yes [11:14:43.909] checking for syslog... no [11:14:43.954] checking for opterr... yes [11:14:43.999] checking for optreset... no [11:14:44.047] checking test program... cross-compiling [11:14:44.047] checking whether long int is 64 bits... no [11:14:44.075] checking whether long long int is 64 bits... yes [11:14:44.084] checking for __builtin_mul_overflow... yes [11:14:44.124] checking size of void *... 8 [11:14:44.376] checking size of size_t... 8 [11:14:44.629] checking size of long... 4 [11:14:44.822] checking alignment of short... 2 [11:14:44.953] checking alignment of int... 4 [11:14:45.144] checking alignment of long... 4 [11:14:45.333] checking alignment of long long int... 8 [11:14:45.584] checking alignment of double... 8 [11:14:45.835] checking for int8... no [11:14:45.874] checking for uint8... no [11:14:45.914] checking for int64... no [11:14:45.952] checking for uint64... no [11:14:45.991] checking for __int128... yes [11:14:46.038] checking for __int128 alignment bug... assuming ok [11:14:46.038] checking alignment of PG_INT128_TYPE... 16 [11:14:46.355] checking for builtin __sync char locking functions... yes [11:14:46.396] checking for builtin __sync int32 locking functions... yes [11:14:46.437] checking for builtin __sync int32 atomic operations... yes [11:14:46.477] checking for builtin __sync int64 atomic operations... yes [11:14:46.518] checking for builtin __atomic int32 atomic operations... yes [11:14:46.559] checking for builtin __atomic int64 atomic operations... yes [11:14:46.601] checking for __get_cpuid... yes [11:14:46.648] checking for __get_cpuid_count... yes [11:14:46.690] checking for __cpuid... no [11:14:47.078] checking for __cpuidex... no [11:14:47.490] checking for _xgetbv with CFLAGS=... no [11:14:47.864] checking for _xgetbv with CFLAGS=-mxsave... yes [11:14:48.254] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:14:48.623] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:14:48.957] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:14:49.001] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:14:49.083] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:14:49.103] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:14:49.122] 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 [11:14:49.174] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:14:49.174] checking which random number source to use... Windows native [11:14:49.176] checking for xmllint... /usr/bin/xmllint [11:14:49.176] checking for xsltproc... /usr/bin/xsltproc [11:14:49.176] checking for fop... /usr/bin/fop [11:14:49.177] checking for dbtoepub... no [11:14:49.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:14:49.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:14:49.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:14:49.187] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:14:49.187] 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 [11:14:49.187] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:14:49.187] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:14:49.265] configure: creating ./config.status [11:14:49.343] config.status: creating GNUmakefile [11:14:49.354] config.status: creating src/Makefile.global [11:14:49.368] config.status: creating src/include/pg_config.h [11:14:49.379] config.status: creating src/include/pg_config_ext.h [11:14:49.390] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:14:49.404] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:14:49.410] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:14:49.417] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:14:49.424] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:14:49.430] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:14:49.433] config.status: executing check_win32_symlinks commands [11:14:49.465] [11:14:49.465] real 0m15.424s [11:14:49.465] user 0m10.437s [11:14:49.465] sys 0m4.631s [11:14:49.465] make -s -j${BUILD_JOBS} clean [11:14:49.962] time make -s -j${BUILD_JOBS} world-bin [11:15:00.784] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [11:15:00.784] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [11:15:00.784] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [11:15:00.784] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11:15:00.784] 3889 | group_rel, [11:15:00.784] | ~~~~~~~~~~ [11:15:00.784] 3890 | &varinfos, [11:15:00.784] | ~~~~~~~~~~ [11:15:00.784] 3891 | &mvndistinct); [11:15:00.784] | ~~~~~~~~~~~~~ [11:15:00.784] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [11:15:00.784] 3792 | RelOptInfo *group_rel; [11:15:00.784] | ^~~~~~~~~ [11:15:00.784] cc1: all warnings being treated as errors [11:15:00.786] make[4]: *** [: selfuncs.o] Error 1 [11:15:00.786] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [11:15:00.787] make[2]: *** [common.mk:37: utils-recursive] Error 2 [11:15:00.787] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:15:00.787] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:15:00.787] [11:15:00.787] real 0m10.825s [11:15:00.787] user 0m25.817s [11:15:00.787] sys 0m8.236s [11:15:00.788] [11:15:00.788] Exit status: 2