[05:04:02.640] time ./configure \ [05:04:02.640] --host=x86_64-w64-mingw32 \ [05:04:02.640] --enable-cassert \ [05:04:02.640] --without-icu \ [05:04:02.640] CC="ccache x86_64-w64-mingw32-gcc" \ [05:04:02.640] CXX="ccache x86_64-w64-mingw32-g++" [05:04:02.755] checking build system type... x86_64-pc-linux-gnu [05:04:02.957] checking host system type... x86_64-w64-mingw32 [05:04:02.963] checking which template to use... win32 [05:04:02.963] checking whether NLS is wanted... no [05:04:02.963] checking for default port number... 5432 [05:04:02.971] checking for block size... 8kB [05:04:02.972] checking for segment size... 1GB [05:04:02.975] checking for WAL block size... 8kB [05:04:02.976] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:04:03.010] checking whether the C compiler works... yes [05:04:03.163] checking for C compiler default output file name... a.exe [05:04:03.164] checking for suffix of executables... .exe [05:04:03.206] checking whether we are cross compiling... yes [05:04:03.286] checking for suffix of object files... o [05:04:03.304] checking whether we are using the GNU C compiler... yes [05:04:03.319] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:04:03.336] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:04:03.348] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:04:03.508] checking whether we are using the GNU C++ compiler... yes [05:04:03.666] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:04:03.790] checking for gawk... no [05:04:03.791] checking for mawk... mawk [05:04:03.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:04:03.808] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:04:03.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:04:03.882] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:04:03.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:04:03.931] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:04:03.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:04:03.961] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:04:03.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:04:03.984] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:04:04.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:04:04.036] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:04:04.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:04:04.069] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:04:04.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:04:04.110] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:04:04.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:04:04.153] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:04:04.170] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:04:04.204] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:04:04.212] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:04:04.219] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:04:04.254] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:04:04.280] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:04:04.288] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:04:04.295] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:04:04.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:04:04.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:04:04.380] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:04:04.387] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:04:04.423] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:04:04.431] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:04:04.448] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:04:04.457] checking whether the C compiler still works... yes [05:04:04.536] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:04:04.608] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:04:04.608] checking pkg-config is at least version 0.9.0... yes [05:04:04.626] checking whether to build with ICU support... no [05:04:04.627] checking whether to build with Tcl... no [05:04:04.627] checking whether to build Perl modules... no [05:04:04.627] checking whether to build Python modules... no [05:04:04.627] checking whether to build with GSSAPI support... no [05:04:04.628] checking whether to build with PAM support... no [05:04:04.628] checking whether to build with BSD Authentication support... no [05:04:04.628] checking whether to build with LDAP support... no [05:04:04.628] checking whether to build with Bonjour support... no [05:04:04.628] checking whether to build with SELinux support... no [05:04:04.628] checking whether to build with systemd support... no [05:04:04.629] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:04:04.629] checking whether to build with XML support... no [05:04:04.629] checking whether to build with LZ4 support... no [05:04:04.629] checking whether to build with ZSTD support... no [05:04:04.629] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:04:04.630] checking whether it is possible to strip libraries... yes [05:04:04.637] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:04:04.637] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:04:04.637] checking for a BSD-compatible install... /usr/bin/install -c [05:04:04.646] checking for tar... /usr/bin/tar [05:04:04.646] checking whether ln -s works... yes [05:04:04.646] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:04:04.649] checking for bison... /usr/bin/bison [05:04:04.651] configure: using bison (GNU Bison) 3.8.2 [05:04:04.654] checking for flex... /usr/bin/flex [05:04:04.668] configure: using flex 2.6.4 [05:04:04.668] checking for perl... /usr/bin/perl [05:04:04.671] configure: using perl 5.36.0 [05:04:04.673] checking for zic... /usr/sbin/zic [05:04:04.673] checking for a sed that does not truncate output... /usr/bin/sed [05:04:04.678] checking for grep that handles long lines and -e... /usr/bin/grep [05:04:04.680] checking for egrep... /usr/bin/grep -E [05:04:04.682] checking for ANSI C header files... yes [05:04:04.752] checking for sys/types.h... yes [05:04:04.770] checking for sys/stat.h... yes [05:04:04.785] checking for stdlib.h... yes [05:04:04.844] checking for string.h... yes [05:04:04.858] checking for memory.h... yes [05:04:04.919] checking for strings.h... yes [05:04:04.934] checking for inttypes.h... yes [05:04:04.949] checking for stdint.h... yes [05:04:05.008] checking for unistd.h... yes [05:04:05.045] checking for main in -lm... yes [05:04:05.095] checking for library containing setproctitle... no [05:04:05.186] checking for library containing dlsym... no [05:04:05.274] checking for library containing socket... -lws2_32 [05:04:05.412] checking for library containing getopt_long... none required [05:04:05.463] checking for library containing shm_open... no [05:04:05.557] checking for library containing shm_unlink... no [05:04:05.654] checking for library containing clock_gettime... no [05:04:05.749] checking for library containing shmget... no [05:04:05.842] checking for library containing backtrace_symbols... no [05:04:05.937] checking for library containing pthread_barrier_wait... -lpthread [05:04:06.032] checking for inflate in -lz... yes [05:04:06.081] checking for stdbool.h that conforms to C99... yes [05:04:06.094] checking for _Bool... yes [05:04:06.220] checking atomic.h usability... no [05:04:06.278] checking atomic.h presence... no [05:04:06.298] checking for atomic.h... no [05:04:06.301] checking copyfile.h usability... no [05:04:06.359] checking copyfile.h presence... no [05:04:06.378] checking for copyfile.h... no [05:04:06.381] checking execinfo.h usability... no [05:04:06.438] checking execinfo.h presence... no [05:04:06.457] checking for execinfo.h... no [05:04:06.460] checking getopt.h usability... yes [05:04:06.489] checking getopt.h presence... yes [05:04:06.504] checking for getopt.h... yes [05:04:06.511] checking ifaddrs.h usability... no [05:04:06.567] checking ifaddrs.h presence... no [05:04:06.585] checking for ifaddrs.h... no [05:04:06.589] checking mbarrier.h usability... no [05:04:06.645] checking mbarrier.h presence... no [05:04:06.664] checking for mbarrier.h... no [05:04:06.667] checking sys/epoll.h usability... no [05:04:06.725] checking sys/epoll.h presence... no [05:04:06.744] checking for sys/epoll.h... no [05:04:06.747] checking sys/event.h usability... no [05:04:06.805] checking sys/event.h presence... no [05:04:06.825] checking for sys/event.h... no [05:04:06.828] checking sys/personality.h usability... no [05:04:06.885] checking sys/personality.h presence... no [05:04:06.906] checking for sys/personality.h... no [05:04:06.909] checking sys/prctl.h usability... no [05:04:06.966] checking sys/prctl.h presence... no [05:04:06.985] checking for sys/prctl.h... no [05:04:06.989] checking sys/procctl.h usability... no [05:04:07.052] checking sys/procctl.h presence... no [05:04:07.077] checking for sys/procctl.h... no [05:04:07.081] checking sys/signalfd.h usability... no [05:04:07.144] checking sys/signalfd.h presence... no [05:04:07.166] checking for sys/signalfd.h... no [05:04:07.170] checking sys/ucred.h usability... no [05:04:07.234] checking sys/ucred.h presence... no [05:04:07.254] checking for sys/ucred.h... no [05:04:07.257] checking termios.h usability... no [05:04:07.316] checking termios.h presence... no [05:04:07.334] checking for termios.h... no [05:04:07.338] checking ucred.h usability... no [05:04:07.395] checking ucred.h presence... no [05:04:07.427] checking for ucred.h... no [05:04:07.431] checking zlib.h usability... yes [05:04:07.442] checking zlib.h presence... yes [05:04:07.464] checking for zlib.h... yes [05:04:07.464] checking for lz4... /usr/bin/lz4 [05:04:07.464] checking for zstd... /usr/bin/zstd [05:04:07.465] checking for openssl... /usr/bin/openssl [05:04:07.469] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:04:07.470] checking crtdefs.h usability... yes [05:04:07.478] checking crtdefs.h presence... yes [05:04:07.494] checking for crtdefs.h... yes [05:04:07.496] checking whether byte ordering is bigendian... no [05:04:07.604] checking for inline... inline [05:04:07.612] checking for printf format archetype... gnu_printf [05:04:07.621] checking for _Static_assert... yes [05:04:07.667] checking for typeof... typeof [05:04:07.703] checking for __builtin_types_compatible_p... yes [05:04:07.713] checking for __builtin_constant_p... yes [05:04:07.733] checking for __builtin_unreachable... yes [05:04:07.775] checking for computed goto support... yes [05:04:07.808] checking for struct tm.tm_zone... no [05:04:07.884] checking for union semun... no [05:04:07.917] checking for socklen_t... yes [05:04:09.526] checking for struct sockaddr.sa_len... no [05:04:11.689] checking for locale_t... no [05:04:11.757] checking for C/C++ restrict keyword... __restrict [05:04:11.770] checking for struct option... yes [05:04:11.815] checking whether assembler supports x86_64 popcntq... yes [05:04:11.822] checking size of off_t... 4 [05:04:12.033] 0 [05:04:12.033] checking size of bool... 1 [05:04:12.080] checking for int timezone... yes [05:04:12.129] checking for wcstombs_l declaration... no [05:04:12.216] checking for backtrace_symbols... no [05:04:12.269] checking for copyfile... no [05:04:12.321] checking for copy_file_range... no [05:04:12.374] checking for getifaddrs... no [05:04:12.426] checking for getpeerucred... no [05:04:12.476] checking for inet_pton... yes [05:04:12.528] checking for kqueue... no [05:04:12.580] checking for mbstowcs_l... no [05:04:12.632] checking for memset_s... no [05:04:12.683] checking for posix_fallocate... no [05:04:12.735] checking for ppoll... no [05:04:12.787] checking for pthread_is_threaded_np... no [05:04:12.840] checking for setproctitle... no [05:04:12.893] checking for setproctitle_fast... no [05:04:12.948] checking for strchrnul... no [05:04:13.005] checking for strsignal... no [05:04:13.063] checking for syncfs... no [05:04:13.118] checking for sync_file_range... no [05:04:13.169] checking for uselocale... no [05:04:13.221] checking for wcstombs_l... no [05:04:13.269] checking for __builtin_bswap16... yes [05:04:13.320] checking for __builtin_bswap32... yes [05:04:13.369] checking for __builtin_bswap64... yes [05:04:13.418] checking for __builtin_clz... yes [05:04:13.465] checking for __builtin_ctz... yes [05:04:13.514] checking for __builtin_popcount... yes [05:04:13.563] checking for __builtin_frame_address... yes [05:04:13.611] checking for _LARGEFILE_SOURCE value needed for large files... no [05:04:13.664] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:04:13.695] checking for posix_fadvise... no [05:04:13.747] checking whether posix_fadvise is declared... no [05:04:13.792] checking whether fdatasync is declared... no [05:04:13.837] checking whether strlcat is declared... no [05:04:13.900] checking whether strlcpy is declared... no [05:04:13.963] checking whether strnlen is declared... yes [05:04:13.978] checking whether strsep is declared... no [05:04:14.042] checking whether preadv is declared... no [05:04:14.081] checking whether pwritev is declared... no [05:04:14.118] checking whether F_FULLFSYNC is declared... no [05:04:14.157] checking for explicit_bzero... no [05:04:14.204] checking for getopt... yes [05:04:14.249] checking for getpeereid... no [05:04:14.297] checking for inet_aton... no [05:04:14.346] checking for mkdtemp... no [05:04:14.394] checking for strlcat... no [05:04:14.441] checking for strlcpy... no [05:04:14.488] checking for strnlen... yes [05:04:14.536] checking for strsep... no [05:04:14.585] checking for pthread_barrier_wait... yes [05:04:14.630] configure: On mingw32 we will use our strtof wrapper. [05:04:14.630] checking for getopt_long... yes [05:04:14.676] checking for _configthreadlocale... yes [05:04:14.722] checking for syslog... no [05:04:14.769] checking for opterr... yes [05:04:14.819] checking for optreset... no [05:04:14.872] checking test program... cross-compiling [05:04:14.872] checking whether long int is 64 bits... no [05:04:14.903] checking whether long long int is 64 bits... yes [05:04:14.913] checking for __builtin_mul_overflow... yes [05:04:14.956] checking size of void *... 8 [05:04:15.378] checking size of size_t... 8 [05:04:15.794] checking size of long... 4 [05:04:16.056] checking alignment of short... 2 [05:04:16.260] checking alignment of int... 4 [05:04:16.605] checking alignment of long... 4 [05:04:16.879] checking alignment of long long int... 8 [05:04:17.275] checking alignment of double... 8 [05:04:17.748] checking for int8... no [05:04:17.794] checking for uint8... no [05:04:17.839] checking for int64... no [05:04:17.883] checking for uint64... no [05:04:17.927] checking for __int128... yes [05:04:17.977] checking for __int128 alignment bug... assuming ok [05:04:17.977] checking alignment of PG_INT128_TYPE... 16 [05:04:18.452] checking for builtin __sync char locking functions... yes [05:04:18.495] checking for builtin __sync int32 locking functions... yes [05:04:18.539] checking for builtin __sync int32 atomic operations... yes [05:04:18.584] checking for builtin __sync int64 atomic operations... yes [05:04:18.630] checking for builtin __atomic int32 atomic operations... yes [05:04:18.675] checking for builtin __atomic int64 atomic operations... yes [05:04:18.720] checking for __get_cpuid... yes [05:04:18.770] checking for __get_cpuid_count... yes [05:04:18.820] checking for __cpuid... no [05:04:19.235] checking for __cpuidex... no [05:04:19.667] checking for _xgetbv with CFLAGS=... no [05:04:20.050] checking for _xgetbv with CFLAGS=-mxsave... yes [05:04:20.454] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:04:20.849] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:04:21.194] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:04:21.241] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:04:21.332] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:04:21.355] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:04:21.375] 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 [05:04:21.432] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:04:21.432] checking which random number source to use... Windows native [05:04:21.434] checking for xmllint... /usr/bin/xmllint [05:04:21.434] checking for xsltproc... /usr/bin/xsltproc [05:04:21.434] checking for fop... /usr/bin/fop [05:04:21.435] checking for dbtoepub... no [05:04:21.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:04:21.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:04:21.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:04:21.446] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:04:21.446] 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 [05:04:21.446] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:04:21.446] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:04:21.532] configure: creating ./config.status [05:04:21.615] config.status: creating GNUmakefile [05:04:21.627] config.status: creating src/Makefile.global [05:04:21.643] config.status: creating src/include/pg_config.h [05:04:21.656] config.status: creating src/include/pg_config_ext.h [05:04:21.667] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:04:21.682] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:04:21.689] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:04:21.696] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:04:21.703] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:04:21.711] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:04:21.714] config.status: executing check_win32_symlinks commands [05:04:21.749] [05:04:21.749] real 0m19.108s [05:04:21.749] user 0m12.588s [05:04:21.749] sys 0m6.062s [05:04:21.749] make -s -j${BUILD_JOBS} clean [05:04:22.272] time make -s -j${BUILD_JOBS} world-bin [05:06:37.777] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [05:06:37.777] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [05:06:37.777] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [05:06:37.777] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [05:06:37.777] 3889 | group_rel, [05:06:37.777] | ~~~~~~~~~~ [05:06:37.777] 3890 | &varinfos, [05:06:37.777] | ~~~~~~~~~~ [05:06:37.777] 3891 | &mvndistinct); [05:06:37.777] | ~~~~~~~~~~~~~ [05:06:37.777] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [05:06:37.777] 3792 | RelOptInfo *group_rel; [05:06:37.777] | ^~~~~~~~~ [05:06:37.777] cc1: all warnings being treated as errors [05:06:37.778] make[4]: *** [: selfuncs.o] Error 1 [05:06:37.778] make[4]: *** Waiting for unfinished jobs.... [05:06:38.998] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [05:06:38.998] make[3]: *** Waiting for unfinished jobs.... [05:06:39.860] make[2]: *** [common.mk:37: utils-recursive] Error 2 [05:06:39.860] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:06:39.861] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:06:39.861] [05:06:39.861] real 2m17.589s [05:06:39.861] user 7m27.783s [05:06:39.861] sys 1m24.749s [05:06:39.861] [05:06:39.861] Exit status: 2