[13:01:33.395] time ./configure \ [13:01:33.395] --host=x86_64-w64-mingw32 \ [13:01:33.395] --enable-cassert \ [13:01:33.395] --without-icu \ [13:01:33.395] CC="ccache x86_64-w64-mingw32-gcc" \ [13:01:33.395] CXX="ccache x86_64-w64-mingw32-g++" [13:01:33.526] checking build system type... x86_64-pc-linux-gnu [13:01:33.750] checking host system type... x86_64-w64-mingw32 [13:01:33.757] checking which template to use... win32 [13:01:33.757] checking whether NLS is wanted... no [13:01:33.757] checking for default port number... 5432 [13:01:33.764] checking for block size... 8kB [13:01:33.765] checking for segment size... 1GB [13:01:33.768] checking for WAL block size... 8kB [13:01:33.769] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:01:33.806] checking whether the C compiler works... yes [13:01:33.955] checking for C compiler default output file name... a.exe [13:01:33.956] checking for suffix of executables... .exe [13:01:34.002] checking whether we are cross compiling... yes [13:01:34.087] checking for suffix of object files... o [13:01:34.096] checking whether we are using the GNU C compiler... yes [13:01:34.104] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:01:34.112] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:01:34.124] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:01:34.193] checking whether we are using the GNU C++ compiler... yes [13:01:34.200] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:01:34.276] checking for gawk... no [13:01:34.276] checking for mawk... mawk [13:01:34.279] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:01:34.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:01:34.294] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:01:34.345] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:01:34.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:01:34.539] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:01:34.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:01:34.554] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:01:34.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:01:34.568] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:01:34.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:01:34.582] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:01:34.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:01:34.596] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:01:34.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:01:34.610] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:01:34.617] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:01:34.657] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:01:34.664] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:01:34.672] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:01:34.680] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:01:34.687] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:01:34.695] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:01:34.721] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:01:34.728] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:01:34.735] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:01:34.778] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:01:34.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:01:34.827] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:01:34.845] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:01:34.884] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:01:34.891] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:01:34.898] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:01:34.907] checking whether the C compiler still works... yes [13:01:34.982] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:01:35.063] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:01:35.063] checking pkg-config is at least version 0.9.0... yes [13:01:35.079] checking whether to build with ICU support... no [13:01:35.080] checking whether to build with Tcl... no [13:01:35.080] checking whether to build Perl modules... no [13:01:35.080] checking whether to build Python modules... no [13:01:35.080] checking whether to build with GSSAPI support... no [13:01:35.081] checking whether to build with PAM support... no [13:01:35.082] checking whether to build with BSD Authentication support... no [13:01:35.082] checking whether to build with LDAP support... no [13:01:35.082] checking whether to build with Bonjour support... no [13:01:35.082] checking whether to build with SELinux support... no [13:01:35.082] checking whether to build with systemd support... no [13:01:35.082] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:01:35.082] checking whether to build with XML support... no [13:01:35.083] checking whether to build with LZ4 support... no [13:01:35.083] checking whether to build with ZSTD support... no [13:01:35.083] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:01:35.083] checking whether it is possible to strip libraries... yes [13:01:35.092] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:01:35.092] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:01:35.093] checking for a BSD-compatible install... /usr/bin/install -c [13:01:35.103] checking for tar... /usr/bin/tar [13:01:35.103] checking whether ln -s works... yes [13:01:35.103] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:01:35.105] checking for bison... /usr/bin/bison [13:01:35.108] configure: using bison (GNU Bison) 3.8.2 [13:01:35.111] checking for flex... /usr/bin/flex [13:01:35.124] configure: using flex 2.6.4 [13:01:35.125] checking for perl... /usr/bin/perl [13:01:35.128] configure: using perl 5.36.0 [13:01:35.130] checking for zic... /usr/sbin/zic [13:01:35.130] checking for a sed that does not truncate output... /usr/bin/sed [13:01:35.136] checking for grep that handles long lines and -e... /usr/bin/grep [13:01:35.138] checking for egrep... /usr/bin/grep -E [13:01:35.140] checking for ANSI C header files... yes [13:01:35.193] checking for sys/types.h... yes [13:01:35.213] checking for sys/stat.h... yes [13:01:35.254] checking for stdlib.h... yes [13:01:35.270] checking for string.h... yes [13:01:35.286] checking for memory.h... yes [13:01:35.304] checking for strings.h... yes [13:01:35.321] checking for inttypes.h... yes [13:01:35.362] checking for stdint.h... yes [13:01:35.378] checking for unistd.h... yes [13:01:35.395] checking for main in -lm... yes [13:01:35.446] checking for library containing setproctitle... no [13:01:35.544] checking for library containing dlsym... no [13:01:35.635] checking for library containing socket... -lws2_32 [13:01:35.772] checking for library containing getopt_long... none required [13:01:35.823] checking for library containing shm_open... no [13:01:35.920] checking for library containing shm_unlink... no [13:01:36.013] checking for library containing clock_gettime... no [13:01:36.104] checking for library containing shmget... no [13:01:36.197] checking for library containing backtrace_symbols... no [13:01:36.288] checking for library containing pthread_barrier_wait... -lpthread [13:01:36.389] checking for inflate in -lz... yes [13:01:36.438] checking for stdbool.h that conforms to C99... yes [13:01:36.451] checking for _Bool... yes [13:01:36.529] checking atomic.h usability... no [13:01:36.588] checking atomic.h presence... no [13:01:36.606] checking for atomic.h... no [13:01:36.610] checking copyfile.h usability... no [13:01:36.667] checking copyfile.h presence... no [13:01:36.686] checking for copyfile.h... no [13:01:36.689] checking execinfo.h usability... no [13:01:36.748] checking execinfo.h presence... no [13:01:36.769] checking for execinfo.h... no [13:01:36.772] checking getopt.h usability... yes [13:01:36.780] checking getopt.h presence... yes [13:01:36.795] checking for getopt.h... yes [13:01:36.802] checking ifaddrs.h usability... no [13:01:36.861] checking ifaddrs.h presence... no [13:01:36.881] checking for ifaddrs.h... no [13:01:36.884] checking mbarrier.h usability... no [13:01:36.942] checking mbarrier.h presence... no [13:01:36.962] checking for mbarrier.h... no [13:01:36.965] checking sys/epoll.h usability... no [13:01:37.023] checking sys/epoll.h presence... no [13:01:37.043] checking for sys/epoll.h... no [13:01:37.047] checking sys/event.h usability... no [13:01:37.108] checking sys/event.h presence... no [13:01:37.129] checking for sys/event.h... no [13:01:37.133] checking sys/personality.h usability... no [13:01:37.193] checking sys/personality.h presence... no [13:01:37.213] checking for sys/personality.h... no [13:01:37.217] checking sys/prctl.h usability... no [13:01:37.276] checking sys/prctl.h presence... no [13:01:37.297] checking for sys/prctl.h... no [13:01:37.301] checking sys/procctl.h usability... no [13:01:37.362] checking sys/procctl.h presence... no [13:01:37.381] checking for sys/procctl.h... no [13:01:37.385] checking sys/signalfd.h usability... no [13:01:37.444] checking sys/signalfd.h presence... no [13:01:37.464] checking for sys/signalfd.h... no [13:01:37.468] checking sys/ucred.h usability... no [13:01:37.528] checking sys/ucred.h presence... no [13:01:37.549] checking for sys/ucred.h... no [13:01:37.553] checking termios.h usability... no [13:01:37.614] checking termios.h presence... no [13:01:37.634] checking for termios.h... no [13:01:37.638] checking ucred.h usability... no [13:01:37.696] checking ucred.h presence... no [13:01:37.715] checking for ucred.h... no [13:01:37.719] checking zlib.h usability... yes [13:01:37.783] checking zlib.h presence... yes [13:01:37.803] checking for zlib.h... yes [13:01:37.803] checking for lz4... /usr/bin/lz4 [13:01:37.803] checking for zstd... /usr/bin/zstd [13:01:37.804] checking for openssl... /usr/bin/openssl [13:01:37.808] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [13:01:37.809] checking crtdefs.h usability... yes [13:01:37.817] checking crtdefs.h presence... yes [13:01:37.832] checking for crtdefs.h... yes [13:01:37.833] checking whether byte ordering is bigendian... no [13:01:37.912] checking for inline... inline [13:01:37.920] checking for printf format archetype... gnu_printf [13:01:37.929] checking for _Static_assert... yes [13:01:37.976] checking for typeof... typeof [13:01:37.984] checking for __builtin_types_compatible_p... yes [13:01:37.997] checking for __builtin_constant_p... yes [13:01:38.010] checking for __builtin_unreachable... yes [13:01:38.055] checking for computed goto support... yes [13:01:38.064] checking for struct tm.tm_zone... no [13:01:38.148] checking for union semun... no [13:01:38.182] checking for socklen_t... yes [13:01:39.423] checking for struct sockaddr.sa_len... no [13:01:41.551] checking for locale_t... no [13:01:41.624] checking for C/C++ restrict keyword... __restrict [13:01:41.638] checking for struct option... yes [13:01:41.682] checking whether assembler supports x86_64 popcntq... yes [13:01:41.690] checking size of off_t... 4 [13:01:41.938] 0 [13:01:41.938] checking size of bool... 1 [13:01:42.019] checking for int timezone... yes [13:01:42.072] checking for wcstombs_l declaration... no [13:01:42.163] checking for backtrace_symbols... no [13:01:42.216] checking for copyfile... no [13:01:42.271] checking for copy_file_range... no [13:01:42.324] checking for getifaddrs... no [13:01:42.377] checking for getpeerucred... no [13:01:42.430] checking for inet_pton... yes [13:01:42.485] checking for kqueue... no [13:01:42.539] checking for mbstowcs_l... no [13:01:42.594] checking for memset_s... no [13:01:42.646] checking for posix_fallocate... no [13:01:42.700] checking for ppoll... no [13:01:42.752] checking for pthread_is_threaded_np... no [13:01:42.807] checking for setproctitle... no [13:01:42.861] checking for setproctitle_fast... no [13:01:42.915] checking for strchrnul... no [13:01:42.968] checking for strsignal... no [13:01:43.023] checking for syncfs... no [13:01:43.081] checking for sync_file_range... no [13:01:43.137] checking for uselocale... no [13:01:43.194] checking for wcstombs_l... no [13:01:43.247] checking for __builtin_bswap16... yes [13:01:43.301] checking for __builtin_bswap32... yes [13:01:43.355] checking for __builtin_bswap64... yes [13:01:43.407] checking for __builtin_clz... yes [13:01:43.461] checking for __builtin_ctz... yes [13:01:43.515] checking for __builtin_popcount... yes [13:01:43.570] checking for __builtin_frame_address... yes [13:01:43.624] checking for _LARGEFILE_SOURCE value needed for large files... no [13:01:43.683] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:01:43.720] checking for posix_fadvise... no [13:01:43.777] checking whether posix_fadvise is declared... no [13:01:43.829] checking whether fdatasync is declared... no [13:01:43.882] checking whether strlcat is declared... no [13:01:43.952] checking whether strlcpy is declared... no [13:01:44.024] checking whether strnlen is declared... yes [13:01:44.065] checking whether strsep is declared... no [13:01:44.136] checking whether preadv is declared... no [13:01:44.179] checking whether pwritev is declared... no [13:01:44.221] checking whether F_FULLFSYNC is declared... no [13:01:44.267] checking for explicit_bzero... no [13:01:44.317] checking for getopt... yes [13:01:44.369] checking for getpeereid... no [13:01:44.422] checking for inet_aton... no [13:01:44.477] checking for mkdtemp... no [13:01:44.533] checking for strlcat... no [13:01:44.587] checking for strlcpy... no [13:01:44.640] checking for strnlen... yes [13:01:44.694] checking for strsep... no [13:01:44.747] checking for pthread_barrier_wait... yes [13:01:44.797] configure: On mingw32 we will use our strtof wrapper. [13:01:44.797] checking for getopt_long... yes [13:01:44.847] checking for _configthreadlocale... yes [13:01:44.896] checking for syslog... no [13:01:44.949] checking for opterr... yes [13:01:45.001] checking for optreset... no [13:01:45.059] checking test program... cross-compiling [13:01:45.059] checking whether long int is 64 bits... no [13:01:45.094] checking whether long long int is 64 bits... yes [13:01:45.104] checking for __builtin_mul_overflow... yes [13:01:45.151] checking size of void *... 8 [13:01:45.449] checking size of size_t... 8 [13:01:45.744] checking size of long... 4 [13:01:46.025] checking alignment of short... 2 [13:01:46.186] checking alignment of int... 4 [13:01:46.449] checking alignment of long... 4 [13:01:46.656] checking alignment of long long int... 8 [13:01:46.926] checking alignment of double... 8 [13:01:47.202] checking for int8... no [13:01:47.248] checking for uint8... no [13:01:47.297] checking for int64... no [13:01:47.341] checking for uint64... no [13:01:47.386] checking for __int128... yes [13:01:47.438] checking for __int128 alignment bug... assuming ok [13:01:47.438] checking alignment of PG_INT128_TYPE... 16 [13:01:47.786] checking for builtin __sync char locking functions... yes [13:01:47.832] checking for builtin __sync int32 locking functions... yes [13:01:47.878] checking for builtin __sync int32 atomic operations... yes [13:01:47.924] checking for builtin __sync int64 atomic operations... yes [13:01:47.969] checking for builtin __atomic int32 atomic operations... yes [13:01:48.017] checking for builtin __atomic int64 atomic operations... yes [13:01:48.064] checking for __get_cpuid... yes [13:01:48.114] checking for __get_cpuid_count... yes [13:01:48.163] checking for __cpuid... no [13:01:48.568] checking for __cpuidex... no [13:01:48.993] checking for _xgetbv with CFLAGS=... no [13:01:49.379] checking for _xgetbv with CFLAGS=-mxsave... yes [13:01:49.785] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:01:50.172] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:01:50.516] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:01:50.564] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:01:50.655] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:01:50.679] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:01:50.697] 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 [13:01:50.755] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:01:50.755] checking which random number source to use... Windows native [13:01:50.757] checking for xmllint... /usr/bin/xmllint [13:01:50.757] checking for xsltproc... /usr/bin/xsltproc [13:01:50.758] checking for fop... /usr/bin/fop [13:01:50.758] checking for dbtoepub... no [13:01:50.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:01:50.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:01:50.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:01:50.769] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:01:50.769] 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 [13:01:50.769] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:01:50.769] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:01:50.865] configure: creating ./config.status [13:01:50.959] config.status: creating GNUmakefile [13:01:50.973] config.status: creating src/Makefile.global [13:01:50.990] config.status: creating src/include/pg_config.h [13:01:51.004] config.status: creating src/include/pg_config_ext.h [13:01:51.017] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:01:51.033] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:01:51.041] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:01:51.049] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:01:51.057] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:01:51.065] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:01:51.069] config.status: executing check_win32_symlinks commands [13:01:51.106] [13:01:51.106] real 0m17.711s [13:01:51.106] user 0m12.043s [13:01:51.106] sys 0m5.288s [13:01:51.106] make -s -j${BUILD_JOBS} clean [13:01:51.635] time make -s -j${BUILD_JOBS} world-bin [13:02:13.818] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [13:02:13.818] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [13:02:13.818] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [13:02:13.818] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [13:02:13.818] 3889 | group_rel, [13:02:13.818] | ~~~~~~~~~~ [13:02:13.818] 3890 | &varinfos, [13:02:13.818] | ~~~~~~~~~~ [13:02:13.818] 3891 | &mvndistinct); [13:02:13.818] | ~~~~~~~~~~~~~ [13:02:13.818] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [13:02:13.818] 3792 | RelOptInfo *group_rel; [13:02:13.818] | ^~~~~~~~~ [13:02:13.818] cc1: all warnings being treated as errors [13:02:13.820] make[4]: *** [: selfuncs.o] Error 1 [13:02:13.820] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [13:02:13.820] make[2]: *** [common.mk:37: utils-recursive] Error 2 [13:02:13.821] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:02:13.821] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:02:13.821] [13:02:13.821] real 0m22.186s [13:02:13.821] user 1m0.597s [13:02:13.821] sys 0m15.921s [13:02:13.822] [13:02:13.822] Exit status: 2