[00:44:58.022] time ./configure \ [00:44:58.022] --host=x86_64-w64-mingw32 \ [00:44:58.022] --enable-cassert \ [00:44:58.022] --without-icu \ [00:44:58.022] CC="ccache x86_64-w64-mingw32-gcc" \ [00:44:58.022] CXX="ccache x86_64-w64-mingw32-g++" [00:44:58.127] checking build system type... x86_64-pc-linux-gnu [00:44:58.317] checking host system type... x86_64-w64-mingw32 [00:44:58.322] checking which template to use... win32 [00:44:58.323] checking whether NLS is wanted... no [00:44:58.323] checking for default port number... 5432 [00:44:58.329] checking for block size... 8kB [00:44:58.330] checking for segment size... 1GB [00:44:58.332] checking for WAL block size... 8kB [00:44:58.333] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:44:58.364] checking whether the C compiler works... yes [00:44:58.495] checking for C compiler default output file name... a.exe [00:44:58.496] checking for suffix of executables... .exe [00:44:58.535] checking whether we are cross compiling... yes [00:44:58.606] checking for suffix of object files... o [00:44:58.622] checking whether we are using the GNU C compiler... yes [00:44:58.628] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:44:58.634] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:44:58.643] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:44:58.708] checking whether we are using the GNU C++ compiler... yes [00:44:58.714] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:44:58.775] checking for gawk... no [00:44:58.775] checking for mawk... mawk [00:44:58.777] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:44:58.783] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:44:58.789] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:44:58.834] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:44:59.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:44:59.010] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:44:59.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:44:59.030] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:44:59.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:44:59.043] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:44:59.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:44:59.079] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:44:59.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:44:59.091] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:44:59.097] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:44:59.104] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:44:59.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:44:59.145] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:44:59.151] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:44:59.157] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:44:59.164] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:44:59.170] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:44:59.184] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:44:59.206] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:44:59.212] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:44:59.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:44:59.253] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:44:59.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:44:59.296] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:44:59.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:44:59.335] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:44:59.341] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:44:59.347] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:44:59.354] checking whether the C compiler still works... yes [00:44:59.415] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:44:59.481] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:44:59.481] checking pkg-config is at least version 0.9.0... yes [00:44:59.497] checking whether to build with ICU support... no [00:44:59.497] checking whether to build with Tcl... no [00:44:59.497] checking whether to build Perl modules... no [00:44:59.497] checking whether to build Python modules... no [00:44:59.497] checking whether to build with GSSAPI support... no [00:44:59.498] checking whether to build with PAM support... no [00:44:59.498] checking whether to build with BSD Authentication support... no [00:44:59.498] checking whether to build with LDAP support... no [00:44:59.498] checking whether to build with Bonjour support... no [00:44:59.499] checking whether to build with SELinux support... no [00:44:59.499] checking whether to build with systemd support... no [00:44:59.499] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:44:59.499] checking whether to build with XML support... no [00:44:59.499] checking whether to build with LZ4 support... no [00:44:59.499] checking whether to build with ZSTD support... no [00:44:59.499] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:44:59.500] checking whether it is possible to strip libraries... yes [00:44:59.506] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:44:59.507] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:44:59.507] checking for a BSD-compatible install... /usr/bin/install -c [00:44:59.515] checking for tar... /usr/bin/tar [00:44:59.515] checking whether ln -s works... yes [00:44:59.515] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:44:59.517] checking for bison... /usr/bin/bison [00:44:59.519] configure: using bison (GNU Bison) 3.8.2 [00:44:59.522] checking for flex... /usr/bin/flex [00:44:59.533] configure: using flex 2.6.4 [00:44:59.533] checking for perl... /usr/bin/perl [00:44:59.535] configure: using perl 5.36.0 [00:44:59.537] checking for zic... /usr/sbin/zic [00:44:59.538] checking for a sed that does not truncate output... /usr/bin/sed [00:44:59.542] checking for grep that handles long lines and -e... /usr/bin/grep [00:44:59.544] checking for egrep... /usr/bin/grep -E [00:44:59.545] checking for ANSI C header files... yes [00:44:59.589] checking for sys/types.h... yes [00:44:59.604] checking for sys/stat.h... yes [00:44:59.618] checking for stdlib.h... yes [00:44:59.631] checking for string.h... yes [00:44:59.687] checking for memory.h... yes [00:44:59.701] checking for strings.h... yes [00:44:59.714] checking for inttypes.h... yes [00:44:59.729] checking for stdint.h... yes [00:44:59.742] checking for unistd.h... yes [00:44:59.756] checking for main in -lm... yes [00:44:59.799] checking for library containing setproctitle... no [00:44:59.882] checking for library containing dlsym... no [00:44:59.962] checking for library containing socket... -lws2_32 [00:45:00.082] checking for library containing getopt_long... none required [00:45:00.126] checking for library containing shm_open... no [00:45:00.208] checking for library containing shm_unlink... no [00:45:00.293] checking for library containing clock_gettime... no [00:45:00.379] checking for library containing shmget... no [00:45:00.460] checking for library containing backtrace_symbols... no [00:45:00.541] checking for library containing pthread_barrier_wait... -lpthread [00:45:00.625] checking for inflate in -lz... yes [00:45:00.668] checking for stdbool.h that conforms to C99... yes [00:45:00.679] checking for _Bool... yes [00:45:00.744] checking atomic.h usability... no [00:45:00.794] checking atomic.h presence... no [00:45:00.811] checking for atomic.h... no [00:45:00.814] checking copyfile.h usability... no [00:45:00.864] checking copyfile.h presence... no [00:45:00.881] checking for copyfile.h... no [00:45:00.884] checking execinfo.h usability... no [00:45:00.935] checking execinfo.h presence... no [00:45:00.954] checking for execinfo.h... no [00:45:00.957] checking getopt.h usability... yes [00:45:00.965] checking getopt.h presence... yes [00:45:00.979] checking for getopt.h... yes [00:45:00.985] checking ifaddrs.h usability... no [00:45:01.037] checking ifaddrs.h presence... no [00:45:01.054] checking for ifaddrs.h... no [00:45:01.056] checking mbarrier.h usability... no [00:45:01.106] checking mbarrier.h presence... no [00:45:01.123] checking for mbarrier.h... no [00:45:01.126] checking sys/epoll.h usability... no [00:45:01.176] checking sys/epoll.h presence... no [00:45:01.192] checking for sys/epoll.h... no [00:45:01.195] checking sys/event.h usability... no [00:45:01.245] checking sys/event.h presence... no [00:45:01.262] checking for sys/event.h... no [00:45:01.265] checking sys/personality.h usability... no [00:45:01.315] checking sys/personality.h presence... no [00:45:01.332] checking for sys/personality.h... no [00:45:01.335] checking sys/prctl.h usability... no [00:45:01.385] checking sys/prctl.h presence... no [00:45:01.402] checking for sys/prctl.h... no [00:45:01.404] checking sys/procctl.h usability... no [00:45:01.454] checking sys/procctl.h presence... no [00:45:01.471] checking for sys/procctl.h... no [00:45:01.474] checking sys/signalfd.h usability... no [00:45:01.530] checking sys/signalfd.h presence... no [00:45:01.547] checking for sys/signalfd.h... no [00:45:01.550] checking sys/ucred.h usability... no [00:45:01.601] checking sys/ucred.h presence... no [00:45:01.619] checking for sys/ucred.h... no [00:45:01.622] checking termios.h usability... no [00:45:01.672] checking termios.h presence... no [00:45:01.689] checking for termios.h... no [00:45:01.692] checking ucred.h usability... no [00:45:01.741] checking ucred.h presence... no [00:45:01.758] checking for ucred.h... no [00:45:01.760] checking zlib.h usability... yes [00:45:01.769] checking zlib.h presence... yes [00:45:01.786] checking for zlib.h... yes [00:45:01.786] checking for lz4... /usr/bin/lz4 [00:45:01.786] checking for zstd... /usr/bin/zstd [00:45:01.786] checking for openssl... /usr/bin/openssl [00:45:01.791] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:45:01.791] checking crtdefs.h usability... yes [00:45:01.798] checking crtdefs.h presence... yes [00:45:01.812] checking for crtdefs.h... yes [00:45:01.813] checking whether byte ordering is bigendian... no [00:45:01.882] checking for inline... inline [00:45:01.890] checking for printf format archetype... gnu_printf [00:45:01.899] checking for _Static_assert... yes [00:45:01.940] checking for typeof... typeof [00:45:01.947] checking for __builtin_types_compatible_p... yes [00:45:01.958] checking for __builtin_constant_p... yes [00:45:01.968] checking for __builtin_unreachable... yes [00:45:02.008] checking for computed goto support... yes [00:45:02.015] checking for struct tm.tm_zone... no [00:45:02.089] checking for union semun... no [00:45:02.122] checking for socklen_t... yes [00:45:03.347] checking for struct sockaddr.sa_len... no [00:45:05.358] checking for locale_t... no [00:45:05.424] checking for C/C++ restrict keyword... __restrict [00:45:05.446] checking for struct option... yes [00:45:05.488] checking whether assembler supports x86_64 popcntq... yes [00:45:05.496] checking size of off_t... 4 [00:45:05.709] 0 [00:45:05.709] checking size of bool... 1 [00:45:05.750] checking for int timezone... yes [00:45:05.797] checking for wcstombs_l declaration... no [00:45:05.879] checking for backtrace_symbols... no [00:45:05.927] checking for copyfile... no [00:45:05.976] checking for copy_file_range... no [00:45:06.025] checking for getifaddrs... no [00:45:06.073] checking for getpeerucred... no [00:45:06.121] checking for inet_pton... yes [00:45:06.169] checking for kqueue... no [00:45:06.215] checking for mbstowcs_l... no [00:45:06.261] checking for memset_s... no [00:45:06.308] checking for posix_fallocate... no [00:45:06.353] checking for ppoll... no [00:45:06.400] checking for pthread_is_threaded_np... no [00:45:06.446] checking for setproctitle... no [00:45:06.493] checking for setproctitle_fast... no [00:45:06.540] checking for strchrnul... no [00:45:06.589] checking for strsignal... no [00:45:06.636] checking for syncfs... no [00:45:06.684] checking for sync_file_range... no [00:45:06.730] checking for uselocale... no [00:45:06.777] checking for wcstombs_l... no [00:45:06.821] checking for __builtin_bswap16... yes [00:45:06.867] checking for __builtin_bswap32... yes [00:45:06.916] checking for __builtin_bswap64... yes [00:45:06.962] checking for __builtin_clz... yes [00:45:07.008] checking for __builtin_ctz... yes [00:45:07.052] checking for __builtin_popcount... yes [00:45:07.097] checking for __builtin_frame_address... yes [00:45:07.141] checking for _LARGEFILE_SOURCE value needed for large files... no [00:45:07.190] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:45:07.219] checking for posix_fadvise... no [00:45:07.266] checking whether posix_fadvise is declared... no [00:45:07.307] checking whether fdatasync is declared... no [00:45:07.349] checking whether strlcat is declared... no [00:45:07.409] checking whether strlcpy is declared... no [00:45:07.467] checking whether strnlen is declared... yes [00:45:07.479] checking whether strsep is declared... no [00:45:07.542] checking whether preadv is declared... no [00:45:07.576] checking whether pwritev is declared... no [00:45:07.608] checking whether F_FULLFSYNC is declared... no [00:45:07.644] checking for explicit_bzero... no [00:45:07.687] checking for getopt... yes [00:45:07.729] checking for getpeereid... no [00:45:07.772] checking for inet_aton... no [00:45:07.816] checking for mkdtemp... no [00:45:07.861] checking for strlcat... no [00:45:07.906] checking for strlcpy... no [00:45:07.951] checking for strnlen... yes [00:45:07.994] checking for strsep... no [00:45:08.039] checking for pthread_barrier_wait... yes [00:45:08.079] configure: On mingw32 we will use our strtof wrapper. [00:45:08.080] checking for getopt_long... yes [00:45:08.121] checking for _configthreadlocale... yes [00:45:08.163] checking for syslog... no [00:45:08.207] checking for opterr... yes [00:45:08.255] checking for optreset... no [00:45:08.304] checking test program... cross-compiling [00:45:08.305] checking whether long int is 64 bits... no [00:45:08.335] checking whether long long int is 64 bits... yes [00:45:08.343] checking for __builtin_mul_overflow... yes [00:45:08.386] checking size of void *... 8 [00:45:08.670] checking size of size_t... 8 [00:45:08.984] checking size of long... 4 [00:45:09.178] checking alignment of short... 2 [00:45:09.306] checking alignment of int... 4 [00:45:09.512] checking alignment of long... 4 [00:45:09.706] checking alignment of long long int... 8 [00:45:10.070] checking alignment of double... 8 [00:45:10.383] checking for int8... no [00:45:10.428] checking for uint8... no [00:45:10.471] checking for int64... no [00:45:10.513] checking for uint64... no [00:45:10.556] checking for __int128... yes [00:45:10.604] checking for __int128 alignment bug... assuming ok [00:45:10.604] checking alignment of PG_INT128_TYPE... 16 [00:45:10.931] checking for builtin __sync char locking functions... yes [00:45:10.973] checking for builtin __sync int32 locking functions... yes [00:45:11.016] checking for builtin __sync int32 atomic operations... yes [00:45:11.059] checking for builtin __sync int64 atomic operations... yes [00:45:11.101] checking for builtin __atomic int32 atomic operations... yes [00:45:11.143] checking for builtin __atomic int64 atomic operations... yes [00:45:11.184] checking for __get_cpuid... yes [00:45:11.229] checking for __get_cpuid_count... yes [00:45:11.270] checking for __cpuid... no [00:45:11.662] checking for __cpuidex... no [00:45:12.092] checking for _xgetbv with CFLAGS=... no [00:45:12.464] checking for _xgetbv with CFLAGS=-mxsave... yes [00:45:12.857] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:45:13.236] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:45:13.569] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:45:13.614] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:45:13.698] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:45:13.718] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:45:13.735] 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 [00:45:13.787] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:45:13.787] checking which random number source to use... Windows native [00:45:13.789] checking for xmllint... /usr/bin/xmllint [00:45:13.789] checking for xsltproc... /usr/bin/xsltproc [00:45:13.789] checking for fop... /usr/bin/fop [00:45:13.789] checking for dbtoepub... no [00:45:13.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:45:13.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:45:13.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:45:13.800] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:45:13.800] 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 [00:45:13.800] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:45:13.800] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:45:13.880] configure: creating ./config.status [00:45:13.960] config.status: creating GNUmakefile [00:45:13.972] config.status: creating src/Makefile.global [00:45:13.987] config.status: creating src/include/pg_config.h [00:45:13.998] config.status: creating src/include/pg_config_ext.h [00:45:14.009] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:45:14.023] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:45:14.030] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:45:14.037] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:45:14.043] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:45:14.050] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:45:14.053] config.status: executing check_win32_symlinks commands [00:45:14.085] [00:45:14.085] real 0m16.063s [00:45:14.085] user 0m10.820s [00:45:14.085] sys 0m4.850s [00:45:14.085] make -s -j${BUILD_JOBS} clean [00:45:14.601] time make -s -j${BUILD_JOBS} world-bin [00:45:38.009] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [00:45:38.009] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [00:45:38.009] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [00:45:38.009] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:45:38.009] 3889 | group_rel, [00:45:38.009] | ~~~~~~~~~~ [00:45:38.009] 3890 | &varinfos, [00:45:38.009] | ~~~~~~~~~~ [00:45:38.009] 3891 | &mvndistinct); [00:45:38.009] | ~~~~~~~~~~~~~ [00:45:38.009] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [00:45:38.009] 3792 | RelOptInfo *group_rel; [00:45:38.009] | ^~~~~~~~~ [00:45:38.009] cc1: all warnings being treated as errors [00:45:38.010] make[4]: *** [: selfuncs.o] Error 1 [00:45:38.010] make[4]: *** Waiting for unfinished jobs.... [00:45:38.137] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [00:45:38.137] make[3]: *** Waiting for unfinished jobs.... [00:45:38.945] make[2]: *** [common.mk:37: utils-recursive] Error 2 [00:45:38.945] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:45:38.945] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:45:38.945] [00:45:38.945] real 0m24.345s [00:45:38.945] user 1m9.560s [00:45:38.945] sys 0m17.143s [00:45:38.946] [00:45:38.946] Exit status: 2