[12:40:08.679] time ./configure \ [12:40:08.679] --host=x86_64-w64-mingw32 \ [12:40:08.679] --enable-cassert \ [12:40:08.679] --without-icu \ [12:40:08.679] CC="ccache x86_64-w64-mingw32-gcc" \ [12:40:08.679] CXX="ccache x86_64-w64-mingw32-g++" [12:40:08.805] checking build system type... x86_64-pc-linux-gnu [12:40:09.015] checking host system type... x86_64-w64-mingw32 [12:40:09.021] checking which template to use... win32 [12:40:09.021] checking whether NLS is wanted... no [12:40:09.021] checking for default port number... 5432 [12:40:09.028] checking for block size... 8kB [12:40:09.030] checking for segment size... 1GB [12:40:09.032] checking for WAL block size... 8kB [12:40:09.034] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:40:09.070] checking whether the C compiler works... yes [12:40:09.226] checking for C compiler default output file name... a.exe [12:40:09.228] checking for suffix of executables... .exe [12:40:09.270] checking whether we are cross compiling... yes [12:40:09.345] checking for suffix of object files... o [12:40:09.364] checking whether we are using the GNU C compiler... yes [12:40:09.371] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:40:09.378] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:40:09.404] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:40:09.467] checking whether we are using the GNU C++ compiler... yes [12:40:09.474] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:40:09.777] checking for gawk... no [12:40:09.777] checking for mawk... mawk [12:40:09.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:40:09.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:40:09.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:40:09.851] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:40:09.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:40:09.907] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:40:09.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:40:09.950] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:40:09.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:40:10.003] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:40:10.012] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:40:10.047] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:40:10.056] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:40:10.073] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:40:10.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:40:10.146] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:40:10.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:40:10.222] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:40:10.241] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:40:10.277] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:40:10.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:40:10.294] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:40:10.303] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:40:10.330] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:40:10.337] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:40:10.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:40:10.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:40:10.456] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:40:10.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:40:10.499] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:40:10.537] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:40:10.545] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:40:10.563] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:40:10.600] checking whether the C compiler still works... yes [12:40:10.671] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:40:10.752] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:40:10.752] checking pkg-config is at least version 0.9.0... yes [12:40:10.769] checking whether to build with ICU support... no [12:40:10.769] checking whether to build with Tcl... no [12:40:10.769] checking whether to build Perl modules... no [12:40:10.769] checking whether to build Python modules... no [12:40:10.769] checking whether to build with GSSAPI support... no [12:40:10.771] checking whether to build with PAM support... no [12:40:10.771] checking whether to build with BSD Authentication support... no [12:40:10.771] checking whether to build with LDAP support... no [12:40:10.771] checking whether to build with Bonjour support... no [12:40:10.771] checking whether to build with SELinux support... no [12:40:10.771] checking whether to build with systemd support... no [12:40:10.771] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:40:10.771] checking whether to build with XML support... no [12:40:10.772] checking whether to build with LZ4 support... no [12:40:10.772] checking whether to build with ZSTD support... no [12:40:10.772] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:40:10.772] checking whether it is possible to strip libraries... yes [12:40:10.780] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:40:10.780] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:40:10.780] checking for a BSD-compatible install... /usr/bin/install -c [12:40:10.790] checking for tar... /usr/bin/tar [12:40:10.790] checking whether ln -s works... yes [12:40:10.790] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:40:10.793] checking for bison... /usr/bin/bison [12:40:10.795] configure: using bison (GNU Bison) 3.8.2 [12:40:10.798] checking for flex... /usr/bin/flex [12:40:10.811] configure: using flex 2.6.4 [12:40:10.812] checking for perl... /usr/bin/perl [12:40:10.815] configure: using perl 5.36.0 [12:40:10.817] checking for zic... /usr/sbin/zic [12:40:10.817] checking for a sed that does not truncate output... /usr/bin/sed [12:40:10.823] checking for grep that handles long lines and -e... /usr/bin/grep [12:40:10.825] checking for egrep... /usr/bin/grep -E [12:40:10.827] checking for ANSI C header files... yes [12:40:10.918] checking for sys/types.h... yes [12:40:10.979] checking for sys/stat.h... yes [12:40:11.016] checking for stdlib.h... yes [12:40:11.033] checking for string.h... yes [12:40:11.096] checking for memory.h... yes [12:40:11.112] checking for strings.h... yes [12:40:11.173] checking for inttypes.h... yes [12:40:11.239] checking for stdint.h... yes [12:40:11.276] checking for unistd.h... yes [12:40:11.340] checking for main in -lm... yes [12:40:11.390] checking for library containing setproctitle... no [12:40:11.485] checking for library containing dlsym... no [12:40:11.575] checking for library containing socket... -lws2_32 [12:40:11.714] checking for library containing getopt_long... none required [12:40:11.764] checking for library containing shm_open... no [12:40:11.855] checking for library containing shm_unlink... no [12:40:11.954] checking for library containing clock_gettime... no [12:40:12.046] checking for library containing shmget... no [12:40:12.139] checking for library containing backtrace_symbols... no [12:40:12.228] checking for library containing pthread_barrier_wait... -lpthread [12:40:12.321] checking for inflate in -lz... yes [12:40:12.369] checking for stdbool.h that conforms to C99... yes [12:40:12.390] checking for _Bool... yes [12:40:12.485] checking atomic.h usability... no [12:40:12.543] checking atomic.h presence... no [12:40:12.564] checking for atomic.h... no [12:40:12.567] checking copyfile.h usability... no [12:40:12.625] checking copyfile.h presence... no [12:40:12.646] checking for copyfile.h... no [12:40:12.650] checking execinfo.h usability... no [12:40:12.706] checking execinfo.h presence... no [12:40:12.726] checking for execinfo.h... no [12:40:12.730] checking getopt.h usability... yes [12:40:12.738] checking getopt.h presence... yes [12:40:12.756] checking for getopt.h... yes [12:40:12.764] checking ifaddrs.h usability... no [12:40:12.822] checking ifaddrs.h presence... no [12:40:12.844] checking for ifaddrs.h... no [12:40:12.848] checking mbarrier.h usability... no [12:40:12.908] checking mbarrier.h presence... no [12:40:12.929] checking for mbarrier.h... no [12:40:12.933] checking sys/epoll.h usability... no [12:40:12.992] checking sys/epoll.h presence... no [12:40:13.014] checking for sys/epoll.h... no [12:40:13.018] checking sys/event.h usability... no [12:40:13.084] checking sys/event.h presence... no [12:40:13.105] checking for sys/event.h... no [12:40:13.109] checking sys/personality.h usability... no [12:40:13.169] checking sys/personality.h presence... no [12:40:13.190] checking for sys/personality.h... no [12:40:13.193] checking sys/prctl.h usability... no [12:40:13.252] checking sys/prctl.h presence... no [12:40:13.273] checking for sys/prctl.h... no [12:40:13.277] checking sys/procctl.h usability... no [12:40:13.336] checking sys/procctl.h presence... no [12:40:13.357] checking for sys/procctl.h... no [12:40:13.360] checking sys/signalfd.h usability... no [12:40:13.419] checking sys/signalfd.h presence... no [12:40:13.441] checking for sys/signalfd.h... no [12:40:13.445] checking sys/ucred.h usability... no [12:40:13.504] checking sys/ucred.h presence... no [12:40:13.525] checking for sys/ucred.h... no [12:40:13.529] checking termios.h usability... no [12:40:13.588] checking termios.h presence... no [12:40:13.609] checking for termios.h... no [12:40:13.612] checking ucred.h usability... no [12:40:13.671] checking ucred.h presence... no [12:40:13.693] checking for ucred.h... no [12:40:13.696] checking zlib.h usability... yes [12:40:13.762] checking zlib.h presence... yes [12:40:13.781] checking for zlib.h... yes [12:40:13.781] checking for lz4... /usr/bin/lz4 [12:40:13.782] checking for zstd... /usr/bin/zstd [12:40:13.782] checking for openssl... /usr/bin/openssl [12:40:13.786] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [12:40:13.787] checking crtdefs.h usability... yes [12:40:13.794] checking crtdefs.h presence... yes [12:40:13.811] checking for crtdefs.h... yes [12:40:13.812] checking whether byte ordering is bigendian... no [12:40:13.902] checking for inline... inline [12:40:13.934] checking for printf format archetype... gnu_printf [12:40:13.944] checking for _Static_assert... yes [12:40:13.989] checking for typeof... typeof [12:40:14.027] checking for __builtin_types_compatible_p... yes [12:40:14.050] checking for __builtin_constant_p... yes [12:40:14.062] checking for __builtin_unreachable... yes [12:40:14.107] checking for computed goto support... yes [12:40:14.143] checking for struct tm.tm_zone... no [12:40:14.224] checking for union semun... no [12:40:14.258] checking for socklen_t... yes [12:40:15.887] checking for struct sockaddr.sa_len... no [12:40:17.931] checking for locale_t... no [12:40:18.002] checking for C/C++ restrict keyword... __restrict [12:40:18.028] checking for struct option... yes [12:40:18.107] checking whether assembler supports x86_64 popcntq... yes [12:40:18.126] checking size of off_t... 4 [12:40:18.387] 0 [12:40:18.388] checking size of bool... 1 [12:40:18.495] checking for int timezone... yes [12:40:18.548] checking for wcstombs_l declaration... no [12:40:18.642] checking for backtrace_symbols... no [12:40:18.697] checking for copyfile... no [12:40:18.752] checking for copy_file_range... no [12:40:18.806] checking for getifaddrs... no [12:40:18.859] checking for getpeerucred... no [12:40:18.910] checking for inet_pton... yes [12:40:18.965] checking for kqueue... no [12:40:19.021] checking for mbstowcs_l... no [12:40:19.075] checking for memset_s... no [12:40:19.129] checking for posix_fallocate... no [12:40:19.185] checking for ppoll... no [12:40:19.238] checking for pthread_is_threaded_np... no [12:40:19.290] checking for setproctitle... no [12:40:19.344] checking for setproctitle_fast... no [12:40:19.398] checking for strchrnul... no [12:40:19.451] checking for strsignal... no [12:40:19.504] checking for syncfs... no [12:40:19.558] checking for sync_file_range... no [12:40:19.612] checking for uselocale... no [12:40:19.665] checking for wcstombs_l... no [12:40:19.715] checking for __builtin_bswap16... yes [12:40:19.768] checking for __builtin_bswap32... yes [12:40:19.818] checking for __builtin_bswap64... yes [12:40:19.868] checking for __builtin_clz... yes [12:40:19.919] checking for __builtin_ctz... yes [12:40:19.969] checking for __builtin_popcount... yes [12:40:20.017] checking for __builtin_frame_address... yes [12:40:20.065] checking for _LARGEFILE_SOURCE value needed for large files... no [12:40:20.120] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:40:20.153] checking for posix_fadvise... no [12:40:20.206] checking whether posix_fadvise is declared... no [12:40:20.255] checking whether fdatasync is declared... no [12:40:20.306] checking whether strlcat is declared... no [12:40:20.375] checking whether strlcpy is declared... no [12:40:20.442] checking whether strnlen is declared... yes [12:40:20.479] checking whether strsep is declared... no [12:40:20.547] checking whether preadv is declared... no [12:40:20.586] checking whether pwritev is declared... no [12:40:20.626] checking whether F_FULLFSYNC is declared... no [12:40:20.667] checking for explicit_bzero... no [12:40:20.718] checking for getopt... yes [12:40:20.765] checking for getpeereid... no [12:40:20.815] checking for inet_aton... no [12:40:20.863] checking for mkdtemp... no [12:40:20.912] checking for strlcat... no [12:40:20.961] checking for strlcpy... no [12:40:21.009] checking for strnlen... yes [12:40:21.059] checking for strsep... no [12:40:21.112] checking for pthread_barrier_wait... yes [12:40:21.158] configure: On mingw32 we will use our strtof wrapper. [12:40:21.158] checking for getopt_long... yes [12:40:21.207] checking for _configthreadlocale... yes [12:40:21.255] checking for syslog... no [12:40:21.305] checking for opterr... yes [12:40:21.354] checking for optreset... no [12:40:21.407] checking test program... cross-compiling [12:40:21.407] checking whether long int is 64 bits... no [12:40:21.442] checking whether long long int is 64 bits... yes [12:40:21.481] checking for __builtin_mul_overflow... yes [12:40:21.525] checking size of void *... 8 [12:40:21.974] checking size of size_t... 8 [12:40:22.391] checking size of long... 4 [12:40:22.665] checking alignment of short... 2 [12:40:22.907] checking alignment of int... 4 [12:40:23.294] checking alignment of long... 4 [12:40:23.584] checking alignment of long long int... 8 [12:40:23.975] checking alignment of double... 8 [12:40:24.412] checking for int8... no [12:40:24.458] checking for uint8... no [12:40:24.502] checking for int64... no [12:40:24.546] checking for uint64... no [12:40:24.589] checking for __int128... yes [12:40:24.642] checking for __int128 alignment bug... assuming ok [12:40:24.642] checking alignment of PG_INT128_TYPE... 16 [12:40:25.212] checking for builtin __sync char locking functions... yes [12:40:25.258] checking for builtin __sync int32 locking functions... yes [12:40:25.303] checking for builtin __sync int32 atomic operations... yes [12:40:25.347] checking for builtin __sync int64 atomic operations... yes [12:40:25.392] checking for builtin __atomic int32 atomic operations... yes [12:40:25.436] checking for builtin __atomic int64 atomic operations... yes [12:40:25.481] checking for __get_cpuid... yes [12:40:25.529] checking for __get_cpuid_count... yes [12:40:25.575] checking for __cpuid... no [12:40:25.976] checking for __cpuidex... no [12:40:26.402] checking for _xgetbv with CFLAGS=... no [12:40:26.777] checking for _xgetbv with CFLAGS=-mxsave... yes [12:40:27.181] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:40:27.571] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:40:27.905] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:40:27.953] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:40:28.047] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:40:28.071] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:40:28.095] 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 [12:40:28.154] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:40:28.154] checking which random number source to use... Windows native [12:40:28.156] checking for xmllint... /usr/bin/xmllint [12:40:28.156] checking for xsltproc... /usr/bin/xsltproc [12:40:28.156] checking for fop... /usr/bin/fop [12:40:28.157] checking for dbtoepub... no [12:40:28.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:40:28.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:40:28.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:40:28.169] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:40:28.169] 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 [12:40:28.169] configure: using CPPFLAGS= -I./src/include/port/win32 [12:40:28.169] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:40:28.263] configure: creating ./config.status [12:40:28.353] config.status: creating GNUmakefile [12:40:28.366] config.status: creating src/Makefile.global [12:40:28.382] config.status: creating src/include/pg_config.h [12:40:28.395] config.status: creating src/include/pg_config_ext.h [12:40:28.408] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:40:28.424] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:40:28.431] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:40:28.439] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:40:28.446] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:40:28.453] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:40:28.457] config.status: executing check_win32_symlinks commands [12:40:28.494] [12:40:28.494] real 0m19.815s [12:40:28.494] user 0m13.064s [12:40:28.494] sys 0m6.287s [12:40:28.494] make -s -j${BUILD_JOBS} clean [12:40:29.027] time make -s -j${BUILD_JOBS} world-bin [12:42:07.504] import_stats.c: In function ‘attribute_statistics_update.constprop.isra’: [12:42:07.504] import_stats.c:434:17: error: ‘elem_eq_opr’ may be used uninitialized [-Werror=maybe-uninitialized] [12:42:07.504] 434 | use_stats_slot(values, nulls, slotidx++, [12:42:07.504] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12:42:07.504] 435 | STATISTIC_KIND_DECHIST, [12:42:07.504] | ~~~~~~~~~~~~~~~~~~~~~~~ [12:42:07.504] 436 | elem_eq_opr, atttypcoll, [12:42:07.504] | ~~~~~~~~~~~~~~~~~~~~~~~~ [12:42:07.504] 437 | stanumbers, false, 0, true); [12:42:07.504] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12:42:07.504] import_stats.c:213:33: note: ‘elem_eq_opr’ was declared here [12:42:07.504] 213 | Oid elem_eq_opr; [12:42:07.504] | ^~~~~~~~~~~ [12:42:07.504] cc1: all warnings being treated as errors [12:42:07.504] make[3]: *** [: import_stats.o] Error 1 [12:42:07.504] make[3]: *** Waiting for unfinished jobs.... [12:42:07.829] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [12:42:07.829] make[2]: *** Waiting for unfinished jobs.... [12:42:11.357] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:42:11.357] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:42:11.358] [12:42:11.358] real 1m42.331s [12:42:11.358] user 5m28.589s [12:42:11.358] sys 1m6.147s [12:42:11.358] [12:42:11.358] Exit status: 2