[10:42:25.858] time ./configure \ [10:42:25.858] --host=x86_64-w64-mingw32 \ [10:42:25.858] --enable-cassert \ [10:42:25.858] --without-icu \ [10:42:25.858] CC="ccache x86_64-w64-mingw32-gcc" \ [10:42:25.858] CXX="ccache x86_64-w64-mingw32-g++" [10:42:25.971] checking build system type... x86_64-pc-linux-gnu [10:42:26.179] checking host system type... x86_64-w64-mingw32 [10:42:26.184] checking which template to use... win32 [10:42:26.184] checking whether NLS is wanted... no [10:42:26.185] checking for default port number... 5432 [10:42:26.191] checking for block size... 8kB [10:42:26.192] checking for segment size... 1GB [10:42:26.195] checking for WAL block size... 8kB [10:42:26.196] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:42:26.229] checking whether the C compiler works... yes [10:42:26.384] checking for C compiler default output file name... a.exe [10:42:26.385] checking for suffix of executables... .exe [10:42:26.426] checking whether we are cross compiling... yes [10:42:26.507] checking for suffix of object files... o [10:42:26.515] checking whether we are using the GNU C compiler... yes [10:42:26.546] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:42:26.553] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:42:26.633] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:42:26.690] checking whether we are using the GNU C++ compiler... yes [10:42:26.696] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:42:26.964] checking for gawk... no [10:42:26.964] checking for mawk... mawk [10:42:26.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:42:26.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:42:26.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:42:27.031] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:42:27.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:42:27.080] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:42:27.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:42:27.116] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:42:27.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:42:27.139] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:42:27.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:42:27.175] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:42:27.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:42:27.188] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:42:27.194] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:42:27.224] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:42:27.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:42:27.266] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:42:27.281] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:42:27.314] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:42:27.322] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:42:27.329] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:42:27.336] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:42:27.360] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:42:27.377] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:42:27.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:42:27.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:42:27.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:42:27.469] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:42:27.502] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:42:27.537] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:42:27.544] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:42:27.551] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:42:27.570] checking whether the C compiler still works... yes [10:42:27.620] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:42:27.693] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:42:27.693] checking pkg-config is at least version 0.9.0... yes [10:42:27.710] checking whether to build with ICU support... no [10:42:27.710] checking whether to build with Tcl... no [10:42:27.710] checking whether to build Perl modules... no [10:42:27.710] checking whether to build Python modules... no [10:42:27.710] checking whether to build with GSSAPI support... no [10:42:27.711] checking whether to build with PAM support... no [10:42:27.711] checking whether to build with BSD Authentication support... no [10:42:27.711] checking whether to build with LDAP support... no [10:42:27.712] checking whether to build with Bonjour support... no [10:42:27.712] checking whether to build with SELinux support... no [10:42:27.712] checking whether to build with systemd support... no [10:42:27.712] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:42:27.712] checking whether to build with XML support... no [10:42:27.712] checking whether to build with LZ4 support... no [10:42:27.712] checking whether to build with ZSTD support... no [10:42:27.713] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:42:27.713] checking whether it is possible to strip libraries... yes [10:42:27.724] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:42:27.725] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:42:27.725] checking for a BSD-compatible install... /usr/bin/install -c [10:42:27.734] checking for tar... /usr/bin/tar [10:42:27.735] checking whether ln -s works... yes [10:42:27.735] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:42:27.737] checking for bison... /usr/bin/bison [10:42:27.739] configure: using bison (GNU Bison) 3.8.2 [10:42:27.743] checking for flex... /usr/bin/flex [10:42:27.756] configure: using flex 2.6.4 [10:42:27.756] checking for perl... /usr/bin/perl [10:42:27.759] configure: using perl 5.36.0 [10:42:27.761] checking for zic... /usr/sbin/zic [10:42:27.761] checking for a sed that does not truncate output... /usr/bin/sed [10:42:27.766] checking for grep that handles long lines and -e... /usr/bin/grep [10:42:27.768] checking for egrep... /usr/bin/grep -E [10:42:27.770] checking for ANSI C header files... yes [10:42:27.818] checking for sys/types.h... yes [10:42:27.835] checking for sys/stat.h... yes [10:42:27.896] checking for stdlib.h... yes [10:42:27.952] checking for string.h... yes [10:42:27.966] checking for memory.h... yes [10:42:27.980] checking for strings.h... yes [10:42:28.013] checking for inttypes.h... yes [10:42:28.029] checking for stdint.h... yes [10:42:28.087] checking for unistd.h... yes [10:42:28.102] checking for main in -lm... yes [10:42:28.147] checking for library containing setproctitle... no [10:42:28.232] checking for library containing dlsym... no [10:42:28.320] checking for library containing socket... -lws2_32 [10:42:28.451] checking for library containing getopt_long... none required [10:42:28.501] checking for library containing shm_open... no [10:42:28.591] checking for library containing shm_unlink... no [10:42:28.678] checking for library containing clock_gettime... no [10:42:28.768] checking for library containing shmget... no [10:42:28.857] checking for library containing backtrace_symbols... no [10:42:28.948] checking for library containing pthread_barrier_wait... -lpthread [10:42:29.038] checking for inflate in -lz... yes [10:42:29.087] checking for stdbool.h that conforms to C99... yes [10:42:29.098] checking for _Bool... yes [10:42:29.195] checking atomic.h usability... no [10:42:29.252] checking atomic.h presence... no [10:42:29.272] checking for atomic.h... no [10:42:29.275] checking copyfile.h usability... no [10:42:29.332] checking copyfile.h presence... no [10:42:29.351] checking for copyfile.h... no [10:42:29.354] checking execinfo.h usability... no [10:42:29.408] checking execinfo.h presence... no [10:42:29.426] checking for execinfo.h... no [10:42:29.429] checking getopt.h usability... yes [10:42:29.482] checking getopt.h presence... yes [10:42:29.496] checking for getopt.h... yes [10:42:29.503] checking ifaddrs.h usability... no [10:42:29.557] checking ifaddrs.h presence... no [10:42:29.576] checking for ifaddrs.h... no [10:42:29.580] checking mbarrier.h usability... no [10:42:29.635] checking mbarrier.h presence... no [10:42:29.655] checking for mbarrier.h... no [10:42:29.658] checking sys/epoll.h usability... no [10:42:29.712] checking sys/epoll.h presence... no [10:42:29.733] checking for sys/epoll.h... no [10:42:29.737] checking sys/event.h usability... no [10:42:29.794] checking sys/event.h presence... no [10:42:29.815] checking for sys/event.h... no [10:42:29.818] checking sys/personality.h usability... no [10:42:29.876] checking sys/personality.h presence... no [10:42:29.896] checking for sys/personality.h... no [10:42:29.900] checking sys/prctl.h usability... no [10:42:29.955] checking sys/prctl.h presence... no [10:42:29.974] checking for sys/prctl.h... no [10:42:29.978] checking sys/procctl.h usability... no [10:42:30.035] checking sys/procctl.h presence... no [10:42:30.055] checking for sys/procctl.h... no [10:42:30.059] checking sys/signalfd.h usability... no [10:42:30.114] checking sys/signalfd.h presence... no [10:42:30.132] checking for sys/signalfd.h... no [10:42:30.135] checking sys/ucred.h usability... no [10:42:30.188] checking sys/ucred.h presence... no [10:42:30.206] checking for sys/ucred.h... no [10:42:30.209] checking termios.h usability... no [10:42:30.264] checking termios.h presence... no [10:42:30.282] checking for termios.h... no [10:42:30.285] checking ucred.h usability... no [10:42:30.338] checking ucred.h presence... no [10:42:30.356] checking for ucred.h... no [10:42:30.359] checking zlib.h usability... yes [10:42:30.368] checking zlib.h presence... yes [10:42:30.386] checking for zlib.h... yes [10:42:30.386] checking for lz4... /usr/bin/lz4 [10:42:30.386] checking for zstd... /usr/bin/zstd [10:42:30.387] checking for openssl... /usr/bin/openssl [10:42:30.391] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [10:42:30.391] checking crtdefs.h usability... yes [10:42:30.443] checking crtdefs.h presence... yes [10:42:30.457] checking for crtdefs.h... yes [10:42:30.458] checking whether byte ordering is bigendian... no [10:42:30.554] checking for inline... inline [10:42:30.569] checking for printf format archetype... gnu_printf [10:42:30.577] checking for _Static_assert... yes [10:42:30.617] checking for typeof... typeof [10:42:30.650] checking for __builtin_types_compatible_p... yes [10:42:30.669] checking for __builtin_constant_p... yes [10:42:30.688] checking for __builtin_unreachable... yes [10:42:30.731] checking for computed goto support... yes [10:42:30.764] checking for struct tm.tm_zone... no [10:42:30.837] checking for union semun... no [10:42:30.872] checking for socklen_t... yes [10:42:33.029] checking for struct sockaddr.sa_len... no [10:42:35.001] checking for locale_t... no [10:42:35.061] checking for C/C++ restrict keyword... __restrict [10:42:35.073] checking for struct option... yes [10:42:35.112] checking whether assembler supports x86_64 popcntq... yes [10:42:35.119] checking size of off_t... 4 [10:42:35.363] 0 [10:42:35.364] checking size of bool... 1 [10:42:35.406] checking for int timezone... yes [10:42:35.451] checking for wcstombs_l declaration... no [10:42:35.533] checking for backtrace_symbols... no [10:42:35.583] checking for copyfile... no [10:42:35.632] checking for copy_file_range... no [10:42:35.680] checking for getifaddrs... no [10:42:35.727] checking for getpeerucred... no [10:42:35.776] checking for inet_pton... yes [10:42:35.825] checking for kqueue... no [10:42:35.874] checking for mbstowcs_l... no [10:42:35.924] checking for memset_s... no [10:42:35.974] checking for posix_fallocate... no [10:42:36.022] checking for ppoll... no [10:42:36.071] checking for pthread_is_threaded_np... no [10:42:36.120] checking for setproctitle... no [10:42:36.169] checking for setproctitle_fast... no [10:42:36.217] checking for strchrnul... no [10:42:36.266] checking for strsignal... no [10:42:36.314] checking for syncfs... no [10:42:36.362] checking for sync_file_range... no [10:42:36.410] checking for uselocale... no [10:42:36.458] checking for wcstombs_l... no [10:42:36.504] checking for __builtin_bswap16... yes [10:42:36.552] checking for __builtin_bswap32... yes [10:42:36.599] checking for __builtin_bswap64... yes [10:42:36.646] checking for __builtin_clz... yes [10:42:36.693] checking for __builtin_ctz... yes [10:42:36.739] checking for __builtin_popcount... yes [10:42:36.787] checking for __builtin_frame_address... yes [10:42:36.834] checking for _LARGEFILE_SOURCE value needed for large files... no [10:42:36.884] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:42:36.915] checking for posix_fadvise... no [10:42:36.967] checking whether posix_fadvise is declared... no [10:42:37.012] checking whether fdatasync is declared... no [10:42:37.056] checking whether strlcat is declared... no [10:42:37.119] checking whether strlcpy is declared... no [10:42:37.181] checking whether strnlen is declared... yes [10:42:37.194] checking whether strsep is declared... no [10:42:37.255] checking whether preadv is declared... no [10:42:37.289] checking whether pwritev is declared... no [10:42:37.323] checking whether F_FULLFSYNC is declared... no [10:42:37.361] checking for explicit_bzero... no [10:42:37.406] checking for getopt... yes [10:42:37.447] checking for getpeereid... no [10:42:37.491] checking for inet_aton... no [10:42:37.536] checking for mkdtemp... no [10:42:37.581] checking for strlcat... no [10:42:37.626] checking for strlcpy... no [10:42:37.671] checking for strnlen... yes [10:42:37.716] checking for strsep... no [10:42:37.761] checking for pthread_barrier_wait... yes [10:42:37.802] configure: On mingw32 we will use our strtof wrapper. [10:42:37.802] checking for getopt_long... yes [10:42:37.843] checking for _configthreadlocale... yes [10:42:37.885] checking for syslog... no [10:42:37.929] checking for opterr... yes [10:42:37.974] checking for optreset... no [10:42:38.022] checking test program... cross-compiling [10:42:38.022] checking whether long int is 64 bits... no [10:42:38.050] checking whether long long int is 64 bits... yes [10:42:38.082] checking for __builtin_mul_overflow... yes [10:42:38.122] checking size of void *... 8 [10:42:38.456] checking size of size_t... 8 [10:42:38.713] checking size of long... 4 [10:42:38.945] checking alignment of short... 2 [10:42:39.082] checking alignment of int... 4 [10:42:39.353] checking alignment of long... 4 [10:42:39.572] checking alignment of long long int... 8 [10:42:39.908] checking alignment of double... 8 [10:42:40.276] checking for int8... no [10:42:40.318] checking for uint8... no [10:42:40.362] checking for int64... no [10:42:40.403] checking for uint64... no [10:42:40.444] checking for __int128... yes [10:42:40.494] checking for __int128 alignment bug... assuming ok [10:42:40.494] checking alignment of PG_INT128_TYPE... 16 [10:42:40.893] checking for builtin __sync char locking functions... yes [10:42:40.934] checking for builtin __sync int32 locking functions... yes [10:42:40.977] checking for builtin __sync int32 atomic operations... yes [10:42:41.018] checking for builtin __sync int64 atomic operations... yes [10:42:41.060] checking for builtin __atomic int32 atomic operations... yes [10:42:41.104] checking for builtin __atomic int64 atomic operations... yes [10:42:41.147] checking for __get_cpuid... yes [10:42:41.195] checking for __get_cpuid_count... yes [10:42:41.241] checking for __cpuid... no [10:42:41.635] checking for __cpuidex... no [10:42:42.056] checking for _xgetbv with CFLAGS=... no [10:42:42.435] checking for _xgetbv with CFLAGS=-mxsave... yes [10:42:42.834] checking for _mm512_popcnt_epi64 with CFLAGS=... no [10:42:43.209] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [10:42:43.545] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [10:42:43.590] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [10:42:43.676] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:42:43.698] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:42:43.717] 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 [10:42:43.769] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:42:43.770] checking which random number source to use... Windows native [10:42:43.771] checking for xmllint... /usr/bin/xmllint [10:42:43.772] checking for xsltproc... /usr/bin/xsltproc [10:42:43.772] checking for fop... /usr/bin/fop [10:42:43.772] checking for dbtoepub... no [10:42:43.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:42:43.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:42:43.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:42:43.783] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:42:43.783] 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 [10:42:43.783] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:42:43.783] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:42:43.868] configure: creating ./config.status [10:42:43.951] config.status: creating GNUmakefile [10:42:43.963] config.status: creating src/Makefile.global [10:42:43.977] config.status: creating src/include/pg_config.h [10:42:43.989] config.status: creating src/include/pg_config_ext.h [10:42:44.001] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:42:44.015] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:42:44.022] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:42:44.029] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:42:44.036] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:42:44.043] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:42:44.046] config.status: executing check_win32_symlinks commands [10:42:44.079] [10:42:44.079] real 0m18.221s [10:42:44.079] user 0m12.183s [10:42:44.079] sys 0m5.607s [10:42:44.079] make -s -j${BUILD_JOBS} clean [10:42:44.577] time make -s -j${BUILD_JOBS} world-bin [10:43:42.701] In function ‘identify_sort_expression’, [10:43:42.701] inlined from ‘cost_incremental_sort’ at costsize.c:2101:19: [10:43:42.701] costsize.c:2020:52: error: ‘ndist’ may be used uninitialized [-Werror=maybe-uninitialized] [10:43:42.701] 2020 | if (ndistinct < 0.0 || (!isdefault && ndist < ndistinct)) [10:43:42.701] | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [10:43:42.701] costsize.c: In function ‘cost_incremental_sort’: [10:43:42.701] costsize.c:2001:49: note: ‘ndist’ was declared here [10:43:42.701] 2001 | double ndist; [10:43:42.701] | ^~~~~ [10:43:42.701] cc1: all warnings being treated as errors [10:43:42.702] make[4]: *** [: costsize.o] Error 1 [10:43:42.702] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [10:43:42.702] make[3]: *** Waiting for unfinished jobs.... [10:43:47.729] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [10:43:47.729] make[2]: *** Waiting for unfinished jobs.... [10:43:50.293] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:43:50.293] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:43:50.293] [10:43:50.293] real 1m5.716s [10:43:50.293] user 3m25.047s [10:43:50.293] sys 0m41.699s [10:43:50.294] [10:43:50.294] Exit status: 2