[22:08:22.132] time ./configure \ [22:08:22.132] --host=x86_64-w64-mingw32 \ [22:08:22.132] --enable-cassert \ [22:08:22.132] --without-icu \ [22:08:22.132] CC="ccache x86_64-w64-mingw32-gcc" \ [22:08:22.132] CXX="ccache x86_64-w64-mingw32-g++" [22:08:22.259] checking build system type... x86_64-pc-linux-gnu [22:08:22.451] checking host system type... x86_64-w64-mingw32 [22:08:22.457] checking which template to use... win32 [22:08:22.457] checking whether NLS is wanted... no [22:08:22.457] checking for default port number... 5432 [22:08:22.464] checking for block size... 8kB [22:08:22.466] checking for segment size... 1GB [22:08:22.468] checking for WAL block size... 8kB [22:08:22.470] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:08:22.508] checking whether the C compiler works... yes [22:08:22.645] checking for C compiler default output file name... a.exe [22:08:22.647] checking for suffix of executables... .exe [22:08:22.690] checking whether we are cross compiling... yes [22:08:22.768] checking for suffix of object files... o [22:08:22.777] checking whether we are using the GNU C compiler... yes [22:08:22.785] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:08:22.792] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:08:22.805] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:08:22.871] checking whether we are using the GNU C++ compiler... yes [22:08:22.878] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:08:22.955] checking for gawk... no [22:08:22.955] checking for mawk... mawk [22:08:22.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:08:22.965] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:08:22.972] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:08:23.020] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:08:23.199] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:08:23.207] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:08:23.215] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:08:23.223] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:08:23.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:08:23.237] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:08:23.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:08:23.252] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:08:23.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:08:23.266] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:08:23.274] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:08:23.281] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:08:23.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:08:23.326] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:08:23.333] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:08:23.341] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:08:23.348] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:08:23.355] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:08:23.363] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:08:23.389] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:08:23.396] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:08:23.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:08:23.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:08:23.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:08:23.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:08:23.499] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:08:23.536] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:08:23.544] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:08:23.552] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:08:23.561] checking whether the C compiler still works... yes [22:08:23.629] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:08:23.707] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:08:23.707] checking pkg-config is at least version 0.9.0... yes [22:08:23.723] checking whether to build with ICU support... no [22:08:23.724] checking whether to build with Tcl... no [22:08:23.724] checking whether to build Perl modules... no [22:08:23.724] checking whether to build Python modules... no [22:08:23.724] checking whether to build with GSSAPI support... no [22:08:23.725] checking whether to build with PAM support... no [22:08:23.725] checking whether to build with BSD Authentication support... no [22:08:23.725] checking whether to build with LDAP support... no [22:08:23.725] checking whether to build with Bonjour support... no [22:08:23.725] checking whether to build with SELinux support... no [22:08:23.725] checking whether to build with systemd support... no [22:08:23.725] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:08:23.726] checking whether to build with XML support... no [22:08:23.726] checking whether to build with LZ4 support... no [22:08:23.726] checking whether to build with ZSTD support... no [22:08:23.726] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:08:23.727] checking whether it is possible to strip libraries... yes [22:08:23.734] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:08:23.735] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:08:23.735] checking for a BSD-compatible install... /usr/bin/install -c [22:08:23.744] checking for tar... /usr/bin/tar [22:08:23.744] checking whether ln -s works... yes [22:08:23.744] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:08:23.747] checking for bison... /usr/bin/bison [22:08:23.749] configure: using bison (GNU Bison) 3.8.2 [22:08:23.752] checking for flex... /usr/bin/flex [22:08:23.765] configure: using flex 2.6.4 [22:08:23.765] checking for perl... /usr/bin/perl [22:08:23.768] configure: using perl 5.36.0 [22:08:23.771] checking for zic... /usr/sbin/zic [22:08:23.771] checking for a sed that does not truncate output... /usr/bin/sed [22:08:23.776] checking for grep that handles long lines and -e... /usr/bin/grep [22:08:23.778] checking for egrep... /usr/bin/grep -E [22:08:23.780] checking for ANSI C header files... yes [22:08:23.830] checking for sys/types.h... yes [22:08:23.850] checking for sys/stat.h... yes [22:08:23.868] checking for stdlib.h... yes [22:08:23.884] checking for string.h... yes [22:08:23.900] checking for memory.h... yes [22:08:23.917] checking for strings.h... yes [22:08:23.933] checking for inttypes.h... yes [22:08:23.951] checking for stdint.h... yes [22:08:23.968] checking for unistd.h... yes [22:08:23.985] checking for main in -lm... yes [22:08:24.034] checking for library containing setproctitle... no [22:08:24.127] checking for library containing dlsym... no [22:08:24.216] checking for library containing socket... -lws2_32 [22:08:24.347] checking for library containing getopt_long... none required [22:08:24.396] checking for library containing shm_open... no [22:08:24.489] checking for library containing shm_unlink... no [22:08:24.581] checking for library containing clock_gettime... no [22:08:24.674] checking for library containing shmget... no [22:08:24.766] checking for library containing backtrace_symbols... no [22:08:24.859] checking for library containing pthread_barrier_wait... -lpthread [22:08:24.952] checking for inflate in -lz... yes [22:08:24.999] checking for stdbool.h that conforms to C99... yes [22:08:25.010] checking for _Bool... yes [22:08:25.085] checking atomic.h usability... no [22:08:25.142] checking atomic.h presence... no [22:08:25.162] checking for atomic.h... no [22:08:25.165] checking copyfile.h usability... no [22:08:25.222] checking copyfile.h presence... no [22:08:25.242] checking for copyfile.h... no [22:08:25.246] checking execinfo.h usability... no [22:08:25.302] checking execinfo.h presence... no [22:08:25.321] checking for execinfo.h... no [22:08:25.324] checking getopt.h usability... yes [22:08:25.332] checking getopt.h presence... yes [22:08:25.347] checking for getopt.h... yes [22:08:25.354] checking ifaddrs.h usability... no [22:08:25.410] checking ifaddrs.h presence... no [22:08:25.430] checking for ifaddrs.h... no [22:08:25.433] checking mbarrier.h usability... no [22:08:25.491] checking mbarrier.h presence... no [22:08:25.512] checking for mbarrier.h... no [22:08:25.515] checking sys/epoll.h usability... no [22:08:25.572] checking sys/epoll.h presence... no [22:08:25.592] checking for sys/epoll.h... no [22:08:25.595] checking sys/event.h usability... no [22:08:25.651] checking sys/event.h presence... no [22:08:25.671] checking for sys/event.h... no [22:08:25.675] checking sys/personality.h usability... no [22:08:25.732] checking sys/personality.h presence... no [22:08:25.752] checking for sys/personality.h... no [22:08:25.755] checking sys/prctl.h usability... no [22:08:25.814] checking sys/prctl.h presence... no [22:08:25.834] checking for sys/prctl.h... no [22:08:25.837] checking sys/procctl.h usability... no [22:08:25.896] checking sys/procctl.h presence... no [22:08:25.917] checking for sys/procctl.h... no [22:08:25.921] checking sys/signalfd.h usability... no [22:08:25.978] checking sys/signalfd.h presence... no [22:08:25.998] checking for sys/signalfd.h... no [22:08:26.002] checking sys/ucred.h usability... no [22:08:26.060] checking sys/ucred.h presence... no [22:08:26.080] checking for sys/ucred.h... no [22:08:26.083] checking termios.h usability... no [22:08:26.140] checking termios.h presence... no [22:08:26.160] checking for termios.h... no [22:08:26.163] checking ucred.h usability... no [22:08:26.220] checking ucred.h presence... no [22:08:26.240] checking for ucred.h... no [22:08:26.243] checking xlocale.h usability... no [22:08:26.300] checking xlocale.h presence... no [22:08:26.320] checking for xlocale.h... no [22:08:26.323] checking zlib.h usability... yes [22:08:26.334] checking zlib.h presence... yes [22:08:26.353] checking for zlib.h... yes [22:08:26.354] checking for lz4... /usr/bin/lz4 [22:08:26.354] checking for zstd... /usr/bin/zstd [22:08:26.354] checking for openssl... /usr/bin/openssl [22:08:26.359] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [22:08:26.359] checking crtdefs.h usability... yes [22:08:26.367] checking crtdefs.h presence... yes [22:08:26.383] checking for crtdefs.h... yes [22:08:26.384] checking whether byte ordering is bigendian... no [22:08:26.461] checking for inline... inline [22:08:26.468] checking for printf format archetype... gnu_printf [22:08:26.477] checking for _Static_assert... yes [22:08:26.520] checking for typeof... typeof [22:08:26.528] checking for __builtin_types_compatible_p... yes [22:08:26.540] checking for __builtin_constant_p... yes [22:08:26.552] checking for __builtin_unreachable... yes [22:08:26.595] checking for computed goto support... yes [22:08:26.602] checking for struct tm.tm_zone... no [22:08:26.683] checking for union semun... no [22:08:26.718] checking for socklen_t... yes [22:08:27.936] checking for struct sockaddr.sa_len... no [22:08:30.091] checking for C/C++ restrict keyword... __restrict [22:08:30.105] checking for struct option... yes [22:08:30.149] checking whether assembler supports x86_64 popcntq... yes [22:08:30.157] checking size of off_t... 4 [22:08:30.363] 0 [22:08:30.363] checking size of bool... 1 [22:08:30.410] checking for int timezone... yes [22:08:30.467] checking for backtrace_symbols... no [22:08:30.519] checking for copyfile... no [22:08:30.570] checking for copy_file_range... no [22:08:30.622] checking for getifaddrs... no [22:08:30.673] checking for getpeerucred... no [22:08:30.726] checking for inet_pton... yes [22:08:30.778] checking for kqueue... no [22:08:30.831] checking for mbstowcs_l... no [22:08:30.883] checking for memset_s... no [22:08:30.936] checking for posix_fallocate... no [22:08:30.988] checking for ppoll... no [22:08:31.041] checking for pthread_is_threaded_np... no [22:08:31.093] checking for setproctitle... no [22:08:31.145] checking for setproctitle_fast... no [22:08:31.197] checking for strchrnul... no [22:08:31.249] checking for strsignal... no [22:08:31.299] checking for syncfs... no [22:08:31.351] checking for sync_file_range... no [22:08:31.403] checking for uselocale... no [22:08:31.455] checking for wcstombs_l... no [22:08:31.504] checking for __builtin_bswap16... yes [22:08:31.556] checking for __builtin_bswap32... yes [22:08:31.606] checking for __builtin_bswap64... yes [22:08:31.655] checking for __builtin_clz... yes [22:08:31.707] checking for __builtin_ctz... yes [22:08:31.757] checking for __builtin_popcount... yes [22:08:31.808] checking for __builtin_frame_address... yes [22:08:31.860] checking for _LARGEFILE_SOURCE value needed for large files... no [22:08:31.918] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:08:31.952] checking for posix_fadvise... no [22:08:32.006] checking whether posix_fadvise is declared... no [22:08:32.055] checking whether fdatasync is declared... no [22:08:32.105] checking whether strlcat is declared... no [22:08:32.173] checking whether strlcpy is declared... no [22:08:32.240] checking whether strnlen is declared... yes [22:08:32.256] checking whether strsep is declared... no [22:08:32.322] checking whether preadv is declared... no [22:08:32.362] checking whether pwritev is declared... no [22:08:32.403] checking whether F_FULLFSYNC is declared... no [22:08:32.448] checking for explicit_bzero... no [22:08:32.498] checking for getopt... yes [22:08:32.545] checking for getpeereid... no [22:08:32.597] checking for inet_aton... no [22:08:32.649] checking for mkdtemp... no [22:08:32.699] checking for strlcat... no [22:08:32.750] checking for strlcpy... no [22:08:32.801] checking for strnlen... yes [22:08:32.852] checking for strsep... no [22:08:32.902] checking for pthread_barrier_wait... yes [22:08:32.948] configure: On mingw32 we will use our strtof wrapper. [22:08:32.948] checking for getopt_long... yes [22:08:32.994] checking for _configthreadlocale... yes [22:08:33.041] checking for syslog... no [22:08:33.090] checking for opterr... yes [22:08:33.140] checking for optreset... no [22:08:33.192] checking test program... cross-compiling [22:08:33.193] checking whether long int is 64 bits... no [22:08:33.226] checking whether long long int is 64 bits... yes [22:08:33.236] checking for __builtin_mul_overflow... yes [22:08:33.278] checking size of void *... 8 [22:08:33.560] checking size of size_t... 8 [22:08:33.843] checking size of long... 4 [22:08:34.055] checking alignment of short... 2 [22:08:34.200] checking alignment of int... 4 [22:08:34.410] checking alignment of long... 4 [22:08:34.621] checking alignment of long long int... 8 [22:08:34.901] checking alignment of double... 8 [22:08:35.188] checking for int8... no [22:08:35.235] checking for uint8... no [22:08:35.278] checking for int64... no [22:08:35.321] checking for uint64... no [22:08:35.363] checking for __int128... yes [22:08:35.415] checking for __int128 alignment bug... assuming ok [22:08:35.415] checking alignment of PG_INT128_TYPE... 16 [22:08:35.750] checking for builtin __sync char locking functions... yes [22:08:35.793] checking for builtin __sync int32 locking functions... yes [22:08:35.837] checking for builtin __sync int32 atomic operations... yes [22:08:35.880] checking for builtin __sync int64 atomic operations... yes [22:08:35.923] checking for builtin __atomic int32 atomic operations... yes [22:08:35.966] checking for builtin __atomic int64 atomic operations... yes [22:08:36.010] checking for __get_cpuid... yes [22:08:36.062] checking for __get_cpuid_count... yes [22:08:36.107] checking for __cpuid... no [22:08:36.518] checking for __cpuidex... no [22:08:36.949] checking for _xgetbv with CFLAGS=... no [22:08:37.339] checking for _xgetbv with CFLAGS=-mxsave... yes [22:08:37.755] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:08:38.156] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:08:38.500] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:08:38.549] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:08:38.644] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:08:38.669] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:08:38.690] 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 [22:08:38.749] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:08:38.750] checking which random number source to use... Windows native [22:08:38.752] checking for xmllint... /usr/bin/xmllint [22:08:38.752] checking for xsltproc... /usr/bin/xsltproc [22:08:38.752] checking for fop... /usr/bin/fop [22:08:38.752] checking for dbtoepub... no [22:08:38.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:08:38.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:08:38.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:08:38.764] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:08:38.764] 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 [22:08:38.764] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:08:38.764] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:08:38.854] configure: creating ./config.status [22:08:38.943] config.status: creating GNUmakefile [22:08:38.955] config.status: creating src/Makefile.global [22:08:38.972] config.status: creating src/include/pg_config.h [22:08:38.985] config.status: creating src/include/pg_config_ext.h [22:08:38.997] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:08:39.014] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:08:39.021] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:08:39.029] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:08:39.037] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:08:39.044] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:08:39.048] config.status: executing check_win32_symlinks commands [22:08:39.085] [22:08:39.085] real 0m16.952s [22:08:39.085] user 0m11.153s [22:08:39.085] sys 0m5.459s [22:08:39.085] make -s -j${BUILD_JOBS} clean [22:08:39.613] time make -s -j${BUILD_JOBS} world-bin [22:08:57.625] In function ‘identify_sort_expression’, [22:08:57.625] inlined from ‘cost_incremental_sort’ at costsize.c:2101:19: [22:08:57.625] costsize.c:2020:52: error: ‘ndist’ may be used uninitialized [-Werror=maybe-uninitialized] [22:08:57.625] 2020 | if (ndistinct < 0.0 || (!isdefault && ndist < ndistinct)) [22:08:57.625] | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [22:08:57.625] costsize.c: In function ‘cost_incremental_sort’: [22:08:57.625] costsize.c:2001:49: note: ‘ndist’ was declared here [22:08:57.625] 2001 | double ndist; [22:08:57.625] | ^~~~~ [22:08:57.625] cc1: all warnings being treated as errors [22:08:57.626] make[4]: *** [: costsize.o] Error 1 [22:08:57.626] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [22:08:57.626] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [22:08:57.626] make[2]: *** Waiting for unfinished jobs.... [22:09:03.579] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:09:03.580] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:09:03.580] [22:09:03.580] real 0m23.967s [22:09:03.580] user 1m13.934s [22:09:03.580] sys 0m14.760s [22:09:03.580] [22:09:03.580] Exit status: 2