[14:30:14.192] time ./configure \ [14:30:14.192] --host=x86_64-w64-mingw32 \ [14:30:14.192] --enable-cassert \ [14:30:14.192] --without-icu \ [14:30:14.192] CC="ccache x86_64-w64-mingw32-gcc" \ [14:30:14.192] CXX="ccache x86_64-w64-mingw32-g++" [14:30:14.302] checking build system type... x86_64-pc-linux-gnu [14:30:14.481] checking host system type... x86_64-w64-mingw32 [14:30:14.486] checking which template to use... win32 [14:30:14.486] checking whether NLS is wanted... no [14:30:14.486] checking for default port number... 5432 [14:30:14.492] checking for block size... 8kB [14:30:14.494] checking for segment size... 1GB [14:30:14.496] checking for WAL block size... 8kB [14:30:14.497] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:30:14.529] checking whether the C compiler works... yes [14:30:14.658] checking for C compiler default output file name... a.exe [14:30:14.659] checking for suffix of executables... .exe [14:30:14.698] checking whether we are cross compiling... yes [14:30:14.779] checking for suffix of object files... o [14:30:14.786] checking whether we are using the GNU C compiler... yes [14:30:14.792] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:30:14.799] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:30:14.808] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:30:14.867] checking whether we are using the GNU C++ compiler... yes [14:30:14.873] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:30:14.936] checking for gawk... no [14:30:14.936] checking for mawk... mawk [14:30:14.938] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:30:14.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:30:14.951] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:30:14.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:30:15.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:30:15.174] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:30:15.203] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:30:15.209] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:30:15.216] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:30:15.222] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:30:15.228] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:30:15.234] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:30:15.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:30:15.255] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:30:15.261] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:30:15.276] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:30:15.283] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:30:15.318] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:30:15.324] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:30:15.330] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:30:15.337] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:30:15.343] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:30:15.373] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:30:15.394] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:30:15.401] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:30:15.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:30:15.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:30:15.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:30:15.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:30:15.495] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:30:15.530] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:30:15.537] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:30:15.544] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:30:15.552] checking whether the C compiler still works... yes [14:30:15.617] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:30:15.687] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:30:15.688] checking pkg-config is at least version 0.9.0... yes [14:30:15.704] checking whether to build with ICU support... no [14:30:15.704] checking whether to build with Tcl... no [14:30:15.704] checking whether to build Perl modules... no [14:30:15.704] checking whether to build Python modules... no [14:30:15.704] checking whether to build with GSSAPI support... no [14:30:15.705] checking whether to build with PAM support... no [14:30:15.706] checking whether to build with BSD Authentication support... no [14:30:15.706] checking whether to build with LDAP support... no [14:30:15.706] checking whether to build with Bonjour support... no [14:30:15.706] checking whether to build with SELinux support... no [14:30:15.706] checking whether to build with systemd support... no [14:30:15.706] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:30:15.706] checking whether to build with XML support... no [14:30:15.706] checking whether to build with LZ4 support... no [14:30:15.707] checking whether to build with ZSTD support... no [14:30:15.707] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:30:15.707] checking whether it is possible to strip libraries... yes [14:30:15.714] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:30:15.715] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:30:15.715] checking for a BSD-compatible install... /usr/bin/install -c [14:30:15.723] checking for tar... /usr/bin/tar [14:30:15.724] checking whether ln -s works... yes [14:30:15.724] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:30:15.726] checking for bison... /usr/bin/bison [14:30:15.728] configure: using bison (GNU Bison) 3.8.2 [14:30:15.731] checking for flex... /usr/bin/flex [14:30:15.744] configure: using flex 2.6.4 [14:30:15.744] checking for perl... /usr/bin/perl [14:30:15.746] configure: using perl 5.36.0 [14:30:15.749] checking for zic... /usr/sbin/zic [14:30:15.749] checking for a sed that does not truncate output... /usr/bin/sed [14:30:15.754] checking for grep that handles long lines and -e... /usr/bin/grep [14:30:15.756] checking for egrep... /usr/bin/grep -E [14:30:15.758] checking for ANSI C header files... yes [14:30:15.804] checking for sys/types.h... yes [14:30:15.819] checking for sys/stat.h... yes [14:30:15.833] checking for stdlib.h... yes [14:30:15.846] checking for string.h... yes [14:30:15.858] checking for memory.h... yes [14:30:15.872] checking for strings.h... yes [14:30:15.884] checking for inttypes.h... yes [14:30:15.899] checking for stdint.h... yes [14:30:15.912] checking for unistd.h... yes [14:30:15.927] checking for main in -lm... yes [14:30:15.971] checking for library containing setproctitle... no [14:30:16.058] checking for library containing dlsym... no [14:30:16.144] checking for library containing socket... -lws2_32 [14:30:16.274] checking for library containing getopt_long... none required [14:30:16.319] checking for library containing shm_open... no [14:30:16.402] checking for library containing shm_unlink... no [14:30:16.486] checking for library containing clock_gettime... no [14:30:16.570] checking for library containing shmget... no [14:30:16.653] checking for library containing backtrace_symbols... no [14:30:16.739] checking for library containing pthread_barrier_wait... -lpthread [14:30:16.824] checking for inflate in -lz... yes [14:30:16.867] checking for stdbool.h that conforms to C99... yes [14:30:16.877] checking for _Bool... yes [14:30:16.947] checking atomic.h usability... no [14:30:16.999] checking atomic.h presence... no [14:30:17.017] checking for atomic.h... no [14:30:17.020] checking copyfile.h usability... no [14:30:17.072] checking copyfile.h presence... no [14:30:17.090] checking for copyfile.h... no [14:30:17.093] checking execinfo.h usability... no [14:30:17.146] checking execinfo.h presence... no [14:30:17.165] checking for execinfo.h... no [14:30:17.168] checking getopt.h usability... yes [14:30:17.175] checking getopt.h presence... yes [14:30:17.189] checking for getopt.h... yes [14:30:17.196] checking ifaddrs.h usability... no [14:30:17.249] checking ifaddrs.h presence... no [14:30:17.268] checking for ifaddrs.h... no [14:30:17.271] checking mbarrier.h usability... no [14:30:17.327] checking mbarrier.h presence... no [14:30:17.346] checking for mbarrier.h... no [14:30:17.349] checking sys/epoll.h usability... no [14:30:17.402] checking sys/epoll.h presence... no [14:30:17.421] checking for sys/epoll.h... no [14:30:17.423] checking sys/event.h usability... no [14:30:17.477] checking sys/event.h presence... no [14:30:17.495] checking for sys/event.h... no [14:30:17.498] checking sys/personality.h usability... no [14:30:17.549] checking sys/personality.h presence... no [14:30:17.565] checking for sys/personality.h... no [14:30:17.568] checking sys/prctl.h usability... no [14:30:17.619] checking sys/prctl.h presence... no [14:30:17.636] checking for sys/prctl.h... no [14:30:17.639] checking sys/procctl.h usability... no [14:30:17.690] checking sys/procctl.h presence... no [14:30:17.707] checking for sys/procctl.h... no [14:30:17.710] checking sys/signalfd.h usability... no [14:30:17.761] checking sys/signalfd.h presence... no [14:30:17.778] checking for sys/signalfd.h... no [14:30:17.781] checking sys/ucred.h usability... no [14:30:17.831] checking sys/ucred.h presence... no [14:30:17.848] checking for sys/ucred.h... no [14:30:17.851] checking termios.h usability... no [14:30:17.902] checking termios.h presence... no [14:30:17.919] checking for termios.h... no [14:30:17.922] checking ucred.h usability... no [14:30:17.972] checking ucred.h presence... no [14:30:17.989] checking for ucred.h... no [14:30:17.991] checking zlib.h usability... yes [14:30:18.000] checking zlib.h presence... yes [14:30:18.017] checking for zlib.h... yes [14:30:18.018] checking for lz4... /usr/bin/lz4 [14:30:18.018] checking for zstd... /usr/bin/zstd [14:30:18.018] checking for openssl... /usr/bin/openssl [14:30:18.022] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [14:30:18.022] checking crtdefs.h usability... yes [14:30:18.029] checking crtdefs.h presence... yes [14:30:18.043] checking for crtdefs.h... yes [14:30:18.044] checking whether byte ordering is bigendian... no [14:30:18.112] checking for inline... inline [14:30:18.118] checking for printf format archetype... gnu_printf [14:30:18.126] checking for _Static_assert... yes [14:30:18.164] checking for typeof... typeof [14:30:18.170] checking for __builtin_types_compatible_p... yes [14:30:18.180] checking for __builtin_constant_p... yes [14:30:18.190] checking for __builtin_unreachable... yes [14:30:18.229] checking for computed goto support... yes [14:30:18.235] checking for struct tm.tm_zone... no [14:30:18.308] checking for union semun... no [14:30:18.340] checking for socklen_t... yes [14:30:19.831] checking for struct sockaddr.sa_len... no [14:30:21.837] checking for locale_t... no [14:30:21.900] checking for C/C++ restrict keyword... __restrict [14:30:21.912] checking for struct option... yes [14:30:21.953] checking whether assembler supports x86_64 popcntq... yes [14:30:21.960] checking size of off_t... 4 [14:30:22.159] 0 [14:30:22.159] checking size of bool... 1 [14:30:22.202] checking for int timezone... yes [14:30:22.249] checking for wcstombs_l declaration... no [14:30:22.327] checking for backtrace_symbols... no [14:30:22.374] checking for copyfile... no [14:30:22.420] checking for copy_file_range... no [14:30:22.468] checking for getifaddrs... no [14:30:22.517] checking for getpeerucred... no [14:30:22.566] checking for inet_pton... yes [14:30:22.615] checking for kqueue... no [14:30:22.662] checking for mbstowcs_l... no [14:30:22.709] checking for memset_s... no [14:30:22.758] checking for posix_fallocate... no [14:30:22.807] checking for ppoll... no [14:30:22.858] checking for pthread_is_threaded_np... no [14:30:22.909] checking for setproctitle... no [14:30:22.958] checking for setproctitle_fast... no [14:30:23.006] checking for strchrnul... no [14:30:23.054] checking for strsignal... no [14:30:23.103] checking for syncfs... no [14:30:23.151] checking for sync_file_range... no [14:30:23.199] checking for uselocale... no [14:30:23.247] checking for wcstombs_l... no [14:30:23.292] checking for __builtin_bswap16... yes [14:30:23.339] checking for __builtin_bswap32... yes [14:30:23.385] checking for __builtin_bswap64... yes [14:30:23.431] checking for __builtin_clz... yes [14:30:23.479] checking for __builtin_ctz... yes [14:30:23.525] checking for __builtin_popcount... yes [14:30:23.571] checking for __builtin_frame_address... yes [14:30:23.618] checking for _LARGEFILE_SOURCE value needed for large files... no [14:30:23.671] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:30:23.701] checking for posix_fadvise... no [14:30:23.752] checking whether posix_fadvise is declared... no [14:30:23.795] checking whether fdatasync is declared... no [14:30:23.837] checking whether strlcat is declared... no [14:30:23.896] checking whether strlcpy is declared... no [14:30:23.954] checking whether strnlen is declared... yes [14:30:23.966] checking whether strsep is declared... no [14:30:24.025] checking whether preadv is declared... no [14:30:24.059] checking whether pwritev is declared... no [14:30:24.092] checking whether F_FULLFSYNC is declared... no [14:30:24.128] checking for explicit_bzero... no [14:30:24.172] checking for getopt... yes [14:30:24.213] checking for getpeereid... no [14:30:24.257] checking for inet_aton... no [14:30:24.301] checking for mkdtemp... no [14:30:24.345] checking for strlcat... no [14:30:24.390] checking for strlcpy... no [14:30:24.435] checking for strnlen... yes [14:30:24.480] checking for strsep... no [14:30:24.524] checking for pthread_barrier_wait... yes [14:30:24.566] configure: On mingw32 we will use our strtof wrapper. [14:30:24.567] checking for getopt_long... yes [14:30:24.609] checking for _configthreadlocale... yes [14:30:24.652] checking for syslog... no [14:30:24.696] checking for opterr... yes [14:30:24.745] checking for optreset... no [14:30:24.795] checking test program... cross-compiling [14:30:24.795] checking whether long int is 64 bits... no [14:30:24.826] checking whether long long int is 64 bits... yes [14:30:24.835] checking for __builtin_mul_overflow... yes [14:30:24.876] checking size of void *... 8 [14:30:25.140] checking size of size_t... 8 [14:30:25.411] checking size of long... 4 [14:30:25.660] checking alignment of short... 2 [14:30:25.791] checking alignment of int... 4 [14:30:25.982] checking alignment of long... 4 [14:30:26.196] checking alignment of long long int... 8 [14:30:26.461] checking alignment of double... 8 [14:30:26.792] checking for int8... no [14:30:26.833] checking for uint8... no [14:30:26.873] checking for int64... no [14:30:26.914] checking for uint64... no [14:30:26.954] checking for __int128... yes [14:30:27.001] checking for __int128 alignment bug... assuming ok [14:30:27.001] checking alignment of PG_INT128_TYPE... 16 [14:30:27.346] checking for builtin __sync char locking functions... yes [14:30:27.385] checking for builtin __sync int32 locking functions... yes [14:30:27.425] checking for builtin __sync int32 atomic operations... yes [14:30:27.465] checking for builtin __sync int64 atomic operations... yes [14:30:27.505] checking for builtin __atomic int32 atomic operations... yes [14:30:27.544] checking for builtin __atomic int64 atomic operations... yes [14:30:27.584] checking for __get_cpuid... yes [14:30:27.628] checking for __get_cpuid_count... yes [14:30:27.675] checking for __cpuid... no [14:30:28.069] checking for __cpuidex... no [14:30:28.486] checking for _xgetbv with CFLAGS=... no [14:30:28.859] checking for _xgetbv with CFLAGS=-mxsave... yes [14:30:29.249] checking for _mm512_popcnt_epi64 with CFLAGS=... no [14:30:29.626] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [14:30:29.967] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:30:30.012] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:30:30.098] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:30:30.121] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:30:30.139] 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 [14:30:30.194] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:30:30.195] checking which random number source to use... Windows native [14:30:30.196] checking for xmllint... /usr/bin/xmllint [14:30:30.197] checking for xsltproc... /usr/bin/xsltproc [14:30:30.197] checking for fop... /usr/bin/fop [14:30:30.197] checking for dbtoepub... no [14:30:30.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:30:30.198] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:30:30.198] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:30:30.208] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:30:30.208] 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 [14:30:30.208] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:30:30.208] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:30:30.286] configure: creating ./config.status [14:30:30.366] config.status: creating GNUmakefile [14:30:30.377] config.status: creating src/Makefile.global [14:30:30.392] config.status: creating src/include/pg_config.h [14:30:30.403] config.status: creating src/include/pg_config_ext.h [14:30:30.415] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:30:30.429] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:30:30.436] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:30:30.442] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:30:30.449] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:30:30.456] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:30:30.459] config.status: executing check_win32_symlinks commands [14:30:30.491] [14:30:30.491] real 0m16.299s [14:30:30.491] user 0m10.953s [14:30:30.491] sys 0m4.962s [14:30:30.491] make -s -j${BUILD_JOBS} clean [14:30:30.988] time make -s -j${BUILD_JOBS} world-bin [14:30:53.199] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [14:30:53.199] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [14:30:53.199] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [14:30:53.199] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [14:30:53.199] 3889 | group_rel, [14:30:53.199] | ~~~~~~~~~~ [14:30:53.199] 3890 | &varinfos, [14:30:53.199] | ~~~~~~~~~~ [14:30:53.199] 3891 | &mvndistinct); [14:30:53.199] | ~~~~~~~~~~~~~ [14:30:53.199] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [14:30:53.199] 3792 | RelOptInfo *group_rel; [14:30:53.199] | ^~~~~~~~~ [14:30:53.199] cc1: all warnings being treated as errors [14:30:53.200] make[4]: *** [: selfuncs.o] Error 1 [14:30:53.201] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [14:30:53.201] make[2]: *** [common.mk:37: utils-recursive] Error 2 [14:30:53.201] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:30:53.201] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:30:53.202] [14:30:53.202] real 0m22.214s [14:30:53.202] user 1m0.891s [14:30:53.202] sys 0m15.745s [14:30:53.202] [14:30:53.202] Exit status: 2