[09:46:31.887] time ./configure \ [09:46:31.887] --host=x86_64-w64-mingw32 \ [09:46:31.887] --enable-cassert \ [09:46:31.887] --without-icu \ [09:46:31.887] CC="ccache x86_64-w64-mingw32-gcc" \ [09:46:31.887] CXX="ccache x86_64-w64-mingw32-g++" [09:46:32.012] checking build system type... x86_64-pc-linux-gnu [09:46:32.200] checking host system type... x86_64-w64-mingw32 [09:46:32.206] checking which template to use... win32 [09:46:32.206] checking whether NLS is wanted... no [09:46:32.206] checking for default port number... 5432 [09:46:32.214] checking for block size... 8kB [09:46:32.215] checking for segment size... 1GB [09:46:32.218] checking for WAL block size... 8kB [09:46:32.219] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:46:32.261] checking whether the C compiler works... yes [09:46:32.414] checking for C compiler default output file name... a.exe [09:46:32.415] checking for suffix of executables... .exe [09:46:32.460] checking whether we are cross compiling... yes [09:46:32.537] checking for suffix of object files... o [09:46:32.547] checking whether we are using the GNU C compiler... yes [09:46:32.554] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:46:32.562] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:46:32.572] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:46:32.641] checking whether we are using the GNU C++ compiler... yes [09:46:32.648] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:46:32.724] checking for gawk... no [09:46:32.724] checking for mawk... mawk [09:46:32.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:46:32.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:46:32.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:46:32.791] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:46:32.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:46:32.988] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:46:32.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:46:33.003] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:46:33.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:46:33.019] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:46:33.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:46:33.035] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:46:33.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:46:33.051] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:46:33.058] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:46:33.067] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:46:33.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:46:33.113] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:46:33.120] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:46:33.128] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:46:33.135] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:46:33.144] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:46:33.151] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:46:33.176] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:46:33.184] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:46:33.192] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:46:33.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:46:33.273] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:46:33.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:46:33.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:46:33.323] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:46:33.332] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:46:33.340] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:46:33.349] checking whether the C compiler still works... yes [09:46:33.415] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:46:33.495] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:46:33.495] checking pkg-config is at least version 0.9.0... yes [09:46:33.514] checking whether to build with ICU support... no [09:46:33.515] checking whether to build with Tcl... no [09:46:33.515] checking whether to build Perl modules... no [09:46:33.515] checking whether to build Python modules... no [09:46:33.515] checking whether to build with GSSAPI support... no [09:46:33.516] checking whether to build with PAM support... no [09:46:33.516] checking whether to build with BSD Authentication support... no [09:46:33.516] checking whether to build with LDAP support... no [09:46:33.516] checking whether to build with Bonjour support... no [09:46:33.517] checking whether to build with SELinux support... no [09:46:33.517] checking whether to build with systemd support... no [09:46:33.517] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:46:33.517] checking whether to build with XML support... no [09:46:33.517] checking whether to build with LZ4 support... no [09:46:33.518] checking whether to build with ZSTD support... no [09:46:33.518] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:46:33.518] checking whether it is possible to strip libraries... yes [09:46:33.526] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:46:33.526] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:46:33.527] checking for a BSD-compatible install... /usr/bin/install -c [09:46:33.537] checking for tar... /usr/bin/tar [09:46:33.537] checking whether ln -s works... yes [09:46:33.537] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:46:33.540] checking for bison... /usr/bin/bison [09:46:33.543] configure: using bison (GNU Bison) 3.8.2 [09:46:33.547] checking for flex... /usr/bin/flex [09:46:33.562] configure: using flex 2.6.4 [09:46:33.562] checking for perl... /usr/bin/perl [09:46:33.566] configure: using perl 5.36.0 [09:46:33.568] checking for zic... /usr/sbin/zic [09:46:33.568] checking for a sed that does not truncate output... /usr/bin/sed [09:46:33.575] checking for grep that handles long lines and -e... /usr/bin/grep [09:46:33.577] checking for egrep... /usr/bin/grep -E [09:46:33.579] checking for ANSI C header files... yes [09:46:33.630] checking for sys/types.h... yes [09:46:33.650] checking for sys/stat.h... yes [09:46:33.669] checking for stdlib.h... yes [09:46:33.687] checking for string.h... yes [09:46:33.705] checking for memory.h... yes [09:46:33.723] checking for strings.h... yes [09:46:33.741] checking for inttypes.h... yes [09:46:33.761] checking for stdint.h... yes [09:46:33.778] checking for unistd.h... yes [09:46:33.796] checking for main in -lm... yes [09:46:33.848] checking for library containing setproctitle... no [09:46:33.943] checking for library containing dlsym... no [09:46:34.037] checking for library containing socket... -lws2_32 [09:46:34.179] checking for library containing getopt_long... none required [09:46:34.230] checking for library containing shm_open... no [09:46:34.323] checking for library containing shm_unlink... no [09:46:34.419] checking for library containing clock_gettime... no [09:46:34.511] checking for library containing shmget... no [09:46:34.603] checking for library containing backtrace_symbols... no [09:46:34.699] checking for library containing pthread_barrier_wait... -lpthread [09:46:34.794] checking for inflate in -lz... yes [09:46:34.843] checking for stdbool.h that conforms to C99... yes [09:46:34.856] checking for _Bool... yes [09:46:34.936] checking atomic.h usability... no [09:46:34.993] checking atomic.h presence... no [09:46:35.012] checking for atomic.h... no [09:46:35.015] checking copyfile.h usability... no [09:46:35.076] checking copyfile.h presence... no [09:46:35.097] checking for copyfile.h... no [09:46:35.101] checking execinfo.h usability... no [09:46:35.160] checking execinfo.h presence... no [09:46:35.181] checking for execinfo.h... no [09:46:35.184] checking getopt.h usability... yes [09:46:35.193] checking getopt.h presence... yes [09:46:35.209] checking for getopt.h... yes [09:46:35.218] checking ifaddrs.h usability... no [09:46:35.281] checking ifaddrs.h presence... no [09:46:35.301] checking for ifaddrs.h... no [09:46:35.305] checking mbarrier.h usability... no [09:46:35.365] checking mbarrier.h presence... no [09:46:35.385] checking for mbarrier.h... no [09:46:35.389] checking sys/epoll.h usability... no [09:46:35.448] checking sys/epoll.h presence... no [09:46:35.470] checking for sys/epoll.h... no [09:46:35.474] checking sys/event.h usability... no [09:46:35.533] checking sys/event.h presence... no [09:46:35.554] checking for sys/event.h... no [09:46:35.558] checking sys/personality.h usability... no [09:46:35.620] checking sys/personality.h presence... no [09:46:35.641] checking for sys/personality.h... no [09:46:35.644] checking sys/prctl.h usability... no [09:46:35.705] checking sys/prctl.h presence... no [09:46:35.726] checking for sys/prctl.h... no [09:46:35.730] checking sys/procctl.h usability... no [09:46:35.789] checking sys/procctl.h presence... no [09:46:35.809] checking for sys/procctl.h... no [09:46:35.813] checking sys/signalfd.h usability... no [09:46:35.872] checking sys/signalfd.h presence... no [09:46:35.893] checking for sys/signalfd.h... no [09:46:35.896] checking sys/ucred.h usability... no [09:46:35.955] checking sys/ucred.h presence... no [09:46:35.975] checking for sys/ucred.h... no [09:46:35.978] checking termios.h usability... no [09:46:36.036] checking termios.h presence... no [09:46:36.056] checking for termios.h... no [09:46:36.060] checking ucred.h usability... no [09:46:36.117] checking ucred.h presence... no [09:46:36.138] checking for ucred.h... no [09:46:36.141] checking xlocale.h usability... no [09:46:36.199] checking xlocale.h presence... no [09:46:36.219] checking for xlocale.h... no [09:46:36.222] checking zlib.h usability... yes [09:46:36.232] checking zlib.h presence... yes [09:46:36.251] checking for zlib.h... yes [09:46:36.252] checking for lz4... /usr/bin/lz4 [09:46:36.252] checking for zstd... /usr/bin/zstd [09:46:36.252] checking for openssl... /usr/bin/openssl [09:46:36.257] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:46:36.257] checking crtdefs.h usability... yes [09:46:36.265] checking crtdefs.h presence... yes [09:46:36.282] checking for crtdefs.h... yes [09:46:36.283] checking whether byte ordering is bigendian... no [09:46:36.364] checking for inline... inline [09:46:36.371] checking for printf format archetype... gnu_printf [09:46:36.380] checking for _Static_assert... yes [09:46:36.424] checking for typeof... typeof [09:46:36.431] checking for __builtin_types_compatible_p... yes [09:46:36.442] checking for __builtin_constant_p... yes [09:46:36.452] checking for __builtin_unreachable... yes [09:46:36.496] checking for computed goto support... yes [09:46:36.504] checking for struct tm.tm_zone... no [09:46:36.589] checking for union semun... no [09:46:36.625] checking for socklen_t... yes [09:46:37.850] checking for struct sockaddr.sa_len... no [09:46:40.145] checking for C/C++ restrict keyword... __restrict [09:46:40.160] checking for struct option... yes [09:46:40.205] checking whether assembler supports x86_64 popcntq... yes [09:46:40.213] checking size of off_t... 4 [09:46:40.432] 0 [09:46:40.433] checking size of bool... 1 [09:46:40.481] checking for int timezone... yes [09:46:40.537] checking for backtrace_symbols... no [09:46:40.592] checking for copyfile... no [09:46:40.642] checking for copy_file_range... no [09:46:40.695] checking for getifaddrs... no [09:46:40.751] checking for getpeerucred... no [09:46:40.805] checking for inet_pton... yes [09:46:40.858] checking for kqueue... no [09:46:40.910] checking for mbstowcs_l... no [09:46:40.965] checking for memset_s... no [09:46:41.021] checking for posix_fallocate... no [09:46:41.075] checking for ppoll... no [09:46:41.126] checking for pthread_is_threaded_np... no [09:46:41.178] checking for setproctitle... no [09:46:41.230] checking for setproctitle_fast... no [09:46:41.282] checking for strchrnul... no [09:46:41.336] checking for strsignal... no [09:46:41.390] checking for syncfs... no [09:46:41.443] checking for sync_file_range... no [09:46:41.498] checking for uselocale... no [09:46:41.554] checking for wcstombs_l... no [09:46:41.607] checking for __builtin_bswap16... yes [09:46:41.660] checking for __builtin_bswap32... yes [09:46:41.713] checking for __builtin_bswap64... yes [09:46:41.764] checking for __builtin_clz... yes [09:46:41.815] checking for __builtin_ctz... yes [09:46:41.865] checking for __builtin_popcount... yes [09:46:41.917] checking for __builtin_frame_address... yes [09:46:41.969] checking for _LARGEFILE_SOURCE value needed for large files... no [09:46:42.027] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:46:42.061] checking for posix_fadvise... no [09:46:42.115] checking whether posix_fadvise is declared... no [09:46:42.164] checking whether fdatasync is declared... no [09:46:42.215] checking whether strlcat is declared... no [09:46:42.286] checking whether strlcpy is declared... no [09:46:42.355] checking whether strnlen is declared... yes [09:46:42.370] checking whether strsep is declared... no [09:46:42.440] checking whether preadv is declared... no [09:46:42.480] checking whether pwritev is declared... no [09:46:42.519] checking whether F_FULLFSYNC is declared... no [09:46:42.563] checking for explicit_bzero... no [09:46:42.613] checking for getopt... yes [09:46:42.660] checking for getpeereid... no [09:46:42.712] checking for inet_aton... no [09:46:42.763] checking for mkdtemp... no [09:46:42.811] checking for strlcat... no [09:46:42.859] checking for strlcpy... no [09:46:42.908] checking for strnlen... yes [09:46:42.958] checking for strsep... no [09:46:43.009] checking for pthread_barrier_wait... yes [09:46:43.056] configure: On mingw32 we will use our strtof wrapper. [09:46:43.056] checking for getopt_long... yes [09:46:43.105] checking for _configthreadlocale... yes [09:46:43.153] checking for syslog... no [09:46:43.204] checking for opterr... yes [09:46:43.255] checking for optreset... no [09:46:43.307] checking test program... cross-compiling [09:46:43.307] checking whether long int is 64 bits... no [09:46:43.338] checking whether long long int is 64 bits... yes [09:46:43.348] checking for __builtin_mul_overflow... yes [09:46:43.394] checking size of void *... 8 [09:46:43.687] checking size of size_t... 8 [09:46:43.985] checking size of long... 4 [09:46:44.201] checking alignment of short... 2 [09:46:44.353] checking alignment of int... 4 [09:46:44.576] checking alignment of long... 4 [09:46:44.792] checking alignment of long long int... 8 [09:46:45.072] checking alignment of double... 8 [09:46:45.364] checking for int8... no [09:46:45.408] checking for uint8... no [09:46:45.453] checking for int64... no [09:46:45.500] checking for uint64... no [09:46:45.548] checking for __int128... yes [09:46:45.602] checking for __int128 alignment bug... assuming ok [09:46:45.603] checking alignment of PG_INT128_TYPE... 16 [09:46:45.950] checking for builtin __sync char locking functions... yes [09:46:45.993] checking for builtin __sync int32 locking functions... yes [09:46:46.037] checking for builtin __sync int32 atomic operations... yes [09:46:46.082] checking for builtin __sync int64 atomic operations... yes [09:46:46.127] checking for builtin __atomic int32 atomic operations... yes [09:46:46.173] checking for builtin __atomic int64 atomic operations... yes [09:46:46.218] checking for __get_cpuid... yes [09:46:46.267] checking for __get_cpuid_count... yes [09:46:46.313] checking for __cpuid... no [09:46:46.732] checking for __cpuidex... no [09:46:47.174] checking for _xgetbv with CFLAGS=... no [09:46:47.576] checking for _xgetbv with CFLAGS=-mxsave... yes [09:46:47.996] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:46:48.382] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:46:48.726] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:46:48.776] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:46:48.873] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:46:48.898] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:46:48.920] 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:46:48.983] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:46:48.983] checking which random number source to use... Windows native [09:46:48.985] checking for xmllint... /usr/bin/xmllint [09:46:48.986] checking for xsltproc... /usr/bin/xsltproc [09:46:48.986] checking for fop... /usr/bin/fop [09:46:48.986] checking for dbtoepub... no [09:46:48.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:46:48.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:46:48.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:46:48.998] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:46:48.998] 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:46:48.998] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:46:48.998] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:46:49.095] configure: creating ./config.status [09:46:49.187] config.status: creating GNUmakefile [09:46:49.200] config.status: creating src/Makefile.global [09:46:49.217] config.status: creating src/include/pg_config.h [09:46:49.230] config.status: creating src/include/pg_config_ext.h [09:46:49.243] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:46:49.260] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:46:49.269] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:46:49.278] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:46:49.286] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:46:49.294] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:46:49.298] config.status: executing check_win32_symlinks commands [09:46:49.335] [09:46:49.335] real 0m17.447s [09:46:49.335] user 0m11.817s [09:46:49.335] sys 0m5.281s [09:46:49.335] make -s -j${BUILD_JOBS} clean [09:46:49.873] time make -s -j${BUILD_JOBS} world-bin [09:46:56.510] In function ‘identify_sort_expression’, [09:46:56.510] inlined from ‘cost_incremental_sort’ at costsize.c:2101:19: [09:46:56.510] costsize.c:2020:52: error: ‘ndist’ may be used uninitialized [-Werror=maybe-uninitialized] [09:46:56.510] 2020 | if (ndistinct < 0.0 || (!isdefault && ndist < ndistinct)) [09:46:56.510] | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [09:46:56.510] costsize.c: In function ‘cost_incremental_sort’: [09:46:56.510] costsize.c:2001:49: note: ‘ndist’ was declared here [09:46:56.510] 2001 | double ndist; [09:46:56.510] | ^~~~~ [09:46:56.510] cc1: all warnings being treated as errors [09:46:56.510] make[4]: *** [: costsize.o] Error 1 [09:46:56.510] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [09:46:56.511] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [09:46:56.511] make[2]: *** Waiting for unfinished jobs.... [09:46:57.763] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:46:57.763] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:46:57.763] [09:46:57.763] real 0m7.890s [09:46:57.763] user 0m16.263s [09:46:57.763] sys 0m7.521s [09:46:57.763] [09:46:57.763] Exit status: 2