[21:08:38.240] time ./configure \ [21:08:38.240] --host=x86_64-w64-mingw32 \ [21:08:38.240] --enable-cassert \ [21:08:38.240] --without-icu \ [21:08:38.240] CC="ccache x86_64-w64-mingw32-gcc" \ [21:08:38.240] CXX="ccache x86_64-w64-mingw32-g++" [21:08:38.362] checking build system type... x86_64-pc-linux-gnu [21:08:38.572] checking host system type... x86_64-w64-mingw32 [21:08:38.578] checking which template to use... win32 [21:08:38.578] checking whether NLS is wanted... no [21:08:38.578] checking for default port number... 5432 [21:08:38.586] checking for block size... 8kB [21:08:38.588] checking for segment size... 1GB [21:08:38.590] checking for WAL block size... 8kB [21:08:38.592] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:08:38.628] checking whether the C compiler works... yes [21:08:38.774] checking for C compiler default output file name... a.exe [21:08:38.775] checking for suffix of executables... .exe [21:08:38.817] checking whether we are cross compiling... yes [21:08:38.896] checking for suffix of object files... o [21:08:38.905] checking whether we are using the GNU C compiler... yes [21:08:38.940] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:08:38.947] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:08:39.033] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:08:39.105] checking whether we are using the GNU C++ compiler... yes [21:08:39.112] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:08:39.185] checking for gawk... no [21:08:39.185] checking for mawk... mawk [21:08:39.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:08:39.194] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:08:39.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:08:39.278] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:08:39.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:08:39.478] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:08:39.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:08:39.493] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:08:39.500] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:08:39.507] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:08:39.514] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:08:39.521] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:08:39.528] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:08:39.535] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:08:39.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:08:39.548] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:08:39.554] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:08:39.591] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:08:39.598] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:08:39.605] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:08:39.612] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:08:39.619] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:08:39.625] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:08:39.650] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:08:39.667] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:08:39.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:08:39.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:08:39.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:08:39.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:08:39.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:08:39.829] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:08:39.836] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:08:39.844] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:08:39.852] checking whether the C compiler still works... yes [21:08:39.901] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:08:39.975] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:08:39.975] checking pkg-config is at least version 0.9.0... yes [21:08:39.992] checking whether to build with ICU support... no [21:08:39.993] checking whether to build with Tcl... no [21:08:39.993] checking whether to build Perl modules... no [21:08:39.993] checking whether to build Python modules... no [21:08:39.993] checking whether to build with GSSAPI support... no [21:08:39.994] checking whether to build with PAM support... no [21:08:39.994] checking whether to build with BSD Authentication support... no [21:08:39.994] checking whether to build with LDAP support... no [21:08:39.994] checking whether to build with Bonjour support... no [21:08:39.994] checking whether to build with SELinux support... no [21:08:39.994] checking whether to build with systemd support... no [21:08:39.995] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:08:39.995] checking whether to build with XML support... no [21:08:39.995] checking whether to build with LZ4 support... no [21:08:39.995] checking whether to build with ZSTD support... no [21:08:39.995] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:08:39.996] checking whether it is possible to strip libraries... yes [21:08:40.004] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:08:40.004] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:08:40.004] checking for a BSD-compatible install... /usr/bin/install -c [21:08:40.014] checking for tar... /usr/bin/tar [21:08:40.014] checking whether ln -s works... yes [21:08:40.014] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:08:40.016] checking for bison... /usr/bin/bison [21:08:40.019] configure: using bison (GNU Bison) 3.8.2 [21:08:40.022] checking for flex... /usr/bin/flex [21:08:40.034] configure: using flex 2.6.4 [21:08:40.035] checking for perl... /usr/bin/perl [21:08:40.037] configure: using perl 5.36.0 [21:08:40.040] checking for zic... /usr/sbin/zic [21:08:40.040] checking for a sed that does not truncate output... /usr/bin/sed [21:08:40.045] checking for grep that handles long lines and -e... /usr/bin/grep [21:08:40.047] checking for egrep... /usr/bin/grep -E [21:08:40.049] checking for ANSI C header files... yes [21:08:40.097] checking for sys/types.h... yes [21:08:40.115] checking for sys/stat.h... yes [21:08:40.177] checking for stdlib.h... yes [21:08:40.194] checking for string.h... yes [21:08:40.208] checking for memory.h... yes [21:08:40.224] checking for strings.h... yes [21:08:40.260] checking for inttypes.h... yes [21:08:40.278] checking for stdint.h... yes [21:08:40.294] checking for unistd.h... yes [21:08:40.333] checking for main in -lm... yes [21:08:40.383] checking for library containing setproctitle... no [21:08:40.476] checking for library containing dlsym... no [21:08:40.567] checking for library containing socket... -lws2_32 [21:08:40.695] checking for library containing getopt_long... none required [21:08:40.747] checking for library containing shm_open... no [21:08:40.839] checking for library containing shm_unlink... no [21:08:40.931] checking for library containing clock_gettime... no [21:08:41.021] checking for library containing shmget... no [21:08:41.113] checking for library containing backtrace_symbols... no [21:08:41.206] checking for library containing pthread_barrier_wait... -lpthread [21:08:41.300] checking for inflate in -lz... yes [21:08:41.346] checking for stdbool.h that conforms to C99... yes [21:08:41.358] checking for _Bool... yes [21:08:41.484] checking atomic.h usability... no [21:08:41.540] checking atomic.h presence... no [21:08:41.560] checking for atomic.h... no [21:08:41.564] checking copyfile.h usability... no [21:08:41.620] checking copyfile.h presence... no [21:08:41.641] checking for copyfile.h... no [21:08:41.644] checking execinfo.h usability... no [21:08:41.703] checking execinfo.h presence... no [21:08:41.725] checking for execinfo.h... no [21:08:41.728] checking getopt.h usability... yes [21:08:41.736] checking getopt.h presence... yes [21:08:41.752] checking for getopt.h... yes [21:08:41.761] checking ifaddrs.h usability... no [21:08:41.817] checking ifaddrs.h presence... no [21:08:41.837] checking for ifaddrs.h... no [21:08:41.841] checking mbarrier.h usability... no [21:08:41.902] checking mbarrier.h presence... no [21:08:41.923] checking for mbarrier.h... no [21:08:41.927] checking sys/epoll.h usability... no [21:08:41.982] checking sys/epoll.h presence... no [21:08:42.002] checking for sys/epoll.h... no [21:08:42.005] checking sys/event.h usability... no [21:08:42.060] checking sys/event.h presence... no [21:08:42.080] checking for sys/event.h... no [21:08:42.084] checking sys/personality.h usability... no [21:08:42.141] checking sys/personality.h presence... no [21:08:42.162] checking for sys/personality.h... no [21:08:42.165] checking sys/prctl.h usability... no [21:08:42.221] checking sys/prctl.h presence... no [21:08:42.241] checking for sys/prctl.h... no [21:08:42.244] checking sys/procctl.h usability... no [21:08:42.299] checking sys/procctl.h presence... no [21:08:42.320] checking for sys/procctl.h... no [21:08:42.324] checking sys/signalfd.h usability... no [21:08:42.379] checking sys/signalfd.h presence... no [21:08:42.398] checking for sys/signalfd.h... no [21:08:42.402] checking sys/ucred.h usability... no [21:08:42.458] checking sys/ucred.h presence... no [21:08:42.478] checking for sys/ucred.h... no [21:08:42.482] checking termios.h usability... no [21:08:42.539] checking termios.h presence... no [21:08:42.558] checking for termios.h... no [21:08:42.562] checking ucred.h usability... no [21:08:42.627] checking ucred.h presence... no [21:08:42.648] checking for ucred.h... no [21:08:42.651] checking zlib.h usability... yes [21:08:42.662] checking zlib.h presence... yes [21:08:42.681] checking for zlib.h... yes [21:08:42.682] checking for lz4... /usr/bin/lz4 [21:08:42.682] checking for zstd... /usr/bin/zstd [21:08:42.682] checking for openssl... /usr/bin/openssl [21:08:42.687] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [21:08:42.687] checking crtdefs.h usability... yes [21:08:42.696] checking crtdefs.h presence... yes [21:08:42.712] checking for crtdefs.h... yes [21:08:42.713] checking whether byte ordering is bigendian... no [21:08:42.790] checking for inline... inline [21:08:42.809] checking for printf format archetype... gnu_printf [21:08:42.818] checking for _Static_assert... yes [21:08:42.860] checking for typeof... typeof [21:08:42.867] checking for __builtin_types_compatible_p... yes [21:08:42.879] checking for __builtin_constant_p... yes [21:08:42.891] checking for __builtin_unreachable... yes [21:08:42.932] checking for computed goto support... yes [21:08:42.940] checking for struct tm.tm_zone... no [21:08:43.016] checking for union semun... no [21:08:43.052] checking for socklen_t... yes [21:08:45.324] checking for struct sockaddr.sa_len... no [21:08:47.451] checking for locale_t... no [21:08:47.522] checking for C/C++ restrict keyword... __restrict [21:08:47.535] checking for struct option... yes [21:08:47.579] checking whether assembler supports x86_64 popcntq... yes [21:08:47.587] checking size of off_t... 4 [21:08:47.798] 0 [21:08:47.798] checking size of bool... 1 [21:08:47.847] checking for int timezone... yes [21:08:47.896] checking for wcstombs_l declaration... no [21:08:47.986] checking for backtrace_symbols... no [21:08:48.036] checking for copyfile... no [21:08:48.089] checking for copy_file_range... no [21:08:48.140] checking for getifaddrs... no [21:08:48.193] checking for getpeerucred... no [21:08:48.244] checking for inet_pton... yes [21:08:48.296] checking for kqueue... no [21:08:48.347] checking for mbstowcs_l... no [21:08:48.399] checking for memset_s... no [21:08:48.452] checking for posix_fallocate... no [21:08:48.503] checking for ppoll... no [21:08:48.556] checking for pthread_is_threaded_np... no [21:08:48.610] checking for setproctitle... no [21:08:48.662] checking for setproctitle_fast... no [21:08:48.715] checking for strchrnul... no [21:08:48.767] checking for strsignal... no [21:08:48.819] checking for syncfs... no [21:08:48.870] checking for sync_file_range... no [21:08:48.922] checking for uselocale... no [21:08:48.973] checking for wcstombs_l... no [21:08:49.021] checking for __builtin_bswap16... yes [21:08:49.069] checking for __builtin_bswap32... yes [21:08:49.118] checking for __builtin_bswap64... yes [21:08:49.168] checking for __builtin_clz... yes [21:08:49.217] checking for __builtin_ctz... yes [21:08:49.266] checking for __builtin_popcount... yes [21:08:49.314] checking for __builtin_frame_address... yes [21:08:49.362] checking for _LARGEFILE_SOURCE value needed for large files... no [21:08:49.414] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:08:49.448] checking for posix_fadvise... no [21:08:49.502] checking whether posix_fadvise is declared... no [21:08:49.548] checking whether fdatasync is declared... no [21:08:49.596] checking whether strlcat is declared... no [21:08:49.665] checking whether strlcpy is declared... no [21:08:49.729] checking whether strnlen is declared... yes [21:08:49.742] checking whether strsep is declared... no [21:08:49.806] checking whether preadv is declared... no [21:08:49.843] checking whether pwritev is declared... no [21:08:49.881] checking whether F_FULLFSYNC is declared... no [21:08:49.922] checking for explicit_bzero... no [21:08:49.971] checking for getopt... yes [21:08:50.016] checking for getpeereid... no [21:08:50.065] checking for inet_aton... no [21:08:50.114] checking for mkdtemp... no [21:08:50.164] checking for strlcat... no [21:08:50.212] checking for strlcpy... no [21:08:50.261] checking for strnlen... yes [21:08:50.313] checking for strsep... no [21:08:50.363] checking for pthread_barrier_wait... yes [21:08:50.409] configure: On mingw32 we will use our strtof wrapper. [21:08:50.409] checking for getopt_long... yes [21:08:50.457] checking for _configthreadlocale... yes [21:08:50.505] checking for syslog... no [21:08:50.557] checking for opterr... yes [21:08:50.606] checking for optreset... no [21:08:50.659] checking test program... cross-compiling [21:08:50.659] checking whether long int is 64 bits... no [21:08:50.692] checking whether long long int is 64 bits... yes [21:08:50.704] checking for __builtin_mul_overflow... yes [21:08:50.748] checking size of void *... 8 [21:08:51.045] checking size of size_t... 8 [21:08:51.343] checking size of long... 4 [21:08:51.574] checking alignment of short... 2 [21:08:51.770] checking alignment of int... 4 [21:08:52.029] checking alignment of long... 4 [21:08:52.238] checking alignment of long long int... 8 [21:08:52.514] checking alignment of double... 8 [21:08:52.818] checking for int8... no [21:08:52.864] checking for uint8... no [21:08:52.909] checking for int64... no [21:08:52.953] checking for uint64... no [21:08:52.997] checking for __int128... yes [21:08:53.050] checking for __int128 alignment bug... assuming ok [21:08:53.051] checking alignment of PG_INT128_TYPE... 16 [21:08:53.401] checking for builtin __sync char locking functions... yes [21:08:53.446] checking for builtin __sync int32 locking functions... yes [21:08:53.490] checking for builtin __sync int32 atomic operations... yes [21:08:53.533] checking for builtin __sync int64 atomic operations... yes [21:08:53.576] checking for builtin __atomic int32 atomic operations... yes [21:08:53.621] checking for builtin __atomic int64 atomic operations... yes [21:08:53.665] checking for __get_cpuid... yes [21:08:53.714] checking for __get_cpuid_count... yes [21:08:53.761] checking for __cpuid... no [21:08:54.157] checking for __cpuidex... no [21:08:54.575] checking for _xgetbv with CFLAGS=... no [21:08:54.958] checking for _xgetbv with CFLAGS=-mxsave... yes [21:08:55.365] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:08:55.752] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:08:56.098] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:08:56.145] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:08:56.238] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:08:56.261] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:08:56.280] 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 [21:08:56.334] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:08:56.335] checking which random number source to use... Windows native [21:08:56.337] checking for xmllint... /usr/bin/xmllint [21:08:56.337] checking for xsltproc... /usr/bin/xsltproc [21:08:56.337] checking for fop... /usr/bin/fop [21:08:56.337] checking for dbtoepub... no [21:08:56.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:08:56.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:08:56.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:08:56.348] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:08:56.348] 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 [21:08:56.348] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:08:56.348] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:08:56.436] configure: creating ./config.status [21:08:56.524] config.status: creating GNUmakefile [21:08:56.537] config.status: creating src/Makefile.global [21:08:56.552] config.status: creating src/include/pg_config.h [21:08:56.567] config.status: creating src/include/pg_config_ext.h [21:08:56.580] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:08:56.597] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:08:56.605] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:08:56.612] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:08:56.620] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:08:56.628] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:08:56.632] config.status: executing check_win32_symlinks commands [21:08:56.668] [21:08:56.668] real 0m18.428s [21:08:56.668] user 0m12.395s [21:08:56.668] sys 0m5.631s [21:08:56.668] make -s -j${BUILD_JOBS} clean [21:08:57.198] time make -s -j${BUILD_JOBS} world-bin [21:10:36.537] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [21:10:36.537] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [21:10:36.537] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [21:10:36.537] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [21:10:36.537] 3889 | group_rel, [21:10:36.537] | ~~~~~~~~~~ [21:10:36.537] 3890 | &varinfos, [21:10:36.537] | ~~~~~~~~~~ [21:10:36.537] 3891 | &mvndistinct); [21:10:36.537] | ~~~~~~~~~~~~~ [21:10:36.537] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [21:10:36.537] 3792 | RelOptInfo *group_rel; [21:10:36.537] | ^~~~~~~~~ [21:10:36.537] cc1: all warnings being treated as errors [21:10:36.538] make[4]: *** [: selfuncs.o] Error 1 [21:10:36.538] make[4]: *** Waiting for unfinished jobs.... [21:10:37.667] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [21:10:37.667] make[3]: *** Waiting for unfinished jobs.... [21:10:39.385] make[2]: *** [common.mk:37: utils-recursive] Error 2 [21:10:39.385] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:10:39.385] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:10:39.386] [21:10:39.386] real 1m42.188s [21:10:39.386] user 5m32.437s [21:10:39.386] sys 1m3.516s [21:10:39.386] [21:10:39.386] Exit status: 2