[12:52:57.936] time ./configure \ [12:52:57.936] --host=x86_64-w64-mingw32 \ [12:52:57.936] --enable-cassert \ [12:52:57.936] --without-icu \ [12:52:57.936] CC="ccache x86_64-w64-mingw32-gcc" \ [12:52:57.936] CXX="ccache x86_64-w64-mingw32-g++" [12:52:58.053] checking build system type... x86_64-pc-linux-gnu [12:52:58.255] checking host system type... x86_64-w64-mingw32 [12:52:58.261] checking which template to use... win32 [12:52:58.261] checking whether NLS is wanted... no [12:52:58.261] checking for default port number... 5432 [12:52:58.268] checking for block size... 8kB [12:52:58.269] checking for segment size... 1GB [12:52:58.271] checking for WAL block size... 8kB [12:52:58.273] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:52:58.306] checking whether the C compiler works... yes [12:52:58.451] checking for C compiler default output file name... a.exe [12:52:58.452] checking for suffix of executables... .exe [12:52:58.494] checking whether we are cross compiling... yes [12:52:58.570] checking for suffix of object files... o [12:52:58.578] checking whether we are using the GNU C compiler... yes [12:52:58.585] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:52:58.602] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:52:58.612] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:52:58.668] checking whether we are using the GNU C++ compiler... yes [12:52:58.675] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:52:58.742] checking for gawk... no [12:52:58.742] checking for mawk... mawk [12:52:58.744] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:52:58.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:52:58.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:52:58.812] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:52:58.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:52:58.992] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:52:59.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:52:59.083] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:52:59.090] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:52:59.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:52:59.103] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:52:59.120] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:52:59.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:52:59.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:52:59.159] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:52:59.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:52:59.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:52:59.211] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:52:59.218] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:52:59.226] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:52:59.243] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:52:59.250] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:52:59.282] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:52:59.306] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:52:59.339] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:52:59.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:52:59.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:52:59.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:52:59.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:52:59.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:52:59.482] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:52:59.489] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:52:59.497] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:52:59.506] checking whether the C compiler still works... yes [12:52:59.572] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:52:59.645] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:52:59.646] checking pkg-config is at least version 0.9.0... yes [12:52:59.662] checking whether to build with ICU support... no [12:52:59.662] checking whether to build with Tcl... no [12:52:59.662] checking whether to build Perl modules... no [12:52:59.662] checking whether to build Python modules... no [12:52:59.662] checking whether to build with GSSAPI support... no [12:52:59.663] checking whether to build with PAM support... no [12:52:59.664] checking whether to build with BSD Authentication support... no [12:52:59.664] checking whether to build with LDAP support... no [12:52:59.664] checking whether to build with Bonjour support... no [12:52:59.664] checking whether to build with SELinux support... no [12:52:59.664] checking whether to build with systemd support... no [12:52:59.664] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:52:59.664] checking whether to build with XML support... no [12:52:59.664] checking whether to build with LZ4 support... no [12:52:59.665] checking whether to build with ZSTD support... no [12:52:59.665] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:52:59.665] checking whether it is possible to strip libraries... yes [12:52:59.674] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:52:59.674] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:52:59.675] checking for a BSD-compatible install... /usr/bin/install -c [12:52:59.683] checking for tar... /usr/bin/tar [12:52:59.684] checking whether ln -s works... yes [12:52:59.684] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:52:59.686] checking for bison... /usr/bin/bison [12:52:59.688] configure: using bison (GNU Bison) 3.8.2 [12:52:59.691] checking for flex... /usr/bin/flex [12:52:59.703] configure: using flex 2.6.4 [12:52:59.703] checking for perl... /usr/bin/perl [12:52:59.706] configure: using perl 5.36.0 [12:52:59.708] checking for zic... /usr/sbin/zic [12:52:59.708] checking for a sed that does not truncate output... /usr/bin/sed [12:52:59.713] checking for grep that handles long lines and -e... /usr/bin/grep [12:52:59.715] checking for egrep... /usr/bin/grep -E [12:52:59.717] checking for ANSI C header files... yes [12:52:59.766] checking for sys/types.h... yes [12:52:59.782] checking for sys/stat.h... yes [12:52:59.797] checking for stdlib.h... yes [12:52:59.811] checking for string.h... yes [12:52:59.825] checking for memory.h... yes [12:52:59.860] checking for strings.h... yes [12:52:59.875] checking for inttypes.h... yes [12:52:59.890] checking for stdint.h... yes [12:52:59.904] checking for unistd.h... yes [12:52:59.919] checking for main in -lm... yes [12:52:59.967] checking for library containing setproctitle... no [12:53:00.055] checking for library containing dlsym... no [12:53:00.142] checking for library containing socket... -lws2_32 [12:53:00.271] checking for library containing getopt_long... none required [12:53:00.318] checking for library containing shm_open... no [12:53:00.405] checking for library containing shm_unlink... no [12:53:00.491] checking for library containing clock_gettime... no [12:53:00.577] checking for library containing shmget... no [12:53:00.663] checking for library containing backtrace_symbols... no [12:53:00.750] checking for library containing pthread_barrier_wait... -lpthread [12:53:00.840] checking for inflate in -lz... yes [12:53:00.885] checking for stdbool.h that conforms to C99... yes [12:53:00.935] checking for _Bool... yes [12:53:01.004] checking atomic.h usability... no [12:53:01.056] checking atomic.h presence... no [12:53:01.074] checking for atomic.h... no [12:53:01.077] checking copyfile.h usability... no [12:53:01.131] checking copyfile.h presence... no [12:53:01.149] checking for copyfile.h... no [12:53:01.152] checking execinfo.h usability... no [12:53:01.204] checking execinfo.h presence... no [12:53:01.221] checking for execinfo.h... no [12:53:01.224] checking getopt.h usability... yes [12:53:01.231] checking getopt.h presence... yes [12:53:01.246] checking for getopt.h... yes [12:53:01.252] checking ifaddrs.h usability... no [12:53:01.306] checking ifaddrs.h presence... no [12:53:01.324] checking for ifaddrs.h... no [12:53:01.327] checking mbarrier.h usability... no [12:53:01.381] checking mbarrier.h presence... no [12:53:01.399] checking for mbarrier.h... no [12:53:01.402] checking sys/epoll.h usability... no [12:53:01.455] checking sys/epoll.h presence... no [12:53:01.472] checking for sys/epoll.h... no [12:53:01.475] checking sys/event.h usability... no [12:53:01.529] checking sys/event.h presence... no [12:53:01.547] checking for sys/event.h... no [12:53:01.550] checking sys/personality.h usability... no [12:53:01.603] checking sys/personality.h presence... no [12:53:01.621] checking for sys/personality.h... no [12:53:01.624] checking sys/prctl.h usability... no [12:53:01.677] checking sys/prctl.h presence... no [12:53:01.695] checking for sys/prctl.h... no [12:53:01.698] checking sys/procctl.h usability... no [12:53:01.751] checking sys/procctl.h presence... no [12:53:01.768] checking for sys/procctl.h... no [12:53:01.771] checking sys/signalfd.h usability... no [12:53:01.824] checking sys/signalfd.h presence... no [12:53:01.842] checking for sys/signalfd.h... no [12:53:01.845] checking sys/ucred.h usability... no [12:53:01.897] checking sys/ucred.h presence... no [12:53:01.915] checking for sys/ucred.h... no [12:53:01.919] checking termios.h usability... no [12:53:01.971] checking termios.h presence... no [12:53:01.990] checking for termios.h... no [12:53:01.994] checking ucred.h usability... no [12:53:02.054] checking ucred.h presence... no [12:53:02.075] checking for ucred.h... no [12:53:02.078] checking zlib.h usability... yes [12:53:02.090] checking zlib.h presence... yes [12:53:02.110] checking for zlib.h... yes [12:53:02.110] checking for lz4... /usr/bin/lz4 [12:53:02.110] checking for zstd... /usr/bin/zstd [12:53:02.110] checking for openssl... /usr/bin/openssl [12:53:02.115] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [12:53:02.115] checking crtdefs.h usability... yes [12:53:02.124] checking crtdefs.h presence... yes [12:53:02.139] checking for crtdefs.h... yes [12:53:02.141] checking whether byte ordering is bigendian... no [12:53:02.217] checking for inline... inline [12:53:02.224] checking for printf format archetype... gnu_printf [12:53:02.233] checking for _Static_assert... yes [12:53:02.274] checking for typeof... typeof [12:53:02.282] checking for __builtin_types_compatible_p... yes [12:53:02.293] checking for __builtin_constant_p... yes [12:53:02.304] checking for __builtin_unreachable... yes [12:53:02.345] checking for computed goto support... yes [12:53:02.361] checking for struct tm.tm_zone... no [12:53:02.435] checking for union semun... no [12:53:02.467] checking for socklen_t... yes [12:53:03.593] checking for struct sockaddr.sa_len... no [12:53:05.530] checking for locale_t... no [12:53:05.593] checking for C/C++ restrict keyword... __restrict [12:53:05.606] checking for struct option... yes [12:53:05.647] checking whether assembler supports x86_64 popcntq... yes [12:53:05.654] checking size of off_t... 4 [12:53:05.905] 0 [12:53:05.905] checking size of bool... 1 [12:53:05.959] checking for int timezone... yes [12:53:06.005] checking for wcstombs_l declaration... no [12:53:06.090] checking for backtrace_symbols... no [12:53:06.139] checking for copyfile... no [12:53:06.187] checking for copy_file_range... no [12:53:06.236] checking for getifaddrs... no [12:53:06.285] checking for getpeerucred... no [12:53:06.335] checking for inet_pton... yes [12:53:06.384] checking for kqueue... no [12:53:06.434] checking for mbstowcs_l... no [12:53:06.484] checking for memset_s... no [12:53:06.535] checking for posix_fallocate... no [12:53:06.584] checking for ppoll... no [12:53:06.634] checking for pthread_is_threaded_np... no [12:53:06.684] checking for setproctitle... no [12:53:06.734] checking for setproctitle_fast... no [12:53:06.784] checking for strchrnul... no [12:53:06.834] checking for strsignal... no [12:53:06.883] checking for syncfs... no [12:53:06.933] checking for sync_file_range... no [12:53:06.982] checking for uselocale... no [12:53:07.032] checking for wcstombs_l... no [12:53:07.080] checking for __builtin_bswap16... yes [12:53:07.128] checking for __builtin_bswap32... yes [12:53:07.177] checking for __builtin_bswap64... yes [12:53:07.225] checking for __builtin_clz... yes [12:53:07.272] checking for __builtin_ctz... yes [12:53:07.319] checking for __builtin_popcount... yes [12:53:07.367] checking for __builtin_frame_address... yes [12:53:07.413] checking for _LARGEFILE_SOURCE value needed for large files... no [12:53:07.463] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:53:07.493] checking for posix_fadvise... no [12:53:07.544] checking whether posix_fadvise is declared... no [12:53:07.591] checking whether fdatasync is declared... no [12:53:07.636] checking whether strlcat is declared... no [12:53:07.698] checking whether strlcpy is declared... no [12:53:07.761] checking whether strnlen is declared... yes [12:53:07.827] checking whether strsep is declared... no [12:53:07.889] checking whether preadv is declared... no [12:53:07.924] checking whether pwritev is declared... no [12:53:07.958] checking whether F_FULLFSYNC is declared... no [12:53:07.996] checking for explicit_bzero... no [12:53:08.043] checking for getopt... yes [12:53:08.088] checking for getpeereid... no [12:53:08.135] checking for inet_aton... no [12:53:08.183] checking for mkdtemp... no [12:53:08.230] checking for strlcat... no [12:53:08.277] checking for strlcpy... no [12:53:08.324] checking for strnlen... yes [12:53:08.372] checking for strsep... no [12:53:08.419] checking for pthread_barrier_wait... yes [12:53:08.463] configure: On mingw32 we will use our strtof wrapper. [12:53:08.463] checking for getopt_long... yes [12:53:08.508] checking for _configthreadlocale... yes [12:53:08.552] checking for syslog... no [12:53:08.599] checking for opterr... yes [12:53:08.646] checking for optreset... no [12:53:08.698] checking test program... cross-compiling [12:53:08.698] checking whether long int is 64 bits... no [12:53:08.731] checking whether long long int is 64 bits... yes [12:53:08.741] checking for __builtin_mul_overflow... yes [12:53:08.785] checking size of void *... 8 [12:53:09.082] checking size of size_t... 8 [12:53:09.359] checking size of long... 4 [12:53:09.627] checking alignment of short... 2 [12:53:09.766] checking alignment of int... 4 [12:53:09.982] checking alignment of long... 4 [12:53:10.237] checking alignment of long long int... 8 [12:53:10.520] checking alignment of double... 8 [12:53:10.902] checking for int8... no [12:53:10.945] checking for uint8... no [12:53:10.988] checking for int64... no [12:53:11.030] checking for uint64... no [12:53:11.071] checking for __int128... yes [12:53:11.119] checking for __int128 alignment bug... assuming ok [12:53:11.119] checking alignment of PG_INT128_TYPE... 16 [12:53:11.446] checking for builtin __sync char locking functions... yes [12:53:11.487] checking for builtin __sync int32 locking functions... yes [12:53:11.529] checking for builtin __sync int32 atomic operations... yes [12:53:11.571] checking for builtin __sync int64 atomic operations... yes [12:53:11.612] checking for builtin __atomic int32 atomic operations... yes [12:53:11.654] checking for builtin __atomic int64 atomic operations... yes [12:53:11.696] checking for __get_cpuid... yes [12:53:11.743] checking for __get_cpuid_count... yes [12:53:11.786] checking for __cpuid... no [12:53:12.179] checking for __cpuidex... no [12:53:12.595] checking for _xgetbv with CFLAGS=... no [12:53:12.970] checking for _xgetbv with CFLAGS=-mxsave... yes [12:53:13.366] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:53:13.780] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:53:14.116] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:53:14.163] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:53:14.250] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:53:14.271] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:53:14.290] 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 [12:53:14.345] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:53:14.345] checking which random number source to use... Windows native [12:53:14.347] checking for xmllint... /usr/bin/xmllint [12:53:14.347] checking for xsltproc... /usr/bin/xsltproc [12:53:14.348] checking for fop... /usr/bin/fop [12:53:14.348] checking for dbtoepub... no [12:53:14.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:53:14.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:53:14.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:53:14.359] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:53:14.359] 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 [12:53:14.359] configure: using CPPFLAGS= -I./src/include/port/win32 [12:53:14.359] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:53:14.442] configure: creating ./config.status [12:53:14.526] config.status: creating GNUmakefile [12:53:14.538] config.status: creating src/Makefile.global [12:53:14.554] config.status: creating src/include/pg_config.h [12:53:14.566] config.status: creating src/include/pg_config_ext.h [12:53:14.578] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:53:14.593] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:53:14.600] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:53:14.608] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:53:14.615] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:53:14.623] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:53:14.627] config.status: executing check_win32_symlinks commands [12:53:14.660] [12:53:14.660] real 0m16.725s [12:53:14.660] user 0m11.087s [12:53:14.660] sys 0m5.210s [12:53:14.660] make -s -j${BUILD_JOBS} clean [12:53:15.167] time make -s -j${BUILD_JOBS} world-bin [12:53:49.833] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [12:53:49.833] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [12:53:49.833] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [12:53:49.833] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12:53:49.833] 3889 | group_rel, [12:53:49.833] | ~~~~~~~~~~ [12:53:49.833] 3890 | &varinfos, [12:53:49.833] | ~~~~~~~~~~ [12:53:49.833] 3891 | &mvndistinct); [12:53:49.833] | ~~~~~~~~~~~~~ [12:53:49.833] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [12:53:49.833] 3792 | RelOptInfo *group_rel; [12:53:49.833] | ^~~~~~~~~ [12:53:49.833] cc1: all warnings being treated as errors [12:53:49.834] make[4]: *** [: selfuncs.o] Error 1 [12:53:49.834] make[4]: *** Waiting for unfinished jobs.... [12:53:50.350] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [12:53:50.350] make[2]: *** [common.mk:37: utils-recursive] Error 2 [12:53:50.350] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:53:50.351] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:53:50.351] [12:53:50.351] real 0m35.184s [12:53:50.351] user 1m46.779s [12:53:50.351] sys 0m24.643s [12:53:50.351] [12:53:50.351] Exit status: 2