[18:15:15.278] time ./configure \ [18:15:15.278] --host=x86_64-w64-mingw32 \ [18:15:15.278] --enable-cassert \ [18:15:15.278] --without-icu \ [18:15:15.278] CC="ccache x86_64-w64-mingw32-gcc" \ [18:15:15.278] CXX="ccache x86_64-w64-mingw32-g++" [18:15:15.384] checking build system type... x86_64-pc-linux-gnu [18:15:15.596] checking host system type... x86_64-w64-mingw32 [18:15:15.601] checking which template to use... win32 [18:15:15.601] checking whether NLS is wanted... no [18:15:15.601] checking for default port number... 5432 [18:15:15.608] checking for block size... 8kB [18:15:15.609] checking for segment size... 1GB [18:15:15.611] checking for WAL block size... 8kB [18:15:15.612] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:15:15.644] checking whether the C compiler works... yes [18:15:15.794] checking for C compiler default output file name... a.exe [18:15:15.795] checking for suffix of executables... .exe [18:15:15.837] checking whether we are cross compiling... yes [18:15:15.913] checking for suffix of object files... o [18:15:15.920] checking whether we are using the GNU C compiler... yes [18:15:15.927] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:15:15.933] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:15:15.959] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:15:16.019] checking whether we are using the GNU C++ compiler... yes [18:15:16.026] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:15:16.093] checking for gawk... no [18:15:16.093] checking for mawk... mawk [18:15:16.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:15:16.103] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:15:16.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:15:16.157] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:15:16.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:15:16.341] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:15:16.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:15:16.354] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:15:16.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:15:16.391] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:15:16.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:15:16.404] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:15:16.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:15:16.416] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:15:16.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:15:16.429] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:15:16.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:15:16.498] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:15:16.505] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:15:16.512] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:15:16.519] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:15:16.526] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:15:16.533] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:15:16.556] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:15:16.563] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:15:16.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:15:16.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:15:16.646] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:15:16.653] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:15:16.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:15:16.693] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:15:16.700] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:15:16.706] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:15:16.774] checking whether the C compiler still works... yes [18:15:16.842] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:15:16.914] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:15:16.914] checking pkg-config is at least version 0.9.0... yes [18:15:16.930] checking whether to build with ICU support... no [18:15:16.931] checking whether to build with Tcl... no [18:15:16.931] checking whether to build Perl modules... no [18:15:16.931] checking whether to build Python modules... no [18:15:16.931] checking whether to build with GSSAPI support... no [18:15:16.932] checking whether to build with PAM support... no [18:15:16.932] checking whether to build with BSD Authentication support... no [18:15:16.932] checking whether to build with LDAP support... no [18:15:16.932] checking whether to build with Bonjour support... no [18:15:16.932] checking whether to build with SELinux support... no [18:15:16.932] checking whether to build with systemd support... no [18:15:16.932] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:15:16.933] checking whether to build with XML support... no [18:15:16.933] checking whether to build with LZ4 support... no [18:15:16.933] checking whether to build with ZSTD support... no [18:15:16.933] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:15:16.934] checking whether it is possible to strip libraries... yes [18:15:16.941] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:15:16.941] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:15:16.942] checking for a BSD-compatible install... /usr/bin/install -c [18:15:16.950] checking for tar... /usr/bin/tar [18:15:16.950] checking whether ln -s works... yes [18:15:16.950] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:15:16.952] checking for bison... /usr/bin/bison [18:15:16.954] configure: using bison (GNU Bison) 3.8.2 [18:15:16.957] checking for flex... /usr/bin/flex [18:15:16.968] configure: using flex 2.6.4 [18:15:16.968] checking for perl... /usr/bin/perl [18:15:16.971] configure: using perl 5.36.0 [18:15:16.973] checking for zic... /usr/sbin/zic [18:15:16.973] checking for a sed that does not truncate output... /usr/bin/sed [18:15:16.978] checking for grep that handles long lines and -e... /usr/bin/grep [18:15:16.979] checking for egrep... /usr/bin/grep -E [18:15:16.981] checking for ANSI C header files... yes [18:15:17.066] checking for sys/types.h... yes [18:15:17.083] checking for sys/stat.h... yes [18:15:17.098] checking for stdlib.h... yes [18:15:17.111] checking for string.h... yes [18:15:17.125] checking for memory.h... yes [18:15:17.139] checking for strings.h... yes [18:15:17.155] checking for inttypes.h... yes [18:15:17.178] checking for stdint.h... yes [18:15:17.192] checking for unistd.h... yes [18:15:17.209] checking for main in -lm... yes [18:15:17.256] checking for library containing setproctitle... no [18:15:17.342] checking for library containing dlsym... no [18:15:17.427] checking for library containing socket... -lws2_32 [18:15:17.554] checking for library containing getopt_long... none required [18:15:17.600] checking for library containing shm_open... no [18:15:17.685] checking for library containing shm_unlink... no [18:15:17.770] checking for library containing clock_gettime... no [18:15:17.853] checking for library containing shmget... no [18:15:17.935] checking for library containing backtrace_symbols... no [18:15:18.018] checking for library containing pthread_barrier_wait... -lpthread [18:15:18.102] checking for inflate in -lz... yes [18:15:18.150] checking for stdbool.h that conforms to C99... yes [18:15:18.169] checking for _Bool... yes [18:15:18.237] checking atomic.h usability... no [18:15:18.292] checking atomic.h presence... no [18:15:18.310] checking for atomic.h... no [18:15:18.313] checking copyfile.h usability... no [18:15:18.367] checking copyfile.h presence... no [18:15:18.385] checking for copyfile.h... no [18:15:18.388] checking execinfo.h usability... no [18:15:18.443] checking execinfo.h presence... no [18:15:18.462] checking for execinfo.h... no [18:15:18.465] checking getopt.h usability... yes [18:15:18.472] checking getopt.h presence... yes [18:15:18.487] checking for getopt.h... yes [18:15:18.494] checking ifaddrs.h usability... no [18:15:18.549] checking ifaddrs.h presence... no [18:15:18.567] checking for ifaddrs.h... no [18:15:18.570] checking mbarrier.h usability... no [18:15:18.625] checking mbarrier.h presence... no [18:15:18.644] checking for mbarrier.h... no [18:15:18.647] checking sys/epoll.h usability... no [18:15:18.702] checking sys/epoll.h presence... no [18:15:18.720] checking for sys/epoll.h... no [18:15:18.724] checking sys/event.h usability... no [18:15:18.779] checking sys/event.h presence... no [18:15:18.796] checking for sys/event.h... no [18:15:18.800] checking sys/personality.h usability... no [18:15:18.857] checking sys/personality.h presence... no [18:15:18.876] checking for sys/personality.h... no [18:15:18.879] checking sys/prctl.h usability... no [18:15:18.934] checking sys/prctl.h presence... no [18:15:18.953] checking for sys/prctl.h... no [18:15:18.956] checking sys/procctl.h usability... no [18:15:19.010] checking sys/procctl.h presence... no [18:15:19.028] checking for sys/procctl.h... no [18:15:19.031] checking sys/signalfd.h usability... no [18:15:19.086] checking sys/signalfd.h presence... no [18:15:19.103] checking for sys/signalfd.h... no [18:15:19.106] checking sys/ucred.h usability... no [18:15:19.160] checking sys/ucred.h presence... no [18:15:19.178] checking for sys/ucred.h... no [18:15:19.181] checking termios.h usability... no [18:15:19.234] checking termios.h presence... no [18:15:19.252] checking for termios.h... no [18:15:19.255] checking ucred.h usability... no [18:15:19.308] checking ucred.h presence... no [18:15:19.327] checking for ucred.h... no [18:15:19.330] checking zlib.h usability... yes [18:15:19.341] checking zlib.h presence... yes [18:15:19.359] checking for zlib.h... yes [18:15:19.359] checking for lz4... /usr/bin/lz4 [18:15:19.360] checking for zstd... /usr/bin/zstd [18:15:19.360] checking for openssl... /usr/bin/openssl [18:15:19.364] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:15:19.364] checking crtdefs.h usability... yes [18:15:19.371] checking crtdefs.h presence... yes [18:15:19.386] checking for crtdefs.h... yes [18:15:19.387] checking whether byte ordering is bigendian... no [18:15:19.457] checking for inline... inline [18:15:19.465] checking for printf format archetype... gnu_printf [18:15:19.473] checking for _Static_assert... yes [18:15:19.515] checking for typeof... typeof [18:15:19.522] checking for __builtin_types_compatible_p... yes [18:15:19.533] checking for __builtin_constant_p... yes [18:15:19.543] checking for __builtin_unreachable... yes [18:15:19.585] checking for computed goto support... yes [18:15:19.592] checking for struct tm.tm_zone... no [18:15:19.671] checking for union semun... no [18:15:19.703] checking for socklen_t... yes [18:15:20.941] checking for struct sockaddr.sa_len... no [18:15:23.081] checking for locale_t... no [18:15:23.149] checking for C/C++ restrict keyword... __restrict [18:15:23.162] checking for struct option... yes [18:15:23.205] checking whether assembler supports x86_64 popcntq... yes [18:15:23.212] checking size of off_t... 4 [18:15:23.412] 0 [18:15:23.413] checking size of bool... 1 [18:15:23.456] checking for int timezone... yes [18:15:23.512] checking for wcstombs_l declaration... no [18:15:23.597] checking for backtrace_symbols... no [18:15:23.646] checking for copyfile... no [18:15:23.696] checking for copy_file_range... no [18:15:23.746] checking for getifaddrs... no [18:15:23.795] checking for getpeerucred... no [18:15:23.845] checking for inet_pton... yes [18:15:23.898] checking for kqueue... no [18:15:23.946] checking for mbstowcs_l... no [18:15:23.995] checking for memset_s... no [18:15:24.044] checking for posix_fallocate... no [18:15:24.094] checking for ppoll... no [18:15:24.144] checking for pthread_is_threaded_np... no [18:15:24.195] checking for setproctitle... no [18:15:24.245] checking for setproctitle_fast... no [18:15:24.294] checking for strchrnul... no [18:15:24.344] checking for strsignal... no [18:15:24.394] checking for syncfs... no [18:15:24.444] checking for sync_file_range... no [18:15:24.496] checking for uselocale... no [18:15:24.549] checking for wcstombs_l... no [18:15:24.598] checking for __builtin_bswap16... yes [18:15:24.649] checking for __builtin_bswap32... yes [18:15:24.697] checking for __builtin_bswap64... yes [18:15:24.747] checking for __builtin_clz... yes [18:15:24.798] checking for __builtin_ctz... yes [18:15:24.849] checking for __builtin_popcount... yes [18:15:24.899] checking for __builtin_frame_address... yes [18:15:24.948] checking for _LARGEFILE_SOURCE value needed for large files... no [18:15:25.002] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:15:25.034] checking for posix_fadvise... no [18:15:25.088] checking whether posix_fadvise is declared... no [18:15:25.135] checking whether fdatasync is declared... no [18:15:25.185] checking whether strlcat is declared... no [18:15:25.255] checking whether strlcpy is declared... no [18:15:25.324] checking whether strnlen is declared... yes [18:15:25.339] checking whether strsep is declared... no [18:15:25.408] checking whether preadv is declared... no [18:15:25.446] checking whether pwritev is declared... no [18:15:25.483] checking whether F_FULLFSYNC is declared... no [18:15:25.524] checking for explicit_bzero... no [18:15:25.573] checking for getopt... yes [18:15:25.619] checking for getpeereid... no [18:15:25.668] checking for inet_aton... no [18:15:25.716] checking for mkdtemp... no [18:15:25.766] checking for strlcat... no [18:15:25.814] checking for strlcpy... no [18:15:25.864] checking for strnlen... yes [18:15:25.913] checking for strsep... no [18:15:25.963] checking for pthread_barrier_wait... yes [18:15:26.007] configure: On mingw32 we will use our strtof wrapper. [18:15:26.007] checking for getopt_long... yes [18:15:26.054] checking for _configthreadlocale... yes [18:15:26.101] checking for syslog... no [18:15:26.148] checking for opterr... yes [18:15:26.198] checking for optreset... no [18:15:26.250] checking test program... cross-compiling [18:15:26.250] checking whether long int is 64 bits... no [18:15:26.285] checking whether long long int is 64 bits... yes [18:15:26.295] checking for __builtin_mul_overflow... yes [18:15:26.341] checking size of void *... 8 [18:15:26.672] checking size of size_t... 8 [18:15:26.954] checking size of long... 4 [18:15:27.168] checking alignment of short... 2 [18:15:27.336] checking alignment of int... 4 [18:15:27.542] checking alignment of long... 4 [18:15:27.749] checking alignment of long long int... 8 [18:15:28.021] checking alignment of double... 8 [18:15:28.293] checking for int8... no [18:15:28.335] checking for uint8... no [18:15:28.378] checking for int64... no [18:15:28.420] checking for uint64... no [18:15:28.463] checking for __int128... yes [18:15:28.516] checking for __int128 alignment bug... assuming ok [18:15:28.517] checking alignment of PG_INT128_TYPE... 16 [18:15:28.921] checking for builtin __sync char locking functions... yes [18:15:28.965] checking for builtin __sync int32 locking functions... yes [18:15:29.010] checking for builtin __sync int32 atomic operations... yes [18:15:29.053] checking for builtin __sync int64 atomic operations... yes [18:15:29.095] checking for builtin __atomic int32 atomic operations... yes [18:15:29.138] checking for builtin __atomic int64 atomic operations... yes [18:15:29.182] checking for __get_cpuid... yes [18:15:29.231] checking for __get_cpuid_count... yes [18:15:29.277] checking for __cpuid... no [18:15:29.675] checking for __cpuidex... no [18:15:30.097] checking for _xgetbv with CFLAGS=... no [18:15:30.493] checking for _xgetbv with CFLAGS=-mxsave... yes [18:15:30.898] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:15:31.279] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:15:31.620] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:15:31.669] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:15:31.762] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:15:31.785] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:15:31.804] 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 [18:15:31.858] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:15:31.858] checking which random number source to use... Windows native [18:15:31.860] checking for xmllint... /usr/bin/xmllint [18:15:31.860] checking for xsltproc... /usr/bin/xsltproc [18:15:31.860] checking for fop... /usr/bin/fop [18:15:31.860] checking for dbtoepub... no [18:15:31.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:15:31.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:15:31.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:15:31.872] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:15:31.872] 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 [18:15:31.872] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:15:31.872] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:15:31.951] configure: creating ./config.status [18:15:32.032] config.status: creating GNUmakefile [18:15:32.044] config.status: creating src/Makefile.global [18:15:32.060] config.status: creating src/include/pg_config.h [18:15:32.073] config.status: creating src/include/pg_config_ext.h [18:15:32.085] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:15:32.101] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:15:32.109] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:15:32.117] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:15:32.124] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:15:32.132] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:15:32.135] config.status: executing check_win32_symlinks commands [18:15:32.169] [18:15:32.169] real 0m16.891s [18:15:32.169] user 0m11.050s [18:15:32.169] sys 0m5.394s [18:15:32.169] make -s -j${BUILD_JOBS} clean [18:15:32.698] time make -s -j${BUILD_JOBS} world-bin [18:15:53.675] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [18:15:53.675] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [18:15:53.675] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [18:15:53.675] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18:15:53.675] 3889 | group_rel, [18:15:53.675] | ~~~~~~~~~~ [18:15:53.675] 3890 | &varinfos, [18:15:53.675] | ~~~~~~~~~~ [18:15:53.675] 3891 | &mvndistinct); [18:15:53.675] | ~~~~~~~~~~~~~ [18:15:53.675] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [18:15:53.675] 3792 | RelOptInfo *group_rel; [18:15:53.675] | ^~~~~~~~~ [18:15:53.675] cc1: all warnings being treated as errors [18:15:53.677] make[4]: *** [: selfuncs.o] Error 1 [18:15:53.677] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [18:15:53.677] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:15:53.677] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:15:53.678] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:15:53.678] [18:15:53.678] real 0m20.980s [18:15:53.678] user 0m58.825s [18:15:53.678] sys 0m14.998s [18:15:53.678] [18:15:53.678] Exit status: 2