[16:09:35.162] time ./configure \ [16:09:35.162] --host=x86_64-w64-mingw32 \ [16:09:35.162] --enable-cassert \ [16:09:35.162] --without-icu \ [16:09:35.162] CC="ccache x86_64-w64-mingw32-gcc" \ [16:09:35.162] CXX="ccache x86_64-w64-mingw32-g++" [16:09:35.273] checking build system type... x86_64-pc-linux-gnu [16:09:35.482] checking host system type... x86_64-w64-mingw32 [16:09:35.487] checking which template to use... win32 [16:09:35.487] checking whether NLS is wanted... no [16:09:35.487] checking for default port number... 5432 [16:09:35.494] checking for block size... 8kB [16:09:35.495] checking for segment size... 1GB [16:09:35.497] checking for WAL block size... 8kB [16:09:35.498] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:09:35.532] checking whether the C compiler works... yes [16:09:35.675] checking for C compiler default output file name... a.exe [16:09:35.677] checking for suffix of executables... .exe [16:09:35.719] checking whether we are cross compiling... yes [16:09:35.800] checking for suffix of object files... o [16:09:35.818] checking whether we are using the GNU C compiler... yes [16:09:35.825] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:09:35.831] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:09:35.842] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:09:35.906] checking whether we are using the GNU C++ compiler... yes [16:09:35.913] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:09:35.984] checking for gawk... no [16:09:35.984] checking for mawk... mawk [16:09:35.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:09:36.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:09:36.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:09:36.081] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:09:36.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:09:36.273] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:09:36.304] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:09:36.311] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:09:36.317] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:09:36.324] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:09:36.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:09:36.346] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:09:36.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:09:36.369] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:09:36.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:09:36.393] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:09:36.464] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:09:36.501] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:09:36.508] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:09:36.525] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:09:36.541] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:09:36.548] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:09:36.580] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:09:36.603] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:09:36.619] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:09:36.635] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:09:36.673] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:09:36.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:09:36.720] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:09:36.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:09:36.763] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:09:36.771] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:09:36.778] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:09:36.796] checking whether the C compiler still works... yes [16:09:36.864] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:09:36.938] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:09:36.939] checking pkg-config is at least version 0.9.0... yes [16:09:36.956] checking whether to build with ICU support... no [16:09:36.956] checking whether to build with Tcl... no [16:09:36.956] checking whether to build Perl modules... no [16:09:36.956] checking whether to build Python modules... no [16:09:36.956] checking whether to build with GSSAPI support... no [16:09:36.958] checking whether to build with PAM support... no [16:09:36.958] checking whether to build with BSD Authentication support... no [16:09:36.958] checking whether to build with LDAP support... no [16:09:36.958] checking whether to build with Bonjour support... no [16:09:36.958] checking whether to build with SELinux support... no [16:09:36.958] checking whether to build with systemd support... no [16:09:36.958] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:09:36.958] checking whether to build with XML support... no [16:09:36.958] checking whether to build with LZ4 support... no [16:09:36.959] checking whether to build with ZSTD support... no [16:09:36.959] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:09:36.959] checking whether it is possible to strip libraries... yes [16:09:36.967] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:09:36.968] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:09:36.968] checking for a BSD-compatible install... /usr/bin/install -c [16:09:36.977] checking for tar... /usr/bin/tar [16:09:36.977] checking whether ln -s works... yes [16:09:36.977] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:09:36.979] checking for bison... /usr/bin/bison [16:09:36.982] configure: using bison (GNU Bison) 3.8.2 [16:09:36.984] checking for flex... /usr/bin/flex [16:09:36.997] configure: using flex 2.6.4 [16:09:36.997] checking for perl... /usr/bin/perl [16:09:36.999] configure: using perl 5.36.0 [16:09:37.002] checking for zic... /usr/sbin/zic [16:09:37.002] checking for a sed that does not truncate output... /usr/bin/sed [16:09:37.007] checking for grep that handles long lines and -e... /usr/bin/grep [16:09:37.009] checking for egrep... /usr/bin/grep -E [16:09:37.011] checking for ANSI C header files... yes [16:09:37.061] checking for sys/types.h... yes [16:09:37.078] checking for sys/stat.h... yes [16:09:37.094] checking for stdlib.h... yes [16:09:37.108] checking for string.h... yes [16:09:37.123] checking for memory.h... yes [16:09:37.161] checking for strings.h... yes [16:09:37.224] checking for inttypes.h... yes [16:09:37.264] checking for stdint.h... yes [16:09:37.279] checking for unistd.h... yes [16:09:37.296] checking for main in -lm... yes [16:09:37.345] checking for library containing setproctitle... no [16:09:37.436] checking for library containing dlsym... no [16:09:37.526] checking for library containing socket... -lws2_32 [16:09:37.657] checking for library containing getopt_long... none required [16:09:37.705] checking for library containing shm_open... no [16:09:37.792] checking for library containing shm_unlink... no [16:09:37.880] checking for library containing clock_gettime... no [16:09:37.969] checking for library containing shmget... no [16:09:38.057] checking for library containing backtrace_symbols... no [16:09:38.144] checking for library containing pthread_barrier_wait... -lpthread [16:09:38.233] checking for inflate in -lz... yes [16:09:38.278] checking for stdbool.h that conforms to C99... yes [16:09:38.328] checking for _Bool... yes [16:09:38.453] checking atomic.h usability... no [16:09:38.509] checking atomic.h presence... no [16:09:38.527] checking for atomic.h... no [16:09:38.530] checking copyfile.h usability... no [16:09:38.586] checking copyfile.h presence... no [16:09:38.605] checking for copyfile.h... no [16:09:38.608] checking execinfo.h usability... no [16:09:38.664] checking execinfo.h presence... no [16:09:38.683] checking for execinfo.h... no [16:09:38.686] checking getopt.h usability... yes [16:09:38.744] checking getopt.h presence... yes [16:09:38.759] checking for getopt.h... yes [16:09:38.766] checking ifaddrs.h usability... no [16:09:38.824] checking ifaddrs.h presence... no [16:09:38.843] checking for ifaddrs.h... no [16:09:38.846] checking mbarrier.h usability... no [16:09:38.904] checking mbarrier.h presence... no [16:09:38.924] checking for mbarrier.h... no [16:09:38.927] checking sys/epoll.h usability... no [16:09:38.983] checking sys/epoll.h presence... no [16:09:39.003] checking for sys/epoll.h... no [16:09:39.007] checking sys/event.h usability... no [16:09:39.065] checking sys/event.h presence... no [16:09:39.087] checking for sys/event.h... no [16:09:39.090] checking sys/personality.h usability... no [16:09:39.149] checking sys/personality.h presence... no [16:09:39.169] checking for sys/personality.h... no [16:09:39.172] checking sys/prctl.h usability... no [16:09:39.229] checking sys/prctl.h presence... no [16:09:39.249] checking for sys/prctl.h... no [16:09:39.252] checking sys/procctl.h usability... no [16:09:39.309] checking sys/procctl.h presence... no [16:09:39.328] checking for sys/procctl.h... no [16:09:39.331] checking sys/signalfd.h usability... no [16:09:39.387] checking sys/signalfd.h presence... no [16:09:39.407] checking for sys/signalfd.h... no [16:09:39.410] checking sys/ucred.h usability... no [16:09:39.467] checking sys/ucred.h presence... no [16:09:39.486] checking for sys/ucred.h... no [16:09:39.489] checking termios.h usability... no [16:09:39.545] checking termios.h presence... no [16:09:39.565] checking for termios.h... no [16:09:39.568] checking ucred.h usability... no [16:09:39.625] checking ucred.h presence... no [16:09:39.644] checking for ucred.h... no [16:09:39.647] checking zlib.h usability... yes [16:09:39.682] checking zlib.h presence... yes [16:09:39.702] checking for zlib.h... yes [16:09:39.702] checking for lz4... /usr/bin/lz4 [16:09:39.702] checking for zstd... /usr/bin/zstd [16:09:39.702] checking for openssl... /usr/bin/openssl [16:09:39.707] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [16:09:39.707] checking crtdefs.h usability... yes [16:09:39.763] checking crtdefs.h presence... yes [16:09:39.778] checking for crtdefs.h... yes [16:09:39.780] checking whether byte ordering is bigendian... no [16:09:39.863] checking for inline... inline [16:09:39.892] checking for printf format archetype... gnu_printf [16:09:39.929] checking for _Static_assert... yes [16:09:39.971] checking for typeof... typeof [16:09:39.978] checking for __builtin_types_compatible_p... yes [16:09:39.989] checking for __builtin_constant_p... yes [16:09:40.000] checking for __builtin_unreachable... yes [16:09:40.042] checking for computed goto support... yes [16:09:40.059] checking for struct tm.tm_zone... no [16:09:40.136] checking for union semun... no [16:09:40.171] checking for socklen_t... yes [16:09:41.399] checking for struct sockaddr.sa_len... no [16:09:43.508] checking for locale_t... no [16:09:43.577] checking for C/C++ restrict keyword... __restrict [16:09:43.590] checking for struct option... yes [16:09:43.646] checking whether assembler supports x86_64 popcntq... yes [16:09:43.654] checking size of off_t... 4 [16:09:43.976] 0 [16:09:43.976] checking size of bool... 1 [16:09:44.032] checking for int timezone... yes [16:09:44.078] checking for wcstombs_l declaration... no [16:09:44.164] checking for backtrace_symbols... no [16:09:44.215] checking for copyfile... no [16:09:44.268] checking for copy_file_range... no [16:09:44.321] checking for getifaddrs... no [16:09:44.373] checking for getpeerucred... no [16:09:44.424] checking for inet_pton... yes [16:09:44.475] checking for kqueue... no [16:09:44.528] checking for mbstowcs_l... no [16:09:44.579] checking for memset_s... no [16:09:44.632] checking for posix_fallocate... no [16:09:44.685] checking for ppoll... no [16:09:44.738] checking for pthread_is_threaded_np... no [16:09:44.790] checking for setproctitle... no [16:09:44.843] checking for setproctitle_fast... no [16:09:44.895] checking for strchrnul... no [16:09:44.948] checking for strsignal... no [16:09:45.000] checking for syncfs... no [16:09:45.055] checking for sync_file_range... no [16:09:45.107] checking for uselocale... no [16:09:45.160] checking for wcstombs_l... no [16:09:45.208] checking for __builtin_bswap16... yes [16:09:45.257] checking for __builtin_bswap32... yes [16:09:45.304] checking for __builtin_bswap64... yes [16:09:45.352] checking for __builtin_clz... yes [16:09:45.399] checking for __builtin_ctz... yes [16:09:45.447] checking for __builtin_popcount... yes [16:09:45.494] checking for __builtin_frame_address... yes [16:09:45.543] checking for _LARGEFILE_SOURCE value needed for large files... no [16:09:45.597] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:09:45.628] checking for posix_fadvise... no [16:09:45.682] checking whether posix_fadvise is declared... no [16:09:45.729] checking whether fdatasync is declared... no [16:09:45.777] checking whether strlcat is declared... no [16:09:45.843] checking whether strlcpy is declared... no [16:09:45.909] checking whether strnlen is declared... yes [16:09:45.979] checking whether strsep is declared... no [16:09:46.044] checking whether preadv is declared... no [16:09:46.082] checking whether pwritev is declared... no [16:09:46.120] checking whether F_FULLFSYNC is declared... no [16:09:46.162] checking for explicit_bzero... no [16:09:46.210] checking for getopt... yes [16:09:46.254] checking for getpeereid... no [16:09:46.304] checking for inet_aton... no [16:09:46.352] checking for mkdtemp... no [16:09:46.402] checking for strlcat... no [16:09:46.451] checking for strlcpy... no [16:09:46.501] checking for strnlen... yes [16:09:46.549] checking for strsep... no [16:09:46.598] checking for pthread_barrier_wait... yes [16:09:46.643] configure: On mingw32 we will use our strtof wrapper. [16:09:46.643] checking for getopt_long... yes [16:09:46.689] checking for _configthreadlocale... yes [16:09:46.736] checking for syslog... no [16:09:46.784] checking for opterr... yes [16:09:46.832] checking for optreset... no [16:09:46.885] checking test program... cross-compiling [16:09:46.885] checking whether long int is 64 bits... no [16:09:46.916] checking whether long long int is 64 bits... yes [16:09:46.925] checking for __builtin_mul_overflow... yes [16:09:46.968] checking size of void *... 8 [16:09:47.326] checking size of size_t... 8 [16:09:47.697] checking size of long... 4 [16:09:47.987] checking alignment of short... 2 [16:09:48.192] checking alignment of int... 4 [16:09:48.476] checking alignment of long... 4 [16:09:48.795] checking alignment of long long int... 8 [16:09:49.264] checking alignment of double... 8 [16:09:49.709] checking for int8... no [16:09:49.756] checking for uint8... no [16:09:49.800] checking for int64... no [16:09:49.845] checking for uint64... no [16:09:49.890] checking for __int128... yes [16:09:49.940] checking for __int128 alignment bug... assuming ok [16:09:49.940] checking alignment of PG_INT128_TYPE... 16 [16:09:50.367] checking for builtin __sync char locking functions... yes [16:09:50.410] checking for builtin __sync int32 locking functions... yes [16:09:50.453] checking for builtin __sync int32 atomic operations... yes [16:09:50.496] checking for builtin __sync int64 atomic operations... yes [16:09:50.539] checking for builtin __atomic int32 atomic operations... yes [16:09:50.583] checking for builtin __atomic int64 atomic operations... yes [16:09:50.625] checking for __get_cpuid... yes [16:09:50.672] checking for __get_cpuid_count... yes [16:09:50.716] checking for __cpuid... no [16:09:51.122] checking for __cpuidex... no [16:09:51.538] checking for _xgetbv with CFLAGS=... no [16:09:51.913] checking for _xgetbv with CFLAGS=-mxsave... yes [16:09:52.314] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:09:52.701] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:09:53.047] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:09:53.094] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:09:53.185] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:09:53.209] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:09:53.229] 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 [16:09:53.285] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:09:53.285] checking which random number source to use... Windows native [16:09:53.287] checking for xmllint... /usr/bin/xmllint [16:09:53.287] checking for xsltproc... /usr/bin/xsltproc [16:09:53.287] checking for fop... /usr/bin/fop [16:09:53.287] checking for dbtoepub... no [16:09:53.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:09:53.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:09:53.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:09:53.299] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:09:53.299] 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 [16:09:53.299] configure: using CPPFLAGS= -I./src/include/port/win32 [16:09:53.299] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:09:53.387] configure: creating ./config.status [16:09:53.475] config.status: creating GNUmakefile [16:09:53.487] config.status: creating src/Makefile.global [16:09:53.504] config.status: creating src/include/pg_config.h [16:09:53.517] config.status: creating src/include/pg_config_ext.h [16:09:53.530] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:09:53.546] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:09:53.553] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:09:53.560] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:09:53.568] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:09:53.575] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:09:53.579] config.status: executing check_win32_symlinks commands [16:09:53.614] [16:09:53.614] real 0m18.452s [16:09:53.614] user 0m12.103s [16:09:53.614] sys 0m5.878s [16:09:53.614] make -s -j${BUILD_JOBS} clean [16:09:54.124] time make -s -j${BUILD_JOBS} world-bin [16:12:28.220] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [16:12:28.220] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [16:12:28.220] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [16:12:28.220] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [16:12:28.220] 3889 | group_rel, [16:12:28.220] | ~~~~~~~~~~ [16:12:28.220] 3890 | &varinfos, [16:12:28.220] | ~~~~~~~~~~ [16:12:28.220] 3891 | &mvndistinct); [16:12:28.220] | ~~~~~~~~~~~~~ [16:12:28.220] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [16:12:28.220] 3792 | RelOptInfo *group_rel; [16:12:28.220] | ^~~~~~~~~ [16:12:28.220] cc1: all warnings being treated as errors [16:12:28.221] make[4]: *** [: selfuncs.o] Error 1 [16:12:28.221] make[4]: *** Waiting for unfinished jobs.... [16:12:29.390] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [16:12:29.390] make[3]: *** Waiting for unfinished jobs.... [16:12:32.400] make[2]: *** [common.mk:37: utils-recursive] Error 2 [16:12:32.401] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:12:32.401] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:12:32.401] [16:12:32.401] real 2m38.277s [16:12:32.401] user 8m41.123s [16:12:32.401] sys 1m35.684s [16:12:32.402] [16:12:32.402] Exit status: 2