[17:22:31.346] time ./configure \ [17:22:31.346] --host=x86_64-w64-mingw32 \ [17:22:31.346] --enable-cassert \ [17:22:31.346] --without-icu \ [17:22:31.346] CC="ccache x86_64-w64-mingw32-gcc" \ [17:22:31.346] CXX="ccache x86_64-w64-mingw32-g++" [17:22:31.453] checking build system type... x86_64-pc-linux-gnu [17:22:31.671] checking host system type... x86_64-w64-mingw32 [17:22:31.675] checking which template to use... win32 [17:22:31.676] checking whether NLS is wanted... no [17:22:31.676] checking for default port number... 5432 [17:22:31.682] checking for block size... 8kB [17:22:31.683] checking for segment size... 1GB [17:22:31.685] checking for WAL block size... 8kB [17:22:31.687] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:22:31.719] checking whether the C compiler works... yes [17:22:31.873] checking for C compiler default output file name... a.exe [17:22:31.874] checking for suffix of executables... .exe [17:22:31.913] checking whether we are cross compiling... yes [17:22:31.995] checking for suffix of object files... o [17:22:32.011] checking whether we are using the GNU C compiler... yes [17:22:32.017] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:22:32.023] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:22:32.108] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:22:32.163] checking whether we are using the GNU C++ compiler... yes [17:22:32.169] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:22:32.232] checking for gawk... no [17:22:32.232] checking for mawk... mawk [17:22:32.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:22:32.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:22:32.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:22:32.337] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:22:32.507] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:22:32.537] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:22:32.543] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:22:32.557] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:22:32.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:22:32.672] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:22:32.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:22:32.708] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:22:32.715] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:22:32.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:22:32.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:22:32.781] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:22:32.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:22:32.831] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:22:32.837] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:22:32.844] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:22:32.858] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:22:32.889] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:22:32.904] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:22:32.925] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:22:32.941] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:22:32.956] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:22:32.992] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:22:33.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:22:33.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:22:33.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:22:33.073] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:22:33.079] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:22:33.086] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:22:33.116] checking whether the C compiler still works... yes [17:22:33.162] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:22:33.228] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:22:33.229] checking pkg-config is at least version 0.9.0... yes [17:22:33.245] checking whether to build with ICU support... no [17:22:33.245] checking whether to build with Tcl... no [17:22:33.245] checking whether to build Perl modules... no [17:22:33.245] checking whether to build Python modules... no [17:22:33.245] checking whether to build with GSSAPI support... no [17:22:33.246] checking whether to build with PAM support... no [17:22:33.247] checking whether to build with BSD Authentication support... no [17:22:33.247] checking whether to build with LDAP support... no [17:22:33.247] checking whether to build with Bonjour support... no [17:22:33.247] checking whether to build with SELinux support... no [17:22:33.247] checking whether to build with systemd support... no [17:22:33.247] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:22:33.247] checking whether to build with XML support... no [17:22:33.247] checking whether to build with LZ4 support... no [17:22:33.248] checking whether to build with ZSTD support... no [17:22:33.248] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:22:33.248] checking whether it is possible to strip libraries... yes [17:22:33.257] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:22:33.257] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:22:33.257] checking for a BSD-compatible install... /usr/bin/install -c [17:22:33.266] checking for tar... /usr/bin/tar [17:22:33.266] checking whether ln -s works... yes [17:22:33.266] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:22:33.268] checking for bison... /usr/bin/bison [17:22:33.270] configure: using bison (GNU Bison) 3.8.2 [17:22:33.273] checking for flex... /usr/bin/flex [17:22:33.284] configure: using flex 2.6.4 [17:22:33.284] checking for perl... /usr/bin/perl [17:22:33.287] configure: using perl 5.36.0 [17:22:33.289] checking for zic... /usr/sbin/zic [17:22:33.289] checking for a sed that does not truncate output... /usr/bin/sed [17:22:33.294] checking for grep that handles long lines and -e... /usr/bin/grep [17:22:33.296] checking for egrep... /usr/bin/grep -E [17:22:33.298] checking for ANSI C header files... yes [17:22:33.382] checking for sys/types.h... yes [17:22:33.416] checking for sys/stat.h... yes [17:22:33.476] checking for stdlib.h... yes [17:22:33.537] checking for string.h... yes [17:22:33.593] checking for memory.h... yes [17:22:33.628] checking for strings.h... yes [17:22:33.662] checking for inttypes.h... yes [17:22:33.723] checking for stdint.h... yes [17:22:33.785] checking for unistd.h... yes [17:22:33.850] checking for main in -lm... yes [17:22:33.897] checking for library containing setproctitle... no [17:22:33.985] checking for library containing dlsym... no [17:22:34.071] checking for library containing socket... -lws2_32 [17:22:34.199] checking for library containing getopt_long... none required [17:22:34.244] checking for library containing shm_open... no [17:22:34.333] checking for library containing shm_unlink... no [17:22:34.421] checking for library containing clock_gettime... no [17:22:34.511] checking for library containing shmget... no [17:22:34.601] checking for library containing backtrace_symbols... no [17:22:34.693] checking for library containing pthread_barrier_wait... -lpthread [17:22:34.785] checking for inflate in -lz... yes [17:22:34.833] checking for stdbool.h that conforms to C99... yes [17:22:34.856] checking for _Bool... yes [17:22:34.985] checking atomic.h usability... no [17:22:35.042] checking atomic.h presence... no [17:22:35.061] checking for atomic.h... no [17:22:35.064] checking copyfile.h usability... no [17:22:35.120] checking copyfile.h presence... no [17:22:35.140] checking for copyfile.h... no [17:22:35.143] checking execinfo.h usability... no [17:22:35.198] checking execinfo.h presence... no [17:22:35.218] checking for execinfo.h... no [17:22:35.221] checking getopt.h usability... yes [17:22:35.228] checking getopt.h presence... yes [17:22:35.244] checking for getopt.h... yes [17:22:35.250] checking ifaddrs.h usability... no [17:22:35.309] checking ifaddrs.h presence... no [17:22:35.328] checking for ifaddrs.h... no [17:22:35.332] checking mbarrier.h usability... no [17:22:35.388] checking mbarrier.h presence... no [17:22:35.407] checking for mbarrier.h... no [17:22:35.410] checking sys/epoll.h usability... no [17:22:35.465] checking sys/epoll.h presence... no [17:22:35.482] checking for sys/epoll.h... no [17:22:35.488] checking sys/event.h usability... no [17:22:35.542] checking sys/event.h presence... no [17:22:35.562] checking for sys/event.h... no [17:22:35.565] checking sys/personality.h usability... no [17:22:35.620] checking sys/personality.h presence... no [17:22:35.638] checking for sys/personality.h... no [17:22:35.641] checking sys/prctl.h usability... no [17:22:35.693] checking sys/prctl.h presence... no [17:22:35.710] checking for sys/prctl.h... no [17:22:35.713] checking sys/procctl.h usability... no [17:22:35.765] checking sys/procctl.h presence... no [17:22:35.782] checking for sys/procctl.h... no [17:22:35.785] checking sys/signalfd.h usability... no [17:22:35.838] checking sys/signalfd.h presence... no [17:22:35.856] checking for sys/signalfd.h... no [17:22:35.859] checking sys/ucred.h usability... no [17:22:35.913] checking sys/ucred.h presence... no [17:22:35.933] checking for sys/ucred.h... no [17:22:35.936] checking termios.h usability... no [17:22:35.991] checking termios.h presence... no [17:22:36.008] checking for termios.h... no [17:22:36.011] checking ucred.h usability... no [17:22:36.065] checking ucred.h presence... no [17:22:36.083] checking for ucred.h... no [17:22:36.086] checking zlib.h usability... yes [17:22:36.097] checking zlib.h presence... yes [17:22:36.115] checking for zlib.h... yes [17:22:36.116] checking for lz4... /usr/bin/lz4 [17:22:36.116] checking for zstd... /usr/bin/zstd [17:22:36.116] checking for openssl... /usr/bin/openssl [17:22:36.120] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [17:22:36.121] checking crtdefs.h usability... yes [17:22:36.128] checking crtdefs.h presence... yes [17:22:36.141] checking for crtdefs.h... yes [17:22:36.142] checking whether byte ordering is bigendian... no [17:22:36.219] checking for inline... inline [17:22:36.234] checking for printf format archetype... gnu_printf [17:22:36.241] checking for _Static_assert... yes [17:22:36.280] checking for typeof... typeof [17:22:36.294] checking for __builtin_types_compatible_p... yes [17:22:36.304] checking for __builtin_constant_p... yes [17:22:36.322] checking for __builtin_unreachable... yes [17:22:36.360] checking for computed goto support... yes [17:22:36.367] checking for struct tm.tm_zone... no [17:22:36.438] checking for union semun... no [17:22:36.469] checking for socklen_t... yes [17:22:38.573] checking for struct sockaddr.sa_len... no [17:22:40.644] checking for locale_t... no [17:22:40.710] checking for C/C++ restrict keyword... __restrict [17:22:40.732] checking for struct option... yes [17:22:40.803] checking whether assembler supports x86_64 popcntq... yes [17:22:40.810] checking size of off_t... 4 [17:22:41.010] 0 [17:22:41.010] checking size of bool... 1 [17:22:41.051] checking for int timezone... yes [17:22:41.095] checking for wcstombs_l declaration... no [17:22:41.172] checking for backtrace_symbols... no [17:22:41.218] checking for copyfile... no [17:22:41.265] checking for copy_file_range... no [17:22:41.311] checking for getifaddrs... no [17:22:41.359] checking for getpeerucred... no [17:22:41.409] checking for inet_pton... yes [17:22:41.456] checking for kqueue... no [17:22:41.503] checking for mbstowcs_l... no [17:22:41.549] checking for memset_s... no [17:22:41.595] checking for posix_fallocate... no [17:22:41.642] checking for ppoll... no [17:22:41.689] checking for pthread_is_threaded_np... no [17:22:41.736] checking for setproctitle... no [17:22:41.782] checking for setproctitle_fast... no [17:22:41.829] checking for strchrnul... no [17:22:41.875] checking for strsignal... no [17:22:41.923] checking for syncfs... no [17:22:41.973] checking for sync_file_range... no [17:22:42.024] checking for uselocale... no [17:22:42.073] checking for wcstombs_l... no [17:22:42.120] checking for __builtin_bswap16... yes [17:22:42.168] checking for __builtin_bswap32... yes [17:22:42.214] checking for __builtin_bswap64... yes [17:22:42.259] checking for __builtin_clz... yes [17:22:42.306] checking for __builtin_ctz... yes [17:22:42.352] checking for __builtin_popcount... yes [17:22:42.400] checking for __builtin_frame_address... yes [17:22:42.447] checking for _LARGEFILE_SOURCE value needed for large files... no [17:22:42.496] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:22:42.525] checking for posix_fadvise... no [17:22:42.574] checking whether posix_fadvise is declared... no [17:22:42.616] checking whether fdatasync is declared... no [17:22:42.660] checking whether strlcat is declared... no [17:22:42.718] checking whether strlcpy is declared... no [17:22:42.777] checking whether strnlen is declared... yes [17:22:42.788] checking whether strsep is declared... no [17:22:42.846] checking whether preadv is declared... no [17:22:42.880] checking whether pwritev is declared... no [17:22:42.912] checking whether F_FULLFSYNC is declared... no [17:22:42.947] checking for explicit_bzero... no [17:22:42.991] checking for getopt... yes [17:22:43.032] checking for getpeereid... no [17:22:43.076] checking for inet_aton... no [17:22:43.120] checking for mkdtemp... no [17:22:43.164] checking for strlcat... no [17:22:43.209] checking for strlcpy... no [17:22:43.255] checking for strnlen... yes [17:22:43.299] checking for strsep... no [17:22:43.344] checking for pthread_barrier_wait... yes [17:22:43.387] configure: On mingw32 we will use our strtof wrapper. [17:22:43.387] checking for getopt_long... yes [17:22:43.430] checking for _configthreadlocale... yes [17:22:43.473] checking for syslog... no [17:22:43.518] checking for opterr... yes [17:22:43.563] checking for optreset... no [17:22:43.613] checking test program... cross-compiling [17:22:43.613] checking whether long int is 64 bits... no [17:22:43.643] checking whether long long int is 64 bits... yes [17:22:43.652] checking for __builtin_mul_overflow... yes [17:22:43.692] checking size of void *... 8 [17:22:44.121] checking size of size_t... 8 [17:22:44.554] checking size of long... 4 [17:22:44.875] checking alignment of short... 2 [17:22:45.187] checking alignment of int... 4 [17:22:45.462] checking alignment of long... 4 [17:22:45.706] checking alignment of long long int... 8 [17:22:46.071] checking alignment of double... 8 [17:22:46.441] checking for int8... no [17:22:46.481] checking for uint8... no [17:22:46.520] checking for int64... no [17:22:46.560] checking for uint64... no [17:22:46.599] checking for __int128... yes [17:22:46.647] checking for __int128 alignment bug... assuming ok [17:22:46.647] checking alignment of PG_INT128_TYPE... 16 [17:22:47.081] checking for builtin __sync char locking functions... yes [17:22:47.121] checking for builtin __sync int32 locking functions... yes [17:22:47.162] checking for builtin __sync int32 atomic operations... yes [17:22:47.203] checking for builtin __sync int64 atomic operations... yes [17:22:47.243] checking for builtin __atomic int32 atomic operations... yes [17:22:47.284] checking for builtin __atomic int64 atomic operations... yes [17:22:47.324] checking for __get_cpuid... yes [17:22:47.369] checking for __get_cpuid_count... yes [17:22:47.412] checking for __cpuid... no [17:22:47.805] checking for __cpuidex... no [17:22:48.223] checking for _xgetbv with CFLAGS=... no [17:22:48.597] checking for _xgetbv with CFLAGS=-mxsave... yes [17:22:48.988] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:22:49.367] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:22:49.698] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:22:49.743] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:22:49.826] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:22:49.846] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:22:49.863] 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:22:49.914] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:22:49.915] checking which random number source to use... Windows native [17:22:49.916] checking for xmllint... /usr/bin/xmllint [17:22:49.917] checking for xsltproc... /usr/bin/xsltproc [17:22:49.917] checking for fop... /usr/bin/fop [17:22:49.917] checking for dbtoepub... no [17:22:49.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:22:49.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:22:49.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:22:49.929] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:22:49.929] 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:22:49.929] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:22:49.929] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:22:50.006] configure: creating ./config.status [17:22:50.082] config.status: creating GNUmakefile [17:22:50.093] config.status: creating src/Makefile.global [17:22:50.107] config.status: creating src/include/pg_config.h [17:22:50.118] config.status: creating src/include/pg_config_ext.h [17:22:50.129] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:22:50.143] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:22:50.149] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:22:50.156] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:22:50.163] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:22:50.171] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:22:50.174] config.status: executing check_win32_symlinks commands [17:22:50.208] [17:22:50.208] real 0m18.861s [17:22:50.208] user 0m12.629s [17:22:50.208] sys 0m5.709s [17:22:50.208] make -s -j${BUILD_JOBS} clean [17:22:50.717] time make -s -j${BUILD_JOBS} world-bin [17:25:35.244] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [17:25:35.244] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [17:25:35.244] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [17:25:35.244] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:25:35.244] 3889 | group_rel, [17:25:35.244] | ~~~~~~~~~~ [17:25:35.244] 3890 | &varinfos, [17:25:35.244] | ~~~~~~~~~~ [17:25:35.244] 3891 | &mvndistinct); [17:25:35.244] | ~~~~~~~~~~~~~ [17:25:35.244] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [17:25:35.244] 3792 | RelOptInfo *group_rel; [17:25:35.244] | ^~~~~~~~~ [17:25:35.244] cc1: all warnings being treated as errors [17:25:35.245] make[4]: *** [: selfuncs.o] Error 1 [17:25:35.245] make[4]: *** Waiting for unfinished jobs.... [17:25:36.752] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [17:25:36.752] make[3]: *** Waiting for unfinished jobs.... [17:25:41.147] make[2]: *** [common.mk:37: utils-recursive] Error 2 [17:25:41.147] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:25:41.147] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:25:41.148] [17:25:41.148] real 2m50.431s [17:25:41.148] user 9m19.270s [17:25:41.148] sys 1m44.508s [17:25:41.148] [17:25:41.148] Exit status: 2