[07:27:38.758] time ./configure \ [07:27:38.758] --host=x86_64-w64-mingw32 \ [07:27:38.758] --enable-cassert \ [07:27:38.758] --without-icu \ [07:27:38.758] CC="ccache x86_64-w64-mingw32-gcc" \ [07:27:38.758] CXX="ccache x86_64-w64-mingw32-g++" [07:27:38.869] checking build system type... x86_64-pc-linux-gnu [07:27:39.069] checking host system type... x86_64-w64-mingw32 [07:27:39.074] checking which template to use... win32 [07:27:39.074] checking whether NLS is wanted... no [07:27:39.074] checking for default port number... 5432 [07:27:39.081] checking for block size... 8kB [07:27:39.082] checking for segment size... 1GB [07:27:39.085] checking for WAL block size... 8kB [07:27:39.086] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:27:39.122] checking whether the C compiler works... yes [07:27:39.264] checking for C compiler default output file name... a.exe [07:27:39.265] checking for suffix of executables... .exe [07:27:39.305] checking whether we are cross compiling... yes [07:27:39.383] checking for suffix of object files... o [07:27:39.391] checking whether we are using the GNU C compiler... yes [07:27:39.398] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:27:39.405] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:27:39.418] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:27:39.482] checking whether we are using the GNU C++ compiler... yes [07:27:39.488] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:27:39.556] checking for gawk... no [07:27:39.556] checking for mawk... mawk [07:27:39.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:27:39.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:27:39.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:27:39.619] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:27:39.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:27:39.803] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:27:39.810] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:27:39.817] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:27:39.824] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:27:39.830] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:27:39.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:27:39.869] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:27:39.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:27:39.883] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:27:39.913] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:27:39.946] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:27:39.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:27:39.990] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:27:39.998] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:27:40.005] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:27:40.011] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:27:40.018] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:27:40.025] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:27:40.049] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:27:40.056] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:27:40.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:27:40.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:27:40.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:27:40.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:27:40.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:27:40.200] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:27:40.207] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:27:40.215] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:27:40.223] checking whether the C compiler still works... yes [07:27:40.298] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:27:40.374] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:27:40.374] checking pkg-config is at least version 0.9.0... yes [07:27:40.390] checking whether to build with ICU support... no [07:27:40.390] checking whether to build with Tcl... no [07:27:40.391] checking whether to build Perl modules... no [07:27:40.391] checking whether to build Python modules... no [07:27:40.391] checking whether to build with GSSAPI support... no [07:27:40.392] checking whether to build with PAM support... no [07:27:40.392] checking whether to build with BSD Authentication support... no [07:27:40.392] checking whether to build with LDAP support... no [07:27:40.392] checking whether to build with Bonjour support... no [07:27:40.392] checking whether to build with SELinux support... no [07:27:40.393] checking whether to build with systemd support... no [07:27:40.393] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:27:40.393] checking whether to build with XML support... no [07:27:40.393] checking whether to build with LZ4 support... no [07:27:40.394] checking whether to build with ZSTD support... no [07:27:40.394] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:27:40.394] checking whether it is possible to strip libraries... yes [07:27:40.401] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:27:40.401] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:27:40.402] checking for a BSD-compatible install... /usr/bin/install -c [07:27:40.410] checking for tar... /usr/bin/tar [07:27:40.411] checking whether ln -s works... yes [07:27:40.411] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:27:40.413] checking for bison... /usr/bin/bison [07:27:40.415] configure: using bison (GNU Bison) 3.8.2 [07:27:40.418] checking for flex... /usr/bin/flex [07:27:40.430] configure: using flex 2.6.4 [07:27:40.430] checking for perl... /usr/bin/perl [07:27:40.433] configure: using perl 5.36.0 [07:27:40.435] checking for zic... /usr/sbin/zic [07:27:40.435] checking for a sed that does not truncate output... /usr/bin/sed [07:27:40.440] checking for grep that handles long lines and -e... /usr/bin/grep [07:27:40.442] checking for egrep... /usr/bin/grep -E [07:27:40.444] checking for ANSI C header files... yes [07:27:40.492] checking for sys/types.h... yes [07:27:40.528] checking for sys/stat.h... yes [07:27:40.544] checking for stdlib.h... yes [07:27:40.558] checking for string.h... yes [07:27:40.593] checking for memory.h... yes [07:27:40.610] checking for strings.h... yes [07:27:40.624] checking for inttypes.h... yes [07:27:40.641] checking for stdint.h... yes [07:27:40.656] checking for unistd.h... yes [07:27:40.723] checking for main in -lm... yes [07:27:40.770] checking for library containing setproctitle... no [07:27:40.860] checking for library containing dlsym... no [07:27:40.947] checking for library containing socket... -lws2_32 [07:27:41.073] checking for library containing getopt_long... none required [07:27:41.119] checking for library containing shm_open... no [07:27:41.206] checking for library containing shm_unlink... no [07:27:41.291] checking for library containing clock_gettime... no [07:27:41.377] checking for library containing shmget... no [07:27:41.464] checking for library containing backtrace_symbols... no [07:27:41.555] checking for library containing pthread_barrier_wait... -lpthread [07:27:41.645] checking for inflate in -lz... yes [07:27:41.692] checking for stdbool.h that conforms to C99... yes [07:27:41.703] checking for _Bool... yes [07:27:41.775] checking atomic.h usability... no [07:27:41.831] checking atomic.h presence... no [07:27:41.851] checking for atomic.h... no [07:27:41.854] checking copyfile.h usability... no [07:27:41.909] checking copyfile.h presence... no [07:27:41.928] checking for copyfile.h... no [07:27:41.931] checking execinfo.h usability... no [07:27:41.987] checking execinfo.h presence... no [07:27:42.005] checking for execinfo.h... no [07:27:42.008] checking getopt.h usability... yes [07:27:42.036] checking getopt.h presence... yes [07:27:42.052] checking for getopt.h... yes [07:27:42.059] checking ifaddrs.h usability... no [07:27:42.116] checking ifaddrs.h presence... no [07:27:42.136] checking for ifaddrs.h... no [07:27:42.139] checking mbarrier.h usability... no [07:27:42.195] checking mbarrier.h presence... no [07:27:42.215] checking for mbarrier.h... no [07:27:42.218] checking sys/epoll.h usability... no [07:27:42.278] checking sys/epoll.h presence... no [07:27:42.297] checking for sys/epoll.h... no [07:27:42.300] checking sys/event.h usability... no [07:27:42.355] checking sys/event.h presence... no [07:27:42.374] checking for sys/event.h... no [07:27:42.377] checking sys/personality.h usability... no [07:27:42.432] checking sys/personality.h presence... no [07:27:42.451] checking for sys/personality.h... no [07:27:42.454] checking sys/prctl.h usability... no [07:27:42.509] checking sys/prctl.h presence... no [07:27:42.528] checking for sys/prctl.h... no [07:27:42.531] checking sys/procctl.h usability... no [07:27:42.588] checking sys/procctl.h presence... no [07:27:42.607] checking for sys/procctl.h... no [07:27:42.610] checking sys/signalfd.h usability... no [07:27:42.666] checking sys/signalfd.h presence... no [07:27:42.686] checking for sys/signalfd.h... no [07:27:42.689] checking sys/ucred.h usability... no [07:27:42.745] checking sys/ucred.h presence... no [07:27:42.766] checking for sys/ucred.h... no [07:27:42.769] checking termios.h usability... no [07:27:42.827] checking termios.h presence... no [07:27:42.846] checking for termios.h... no [07:27:42.849] checking ucred.h usability... no [07:27:42.905] checking ucred.h presence... no [07:27:42.925] checking for ucred.h... no [07:27:42.928] checking zlib.h usability... yes [07:27:42.938] checking zlib.h presence... yes [07:27:42.958] checking for zlib.h... yes [07:27:42.958] checking for lz4... /usr/bin/lz4 [07:27:42.959] checking for zstd... /usr/bin/zstd [07:27:42.959] checking for openssl... /usr/bin/openssl [07:27:42.963] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [07:27:42.964] checking crtdefs.h usability... yes [07:27:42.971] checking crtdefs.h presence... yes [07:27:42.987] checking for crtdefs.h... yes [07:27:42.989] checking whether byte ordering is bigendian... no [07:27:43.075] checking for inline... inline [07:27:43.083] checking for printf format archetype... gnu_printf [07:27:43.091] checking for _Static_assert... yes [07:27:43.133] checking for typeof... typeof [07:27:43.166] checking for __builtin_types_compatible_p... yes [07:27:43.177] checking for __builtin_constant_p... yes [07:27:43.188] checking for __builtin_unreachable... yes [07:27:43.229] checking for computed goto support... yes [07:27:43.264] checking for struct tm.tm_zone... no [07:27:43.344] checking for union semun... no [07:27:43.379] checking for socklen_t... yes [07:27:44.569] checking for struct sockaddr.sa_len... no [07:27:46.645] checking for locale_t... no [07:27:46.711] checking for C/C++ restrict keyword... __restrict [07:27:46.724] checking for struct option... yes [07:27:46.796] checking whether assembler supports x86_64 popcntq... yes [07:27:46.803] checking size of off_t... 4 [07:27:47.012] 0 [07:27:47.012] checking size of bool... 1 [07:27:47.068] checking for int timezone... yes [07:27:47.117] checking for wcstombs_l declaration... no [07:27:47.203] checking for backtrace_symbols... no [07:27:47.253] checking for copyfile... no [07:27:47.303] checking for copy_file_range... no [07:27:47.352] checking for getifaddrs... no [07:27:47.403] checking for getpeerucred... no [07:27:47.454] checking for inet_pton... yes [07:27:47.504] checking for kqueue... no [07:27:47.554] checking for mbstowcs_l... no [07:27:47.604] checking for memset_s... no [07:27:47.655] checking for posix_fallocate... no [07:27:47.705] checking for ppoll... no [07:27:47.755] checking for pthread_is_threaded_np... no [07:27:47.806] checking for setproctitle... no [07:27:47.857] checking for setproctitle_fast... no [07:27:47.909] checking for strchrnul... no [07:27:47.961] checking for strsignal... no [07:27:48.012] checking for syncfs... no [07:27:48.062] checking for sync_file_range... no [07:27:48.112] checking for uselocale... no [07:27:48.162] checking for wcstombs_l... no [07:27:48.209] checking for __builtin_bswap16... yes [07:27:48.259] checking for __builtin_bswap32... yes [07:27:48.307] checking for __builtin_bswap64... yes [07:27:48.355] checking for __builtin_clz... yes [07:27:48.404] checking for __builtin_ctz... yes [07:27:48.454] checking for __builtin_popcount... yes [07:27:48.505] checking for __builtin_frame_address... yes [07:27:48.552] checking for _LARGEFILE_SOURCE value needed for large files... no [07:27:48.605] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:27:48.636] checking for posix_fadvise... no [07:27:48.688] checking whether posix_fadvise is declared... no [07:27:48.735] checking whether fdatasync is declared... no [07:27:48.783] checking whether strlcat is declared... no [07:27:48.849] checking whether strlcpy is declared... no [07:27:48.914] checking whether strnlen is declared... yes [07:27:48.927] checking whether strsep is declared... no [07:27:48.992] checking whether preadv is declared... no [07:27:49.028] checking whether pwritev is declared... no [07:27:49.065] checking whether F_FULLFSYNC is declared... no [07:27:49.105] checking for explicit_bzero... no [07:27:49.153] checking for getopt... yes [07:27:49.197] checking for getpeereid... no [07:27:49.244] checking for inet_aton... no [07:27:49.291] checking for mkdtemp... no [07:27:49.339] checking for strlcat... no [07:27:49.388] checking for strlcpy... no [07:27:49.440] checking for strnlen... yes [07:27:49.489] checking for strsep... no [07:27:49.537] checking for pthread_barrier_wait... yes [07:27:49.581] configure: On mingw32 we will use our strtof wrapper. [07:27:49.581] checking for getopt_long... yes [07:27:49.625] checking for _configthreadlocale... yes [07:27:49.670] checking for syslog... no [07:27:49.717] checking for opterr... yes [07:27:49.768] checking for optreset... no [07:27:49.821] checking test program... cross-compiling [07:27:49.821] checking whether long int is 64 bits... no [07:27:49.856] checking whether long long int is 64 bits... yes [07:27:49.865] checking for __builtin_mul_overflow... yes [07:27:49.908] checking size of void *... 8 [07:27:50.229] checking size of size_t... 8 [07:27:50.562] checking size of long... 4 [07:27:50.771] checking alignment of short... 2 [07:27:50.968] checking alignment of int... 4 [07:27:51.232] checking alignment of long... 4 [07:27:51.443] checking alignment of long long int... 8 [07:27:51.739] checking alignment of double... 8 [07:27:52.030] checking for int8... no [07:27:52.072] checking for uint8... no [07:27:52.113] checking for int64... no [07:27:52.156] checking for uint64... no [07:27:52.200] checking for __int128... yes [07:27:52.251] checking for __int128 alignment bug... assuming ok [07:27:52.251] checking alignment of PG_INT128_TYPE... 16 [07:27:52.641] checking for builtin __sync char locking functions... yes [07:27:52.683] checking for builtin __sync int32 locking functions... yes [07:27:52.726] checking for builtin __sync int32 atomic operations... yes [07:27:52.769] checking for builtin __sync int64 atomic operations... yes [07:27:52.812] checking for builtin __atomic int32 atomic operations... yes [07:27:52.854] checking for builtin __atomic int64 atomic operations... yes [07:27:52.896] checking for __get_cpuid... yes [07:27:52.944] checking for __get_cpuid_count... yes [07:27:52.988] checking for __cpuid... no [07:27:53.388] checking for __cpuidex... no [07:27:53.811] checking for _xgetbv with CFLAGS=... no [07:27:54.183] checking for _xgetbv with CFLAGS=-mxsave... yes [07:27:54.573] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:27:54.949] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:27:55.280] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:27:55.326] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:27:55.410] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:27:55.431] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:27:55.449] 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 [07:27:55.502] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:27:55.503] checking which random number source to use... Windows native [07:27:55.505] checking for xmllint... /usr/bin/xmllint [07:27:55.505] checking for xsltproc... /usr/bin/xsltproc [07:27:55.505] checking for fop... /usr/bin/fop [07:27:55.505] checking for dbtoepub... no [07:27:55.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:27:55.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:27:55.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:27:55.516] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:27:55.516] 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 [07:27:55.516] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:27:55.516] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:27:55.595] configure: creating ./config.status [07:27:55.677] config.status: creating GNUmakefile [07:27:55.688] config.status: creating src/Makefile.global [07:27:55.702] config.status: creating src/include/pg_config.h [07:27:55.714] config.status: creating src/include/pg_config_ext.h [07:27:55.725] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:27:55.739] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:27:55.746] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:27:55.752] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:27:55.759] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:27:55.765] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:27:55.768] config.status: executing check_win32_symlinks commands [07:27:55.801] [07:27:55.801] real 0m17.042s [07:27:55.801] user 0m11.362s [07:27:55.801] sys 0m5.279s [07:27:55.801] make -s -j${BUILD_JOBS} clean [07:27:56.307] time make -s -j${BUILD_JOBS} world-bin [07:28:31.031] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [07:28:31.031] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [07:28:31.031] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [07:28:31.031] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [07:28:31.031] 3889 | group_rel, [07:28:31.031] | ~~~~~~~~~~ [07:28:31.031] 3890 | &varinfos, [07:28:31.031] | ~~~~~~~~~~ [07:28:31.031] 3891 | &mvndistinct); [07:28:31.031] | ~~~~~~~~~~~~~ [07:28:31.031] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [07:28:31.031] 3792 | RelOptInfo *group_rel; [07:28:31.031] | ^~~~~~~~~ [07:28:31.031] cc1: all warnings being treated as errors [07:28:31.031] make[4]: *** [: selfuncs.o] Error 1 [07:28:31.031] make[4]: *** Waiting for unfinished jobs.... [07:28:32.088] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [07:28:32.088] make[2]: *** [common.mk:37: utils-recursive] Error 2 [07:28:32.088] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:28:32.088] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:28:32.089] [07:28:32.089] real 0m35.781s [07:28:32.089] user 1m46.578s [07:28:32.089] sys 0m24.851s [07:28:32.089] [07:28:32.089] Exit status: 2