[09:00:17.229] time ./configure \ [09:00:17.229] --host=x86_64-w64-mingw32 \ [09:00:17.229] --enable-cassert \ [09:00:17.229] --without-icu \ [09:00:17.229] CC="ccache x86_64-w64-mingw32-gcc" \ [09:00:17.229] CXX="ccache x86_64-w64-mingw32-g++" [09:00:17.335] checking build system type... x86_64-pc-linux-gnu [09:00:17.516] checking host system type... x86_64-w64-mingw32 [09:00:17.521] checking which template to use... win32 [09:00:17.521] checking whether NLS is wanted... no [09:00:17.521] checking for default port number... 5432 [09:00:17.528] checking for block size... 8kB [09:00:17.529] checking for segment size... 1GB [09:00:17.531] checking for WAL block size... 8kB [09:00:17.532] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:00:17.564] checking whether the C compiler works... yes [09:00:17.703] checking for C compiler default output file name... a.exe [09:00:17.704] checking for suffix of executables... .exe [09:00:17.743] checking whether we are cross compiling... yes [09:00:17.817] checking for suffix of object files... o [09:00:17.825] checking whether we are using the GNU C compiler... yes [09:00:17.831] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:00:17.837] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:00:17.846] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:00:17.904] checking whether we are using the GNU C++ compiler... yes [09:00:17.911] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:00:17.977] checking for gawk... no [09:00:17.977] checking for mawk... mawk [09:00:17.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:00:17.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:00:17.992] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:00:18.036] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:00:18.215] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:00:18.222] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:00:18.228] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:00:18.235] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:00:18.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:00:18.249] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:00:18.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:00:18.285] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:00:18.292] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:00:18.298] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:00:18.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:00:18.335] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:00:18.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:00:18.378] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:00:18.385] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:00:18.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:00:18.398] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:00:18.405] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:00:18.412] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:00:18.435] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:00:18.442] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:00:18.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:00:18.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:00:18.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:00:18.555] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:00:18.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:00:18.595] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:00:18.602] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:00:18.610] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:00:18.617] checking whether the C compiler still works... yes [09:00:18.680] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:00:18.748] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:00:18.748] checking pkg-config is at least version 0.9.0... yes [09:00:18.766] checking whether to build with ICU support... no [09:00:18.766] checking whether to build with Tcl... no [09:00:18.766] checking whether to build Perl modules... no [09:00:18.766] checking whether to build Python modules... no [09:00:18.766] checking whether to build with GSSAPI support... no [09:00:18.768] checking whether to build with PAM support... no [09:00:18.768] checking whether to build with BSD Authentication support... no [09:00:18.768] checking whether to build with LDAP support... no [09:00:18.768] checking whether to build with Bonjour support... no [09:00:18.768] checking whether to build with SELinux support... no [09:00:18.768] checking whether to build with systemd support... no [09:00:18.768] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:00:18.768] checking whether to build with XML support... no [09:00:18.769] checking whether to build with LZ4 support... no [09:00:18.769] checking whether to build with ZSTD support... no [09:00:18.769] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:00:18.769] checking whether it is possible to strip libraries... yes [09:00:18.780] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:00:18.780] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:00:18.780] checking for a BSD-compatible install... /usr/bin/install -c [09:00:18.788] checking for tar... /usr/bin/tar [09:00:18.789] checking whether ln -s works... yes [09:00:18.789] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:00:18.791] checking for bison... /usr/bin/bison [09:00:18.793] configure: using bison (GNU Bison) 3.8.2 [09:00:18.796] checking for flex... /usr/bin/flex [09:00:18.807] configure: using flex 2.6.4 [09:00:18.808] checking for perl... /usr/bin/perl [09:00:18.810] configure: using perl 5.36.0 [09:00:18.812] checking for zic... /usr/sbin/zic [09:00:18.813] checking for a sed that does not truncate output... /usr/bin/sed [09:00:18.817] checking for grep that handles long lines and -e... /usr/bin/grep [09:00:18.819] checking for egrep... /usr/bin/grep -E [09:00:18.821] checking for ANSI C header files... yes [09:00:18.865] checking for sys/types.h... yes [09:00:18.881] checking for sys/stat.h... yes [09:00:18.896] checking for stdlib.h... yes [09:00:18.910] checking for string.h... yes [09:00:18.923] checking for memory.h... yes [09:00:18.937] checking for strings.h... yes [09:00:18.950] checking for inttypes.h... yes [09:00:18.965] checking for stdint.h... yes [09:00:18.978] checking for unistd.h... yes [09:00:18.993] checking for main in -lm... yes [09:00:19.046] checking for library containing setproctitle... no [09:00:19.131] checking for library containing dlsym... no [09:00:19.216] checking for library containing socket... -lws2_32 [09:00:19.342] checking for library containing getopt_long... none required [09:00:19.388] checking for library containing shm_open... no [09:00:19.472] checking for library containing shm_unlink... no [09:00:19.557] checking for library containing clock_gettime... no [09:00:19.643] checking for library containing shmget... no [09:00:19.727] checking for library containing backtrace_symbols... no [09:00:19.812] checking for library containing pthread_barrier_wait... -lpthread [09:00:19.899] checking for inflate in -lz... yes [09:00:19.944] checking for stdbool.h that conforms to C99... yes [09:00:19.955] checking for _Bool... yes [09:00:20.027] checking atomic.h usability... no [09:00:20.081] checking atomic.h presence... no [09:00:20.100] checking for atomic.h... no [09:00:20.103] checking copyfile.h usability... no [09:00:20.157] checking copyfile.h presence... no [09:00:20.176] checking for copyfile.h... no [09:00:20.179] checking execinfo.h usability... no [09:00:20.231] checking execinfo.h presence... no [09:00:20.250] checking for execinfo.h... no [09:00:20.253] checking getopt.h usability... yes [09:00:20.280] checking getopt.h presence... yes [09:00:20.295] checking for getopt.h... yes [09:00:20.302] checking ifaddrs.h usability... no [09:00:20.357] checking ifaddrs.h presence... no [09:00:20.375] checking for ifaddrs.h... no [09:00:20.378] checking mbarrier.h usability... no [09:00:20.431] checking mbarrier.h presence... no [09:00:20.450] checking for mbarrier.h... no [09:00:20.454] checking sys/epoll.h usability... no [09:00:20.508] checking sys/epoll.h presence... no [09:00:20.527] checking for sys/epoll.h... no [09:00:20.530] checking sys/event.h usability... no [09:00:20.584] checking sys/event.h presence... no [09:00:20.602] checking for sys/event.h... no [09:00:20.605] checking sys/personality.h usability... no [09:00:20.657] checking sys/personality.h presence... no [09:00:20.675] checking for sys/personality.h... no [09:00:20.678] checking sys/prctl.h usability... no [09:00:20.731] checking sys/prctl.h presence... no [09:00:20.749] checking for sys/prctl.h... no [09:00:20.752] checking sys/procctl.h usability... no [09:00:20.804] checking sys/procctl.h presence... no [09:00:20.822] checking for sys/procctl.h... no [09:00:20.825] checking sys/signalfd.h usability... no [09:00:20.879] checking sys/signalfd.h presence... no [09:00:20.898] checking for sys/signalfd.h... no [09:00:20.901] checking sys/ucred.h usability... no [09:00:20.954] checking sys/ucred.h presence... no [09:00:20.972] checking for sys/ucred.h... no [09:00:20.975] checking termios.h usability... no [09:00:21.027] checking termios.h presence... no [09:00:21.044] checking for termios.h... no [09:00:21.047] checking ucred.h usability... no [09:00:21.100] checking ucred.h presence... no [09:00:21.117] checking for ucred.h... no [09:00:21.120] checking xlocale.h usability... no [09:00:21.172] checking xlocale.h presence... no [09:00:21.189] checking for xlocale.h... no [09:00:21.191] checking zlib.h usability... yes [09:00:21.200] checking zlib.h presence... yes [09:00:21.219] checking for zlib.h... yes [09:00:21.219] checking for lz4... /usr/bin/lz4 [09:00:21.220] checking for zstd... /usr/bin/zstd [09:00:21.220] checking for openssl... /usr/bin/openssl [09:00:21.224] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:00:21.225] checking crtdefs.h usability... yes [09:00:21.232] checking crtdefs.h presence... yes [09:00:21.247] checking for crtdefs.h... yes [09:00:21.248] checking whether byte ordering is bigendian... no [09:00:21.320] checking for inline... inline [09:00:21.327] checking for printf format archetype... gnu_printf [09:00:21.335] checking for _Static_assert... yes [09:00:21.375] checking for typeof... typeof [09:00:21.406] checking for __builtin_types_compatible_p... yes [09:00:21.416] checking for __builtin_constant_p... yes [09:00:21.426] checking for __builtin_unreachable... yes [09:00:21.466] checking for computed goto support... yes [09:00:21.498] checking for struct tm.tm_zone... no [09:00:21.571] checking for union semun... no [09:00:21.603] checking for socklen_t... yes [09:00:22.723] checking for struct sockaddr.sa_len... no [09:00:24.710] checking for C/C++ restrict keyword... __restrict [09:00:24.722] checking for struct option... yes [09:00:24.761] checking whether assembler supports x86_64 popcntq... yes [09:00:24.767] checking size of off_t... 4 [09:00:24.960] 0 [09:00:24.960] checking size of bool... 1 [09:00:25.010] checking for int timezone... yes [09:00:25.061] checking for backtrace_symbols... no [09:00:25.109] checking for copyfile... no [09:00:25.157] checking for copy_file_range... no [09:00:25.204] checking for getifaddrs... no [09:00:25.251] checking for getpeerucred... no [09:00:25.299] checking for inet_pton... yes [09:00:25.348] checking for kqueue... no [09:00:25.396] checking for mbstowcs_l... no [09:00:25.443] checking for memset_s... no [09:00:25.492] checking for posix_fallocate... no [09:00:25.540] checking for ppoll... no [09:00:25.588] checking for pthread_is_threaded_np... no [09:00:25.636] checking for setproctitle... no [09:00:25.684] checking for setproctitle_fast... no [09:00:25.733] checking for strchrnul... no [09:00:25.782] checking for strsignal... no [09:00:25.829] checking for syncfs... no [09:00:25.877] checking for sync_file_range... no [09:00:25.924] checking for uselocale... no [09:00:25.972] checking for wcstombs_l... no [09:00:26.017] checking for __builtin_bswap16... yes [09:00:26.064] checking for __builtin_bswap32... yes [09:00:26.109] checking for __builtin_bswap64... yes [09:00:26.156] checking for __builtin_clz... yes [09:00:26.204] checking for __builtin_ctz... yes [09:00:26.251] checking for __builtin_popcount... yes [09:00:26.298] checking for __builtin_frame_address... yes [09:00:26.345] checking for _LARGEFILE_SOURCE value needed for large files... no [09:00:26.396] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:00:26.424] checking for posix_fadvise... no [09:00:26.474] checking whether posix_fadvise is declared... no [09:00:26.518] checking whether fdatasync is declared... no [09:00:26.563] checking whether strlcat is declared... no [09:00:26.625] checking whether strlcpy is declared... no [09:00:26.688] checking whether strnlen is declared... yes [09:00:26.701] checking whether strsep is declared... no [09:00:26.762] checking whether preadv is declared... no [09:00:26.797] checking whether pwritev is declared... no [09:00:26.833] checking whether F_FULLFSYNC is declared... no [09:00:26.871] checking for explicit_bzero... no [09:00:26.918] checking for getopt... yes [09:00:26.962] checking for getpeereid... no [09:00:27.008] checking for inet_aton... no [09:00:27.053] checking for mkdtemp... no [09:00:27.097] checking for strlcat... no [09:00:27.143] checking for strlcpy... no [09:00:27.190] checking for strnlen... yes [09:00:27.234] checking for strsep... no [09:00:27.281] checking for pthread_barrier_wait... yes [09:00:27.323] configure: On mingw32 we will use our strtof wrapper. [09:00:27.323] checking for getopt_long... yes [09:00:27.367] checking for _configthreadlocale... yes [09:00:27.410] checking for syslog... no [09:00:27.456] checking for opterr... yes [09:00:27.503] checking for optreset... no [09:00:27.553] checking test program... cross-compiling [09:00:27.553] checking whether long int is 64 bits... no [09:00:27.583] checking whether long long int is 64 bits... yes [09:00:27.592] checking for __builtin_mul_overflow... yes [09:00:27.634] checking size of void *... 8 [09:00:27.898] checking size of size_t... 8 [09:00:28.154] checking size of long... 4 [09:00:28.344] checking alignment of short... 2 [09:00:28.474] checking alignment of int... 4 [09:00:28.717] checking alignment of long... 4 [09:00:28.911] checking alignment of long long int... 8 [09:00:29.192] checking alignment of double... 8 [09:00:29.471] checking for int8... no [09:00:29.512] checking for uint8... no [09:00:29.552] checking for int64... no [09:00:29.592] checking for uint64... no [09:00:29.631] checking for __int128... yes [09:00:29.679] checking for __int128 alignment bug... assuming ok [09:00:29.679] checking alignment of PG_INT128_TYPE... 16 [09:00:30.052] checking for builtin __sync char locking functions... yes [09:00:30.092] checking for builtin __sync int32 locking functions... yes [09:00:30.132] checking for builtin __sync int32 atomic operations... yes [09:00:30.172] checking for builtin __sync int64 atomic operations... yes [09:00:30.213] checking for builtin __atomic int32 atomic operations... yes [09:00:30.254] checking for builtin __atomic int64 atomic operations... yes [09:00:30.294] checking for __get_cpuid... yes [09:00:30.340] checking for __get_cpuid_count... yes [09:00:30.382] checking for __cpuid... no [09:00:30.776] checking for __cpuidex... no [09:00:31.188] checking for _xgetbv with CFLAGS=... no [09:00:31.561] checking for _xgetbv with CFLAGS=-mxsave... yes [09:00:31.959] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:00:32.337] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:00:32.673] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:00:32.718] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:00:32.804] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:00:32.826] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:00:32.845] 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 [09:00:32.898] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:00:32.899] checking which random number source to use... Windows native [09:00:32.901] checking for xmllint... /usr/bin/xmllint [09:00:32.901] checking for xsltproc... /usr/bin/xsltproc [09:00:32.901] checking for fop... /usr/bin/fop [09:00:32.901] checking for dbtoepub... no [09:00:32.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:00:32.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:00:32.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:00:32.912] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:00:32.912] 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 [09:00:32.912] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:00:32.912] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:00:32.997] configure: creating ./config.status [09:00:33.079] config.status: creating GNUmakefile [09:00:33.091] config.status: creating src/Makefile.global [09:00:33.106] config.status: creating src/include/pg_config.h [09:00:33.119] config.status: creating src/include/pg_config_ext.h [09:00:33.130] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:00:33.146] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:00:33.152] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:00:33.160] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:00:33.167] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:00:33.174] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:00:33.177] config.status: executing check_win32_symlinks commands [09:00:33.210] [09:00:33.210] real 0m15.981s [09:00:33.210] user 0m10.695s [09:00:33.210] sys 0m4.920s [09:00:33.210] make -s -j${BUILD_JOBS} clean [09:00:33.705] time make -s -j${BUILD_JOBS} world-bin [09:01:15.150] selfuncs.c: In function ‘estimate_multivariate_bucketsize’: [09:01:15.150] selfuncs.c:3888:45: error: ‘group_rel’ may be used uninitialized [-Werror=maybe-uninitialized] [09:01:15.150] 3888 | bool estimated = estimate_multivariate_ndistinct(root, [09:01:15.150] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [09:01:15.150] 3889 | group_rel, [09:01:15.150] | ~~~~~~~~~~ [09:01:15.150] 3890 | &varinfos, [09:01:15.150] | ~~~~~~~~~~ [09:01:15.150] 3891 | &mvndistinct); [09:01:15.150] | ~~~~~~~~~~~~~ [09:01:15.150] selfuncs.c:3792:29: note: ‘group_rel’ was declared here [09:01:15.150] 3792 | RelOptInfo *group_rel; [09:01:15.150] | ^~~~~~~~~ [09:01:15.150] cc1: all warnings being treated as errors [09:01:15.150] make[4]: *** [: selfuncs.o] Error 1 [09:01:15.150] make[4]: *** Waiting for unfinished jobs.... [09:01:15.762] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [09:01:15.762] make[3]: *** Waiting for unfinished jobs.... [09:01:16.862] make[2]: *** [common.mk:37: utils-recursive] Error 2 [09:01:16.862] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:01:16.862] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:01:16.862] [09:01:16.862] real 0m43.158s [09:01:16.862] user 2m12.218s [09:01:16.862] sys 0m29.552s [09:01:16.862] [09:01:16.862] Exit status: 2