[14:54:30.091] time ./configure \ [14:54:30.091] --host=x86_64-w64-mingw32 \ [14:54:30.091] --enable-cassert \ [14:54:30.091] --without-icu \ [14:54:30.091] CC="ccache x86_64-w64-mingw32-gcc" \ [14:54:30.091] CXX="ccache x86_64-w64-mingw32-g++" [14:54:30.200] checking build system type... x86_64-pc-linux-gnu [14:54:30.387] checking host system type... x86_64-w64-mingw32 [14:54:30.393] checking which template to use... win32 [14:54:30.393] checking whether NLS is wanted... no [14:54:30.393] checking for default port number... 5432 [14:54:30.400] checking for block size... 8kB [14:54:30.401] checking for segment size... 1GB [14:54:30.403] checking for WAL block size... 8kB [14:54:30.404] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:54:30.440] checking whether the C compiler works... yes [14:54:30.569] checking for C compiler default output file name... a.exe [14:54:30.571] checking for suffix of executables... .exe [14:54:30.613] checking whether we are cross compiling... yes [14:54:30.686] checking for suffix of object files... o [14:54:30.695] checking whether we are using the GNU C compiler... yes [14:54:30.702] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:54:30.710] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:54:30.720] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:54:30.788] checking whether we are using the GNU C++ compiler... yes [14:54:30.795] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:54:30.865] checking for gawk... no [14:54:30.865] checking for mawk... mawk [14:54:30.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:54:30.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:54:30.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:54:30.930] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:54:31.094] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:54:31.102] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:54:31.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:54:31.116] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:54:31.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:54:31.131] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:54:31.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:54:31.146] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:54:31.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:54:31.161] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:54:31.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:54:31.176] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:54:31.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:54:31.221] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:54:31.228] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:54:31.236] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:54:31.243] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:54:31.251] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:54:31.258] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:54:31.284] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:54:31.291] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:54:31.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:54:31.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:54:31.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:54:31.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:54:31.392] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:54:31.429] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:54:31.436] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:54:31.444] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:54:31.452] checking whether the C compiler still works... yes [14:54:31.518] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:54:31.595] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:54:31.595] checking pkg-config is at least version 0.9.0... yes [14:54:31.613] checking whether to build with ICU support... no [14:54:31.613] checking whether to build with Tcl... no [14:54:31.613] checking whether to build Perl modules... no [14:54:31.613] checking whether to build Python modules... no [14:54:31.613] checking whether to build with GSSAPI support... no [14:54:31.615] checking whether to build with PAM support... no [14:54:31.615] checking whether to build with BSD Authentication support... no [14:54:31.615] checking whether to build with LDAP support... no [14:54:31.615] checking whether to build with Bonjour support... no [14:54:31.615] checking whether to build with SELinux support... no [14:54:31.615] checking whether to build with systemd support... no [14:54:31.615] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:54:31.615] checking whether to build with XML support... no [14:54:31.616] checking whether to build with LZ4 support... no [14:54:31.616] checking whether to build with ZSTD support... no [14:54:31.616] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:54:31.616] checking whether it is possible to strip libraries... yes [14:54:31.624] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:54:31.625] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:54:31.625] checking for a BSD-compatible install... /usr/bin/install -c [14:54:31.635] checking for tar... /usr/bin/tar [14:54:31.635] checking whether ln -s works... yes [14:54:31.635] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:54:31.637] checking for bison... /usr/bin/bison [14:54:31.639] configure: using bison (GNU Bison) 3.8.2 [14:54:31.642] checking for flex... /usr/bin/flex [14:54:31.655] configure: using flex 2.6.4 [14:54:31.655] checking for perl... /usr/bin/perl [14:54:31.658] configure: using perl 5.36.0 [14:54:31.660] checking for zic... /usr/sbin/zic [14:54:31.660] checking for a sed that does not truncate output... /usr/bin/sed [14:54:31.665] checking for grep that handles long lines and -e... /usr/bin/grep [14:54:31.667] checking for egrep... /usr/bin/grep -E [14:54:31.669] checking for ANSI C header files... yes [14:54:31.718] checking for sys/types.h... yes [14:54:31.736] checking for sys/stat.h... yes [14:54:31.752] checking for stdlib.h... yes [14:54:31.767] checking for string.h... yes [14:54:31.782] checking for memory.h... yes [14:54:31.797] checking for strings.h... yes [14:54:31.814] checking for inttypes.h... yes [14:54:31.833] checking for stdint.h... yes [14:54:31.848] checking for unistd.h... yes [14:54:31.866] checking for main in -lm... yes [14:54:31.915] checking for library containing setproctitle... no [14:54:32.007] checking for library containing dlsym... no [14:54:32.097] checking for library containing socket... -lws2_32 [14:54:32.230] checking for library containing getopt_long... none required [14:54:32.278] checking for library containing shm_open... no [14:54:32.369] checking for library containing shm_unlink... no [14:54:32.461] checking for library containing clock_gettime... no [14:54:32.553] checking for library containing shmget... no [14:54:32.645] checking for library containing backtrace_symbols... no [14:54:32.738] checking for library containing pthread_barrier_wait... -lpthread [14:54:32.828] checking for inflate in -lz... yes [14:54:32.876] checking for stdbool.h that conforms to C99... yes [14:54:32.888] checking for _Bool... yes [14:54:32.962] checking atomic.h usability... no [14:54:33.019] checking atomic.h presence... no [14:54:33.039] checking for atomic.h... no [14:54:33.042] checking copyfile.h usability... no [14:54:33.100] checking copyfile.h presence... no [14:54:33.120] checking for copyfile.h... no [14:54:33.124] checking execinfo.h usability... no [14:54:33.180] checking execinfo.h presence... no [14:54:33.199] checking for execinfo.h... no [14:54:33.203] checking getopt.h usability... yes [14:54:33.210] checking getopt.h presence... yes [14:54:33.226] checking for getopt.h... yes [14:54:33.234] checking ifaddrs.h usability... no [14:54:33.290] checking ifaddrs.h presence... no [14:54:33.310] checking for ifaddrs.h... no [14:54:33.314] checking mbarrier.h usability... no [14:54:33.370] checking mbarrier.h presence... no [14:54:33.389] checking for mbarrier.h... no [14:54:33.393] checking sys/epoll.h usability... no [14:54:33.449] checking sys/epoll.h presence... no [14:54:33.469] checking for sys/epoll.h... no [14:54:33.472] checking sys/event.h usability... no [14:54:33.527] checking sys/event.h presence... no [14:54:33.547] checking for sys/event.h... no [14:54:33.550] checking sys/personality.h usability... no [14:54:33.606] checking sys/personality.h presence... no [14:54:33.626] checking for sys/personality.h... no [14:54:33.629] checking sys/prctl.h usability... no [14:54:33.685] checking sys/prctl.h presence... no [14:54:33.704] checking for sys/prctl.h... no [14:54:33.708] checking sys/procctl.h usability... no [14:54:33.763] checking sys/procctl.h presence... no [14:54:33.783] checking for sys/procctl.h... no [14:54:33.786] checking sys/signalfd.h usability... no [14:54:33.843] checking sys/signalfd.h presence... no [14:54:33.862] checking for sys/signalfd.h... no [14:54:33.866] checking sys/ucred.h usability... no [14:54:33.922] checking sys/ucred.h presence... no [14:54:33.941] checking for sys/ucred.h... no [14:54:33.945] checking termios.h usability... no [14:54:34.000] checking termios.h presence... no [14:54:34.020] checking for termios.h... no [14:54:34.023] checking ucred.h usability... no [14:54:34.080] checking ucred.h presence... no [14:54:34.099] checking for ucred.h... no [14:54:34.102] checking zlib.h usability... yes [14:54:34.112] checking zlib.h presence... yes [14:54:34.132] checking for zlib.h... yes [14:54:34.132] checking for lz4... /usr/bin/lz4 [14:54:34.132] checking for zstd... /usr/bin/zstd [14:54:34.132] checking for openssl... /usr/bin/openssl [14:54:34.137] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [14:54:34.137] checking crtdefs.h usability... yes [14:54:34.145] checking crtdefs.h presence... yes [14:54:34.161] checking for crtdefs.h... yes [14:54:34.162] checking whether byte ordering is bigendian... no [14:54:34.241] checking for inline... inline [14:54:34.248] checking for printf format archetype... gnu_printf [14:54:34.257] checking for _Static_assert... yes [14:54:34.299] checking for typeof... typeof [14:54:34.307] checking for __builtin_types_compatible_p... yes [14:54:34.319] checking for __builtin_constant_p... yes [14:54:34.331] checking for __builtin_unreachable... yes [14:54:34.374] checking for computed goto support... yes [14:54:34.382] checking for struct tm.tm_zone... no [14:54:34.463] checking for union semun... no [14:54:34.498] checking for socklen_t... yes [14:54:35.755] checking for struct sockaddr.sa_len... no [14:54:37.965] checking for locale_t... no [14:54:38.031] checking for C/C++ restrict keyword... __restrict [14:54:38.044] checking for struct option... yes [14:54:38.088] checking whether assembler supports x86_64 popcntq... yes [14:54:38.095] checking size of off_t... 4 [14:54:38.301] 0 [14:54:38.301] checking size of bool... 1 [14:54:38.346] checking for int timezone... yes [14:54:38.395] checking for wcstombs_l declaration... no [14:54:38.482] checking for backtrace_symbols... no [14:54:38.535] checking for copyfile... no [14:54:38.585] checking for copy_file_range... no [14:54:38.635] checking for getifaddrs... no [14:54:38.685] checking for getpeerucred... no [14:54:38.736] checking for inet_pton... yes [14:54:38.787] checking for kqueue... no [14:54:38.838] checking for mbstowcs_l... no [14:54:38.886] checking for memset_s... no [14:54:38.937] checking for posix_fallocate... no [14:54:38.986] checking for ppoll... no [14:54:39.037] checking for pthread_is_threaded_np... no [14:54:39.088] checking for setproctitle... no [14:54:39.139] checking for setproctitle_fast... no [14:54:39.189] checking for strchrnul... no [14:54:39.240] checking for strsignal... no [14:54:39.290] checking for syncfs... no [14:54:39.340] checking for sync_file_range... no [14:54:39.391] checking for uselocale... no [14:54:39.442] checking for wcstombs_l... no [14:54:39.491] checking for __builtin_bswap16... yes [14:54:39.540] checking for __builtin_bswap32... yes [14:54:39.589] checking for __builtin_bswap64... yes [14:54:39.638] checking for __builtin_clz... yes [14:54:39.687] checking for __builtin_ctz... yes [14:54:39.735] checking for __builtin_popcount... yes [14:54:39.785] checking for __builtin_frame_address... yes [14:54:39.833] checking for _LARGEFILE_SOURCE value needed for large files... no [14:54:39.886] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:54:39.917] checking for posix_fadvise... no [14:54:39.968] checking whether posix_fadvise is declared... no [14:54:40.013] checking whether fdatasync is declared... no [14:54:40.059] checking whether strlcat is declared... no [14:54:40.124] checking whether strlcpy is declared... no [14:54:40.188] checking whether strnlen is declared... yes [14:54:40.203] checking whether strsep is declared... no [14:54:40.266] checking whether preadv is declared... no [14:54:40.304] checking whether pwritev is declared... no [14:54:40.341] checking whether F_FULLFSYNC is declared... no [14:54:40.382] checking for explicit_bzero... no [14:54:40.431] checking for getopt... yes [14:54:40.476] checking for getpeereid... no [14:54:40.524] checking for inet_aton... no [14:54:40.571] checking for mkdtemp... no [14:54:40.619] checking for strlcat... no [14:54:40.665] checking for strlcpy... no [14:54:40.713] checking for strnlen... yes [14:54:40.760] checking for strsep... no [14:54:40.808] checking for pthread_barrier_wait... yes [14:54:40.851] configure: On mingw32 we will use our strtof wrapper. [14:54:40.851] checking for getopt_long... yes [14:54:40.897] checking for _configthreadlocale... yes [14:54:40.942] checking for syslog... no [14:54:40.990] checking for opterr... yes [14:54:41.038] checking for optreset... no [14:54:41.090] checking test program... cross-compiling [14:54:41.090] checking whether long int is 64 bits... no [14:54:41.122] checking whether long long int is 64 bits... yes [14:54:41.131] checking for __builtin_mul_overflow... yes [14:54:41.175] checking size of void *... 8 [14:54:41.445] checking size of size_t... 8 [14:54:41.715] checking size of long... 4 [14:54:41.924] checking alignment of short... 2 [14:54:42.064] checking alignment of int... 4 [14:54:42.269] checking alignment of long... 4 [14:54:42.472] checking alignment of long long int... 8 [14:54:42.739] checking alignment of double... 8 [14:54:43.011] checking for int8... no [14:54:43.053] checking for uint8... no [14:54:43.095] checking for int64... no [14:54:43.138] checking for uint64... no [14:54:43.182] checking for __int128... yes [14:54:43.234] checking for __int128 alignment bug... assuming ok [14:54:43.234] checking alignment of PG_INT128_TYPE... 16 [14:54:43.573] checking for builtin __sync char locking functions... yes [14:54:43.615] checking for builtin __sync int32 locking functions... yes [14:54:43.657] checking for builtin __sync int32 atomic operations... yes [14:54:43.699] checking for builtin __sync int64 atomic operations... yes [14:54:43.742] checking for builtin __atomic int32 atomic operations... yes [14:54:43.784] checking for builtin __atomic int64 atomic operations... yes [14:54:43.827] checking for __get_cpuid... yes [14:54:43.874] checking for __get_cpuid_count... yes [14:54:43.922] checking for __cpuid... no [14:54:44.328] checking for __cpuidex... no [14:54:44.759] checking for _xgetbv with CFLAGS=... no [14:54:45.128] checking for _xgetbv with CFLAGS=-mxsave... yes [14:54:45.530] checking for _mm512_popcnt_epi64 with CFLAGS=... no [14:54:45.917] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [14:54:46.261] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:54:46.308] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:54:46.397] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:54:46.419] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:54:46.440] 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 [14:54:46.495] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:54:46.495] checking which random number source to use... Windows native [14:54:46.497] checking for xmllint... /usr/bin/xmllint [14:54:46.497] checking for xsltproc... /usr/bin/xsltproc [14:54:46.498] checking for fop... /usr/bin/fop [14:54:46.498] checking for dbtoepub... no [14:54:46.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:54:46.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:54:46.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:54:46.509] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:54:46.509] 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 [14:54:46.509] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:54:46.509] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:54:46.594] configure: creating ./config.status [14:54:46.681] config.status: creating GNUmakefile [14:54:46.694] config.status: creating src/Makefile.global [14:54:46.710] config.status: creating src/include/pg_config.h [14:54:46.723] config.status: creating src/include/pg_config_ext.h [14:54:46.735] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:54:46.751] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:54:46.758] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:54:46.765] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:54:46.772] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:54:46.779] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:54:46.782] config.status: executing check_win32_symlinks commands [14:54:46.814] [14:54:46.814] real 0m16.723s [14:54:46.814] user 0m11.189s [14:54:46.814] sys 0m5.232s [14:54:46.814] make -s -j${BUILD_JOBS} clean [14:54:47.338] time make -s -j${BUILD_JOBS} world-bin [14:55:02.489] In function ‘identify_sort_expression’, [14:55:02.489] inlined from ‘cost_incremental_sort’ at costsize.c:2101:19: [14:55:02.489] costsize.c:2020:52: error: ‘ndist’ may be used uninitialized [-Werror=maybe-uninitialized] [14:55:02.489] 2020 | if (ndistinct < 0.0 || (!isdefault && ndist < ndistinct)) [14:55:02.489] | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [14:55:02.489] costsize.c: In function ‘cost_incremental_sort’: [14:55:02.489] costsize.c:2001:49: note: ‘ndist’ was declared here [14:55:02.489] 2001 | double ndist; [14:55:02.489] | ^~~~~ [14:55:02.489] cc1: all warnings being treated as errors [14:55:02.490] make[4]: *** [: costsize.o] Error 1 [14:55:02.490] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [14:55:02.490] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [14:55:02.490] make[2]: *** Waiting for unfinished jobs.... [14:55:09.313] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:55:09.313] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:55:09.313] [14:55:09.313] real 0m21.976s [14:55:09.313] user 1m5.690s [14:55:09.313] sys 0m14.813s [14:55:09.313] [14:55:09.313] Exit status: 2