[22:08:45.108] time ./configure \ [22:08:45.108] --host=x86_64-w64-mingw32 \ [22:08:45.108] --enable-cassert \ [22:08:45.108] --without-icu \ [22:08:45.108] CC="ccache x86_64-w64-mingw32-gcc" \ [22:08:45.108] CXX="ccache x86_64-w64-mingw32-g++" [22:08:45.250] checking build system type... x86_64-pc-linux-gnu [22:08:45.473] checking host system type... x86_64-w64-mingw32 [22:08:45.479] checking which template to use... win32 [22:08:45.480] checking whether NLS is wanted... no [22:08:45.480] checking for default port number... 5432 [22:08:45.487] checking for block size... 8kB [22:08:45.489] checking for segment size... 1GB [22:08:45.492] checking for WAL block size... 8kB [22:08:45.494] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:08:45.533] checking whether the C compiler works... yes [22:08:45.697] checking for C compiler default output file name... a.exe [22:08:45.699] checking for suffix of executables... .exe [22:08:45.746] checking whether we are cross compiling... yes [22:08:45.834] checking for suffix of object files... o [22:08:45.853] checking whether we are using the GNU C compiler... yes [22:08:45.890] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:08:45.898] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:08:45.990] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:08:46.138] checking whether we are using the GNU C++ compiler... yes [22:08:46.366] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:08:46.448] checking for gawk... no [22:08:46.448] checking for mawk... mawk [22:08:46.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:08:46.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:08:46.496] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:08:46.548] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:08:46.598] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:08:46.606] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:08:46.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:08:46.633] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:08:46.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:08:46.660] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:08:46.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:08:46.719] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:08:46.739] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:08:46.748] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:08:46.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:08:46.824] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:08:46.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:08:46.884] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:08:46.903] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:08:46.922] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:08:46.942] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:08:46.981] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:08:47.002] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:08:47.031] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:08:47.051] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:08:47.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:08:47.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:08:47.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:08:47.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:08:47.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:08:47.281] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:08:47.301] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:08:47.322] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:08:47.343] checking whether the C compiler still works... yes [22:08:47.429] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:08:47.514] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:08:47.514] checking pkg-config is at least version 0.9.0... yes [22:08:47.532] checking whether to build with ICU support... no [22:08:47.532] checking whether to build with Tcl... no [22:08:47.532] checking whether to build Perl modules... no [22:08:47.533] checking whether to build Python modules... no [22:08:47.533] checking whether to build with GSSAPI support... no [22:08:47.534] checking whether to build with PAM support... no [22:08:47.534] checking whether to build with BSD Authentication support... no [22:08:47.534] checking whether to build with LDAP support... no [22:08:47.534] checking whether to build with Bonjour support... no [22:08:47.534] checking whether to build with SELinux support... no [22:08:47.534] checking whether to build with systemd support... no [22:08:47.535] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:08:47.535] checking whether to build with XML support... no [22:08:47.535] checking whether to build with LZ4 support... no [22:08:47.535] checking whether to build with ZSTD support... no [22:08:47.535] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:08:47.536] checking whether it is possible to strip libraries... yes [22:08:47.543] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:08:47.544] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:08:47.544] checking for a BSD-compatible install... /usr/bin/install -c [22:08:47.555] checking for tar... /usr/bin/tar [22:08:47.555] checking whether ln -s works... yes [22:08:47.555] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:08:47.557] checking for bison... /usr/bin/bison [22:08:47.560] configure: using bison (GNU Bison) 3.8.2 [22:08:47.564] checking for flex... /usr/bin/flex [22:08:47.578] configure: using flex 2.6.4 [22:08:47.578] checking for perl... /usr/bin/perl [22:08:47.582] configure: using perl 5.36.0 [22:08:47.584] checking for zic... /usr/sbin/zic [22:08:47.585] checking for a sed that does not truncate output... /usr/bin/sed [22:08:47.590] checking for grep that handles long lines and -e... /usr/bin/grep [22:08:47.592] checking for egrep... /usr/bin/grep -E [22:08:47.594] checking for ANSI C header files... yes [22:08:47.663] checking for sys/types.h... yes [22:08:47.727] checking for sys/stat.h... yes [22:08:47.795] checking for stdlib.h... yes [22:08:47.859] checking for string.h... yes [22:08:47.874] checking for memory.h... yes [22:08:47.942] checking for strings.h... yes [22:08:47.958] checking for inttypes.h... yes [22:08:48.033] checking for stdint.h... yes [22:08:48.100] checking for unistd.h... yes [22:08:48.169] checking for main in -lm... yes [22:08:48.221] checking for library containing setproctitle... no [22:08:48.320] checking for library containing dlsym... no [22:08:48.418] checking for library containing socket... -lws2_32 [22:08:48.570] checking for library containing getopt_long... none required [22:08:48.625] checking for library containing shm_open... no [22:08:48.726] checking for library containing shm_unlink... no [22:08:48.825] checking for library containing clock_gettime... no [22:08:48.924] checking for library containing shmget... no [22:08:49.023] checking for library containing backtrace_symbols... no [22:08:49.123] checking for library containing pthread_barrier_wait... -lpthread [22:08:49.226] checking for inflate in -lz... yes [22:08:49.279] checking for stdbool.h that conforms to C99... yes [22:08:49.330] checking for _Bool... yes [22:08:49.409] checking atomic.h usability... no [22:08:49.474] checking atomic.h presence... no [22:08:49.497] checking for atomic.h... no [22:08:49.501] checking copyfile.h usability... no [22:08:49.562] checking copyfile.h presence... no [22:08:49.585] checking for copyfile.h... no [22:08:49.588] checking execinfo.h usability... no [22:08:49.652] checking execinfo.h presence... no [22:08:49.675] checking for execinfo.h... no [22:08:49.679] checking getopt.h usability... yes [22:08:49.741] checking getopt.h presence... yes [22:08:49.758] checking for getopt.h... yes [22:08:49.766] checking ifaddrs.h usability... no [22:08:49.829] checking ifaddrs.h presence... no [22:08:49.852] checking for ifaddrs.h... no [22:08:49.855] checking mbarrier.h usability... no [22:08:49.920] checking mbarrier.h presence... no [22:08:49.943] checking for mbarrier.h... no [22:08:49.947] checking sys/epoll.h usability... no [22:08:50.012] checking sys/epoll.h presence... no [22:08:50.036] checking for sys/epoll.h... no [22:08:50.040] checking sys/event.h usability... no [22:08:50.102] checking sys/event.h presence... no [22:08:50.123] checking for sys/event.h... no [22:08:50.127] checking sys/personality.h usability... no [22:08:50.188] checking sys/personality.h presence... no [22:08:50.209] checking for sys/personality.h... no [22:08:50.213] checking sys/prctl.h usability... no [22:08:50.275] checking sys/prctl.h presence... no [22:08:50.300] checking for sys/prctl.h... no [22:08:50.304] checking sys/procctl.h usability... no [22:08:50.368] checking sys/procctl.h presence... no [22:08:50.391] checking for sys/procctl.h... no [22:08:50.395] checking sys/signalfd.h usability... no [22:08:50.459] checking sys/signalfd.h presence... no [22:08:50.484] checking for sys/signalfd.h... no [22:08:50.488] checking sys/ucred.h usability... no [22:08:50.550] checking sys/ucred.h presence... no [22:08:50.572] checking for sys/ucred.h... no [22:08:50.576] checking termios.h usability... no [22:08:50.636] checking termios.h presence... no [22:08:50.657] checking for termios.h... no [22:08:50.661] checking ucred.h usability... no [22:08:50.725] checking ucred.h presence... no [22:08:50.748] checking for ucred.h... no [22:08:50.752] checking zlib.h usability... yes [22:08:50.791] checking zlib.h presence... yes [22:08:50.813] checking for zlib.h... yes [22:08:50.813] checking for lz4... /usr/bin/lz4 [22:08:50.813] checking for zstd... /usr/bin/zstd [22:08:50.814] checking for openssl... /usr/bin/openssl [22:08:50.818] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [22:08:50.819] checking crtdefs.h usability... yes [22:08:50.882] checking crtdefs.h presence... yes [22:08:50.901] checking for crtdefs.h... yes [22:08:50.902] checking whether byte ordering is bigendian... no [22:08:51.023] checking for inline... inline [22:08:51.031] checking for printf format archetype... gnu_printf [22:08:51.071] checking for _Static_assert... yes [22:08:51.118] checking for typeof... typeof [22:08:51.159] checking for __builtin_types_compatible_p... yes [22:08:51.173] checking for __builtin_constant_p... yes [22:08:51.198] checking for __builtin_unreachable... yes [22:08:51.244] checking for computed goto support... yes [22:08:51.284] checking for struct tm.tm_zone... no [22:08:51.371] checking for union semun... no [22:08:51.408] checking for socklen_t... yes [22:08:53.984] checking for struct sockaddr.sa_len... no [22:08:56.391] checking for locale_t... no [22:08:56.462] checking for C/C++ restrict keyword... __restrict [22:08:56.486] checking for struct option... yes [22:08:56.566] checking whether assembler supports x86_64 popcntq... yes [22:08:56.585] checking size of off_t... 4 [22:08:57.047] 0 [22:08:57.047] checking size of bool... 1 [22:08:57.111] checking for int timezone... yes [22:08:57.162] checking for wcstombs_l declaration... no [22:08:57.262] checking for backtrace_symbols... no [22:08:57.320] checking for copyfile... no [22:08:57.377] checking for copy_file_range... no [22:08:57.433] checking for getifaddrs... no [22:08:57.491] checking for getpeerucred... no [22:08:57.548] checking for inet_pton... yes [22:08:57.602] checking for kqueue... no [22:08:57.657] checking for mbstowcs_l... no [22:08:57.712] checking for memset_s... no [22:08:57.767] checking for posix_fallocate... no [22:08:57.820] checking for ppoll... no [22:08:57.874] checking for pthread_is_threaded_np... no [22:08:57.929] checking for setproctitle... no [22:08:57.985] checking for setproctitle_fast... no [22:08:58.042] checking for strchrnul... no [22:08:58.098] checking for strsignal... no [22:08:58.154] checking for syncfs... no [22:08:58.211] checking for sync_file_range... no [22:08:58.267] checking for uselocale... no [22:08:58.323] checking for wcstombs_l... no [22:08:58.373] checking for __builtin_bswap16... yes [22:08:58.429] checking for __builtin_bswap32... yes [22:08:58.485] checking for __builtin_bswap64... yes [22:08:58.540] checking for __builtin_clz... yes [22:08:58.594] checking for __builtin_ctz... yes [22:08:58.648] checking for __builtin_popcount... yes [22:08:58.705] checking for __builtin_frame_address... yes [22:08:58.762] checking for _LARGEFILE_SOURCE value needed for large files... no [22:08:58.818] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:08:58.856] checking for posix_fadvise... no [22:08:58.914] checking whether posix_fadvise is declared... no [22:08:58.967] checking whether fdatasync is declared... no [22:08:59.022] checking whether strlcat is declared... no [22:08:59.094] checking whether strlcpy is declared... no [22:08:59.167] checking whether strnlen is declared... yes [22:08:59.241] checking whether strsep is declared... no [22:08:59.314] checking whether preadv is declared... no [22:08:59.357] checking whether pwritev is declared... no [22:08:59.400] checking whether F_FULLFSYNC is declared... no [22:08:59.446] checking for explicit_bzero... no [22:08:59.500] checking for getopt... yes [22:08:59.550] checking for getpeereid... no [22:08:59.604] checking for inet_aton... no [22:08:59.658] checking for mkdtemp... no [22:08:59.712] checking for strlcat... no [22:08:59.765] checking for strlcpy... no [22:08:59.817] checking for strnlen... yes [22:08:59.869] checking for strsep... no [22:08:59.923] checking for pthread_barrier_wait... yes [22:08:59.971] configure: On mingw32 we will use our strtof wrapper. [22:08:59.971] checking for getopt_long... yes [22:09:00.024] checking for _configthreadlocale... yes [22:09:00.075] checking for syslog... no [22:09:00.129] checking for opterr... yes [22:09:00.182] checking for optreset... no [22:09:00.238] checking test program... cross-compiling [22:09:00.238] checking whether long int is 64 bits... no [22:09:00.273] checking whether long long int is 64 bits... yes [22:09:00.284] checking for __builtin_mul_overflow... yes [22:09:00.333] checking size of void *... 8 [22:09:00.788] checking size of size_t... 8 [22:09:01.347] checking size of long... 4 [22:09:01.630] checking alignment of short... 2 [22:09:01.934] checking alignment of int... 4 [22:09:02.339] checking alignment of long... 4 [22:09:02.715] checking alignment of long long int... 8 [22:09:03.240] checking alignment of double... 8 [22:09:03.706] checking for int8... no [22:09:03.754] checking for uint8... no [22:09:03.801] checking for int64... no [22:09:03.850] checking for uint64... no [22:09:03.901] checking for __int128... yes [22:09:03.960] checking for __int128 alignment bug... assuming ok [22:09:03.960] checking alignment of PG_INT128_TYPE... 16 [22:09:04.501] checking for builtin __sync char locking functions... yes [22:09:04.548] checking for builtin __sync int32 locking functions... yes [22:09:04.597] checking for builtin __sync int32 atomic operations... yes [22:09:04.649] checking for builtin __sync int64 atomic operations... yes [22:09:04.701] checking for builtin __atomic int32 atomic operations... yes [22:09:04.750] checking for builtin __atomic int64 atomic operations... yes [22:09:04.799] checking for __get_cpuid... yes [22:09:04.850] checking for __get_cpuid_count... yes [22:09:04.899] checking for __cpuid... no [22:09:05.304] checking for __cpuidex... no [22:09:05.747] checking for _xgetbv with CFLAGS=... no [22:09:06.145] checking for _xgetbv with CFLAGS=-mxsave... yes [22:09:06.566] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:09:06.959] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:09:07.296] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:09:07.346] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:09:07.448] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:09:07.473] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:09:07.495] 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:09:07.557] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:09:07.557] checking which random number source to use... Windows native [22:09:07.560] checking for xmllint... /usr/bin/xmllint [22:09:07.560] checking for xsltproc... /usr/bin/xsltproc [22:09:07.560] checking for fop... /usr/bin/fop [22:09:07.560] checking for dbtoepub... no [22:09:07.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:09:07.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:09:07.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:09:07.573] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:09:07.573] 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:09:07.573] configure: using CPPFLAGS= -I./src/include/port/win32 [22:09:07.573] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:09:07.670] configure: creating ./config.status [22:09:07.764] config.status: creating GNUmakefile [22:09:07.777] config.status: creating src/Makefile.global [22:09:07.795] config.status: creating src/include/pg_config.h [22:09:07.809] config.status: creating src/include/pg_config_ext.h [22:09:07.823] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:09:07.840] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:09:07.848] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:09:07.856] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:09:07.864] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:09:07.872] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:09:07.876] config.status: executing check_win32_symlinks commands [22:09:07.914] [22:09:07.914] real 0m22.805s [22:09:07.914] user 0m15.148s [22:09:07.914] sys 0m7.205s [22:09:07.914] make -s -j${BUILD_JOBS} clean [22:09:08.473] time make -s -j${BUILD_JOBS} world-bin [22:10:48.732] import_stats.c: In function ‘attribute_statistics_update.constprop.isra’: [22:10:48.732] import_stats.c:434:17: error: ‘elem_eq_opr’ may be used uninitialized [-Werror=maybe-uninitialized] [22:10:48.732] 434 | use_stats_slot(values, nulls, slotidx++, [22:10:48.732] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [22:10:48.732] 435 | STATISTIC_KIND_DECHIST, [22:10:48.732] | ~~~~~~~~~~~~~~~~~~~~~~~ [22:10:48.732] 436 | elem_eq_opr, atttypcoll, [22:10:48.732] | ~~~~~~~~~~~~~~~~~~~~~~~~ [22:10:48.732] 437 | stanumbers, false, 0, true); [22:10:48.732] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [22:10:48.732] import_stats.c:213:33: note: ‘elem_eq_opr’ was declared here [22:10:48.732] 213 | Oid elem_eq_opr; [22:10:48.732] | ^~~~~~~~~~~ [22:10:48.732] cc1: all warnings being treated as errors [22:10:48.733] make[3]: *** [: import_stats.o] Error 1 [22:10:48.733] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [22:10:48.733] make[2]: *** Waiting for unfinished jobs.... [22:10:59.151] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:10:59.152] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:10:59.152] [22:10:59.152] real 1m50.679s [22:10:59.152] user 5m57.171s [22:10:59.152] sys 1m10.055s [22:10:59.152] [22:10:59.152] Exit status: 2