[11:53:01.675] time ./configure \ [11:53:01.675] --host=x86_64-w64-mingw32 \ [11:53:01.675] --enable-cassert \ [11:53:01.675] --without-icu \ [11:53:01.675] CC="ccache x86_64-w64-mingw32-gcc" \ [11:53:01.675] CXX="ccache x86_64-w64-mingw32-g++" [11:53:01.799] checking build system type... x86_64-pc-linux-gnu [11:53:01.993] checking host system type... x86_64-w64-mingw32 [11:53:01.999] checking which template to use... win32 [11:53:02.000] checking whether NLS is wanted... no [11:53:02.000] checking for default port number... 5432 [11:53:02.007] checking for block size... 8kB [11:53:02.008] checking for segment size... 1GB [11:53:02.011] checking for WAL block size... 8kB [11:53:02.012] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:53:02.050] checking whether the C compiler works... yes [11:53:02.215] checking for C compiler default output file name... a.exe [11:53:02.216] checking for suffix of executables... .exe [11:53:02.259] checking whether we are cross compiling... yes [11:53:02.338] checking for suffix of object files... o [11:53:02.347] checking whether we are using the GNU C compiler... yes [11:53:02.355] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:53:02.362] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:53:02.373] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:53:02.438] checking whether we are using the GNU C++ compiler... yes [11:53:02.445] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:53:02.517] checking for gawk... no [11:53:02.517] checking for mawk... mawk [11:53:02.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:53:02.527] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:53:02.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:53:02.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:53:02.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:53:02.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:53:02.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:53:02.776] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:53:02.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:53:02.793] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:53:02.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:53:02.808] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:53:02.815] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:53:02.823] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:53:02.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:53:02.837] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:53:02.845] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:53:02.883] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:53:02.891] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:53:02.898] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:53:02.906] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:53:02.914] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:53:02.922] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:53:02.948] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:53:02.956] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:53:02.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:53:03.004] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:53:03.044] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:53:03.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:53:03.060] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:53:03.097] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:53:03.106] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:53:03.114] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:53:03.123] checking whether the C compiler still works... yes [11:53:03.193] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:53:03.272] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:53:03.272] checking pkg-config is at least version 0.9.0... yes [11:53:03.289] checking whether to build with ICU support... no [11:53:03.290] checking whether to build with Tcl... no [11:53:03.290] checking whether to build Perl modules... no [11:53:03.290] checking whether to build Python modules... no [11:53:03.290] checking whether to build with GSSAPI support... no [11:53:03.291] checking whether to build with PAM support... no [11:53:03.292] checking whether to build with BSD Authentication support... no [11:53:03.292] checking whether to build with LDAP support... no [11:53:03.292] checking whether to build with Bonjour support... no [11:53:03.292] checking whether to build with SELinux support... no [11:53:03.292] checking whether to build with systemd support... no [11:53:03.292] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:53:03.292] checking whether to build with XML support... no [11:53:03.293] checking whether to build with LZ4 support... no [11:53:03.293] checking whether to build with ZSTD support... no [11:53:03.293] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:53:03.293] checking whether it is possible to strip libraries... yes [11:53:03.301] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:53:03.301] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:53:03.301] checking for a BSD-compatible install... /usr/bin/install -c [11:53:03.311] checking for tar... /usr/bin/tar [11:53:03.311] checking whether ln -s works... yes [11:53:03.311] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:53:03.314] checking for bison... /usr/bin/bison [11:53:03.316] configure: using bison (GNU Bison) 3.8.2 [11:53:03.319] checking for flex... /usr/bin/flex [11:53:03.333] configure: using flex 2.6.4 [11:53:03.333] checking for perl... /usr/bin/perl [11:53:03.337] configure: using perl 5.36.0 [11:53:03.339] checking for zic... /usr/sbin/zic [11:53:03.339] checking for a sed that does not truncate output... /usr/bin/sed [11:53:03.345] checking for grep that handles long lines and -e... /usr/bin/grep [11:53:03.347] checking for egrep... /usr/bin/grep -E [11:53:03.349] checking for ANSI C header files... yes [11:53:03.397] checking for sys/types.h... yes [11:53:03.416] checking for sys/stat.h... yes [11:53:03.434] checking for stdlib.h... yes [11:53:03.450] checking for string.h... yes [11:53:03.466] checking for memory.h... yes [11:53:03.483] checking for strings.h... yes [11:53:03.500] checking for inttypes.h... yes [11:53:03.520] checking for stdint.h... yes [11:53:03.536] checking for unistd.h... yes [11:53:03.554] checking for main in -lm... yes [11:53:03.605] checking for library containing setproctitle... no [11:53:03.697] checking for library containing dlsym... no [11:53:03.790] checking for library containing socket... -lws2_32 [11:53:03.927] checking for library containing getopt_long... none required [11:53:03.977] checking for library containing shm_open... no [11:53:04.071] checking for library containing shm_unlink... no [11:53:04.166] checking for library containing clock_gettime... no [11:53:04.261] checking for library containing shmget... no [11:53:04.356] checking for library containing backtrace_symbols... no [11:53:04.448] checking for library containing pthread_barrier_wait... -lpthread [11:53:04.541] checking for inflate in -lz... yes [11:53:04.590] checking for stdbool.h that conforms to C99... yes [11:53:04.602] checking for _Bool... yes [11:53:04.681] checking atomic.h usability... no [11:53:04.739] checking atomic.h presence... no [11:53:04.760] checking for atomic.h... no [11:53:04.764] checking copyfile.h usability... no [11:53:04.822] checking copyfile.h presence... no [11:53:04.843] checking for copyfile.h... no [11:53:04.847] checking execinfo.h usability... no [11:53:04.905] checking execinfo.h presence... no [11:53:04.926] checking for execinfo.h... no [11:53:04.930] checking getopt.h usability... yes [11:53:04.938] checking getopt.h presence... yes [11:53:04.955] checking for getopt.h... yes [11:53:04.964] checking ifaddrs.h usability... no [11:53:05.022] checking ifaddrs.h presence... no [11:53:05.042] checking for ifaddrs.h... no [11:53:05.046] checking mbarrier.h usability... no [11:53:05.104] checking mbarrier.h presence... no [11:53:05.125] checking for mbarrier.h... no [11:53:05.129] checking sys/epoll.h usability... no [11:53:05.186] checking sys/epoll.h presence... no [11:53:05.207] checking for sys/epoll.h... no [11:53:05.211] checking sys/event.h usability... no [11:53:05.270] checking sys/event.h presence... no [11:53:05.290] checking for sys/event.h... no [11:53:05.294] checking sys/personality.h usability... no [11:53:05.351] checking sys/personality.h presence... no [11:53:05.370] checking for sys/personality.h... no [11:53:05.373] checking sys/prctl.h usability... no [11:53:05.431] checking sys/prctl.h presence... no [11:53:05.451] checking for sys/prctl.h... no [11:53:05.455] checking sys/procctl.h usability... no [11:53:05.512] checking sys/procctl.h presence... no [11:53:05.535] checking for sys/procctl.h... no [11:53:05.538] checking sys/signalfd.h usability... no [11:53:05.596] checking sys/signalfd.h presence... no [11:53:05.615] checking for sys/signalfd.h... no [11:53:05.618] checking sys/ucred.h usability... no [11:53:05.675] checking sys/ucred.h presence... no [11:53:05.696] checking for sys/ucred.h... no [11:53:05.700] checking termios.h usability... no [11:53:05.758] checking termios.h presence... no [11:53:05.779] checking for termios.h... no [11:53:05.782] checking ucred.h usability... no [11:53:05.839] checking ucred.h presence... no [11:53:05.860] checking for ucred.h... no [11:53:05.863] checking zlib.h usability... yes [11:53:05.881] checking zlib.h presence... yes [11:53:05.902] checking for zlib.h... yes [11:53:05.902] checking for lz4... /usr/bin/lz4 [11:53:05.903] checking for zstd... /usr/bin/zstd [11:53:05.903] checking for openssl... /usr/bin/openssl [11:53:05.907] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [11:53:05.908] checking crtdefs.h usability... yes [11:53:05.916] checking crtdefs.h presence... yes [11:53:05.932] checking for crtdefs.h... yes [11:53:05.933] checking whether byte ordering is bigendian... no [11:53:06.009] checking for inline... inline [11:53:06.017] checking for printf format archetype... gnu_printf [11:53:06.025] checking for _Static_assert... yes [11:53:06.068] checking for typeof... typeof [11:53:06.076] checking for __builtin_types_compatible_p... yes [11:53:06.088] checking for __builtin_constant_p... yes [11:53:06.099] checking for __builtin_unreachable... yes [11:53:06.141] checking for computed goto support... yes [11:53:06.149] checking for struct tm.tm_zone... no [11:53:06.230] checking for union semun... no [11:53:06.267] checking for socklen_t... yes [11:53:07.546] checking for struct sockaddr.sa_len... no [11:53:09.713] checking for locale_t... no [11:53:09.788] checking for C/C++ restrict keyword... __restrict [11:53:09.803] checking for struct option... yes [11:53:09.851] checking whether assembler supports x86_64 popcntq... yes [11:53:09.860] checking size of off_t... 4 [11:53:10.082] 0 [11:53:10.082] checking size of bool... 1 [11:53:10.132] checking for int timezone... yes [11:53:10.184] checking for wcstombs_l declaration... no [11:53:10.279] checking for backtrace_symbols... no [11:53:10.333] checking for copyfile... no [11:53:10.386] checking for copy_file_range... no [11:53:10.441] checking for getifaddrs... no [11:53:10.494] checking for getpeerucred... no [11:53:10.548] checking for inet_pton... yes [11:53:10.602] checking for kqueue... no [11:53:10.656] checking for mbstowcs_l... no [11:53:10.712] checking for memset_s... no [11:53:10.767] checking for posix_fallocate... no [11:53:10.821] checking for ppoll... no [11:53:10.875] checking for pthread_is_threaded_np... no [11:53:10.930] checking for setproctitle... no [11:53:10.984] checking for setproctitle_fast... no [11:53:11.040] checking for strchrnul... no [11:53:11.094] checking for strsignal... no [11:53:11.149] checking for syncfs... no [11:53:11.203] checking for sync_file_range... no [11:53:11.257] checking for uselocale... no [11:53:11.312] checking for wcstombs_l... no [11:53:11.362] checking for __builtin_bswap16... yes [11:53:11.416] checking for __builtin_bswap32... yes [11:53:11.468] checking for __builtin_bswap64... yes [11:53:11.519] checking for __builtin_clz... yes [11:53:11.576] checking for __builtin_ctz... yes [11:53:11.628] checking for __builtin_popcount... yes [11:53:11.679] checking for __builtin_frame_address... yes [11:53:11.730] checking for _LARGEFILE_SOURCE value needed for large files... no [11:53:11.787] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:53:11.821] checking for posix_fadvise... no [11:53:11.878] checking whether posix_fadvise is declared... no [11:53:11.929] checking whether fdatasync is declared... no [11:53:11.979] checking whether strlcat is declared... no [11:53:12.047] checking whether strlcpy is declared... no [11:53:12.115] checking whether strnlen is declared... yes [11:53:12.130] checking whether strsep is declared... no [11:53:12.198] checking whether preadv is declared... no [11:53:12.239] checking whether pwritev is declared... no [11:53:12.280] checking whether F_FULLFSYNC is declared... no [11:53:12.324] checking for explicit_bzero... no [11:53:12.374] checking for getopt... yes [11:53:12.421] checking for getpeereid... no [11:53:12.470] checking for inet_aton... no [11:53:12.519] checking for mkdtemp... no [11:53:12.569] checking for strlcat... no [11:53:12.618] checking for strlcpy... no [11:53:12.668] checking for strnlen... yes [11:53:12.717] checking for strsep... no [11:53:12.767] checking for pthread_barrier_wait... yes [11:53:12.812] configure: On mingw32 we will use our strtof wrapper. [11:53:12.812] checking for getopt_long... yes [11:53:12.857] checking for _configthreadlocale... yes [11:53:12.903] checking for syslog... no [11:53:12.954] checking for opterr... yes [11:53:13.003] checking for optreset... no [11:53:13.057] checking test program... cross-compiling [11:53:13.057] checking whether long int is 64 bits... no [11:53:13.091] checking whether long long int is 64 bits... yes [11:53:13.102] checking for __builtin_mul_overflow... yes [11:53:13.147] checking size of void *... 8 [11:53:13.431] checking size of size_t... 8 [11:53:13.715] checking size of long... 4 [11:53:13.933] checking alignment of short... 2 [11:53:14.078] checking alignment of int... 4 [11:53:14.292] checking alignment of long... 4 [11:53:14.506] checking alignment of long long int... 8 [11:53:14.792] checking alignment of double... 8 [11:53:15.085] checking for int8... no [11:53:15.131] checking for uint8... no [11:53:15.178] checking for int64... no [11:53:15.225] checking for uint64... no [11:53:15.271] checking for __int128... yes [11:53:15.324] checking for __int128 alignment bug... assuming ok [11:53:15.325] checking alignment of PG_INT128_TYPE... 16 [11:53:15.676] checking for builtin __sync char locking functions... yes [11:53:15.721] checking for builtin __sync int32 locking functions... yes [11:53:15.767] checking for builtin __sync int32 atomic operations... yes [11:53:15.812] checking for builtin __sync int64 atomic operations... yes [11:53:15.857] checking for builtin __atomic int32 atomic operations... yes [11:53:15.903] checking for builtin __atomic int64 atomic operations... yes [11:53:15.948] checking for __get_cpuid... yes [11:53:15.999] checking for __get_cpuid_count... yes [11:53:16.046] checking for __cpuid... no [11:53:16.451] checking for __cpuidex... no [11:53:16.888] checking for _xgetbv with CFLAGS=... no [11:53:17.268] checking for _xgetbv with CFLAGS=-mxsave... yes [11:53:17.681] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:53:18.070] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:53:18.419] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:53:18.467] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:53:18.561] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:53:18.586] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:53:18.608] 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 [11:53:18.666] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:53:18.667] checking which random number source to use... Windows native [11:53:18.668] checking for xmllint... /usr/bin/xmllint [11:53:18.669] checking for xsltproc... /usr/bin/xsltproc [11:53:18.669] checking for fop... /usr/bin/fop [11:53:18.669] checking for dbtoepub... no [11:53:18.669] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:53:18.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:53:18.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:53:18.681] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:53:18.681] 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 [11:53:18.681] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:53:18.681] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:53:18.780] configure: creating ./config.status [11:53:18.874] config.status: creating GNUmakefile [11:53:18.888] config.status: creating src/Makefile.global [11:53:18.905] config.status: creating src/include/pg_config.h [11:53:18.919] config.status: creating src/include/pg_config_ext.h [11:53:18.933] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:53:18.951] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:53:18.959] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:53:18.967] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:53:18.976] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:53:18.984] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:53:18.988] config.status: executing check_win32_symlinks commands [11:53:19.024] [11:53:19.024] real 0m17.349s [11:53:19.024] user 0m11.296s [11:53:19.024] sys 0m5.677s [11:53:19.024] make -s -j${BUILD_JOBS} clean [11:53:19.560] time make -s -j${BUILD_JOBS} world-bin [11:53:29.965] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [11:53:29.965] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [11:53:29.965] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [11:53:29.965] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11:53:29.965] 3889 | group_rel, [11:53:29.965] | ~~~~~~~~~~ [11:53:29.965] 3890 | &varinfos, [11:53:29.965] | ~~~~~~~~~~ [11:53:29.965] 3891 | &mvndistinct); [11:53:29.965] | ~~~~~~~~~~~~~ [11:53:29.965] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [11:53:29.965] 3792 | RelOptInfo *group_rel; [11:53:29.965] | ^~~~~~~~~ [11:53:29.965] cc1: all warnings being treated as errors [11:53:29.967] make[4]: *** [: selfuncs.o] Error 1 [11:53:29.967] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [11:53:29.968] make[2]: *** [common.mk:37: utils-recursive] Error 2 [11:53:29.968] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:53:29.968] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:53:29.969] [11:53:29.969] real 0m10.408s [11:53:29.969] user 0m25.617s [11:53:29.969] sys 0m8.958s [11:53:29.969] [11:53:29.969] Exit status: 2