[13:43:40.716] time ./configure \ [13:43:40.716] --host=x86_64-w64-mingw32 \ [13:43:40.716] --enable-cassert \ [13:43:40.716] --without-icu \ [13:43:40.716] CC="ccache x86_64-w64-mingw32-gcc" \ [13:43:40.716] CXX="ccache x86_64-w64-mingw32-g++" [13:43:40.835] checking build system type... x86_64-pc-linux-gnu [13:43:41.041] checking host system type... x86_64-w64-mingw32 [13:43:41.047] checking which template to use... win32 [13:43:41.047] checking whether NLS is wanted... no [13:43:41.047] checking for default port number... 5432 [13:43:41.054] checking for block size... 8kB [13:43:41.055] checking for segment size... 1GB [13:43:41.058] checking for WAL block size... 8kB [13:43:41.059] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:43:41.092] checking whether the C compiler works... yes [13:43:41.249] checking for C compiler default output file name... a.exe [13:43:41.250] checking for suffix of executables... .exe [13:43:41.293] checking whether we are cross compiling... yes [13:43:41.375] checking for suffix of object files... o [13:43:41.384] checking whether we are using the GNU C compiler... yes [13:43:41.391] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:43:41.399] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:43:41.409] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:43:41.471] checking whether we are using the GNU C++ compiler... yes [13:43:41.478] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:43:41.546] checking for gawk... no [13:43:41.546] checking for mawk... mawk [13:43:41.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:43:41.578] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:43:41.584] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:43:41.628] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:43:41.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:43:41.824] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:43:41.831] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:43:41.838] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:43:41.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:43:41.851] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:43:41.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:43:41.864] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:43:41.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:43:41.877] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:43:41.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:43:41.889] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:43:41.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:43:41.931] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:43:41.937] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:43:41.943] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:43:41.959] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:43:42.045] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:43:42.052] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:43:42.074] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:43:42.080] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:43:42.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:43:42.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:43:42.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:43:42.166] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:43:42.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:43:42.206] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:43:42.214] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:43:42.221] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:43:42.228] checking whether the C compiler still works... yes [13:43:42.299] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:43:42.374] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:43:42.375] checking pkg-config is at least version 0.9.0... yes [13:43:42.391] checking whether to build with ICU support... no [13:43:42.391] checking whether to build with Tcl... no [13:43:42.391] checking whether to build Perl modules... no [13:43:42.391] checking whether to build Python modules... no [13:43:42.391] checking whether to build with GSSAPI support... no [13:43:42.393] checking whether to build with PAM support... no [13:43:42.393] checking whether to build with BSD Authentication support... no [13:43:42.393] checking whether to build with LDAP support... no [13:43:42.393] checking whether to build with Bonjour support... no [13:43:42.393] checking whether to build with SELinux support... no [13:43:42.393] checking whether to build with systemd support... no [13:43:42.394] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:43:42.394] checking whether to build with XML support... no [13:43:42.394] checking whether to build with LZ4 support... no [13:43:42.394] checking whether to build with ZSTD support... no [13:43:42.395] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:43:42.395] checking whether it is possible to strip libraries... yes [13:43:42.403] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:43:42.404] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:43:42.404] checking for a BSD-compatible install... /usr/bin/install -c [13:43:42.414] checking for tar... /usr/bin/tar [13:43:42.414] checking whether ln -s works... yes [13:43:42.414] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:43:42.417] checking for bison... /usr/bin/bison [13:43:42.419] configure: using bison (GNU Bison) 3.8.2 [13:43:42.422] checking for flex... /usr/bin/flex [13:43:42.436] configure: using flex 2.6.4 [13:43:42.436] checking for perl... /usr/bin/perl [13:43:42.439] configure: using perl 5.36.0 [13:43:42.441] checking for zic... /usr/sbin/zic [13:43:42.442] checking for a sed that does not truncate output... /usr/bin/sed [13:43:42.447] checking for grep that handles long lines and -e... /usr/bin/grep [13:43:42.450] checking for egrep... /usr/bin/grep -E [13:43:42.452] checking for ANSI C header files... yes [13:43:42.502] checking for sys/types.h... yes [13:43:42.522] checking for sys/stat.h... yes [13:43:42.540] checking for stdlib.h... yes [13:43:42.557] checking for string.h... yes [13:43:42.574] checking for memory.h... yes [13:43:42.612] checking for strings.h... yes [13:43:42.629] checking for inttypes.h... yes [13:43:42.647] checking for stdint.h... yes [13:43:42.664] checking for unistd.h... yes [13:43:42.683] checking for main in -lm... yes [13:43:42.735] checking for library containing setproctitle... no [13:43:42.828] checking for library containing dlsym... no [13:43:42.924] checking for library containing socket... -lws2_32 [13:43:43.064] checking for library containing getopt_long... none required [13:43:43.114] checking for library containing shm_open... no [13:43:43.208] checking for library containing shm_unlink... no [13:43:43.301] checking for library containing clock_gettime... no [13:43:43.394] checking for library containing shmget... no [13:43:43.489] checking for library containing backtrace_symbols... no [13:43:43.586] checking for library containing pthread_barrier_wait... -lpthread [13:43:43.681] checking for inflate in -lz... yes [13:43:43.728] checking for stdbool.h that conforms to C99... yes [13:43:43.740] checking for _Bool... yes [13:43:43.815] checking atomic.h usability... no [13:43:43.881] checking atomic.h presence... no [13:43:43.900] checking for atomic.h... no [13:43:43.904] checking copyfile.h usability... no [13:43:43.958] checking copyfile.h presence... no [13:43:43.980] checking for copyfile.h... no [13:43:43.984] checking execinfo.h usability... no [13:43:44.041] checking execinfo.h presence... no [13:43:44.062] checking for execinfo.h... no [13:43:44.066] checking getopt.h usability... yes [13:43:44.074] checking getopt.h presence... yes [13:43:44.090] checking for getopt.h... yes [13:43:44.097] checking ifaddrs.h usability... no [13:43:44.154] checking ifaddrs.h presence... no [13:43:44.172] checking for ifaddrs.h... no [13:43:44.176] checking mbarrier.h usability... no [13:43:44.229] checking mbarrier.h presence... no [13:43:44.248] checking for mbarrier.h... no [13:43:44.251] checking sys/epoll.h usability... no [13:43:44.308] checking sys/epoll.h presence... no [13:43:44.326] checking for sys/epoll.h... no [13:43:44.329] checking sys/event.h usability... no [13:43:44.381] checking sys/event.h presence... no [13:43:44.400] checking for sys/event.h... no [13:43:44.403] checking sys/personality.h usability... no [13:43:44.458] checking sys/personality.h presence... no [13:43:44.476] checking for sys/personality.h... no [13:43:44.479] checking sys/prctl.h usability... no [13:43:44.532] checking sys/prctl.h presence... no [13:43:44.550] checking for sys/prctl.h... no [13:43:44.554] checking sys/procctl.h usability... no [13:43:44.609] checking sys/procctl.h presence... no [13:43:44.628] checking for sys/procctl.h... no [13:43:44.631] checking sys/signalfd.h usability... no [13:43:44.690] checking sys/signalfd.h presence... no [13:43:44.709] checking for sys/signalfd.h... no [13:43:44.712] checking sys/ucred.h usability... no [13:43:44.767] checking sys/ucred.h presence... no [13:43:44.787] checking for sys/ucred.h... no [13:43:44.790] checking termios.h usability... no [13:43:44.844] checking termios.h presence... no [13:43:44.864] checking for termios.h... no [13:43:44.867] checking ucred.h usability... no [13:43:44.922] checking ucred.h presence... no [13:43:44.940] checking for ucred.h... no [13:43:44.943] checking zlib.h usability... yes [13:43:44.952] checking zlib.h presence... yes [13:43:44.971] checking for zlib.h... yes [13:43:44.971] checking for lz4... /usr/bin/lz4 [13:43:44.971] checking for zstd... /usr/bin/zstd [13:43:44.972] checking for openssl... /usr/bin/openssl [13:43:44.977] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:43:44.977] checking crtdefs.h usability... yes [13:43:44.985] checking crtdefs.h presence... yes [13:43:45.001] checking for crtdefs.h... yes [13:43:45.002] checking whether byte ordering is bigendian... no [13:43:45.077] checking for inline... inline [13:43:45.084] checking for printf format archetype... gnu_printf [13:43:45.093] checking for _Static_assert... yes [13:43:45.137] checking for typeof... typeof [13:43:45.146] checking for __builtin_types_compatible_p... yes [13:43:45.159] checking for __builtin_constant_p... yes [13:43:45.171] checking for __builtin_unreachable... yes [13:43:45.215] checking for computed goto support... yes [13:43:45.223] checking for struct tm.tm_zone... no [13:43:45.305] checking for union semun... no [13:43:45.341] checking for socklen_t... yes [13:43:46.501] checking for struct sockaddr.sa_len... no [13:43:48.600] checking for locale_t... no [13:43:48.671] checking for C/C++ restrict keyword... __restrict [13:43:48.686] checking for struct option... yes [13:43:48.742] checking whether assembler supports x86_64 popcntq... yes [13:43:48.750] checking size of off_t... 4 [13:43:48.960] 0 [13:43:48.961] checking size of bool... 1 [13:43:49.005] checking for int timezone... yes [13:43:49.056] checking for wcstombs_l declaration... no [13:43:49.148] checking for backtrace_symbols... no [13:43:49.199] checking for copyfile... no [13:43:49.249] checking for copy_file_range... no [13:43:49.300] checking for getifaddrs... no [13:43:49.352] checking for getpeerucred... no [13:43:49.405] checking for inet_pton... yes [13:43:49.457] checking for kqueue... no [13:43:49.511] checking for mbstowcs_l... no [13:43:49.562] checking for memset_s... no [13:43:49.614] checking for posix_fallocate... no [13:43:49.668] checking for ppoll... no [13:43:49.719] checking for pthread_is_threaded_np... no [13:43:49.774] checking for setproctitle... no [13:43:49.826] checking for setproctitle_fast... no [13:43:49.879] checking for strchrnul... no [13:43:49.930] checking for strsignal... no [13:43:49.982] checking for syncfs... no [13:43:50.033] checking for sync_file_range... no [13:43:50.085] checking for uselocale... no [13:43:50.138] checking for wcstombs_l... no [13:43:50.189] checking for __builtin_bswap16... yes [13:43:50.241] checking for __builtin_bswap32... yes [13:43:50.290] checking for __builtin_bswap64... yes [13:43:50.338] checking for __builtin_clz... yes [13:43:50.388] checking for __builtin_ctz... yes [13:43:50.437] checking for __builtin_popcount... yes [13:43:50.488] checking for __builtin_frame_address... yes [13:43:50.537] checking for _LARGEFILE_SOURCE value needed for large files... no [13:43:50.592] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:43:50.626] checking for posix_fadvise... no [13:43:50.681] checking whether posix_fadvise is declared... no [13:43:50.730] checking whether fdatasync is declared... no [13:43:50.777] checking whether strlcat is declared... no [13:43:50.842] checking whether strlcpy is declared... no [13:43:50.910] checking whether strnlen is declared... yes [13:43:50.925] checking whether strsep is declared... no [13:43:50.993] checking whether preadv is declared... no [13:43:51.034] checking whether pwritev is declared... no [13:43:51.072] checking whether F_FULLFSYNC is declared... no [13:43:51.117] checking for explicit_bzero... no [13:43:51.167] checking for getopt... yes [13:43:51.214] checking for getpeereid... no [13:43:51.265] checking for inet_aton... no [13:43:51.315] checking for mkdtemp... no [13:43:51.365] checking for strlcat... no [13:43:51.415] checking for strlcpy... no [13:43:51.464] checking for strnlen... yes [13:43:51.514] checking for strsep... no [13:43:51.565] checking for pthread_barrier_wait... yes [13:43:51.611] configure: On mingw32 we will use our strtof wrapper. [13:43:51.611] checking for getopt_long... yes [13:43:51.657] checking for _configthreadlocale... yes [13:43:51.705] checking for syslog... no [13:43:51.757] checking for opterr... yes [13:43:51.806] checking for optreset... no [13:43:51.861] checking test program... cross-compiling [13:43:51.861] checking whether long int is 64 bits... no [13:43:51.894] checking whether long long int is 64 bits... yes [13:43:51.904] checking for __builtin_mul_overflow... yes [13:43:51.947] checking size of void *... 8 [13:43:52.225] checking size of size_t... 8 [13:43:52.566] checking size of long... 4 [13:43:52.782] checking alignment of short... 2 [13:43:52.975] checking alignment of int... 4 [13:43:53.185] checking alignment of long... 4 [13:43:53.405] checking alignment of long long int... 8 [13:43:53.686] checking alignment of double... 8 [13:43:53.956] checking for int8... no [13:43:53.998] checking for uint8... no [13:43:54.040] checking for int64... no [13:43:54.086] checking for uint64... no [13:43:54.130] checking for __int128... yes [13:43:54.182] checking for __int128 alignment bug... assuming ok [13:43:54.182] checking alignment of PG_INT128_TYPE... 16 [13:43:54.589] checking for builtin __sync char locking functions... yes [13:43:54.635] checking for builtin __sync int32 locking functions... yes [13:43:54.679] checking for builtin __sync int32 atomic operations... yes [13:43:54.723] checking for builtin __sync int64 atomic operations... yes [13:43:54.766] checking for builtin __atomic int32 atomic operations... yes [13:43:54.808] checking for builtin __atomic int64 atomic operations... yes [13:43:54.849] checking for __get_cpuid... yes [13:43:54.896] checking for __get_cpuid_count... yes [13:43:54.939] checking for __cpuid... no [13:43:55.346] checking for __cpuidex... no [13:43:55.778] checking for _xgetbv with CFLAGS=... no [13:43:56.156] checking for _xgetbv with CFLAGS=-mxsave... yes [13:43:56.548] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:43:56.934] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:43:57.271] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:43:57.320] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:43:57.414] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:43:57.438] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:43:57.460] 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 [13:43:57.520] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:43:57.521] checking which random number source to use... Windows native [13:43:57.523] checking for xmllint... /usr/bin/xmllint [13:43:57.523] checking for xsltproc... /usr/bin/xsltproc [13:43:57.523] checking for fop... /usr/bin/fop [13:43:57.524] checking for dbtoepub... no [13:43:57.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:43:57.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:43:57.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:43:57.537] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:43:57.537] 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 [13:43:57.537] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:43:57.537] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:43:57.628] configure: creating ./config.status [13:43:57.719] config.status: creating GNUmakefile [13:43:57.733] config.status: creating src/Makefile.global [13:43:57.751] config.status: creating src/include/pg_config.h [13:43:57.765] config.status: creating src/include/pg_config_ext.h [13:43:57.777] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:43:57.792] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:43:57.799] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:43:57.806] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:43:57.813] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:43:57.819] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:43:57.822] config.status: executing check_win32_symlinks commands [13:43:57.856] [13:43:57.856] real 0m17.140s [13:43:57.856] user 0m11.384s [13:43:57.856] sys 0m5.310s [13:43:57.856] make -s -j${BUILD_JOBS} clean [13:43:58.388] time make -s -j${BUILD_JOBS} world-bin [13:44:19.979] In function ‘identify_sort_expression’, [13:44:19.979] inlined from ‘cost_incremental_sort’ at costsize.c:2101:19: [13:44:19.979] costsize.c:2020:52: error: ‘ndist’ may be used uninitialized [-Werror=maybe-uninitialized] [13:44:19.979] 2020 | if (ndistinct < 0.0 || (!isdefault && ndist < ndistinct)) [13:44:19.979] | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [13:44:19.979] costsize.c: In function ‘cost_incremental_sort’: [13:44:19.979] costsize.c:2001:49: note: ‘ndist’ was declared here [13:44:19.979] 2001 | double ndist; [13:44:19.979] | ^~~~~ [13:44:19.979] cc1: all warnings being treated as errors [13:44:19.980] make[4]: *** [: costsize.o] Error 1 [13:44:19.980] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [13:44:19.980] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [13:44:19.980] make[2]: *** Waiting for unfinished jobs.... [13:44:28.627] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:44:28.627] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:44:28.628] [13:44:28.628] real 0m30.239s [13:44:28.628] user 1m30.818s [13:44:28.628] sys 0m20.784s [13:44:28.628] [13:44:28.628] Exit status: 2