[02:38:49.779] time ./configure \ [02:38:49.779] --host=x86_64-w64-mingw32 \ [02:38:49.779] --enable-cassert \ [02:38:49.779] --without-icu \ [02:38:49.779] CC="ccache x86_64-w64-mingw32-gcc" \ [02:38:49.779] CXX="ccache x86_64-w64-mingw32-g++" [02:38:49.885] checking build system type... x86_64-pc-linux-gnu [02:38:50.087] checking host system type... x86_64-w64-mingw32 [02:38:50.093] checking which template to use... win32 [02:38:50.093] checking whether NLS is wanted... no [02:38:50.093] checking for default port number... 5432 [02:38:50.100] checking for block size... 8kB [02:38:50.101] checking for segment size... 1GB [02:38:50.103] checking for WAL block size... 8kB [02:38:50.105] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:38:50.137] checking whether the C compiler works... yes [02:38:50.348] checking for C compiler default output file name... a.exe [02:38:50.349] checking for suffix of executables... .exe [02:38:50.388] checking whether we are cross compiling... yes [02:38:50.465] checking for suffix of object files... o [02:38:50.473] checking whether we are using the GNU C compiler... yes [02:38:50.480] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:38:50.487] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:38:50.497] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:38:50.558] checking whether we are using the GNU C++ compiler... yes [02:38:50.565] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:38:50.630] checking for gawk... no [02:38:50.630] checking for mawk... mawk [02:38:50.632] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:38:50.639] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:38:50.645] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:38:50.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:38:50.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:38:50.865] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:38:50.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:38:50.879] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:38:50.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:38:50.892] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:38:50.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:38:50.906] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:38:50.912] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:38:50.919] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:38:50.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:38:50.932] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:38:50.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [02:38:50.976] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:38:50.983] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:38:50.989] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:38:50.996] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:38:51.003] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:38:51.010] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:38:51.032] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:38:51.039] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:38:51.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:38:51.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:38:51.120] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:38:51.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:38:51.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:38:51.169] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:38:51.176] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:38:51.183] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:38:51.190] checking whether the C compiler still works... yes [02:38:51.255] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:38:51.329] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:38:51.330] checking pkg-config is at least version 0.9.0... yes [02:38:51.347] checking whether to build with ICU support... no [02:38:51.347] checking whether to build with Tcl... no [02:38:51.348] checking whether to build Perl modules... no [02:38:51.348] checking whether to build Python modules... no [02:38:51.348] checking whether to build with GSSAPI support... no [02:38:51.349] checking whether to build with PAM support... no [02:38:51.349] checking whether to build with BSD Authentication support... no [02:38:51.349] checking whether to build with LDAP support... no [02:38:51.349] checking whether to build with Bonjour support... no [02:38:51.349] checking whether to build with SELinux support... no [02:38:51.349] checking whether to build with systemd support... no [02:38:51.349] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:38:51.349] checking whether to build with XML support... no [02:38:51.350] checking whether to build with LZ4 support... no [02:38:51.350] checking whether to build with ZSTD support... no [02:38:51.350] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:38:51.350] checking whether it is possible to strip libraries... yes [02:38:51.358] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:38:51.358] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:38:51.358] checking for a BSD-compatible install... /usr/bin/install -c [02:38:51.367] checking for tar... /usr/bin/tar [02:38:51.367] checking whether ln -s works... yes [02:38:51.367] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:38:51.369] checking for bison... /usr/bin/bison [02:38:51.371] configure: using bison (GNU Bison) 3.8.2 [02:38:51.374] checking for flex... /usr/bin/flex [02:38:51.386] configure: using flex 2.6.4 [02:38:51.386] checking for perl... /usr/bin/perl [02:38:51.389] configure: using perl 5.36.0 [02:38:51.391] checking for zic... /usr/sbin/zic [02:38:51.391] checking for a sed that does not truncate output... /usr/bin/sed [02:38:51.396] checking for grep that handles long lines and -e... /usr/bin/grep [02:38:51.398] checking for egrep... /usr/bin/grep -E [02:38:51.400] checking for ANSI C header files... yes [02:38:51.443] checking for sys/types.h... yes [02:38:51.459] checking for sys/stat.h... yes [02:38:51.473] checking for stdlib.h... yes [02:38:51.487] checking for string.h... yes [02:38:51.500] checking for memory.h... yes [02:38:51.513] checking for strings.h... yes [02:38:51.528] checking for inttypes.h... yes [02:38:51.545] checking for stdint.h... yes [02:38:51.559] checking for unistd.h... yes [02:38:51.576] checking for main in -lm... yes [02:38:51.622] checking for library containing setproctitle... no [02:38:51.707] checking for library containing dlsym... no [02:38:51.791] checking for library containing socket... -lws2_32 [02:38:51.916] checking for library containing getopt_long... none required [02:38:51.961] checking for library containing shm_open... no [02:38:52.048] checking for library containing shm_unlink... no [02:38:52.134] checking for library containing clock_gettime... no [02:38:52.221] checking for library containing shmget... no [02:38:52.306] checking for library containing backtrace_symbols... no [02:38:52.389] checking for library containing pthread_barrier_wait... -lpthread [02:38:52.478] checking for inflate in -lz... yes [02:38:52.521] checking for stdbool.h that conforms to C99... yes [02:38:52.532] checking for _Bool... yes [02:38:52.604] checking atomic.h usability... no [02:38:52.658] checking atomic.h presence... no [02:38:52.676] checking for atomic.h... no [02:38:52.679] checking copyfile.h usability... no [02:38:52.732] checking copyfile.h presence... no [02:38:52.750] checking for copyfile.h... no [02:38:52.753] checking execinfo.h usability... no [02:38:52.807] checking execinfo.h presence... no [02:38:52.825] checking for execinfo.h... no [02:38:52.828] checking getopt.h usability... yes [02:38:52.836] checking getopt.h presence... yes [02:38:52.852] checking for getopt.h... yes [02:38:52.860] checking ifaddrs.h usability... no [02:38:52.914] checking ifaddrs.h presence... no [02:38:52.932] checking for ifaddrs.h... no [02:38:52.936] checking mbarrier.h usability... no [02:38:52.988] checking mbarrier.h presence... no [02:38:53.005] checking for mbarrier.h... no [02:38:53.009] checking sys/epoll.h usability... no [02:38:53.065] checking sys/epoll.h presence... no [02:38:53.082] checking for sys/epoll.h... no [02:38:53.086] checking sys/event.h usability... no [02:38:53.137] checking sys/event.h presence... no [02:38:53.155] checking for sys/event.h... no [02:38:53.158] checking sys/personality.h usability... no [02:38:53.210] checking sys/personality.h presence... no [02:38:53.227] checking for sys/personality.h... no [02:38:53.230] checking sys/prctl.h usability... no [02:38:53.281] checking sys/prctl.h presence... no [02:38:53.298] checking for sys/prctl.h... no [02:38:53.301] checking sys/procctl.h usability... no [02:38:53.353] checking sys/procctl.h presence... no [02:38:53.371] checking for sys/procctl.h... no [02:38:53.375] checking sys/signalfd.h usability... no [02:38:53.430] checking sys/signalfd.h presence... no [02:38:53.449] checking for sys/signalfd.h... no [02:38:53.452] checking sys/ucred.h usability... no [02:38:53.506] checking sys/ucred.h presence... no [02:38:53.524] checking for sys/ucred.h... no [02:38:53.527] checking termios.h usability... no [02:38:53.581] checking termios.h presence... no [02:38:53.598] checking for termios.h... no [02:38:53.601] checking ucred.h usability... no [02:38:53.652] checking ucred.h presence... no [02:38:53.670] checking for ucred.h... no [02:38:53.672] checking zlib.h usability... yes [02:38:53.682] checking zlib.h presence... yes [02:38:53.699] checking for zlib.h... yes [02:38:53.700] checking for lz4... /usr/bin/lz4 [02:38:53.700] checking for zstd... /usr/bin/zstd [02:38:53.700] checking for openssl... /usr/bin/openssl [02:38:53.704] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [02:38:53.704] checking crtdefs.h usability... yes [02:38:53.711] checking crtdefs.h presence... yes [02:38:53.725] checking for crtdefs.h... yes [02:38:53.726] checking whether byte ordering is bigendian... no [02:38:53.792] checking for inline... inline [02:38:53.799] checking for printf format archetype... gnu_printf [02:38:53.806] checking for _Static_assert... yes [02:38:53.844] checking for typeof... typeof [02:38:53.851] checking for __builtin_types_compatible_p... yes [02:38:53.861] checking for __builtin_constant_p... yes [02:38:53.871] checking for __builtin_unreachable... yes [02:38:53.910] checking for computed goto support... yes [02:38:53.916] checking for struct tm.tm_zone... no [02:38:53.988] checking for union semun... no [02:38:54.019] checking for socklen_t... yes [02:38:55.163] checking for struct sockaddr.sa_len... no [02:38:57.222] checking for locale_t... no [02:38:57.286] checking for C/C++ restrict keyword... __restrict [02:38:57.298] checking for struct option... yes [02:38:57.340] checking whether assembler supports x86_64 popcntq... yes [02:38:57.347] checking size of off_t... 4 [02:38:57.546] 0 [02:38:57.547] checking size of bool... 1 [02:38:57.591] checking for int timezone... yes [02:38:57.638] checking for wcstombs_l declaration... no [02:38:57.720] checking for backtrace_symbols... no [02:38:57.769] checking for copyfile... no [02:38:57.817] checking for copy_file_range... no [02:38:57.865] checking for getifaddrs... no [02:38:57.913] checking for getpeerucred... no [02:38:57.962] checking for inet_pton... yes [02:38:58.010] checking for kqueue... no [02:38:58.058] checking for mbstowcs_l... no [02:38:58.106] checking for memset_s... no [02:38:58.153] checking for posix_fallocate... no [02:38:58.201] checking for ppoll... no [02:38:58.250] checking for pthread_is_threaded_np... no [02:38:58.299] checking for setproctitle... no [02:38:58.347] checking for setproctitle_fast... no [02:38:58.394] checking for strchrnul... no [02:38:58.442] checking for strsignal... no [02:38:58.490] checking for syncfs... no [02:38:58.539] checking for sync_file_range... no [02:38:58.588] checking for uselocale... no [02:38:58.635] checking for wcstombs_l... no [02:38:58.681] checking for __builtin_bswap16... yes [02:38:58.728] checking for __builtin_bswap32... yes [02:38:58.774] checking for __builtin_bswap64... yes [02:38:58.819] checking for __builtin_clz... yes [02:38:58.865] checking for __builtin_ctz... yes [02:38:58.909] checking for __builtin_popcount... yes [02:38:58.954] checking for __builtin_frame_address... yes [02:38:58.998] checking for _LARGEFILE_SOURCE value needed for large files... no [02:38:59.050] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:38:59.079] checking for posix_fadvise... no [02:38:59.129] checking whether posix_fadvise is declared... no [02:38:59.172] checking whether fdatasync is declared... no [02:38:59.215] checking whether strlcat is declared... no [02:38:59.277] checking whether strlcpy is declared... no [02:38:59.337] checking whether strnlen is declared... yes [02:38:59.350] checking whether strsep is declared... no [02:38:59.410] checking whether preadv is declared... no [02:38:59.443] checking whether pwritev is declared... no [02:38:59.477] checking whether F_FULLFSYNC is declared... no [02:38:59.514] checking for explicit_bzero... no [02:38:59.559] checking for getopt... yes [02:38:59.602] checking for getpeereid... no [02:38:59.647] checking for inet_aton... no [02:38:59.693] checking for mkdtemp... no [02:38:59.739] checking for strlcat... no [02:38:59.784] checking for strlcpy... no [02:38:59.830] checking for strnlen... yes [02:38:59.877] checking for strsep... no [02:38:59.924] checking for pthread_barrier_wait... yes [02:38:59.968] configure: On mingw32 we will use our strtof wrapper. [02:38:59.969] checking for getopt_long... yes [02:39:00.013] checking for _configthreadlocale... yes [02:39:00.058] checking for syslog... no [02:39:00.105] checking for opterr... yes [02:39:00.154] checking for optreset... no [02:39:00.205] checking test program... cross-compiling [02:39:00.205] checking whether long int is 64 bits... no [02:39:00.237] checking whether long long int is 64 bits... yes [02:39:00.246] checking for __builtin_mul_overflow... yes [02:39:00.289] checking size of void *... 8 [02:39:00.563] checking size of size_t... 8 [02:39:00.835] checking size of long... 4 [02:39:01.037] checking alignment of short... 2 [02:39:01.177] checking alignment of int... 4 [02:39:01.383] checking alignment of long... 4 [02:39:01.591] checking alignment of long long int... 8 [02:39:01.862] checking alignment of double... 8 [02:39:02.123] checking for int8... no [02:39:02.164] checking for uint8... no [02:39:02.206] checking for int64... no [02:39:02.248] checking for uint64... no [02:39:02.292] checking for __int128... yes [02:39:02.340] checking for __int128 alignment bug... assuming ok [02:39:02.340] checking alignment of PG_INT128_TYPE... 16 [02:39:02.670] checking for builtin __sync char locking functions... yes [02:39:02.712] checking for builtin __sync int32 locking functions... yes [02:39:02.755] checking for builtin __sync int32 atomic operations... yes [02:39:02.797] checking for builtin __sync int64 atomic operations... yes [02:39:02.838] checking for builtin __atomic int32 atomic operations... yes [02:39:02.881] checking for builtin __atomic int64 atomic operations... yes [02:39:02.924] checking for __get_cpuid... yes [02:39:02.972] checking for __get_cpuid_count... yes [02:39:03.015] checking for __cpuid... no [02:39:03.418] checking for __cpuidex... no [02:39:03.841] checking for _xgetbv with CFLAGS=... no [02:39:04.228] checking for _xgetbv with CFLAGS=-mxsave... yes [02:39:04.623] checking for _mm512_popcnt_epi64 with CFLAGS=... no [02:39:05.006] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [02:39:05.347] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [02:39:05.394] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [02:39:05.481] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:39:05.503] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:39:05.521] 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 [02:39:05.575] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:39:05.575] checking which random number source to use... Windows native [02:39:05.577] checking for xmllint... /usr/bin/xmllint [02:39:05.578] checking for xsltproc... /usr/bin/xsltproc [02:39:05.578] checking for fop... /usr/bin/fop [02:39:05.578] checking for dbtoepub... no [02:39:05.578] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:39:05.578] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:39:05.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [02:39:05.589] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [02:39:05.589] 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 [02:39:05.589] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [02:39:05.589] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:39:05.668] configure: creating ./config.status [02:39:05.746] config.status: creating GNUmakefile [02:39:05.757] config.status: creating src/Makefile.global [02:39:05.773] config.status: creating src/include/pg_config.h [02:39:05.787] config.status: creating src/include/pg_config_ext.h [02:39:05.800] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:39:05.816] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:39:05.823] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:39:05.829] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:39:05.836] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:39:05.843] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:39:05.846] config.status: executing check_win32_symlinks commands [02:39:05.877] [02:39:05.877] real 0m16.099s [02:39:05.877] user 0m10.797s [02:39:05.877] sys 0m4.864s [02:39:05.877] make -s -j${BUILD_JOBS} clean [02:39:06.386] time make -s -j${BUILD_JOBS} world-bin [02:39:16.473] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [02:39:16.473] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [02:39:16.473] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [02:39:16.473] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [02:39:16.473] 3889 | group_rel, [02:39:16.473] | ~~~~~~~~~~ [02:39:16.473] 3890 | &varinfos, [02:39:16.473] | ~~~~~~~~~~ [02:39:16.473] 3891 | &mvndistinct); [02:39:16.473] | ~~~~~~~~~~~~~ [02:39:16.473] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [02:39:16.473] 3792 | RelOptInfo *group_rel; [02:39:16.473] | ^~~~~~~~~ [02:39:16.473] cc1: all warnings being treated as errors [02:39:16.474] make[4]: *** [: selfuncs.o] Error 1 [02:39:16.474] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [02:39:16.474] make[2]: *** [common.mk:37: utils-recursive] Error 2 [02:39:16.474] make[2]: *** Waiting for unfinished jobs.... [02:39:16.844] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:39:16.844] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:39:16.844] [02:39:16.844] real 0m10.459s [02:39:16.844] user 0m26.199s [02:39:16.844] sys 0m8.576s [02:39:16.845] [02:39:16.845] Exit status: 2