[06:09:31.467] time ./configure \ [06:09:31.467] --host=x86_64-w64-mingw32 \ [06:09:31.467] --enable-cassert \ [06:09:31.467] --without-icu \ [06:09:31.467] CC="ccache x86_64-w64-mingw32-gcc" \ [06:09:31.467] CXX="ccache x86_64-w64-mingw32-g++" [06:09:31.560] checking build system type... x86_64-pc-linux-gnu [06:09:31.767] checking host system type... x86_64-w64-mingw32 [06:09:31.772] checking which template to use... win32 [06:09:31.772] checking whether NLS is wanted... no [06:09:31.772] checking for default port number... 5432 [06:09:31.777] checking for block size... 8kB [06:09:31.778] checking for segment size... 1GB [06:09:31.780] checking for WAL block size... 8kB [06:09:31.781] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:09:31.806] checking whether the C compiler works... yes [06:09:31.956] checking for C compiler default output file name... a.exe [06:09:31.957] checking for suffix of executables... .exe [06:09:31.991] checking whether we are cross compiling... yes [06:09:32.066] checking for suffix of object files... o [06:09:32.093] checking whether we are using the GNU C compiler... yes [06:09:32.099] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:09:32.104] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:09:32.113] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:09:32.168] checking whether we are using the GNU C++ compiler... yes [06:09:32.380] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:09:32.440] checking for gawk... no [06:09:32.440] checking for mawk... mawk [06:09:32.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:09:32.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:09:32.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:09:32.492] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:09:32.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:09:32.539] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:09:32.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:09:32.559] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:09:32.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:09:32.570] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:09:32.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:09:32.589] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:09:32.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:09:32.602] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:09:32.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:09:32.614] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:09:32.641] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:09:32.647] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:09:32.651] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:09:32.656] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:09:32.661] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:09:32.667] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:09:32.683] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:09:32.688] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:09:32.693] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:09:32.717] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:09:32.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:09:32.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:09:32.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:09:32.789] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:09:32.796] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:09:32.803] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:09:32.810] checking whether the C compiler still works... yes [06:09:32.878] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:09:32.941] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:09:32.941] checking pkg-config is at least version 0.9.0... yes [06:09:32.955] checking whether to build with ICU support... no [06:09:32.956] checking whether to build with Tcl... no [06:09:32.956] checking whether to build Perl modules... no [06:09:32.956] checking whether to build Python modules... no [06:09:32.956] checking whether to build with GSSAPI support... no [06:09:32.957] checking whether to build with PAM support... no [06:09:32.957] checking whether to build with BSD Authentication support... no [06:09:32.957] checking whether to build with LDAP support... no [06:09:32.957] checking whether to build with Bonjour support... no [06:09:32.957] checking whether to build with SELinux support... no [06:09:32.957] checking whether to build with systemd support... no [06:09:32.957] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:09:32.958] checking whether to build with XML support... no [06:09:32.958] checking whether to build with LZ4 support... no [06:09:32.958] checking whether to build with ZSTD support... no [06:09:32.958] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:09:32.959] checking whether it is possible to strip libraries... yes [06:09:32.969] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:09:32.970] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:09:32.970] checking for a BSD-compatible install... /usr/bin/install -c [06:09:32.978] checking for tar... /usr/bin/tar [06:09:32.978] checking whether ln -s works... yes [06:09:32.979] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:09:32.980] checking for bison... /usr/bin/bison [06:09:32.982] configure: using bison (GNU Bison) 3.7.5 [06:09:32.985] checking for flex... /usr/bin/flex [06:09:32.996] configure: using flex 2.6.4 [06:09:32.997] checking for perl... /usr/bin/perl [06:09:32.999] configure: using perl 5.32.1 [06:09:33.002] checking for zic... /usr/sbin/zic [06:09:33.002] checking for a sed that does not truncate output... /usr/bin/sed [06:09:33.006] checking for grep that handles long lines and -e... /usr/bin/grep [06:09:33.008] checking for egrep... /usr/bin/grep -E [06:09:33.010] checking for ANSI C header files... yes [06:09:33.052] checking for sys/types.h... yes [06:09:33.069] checking for sys/stat.h... yes [06:09:33.085] checking for stdlib.h... yes [06:09:33.114] checking for string.h... yes [06:09:33.125] checking for memory.h... yes [06:09:33.138] checking for strings.h... yes [06:09:33.193] checking for inttypes.h... yes [06:09:33.207] checking for stdint.h... yes [06:09:33.218] checking for unistd.h... yes [06:09:33.233] checking for main in -lm... yes [06:09:33.267] checking for library containing setproctitle... no [06:09:33.336] checking for library containing dlsym... no [06:09:33.406] checking for library containing socket... -lws2_32 [06:09:33.510] checking for library containing getopt_long... none required [06:09:33.550] checking for library containing shm_open... no [06:09:33.621] checking for library containing shm_unlink... no [06:09:33.689] checking for library containing clock_gettime... no [06:09:33.761] checking for library containing shmget... no [06:09:33.833] checking for library containing backtrace_symbols... no [06:09:33.904] checking for library containing pthread_barrier_wait... -lpthread [06:09:33.981] checking for inflate in -lz... yes [06:09:34.020] checking for stdbool.h that conforms to C99... yes [06:09:34.031] checking for _Bool... yes [06:09:34.087] checking atomic.h usability... no [06:09:34.132] checking atomic.h presence... no [06:09:34.146] checking for atomic.h... no [06:09:34.149] checking copyfile.h usability... no [06:09:34.196] checking copyfile.h presence... no [06:09:34.211] checking for copyfile.h... no [06:09:34.214] checking execinfo.h usability... no [06:09:34.261] checking execinfo.h presence... no [06:09:34.276] checking for execinfo.h... no [06:09:34.279] checking getopt.h usability... yes [06:09:34.286] checking getopt.h presence... yes [06:09:34.298] checking for getopt.h... yes [06:09:34.303] checking ifaddrs.h usability... no [06:09:34.348] checking ifaddrs.h presence... no [06:09:34.362] checking for ifaddrs.h... no [06:09:34.365] checking langinfo.h usability... no [06:09:34.410] checking langinfo.h presence... no [06:09:34.424] checking for langinfo.h... no [06:09:34.426] checking mbarrier.h usability... no [06:09:34.468] checking mbarrier.h presence... no [06:09:34.480] checking for mbarrier.h... no [06:09:34.483] checking sys/epoll.h usability... no [06:09:34.530] checking sys/epoll.h presence... no [06:09:34.542] checking for sys/epoll.h... no [06:09:34.545] checking sys/event.h usability... no [06:09:34.592] checking sys/event.h presence... no [06:09:34.607] checking for sys/event.h... no [06:09:34.610] checking sys/personality.h usability... no [06:09:34.654] checking sys/personality.h presence... no [06:09:34.668] checking for sys/personality.h... no [06:09:34.670] checking sys/prctl.h usability... no [06:09:34.713] checking sys/prctl.h presence... no [06:09:34.728] checking for sys/prctl.h... no [06:09:34.731] checking sys/procctl.h usability... no [06:09:34.778] checking sys/procctl.h presence... no [06:09:34.793] checking for sys/procctl.h... no [06:09:34.797] checking sys/signalfd.h usability... no [06:09:34.840] checking sys/signalfd.h presence... no [06:09:34.854] checking for sys/signalfd.h... no [06:09:34.857] checking sys/ucred.h usability... no [06:09:34.903] checking sys/ucred.h presence... no [06:09:34.918] checking for sys/ucred.h... no [06:09:34.921] checking termios.h usability... no [06:09:34.964] checking termios.h presence... no [06:09:34.977] checking for termios.h... no [06:09:34.980] checking ucred.h usability... no [06:09:35.022] checking ucred.h presence... no [06:09:35.038] checking for ucred.h... no [06:09:35.040] checking zlib.h usability... yes [06:09:35.048] checking zlib.h presence... yes [06:09:35.064] checking for zlib.h... yes [06:09:35.065] checking for lz4... /usr/bin/lz4 [06:09:35.065] checking for zstd... /usr/bin/zstd [06:09:35.065] checking for openssl... /usr/bin/openssl [06:09:35.069] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [06:09:35.069] checking crtdefs.h usability... yes [06:09:35.076] checking crtdefs.h presence... yes [06:09:35.088] checking for crtdefs.h... yes [06:09:35.090] checking whether byte ordering is bigendian... no [06:09:35.148] checking for inline... inline [06:09:35.154] checking for printf format archetype... gnu_printf [06:09:35.160] checking for _Static_assert... yes [06:09:35.193] checking for typeof... typeof [06:09:35.199] checking for __builtin_types_compatible_p... yes [06:09:35.207] checking for __builtin_constant_p... yes [06:09:35.215] checking for __builtin_unreachable... yes [06:09:35.267] checking for computed goto support... yes [06:09:35.273] checking for struct tm.tm_zone... no [06:09:35.335] checking for union semun... no [06:09:35.362] checking for socklen_t... yes [06:09:36.674] checking for struct sockaddr.sa_len... no [06:09:38.317] checking for locale_t... no [06:09:38.369] checking for C/C++ restrict keyword... __restrict [06:09:38.380] checking for struct option... yes [06:09:38.414] checking whether assembler supports x86_64 popcntq... yes [06:09:38.420] checking size of off_t... 4 [06:09:38.586] 0 [06:09:38.586] checking size of bool... 1 [06:09:38.646] checking for int timezone... yes [06:09:38.687] checking for wcstombs_l declaration... no [06:09:38.758] checking for backtrace_symbols... no [06:09:38.799] checking for copyfile... no [06:09:38.842] checking for copy_file_range... no [06:09:38.885] checking for getifaddrs... no [06:09:38.927] checking for getpeerucred... no [06:09:38.970] checking for inet_pton... yes [06:09:39.013] checking for kqueue... no [06:09:39.056] checking for mbstowcs_l... no [06:09:39.100] checking for memset_s... no [06:09:39.144] checking for posix_fallocate... no [06:09:39.185] checking for ppoll... no [06:09:39.226] checking for pthread_is_threaded_np... no [06:09:39.266] checking for setproctitle... no [06:09:39.307] checking for setproctitle_fast... no [06:09:39.345] checking for strchrnul... no [06:09:39.386] checking for strsignal... no [06:09:39.428] checking for syncfs... no [06:09:39.471] checking for sync_file_range... no [06:09:39.514] checking for uselocale... no [06:09:39.556] checking for wcstombs_l... no [06:09:39.596] checking for __builtin_bswap16... yes [06:09:39.638] checking for __builtin_bswap32... yes [06:09:39.677] checking for __builtin_bswap64... yes [06:09:39.718] checking for __builtin_clz... yes [06:09:39.754] checking for __builtin_ctz... yes [06:09:39.796] checking for __builtin_popcount... yes [06:09:39.836] checking for __builtin_frame_address... yes [06:09:39.875] checking for _LARGEFILE_SOURCE value needed for large files... no [06:09:39.925] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:09:39.950] checking for posix_fadvise... no [06:09:39.991] checking whether posix_fadvise is declared... no [06:09:40.028] checking whether fdatasync is declared... no [06:09:40.069] checking whether strlcat is declared... no [06:09:40.123] checking whether strlcpy is declared... no [06:09:40.175] checking whether strnlen is declared... yes [06:09:40.187] checking whether preadv is declared... no [06:09:40.217] checking whether pwritev is declared... no [06:09:40.256] checking whether F_FULLFSYNC is declared... no [06:09:40.287] checking for explicit_bzero... no [06:09:40.324] checking for getopt... yes [06:09:40.361] checking for getpeereid... no [06:09:40.399] checking for inet_aton... no [06:09:40.438] checking for mkdtemp... no [06:09:40.478] checking for strlcat... no [06:09:40.517] checking for strlcpy... no [06:09:40.556] checking for strnlen... yes [06:09:40.596] checking for pthread_barrier_wait... yes [06:09:40.633] configure: On mingw32 we will use our strtof wrapper. [06:09:40.633] checking for getopt_long... yes [06:09:40.670] checking for _configthreadlocale... yes [06:09:40.709] checking for syslog... no [06:09:40.748] checking for opterr... yes [06:09:40.788] checking for optreset... no [06:09:40.829] checking test program... cross-compiling [06:09:40.829] checking whether long int is 64 bits... no [06:09:40.852] checking whether long long int is 64 bits... yes [06:09:40.860] checking for __builtin_mul_overflow... yes [06:09:40.898] checking size of void *... 8 [06:09:41.193] checking size of size_t... 8 [06:09:41.455] checking size of long... 4 [06:09:41.659] checking alignment of short... 2 [06:09:41.769] checking alignment of int... 4 [06:09:41.984] checking alignment of long... 4 [06:09:42.151] checking alignment of long long int... 8 [06:09:42.383] checking alignment of double... 8 [06:09:42.664] checking for int8... no [06:09:42.697] checking for uint8... no [06:09:42.735] checking for int64... no [06:09:42.772] checking for uint64... no [06:09:42.811] checking for __int128... yes [06:09:42.853] checking for __int128 alignment bug... assuming ok [06:09:42.853] checking alignment of PG_INT128_TYPE... 16 [06:09:43.214] checking for builtin __sync char locking functions... yes [06:09:43.252] checking for builtin __sync int32 locking functions... yes [06:09:43.285] checking for builtin __sync int32 atomic operations... yes [06:09:43.319] checking for builtin __sync int64 atomic operations... yes [06:09:43.355] checking for builtin __atomic int32 atomic operations... yes [06:09:43.391] checking for builtin __atomic int64 atomic operations... yes [06:09:43.427] checking for __get_cpuid... yes [06:09:43.466] checking for __cpuid... no [06:09:43.708] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:09:43.745] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:09:43.815] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:09:43.831] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:09:43.844] 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 [06:09:43.886] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:09:43.887] checking which random number source to use... Windows native [06:09:43.888] checking for xmllint... /usr/bin/xmllint [06:09:43.889] checking for xsltproc... /usr/bin/xsltproc [06:09:43.889] checking for fop... /usr/bin/fop [06:09:43.889] checking for dbtoepub... no [06:09:43.890] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:09:43.890] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:09:43.898] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [06:09:43.898] 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 [06:09:43.898] configure: using CPPFLAGS= -I./src/include/port/win32 [06:09:43.898] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:09:43.971] configure: creating ./config.status [06:09:44.038] config.status: creating GNUmakefile [06:09:44.047] config.status: creating src/Makefile.global [06:09:44.061] config.status: creating src/include/pg_config.h [06:09:44.071] config.status: creating src/include/pg_config_ext.h [06:09:44.080] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:09:44.092] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:09:44.097] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:09:44.103] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:09:44.108] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:09:44.113] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:09:44.116] config.status: executing check_win32_symlinks commands [06:09:44.145] [06:09:44.145] real 0m12.677s [06:09:44.145] user 0m9.103s [06:09:44.145] sys 0m3.114s [06:09:44.145] make -s -j${BUILD_JOBS} clean [06:09:44.531] time make -s -j${BUILD_JOBS} world-bin [06:10:26.281] statistics.c: In function ‘pg_set_attribute_stats’: [06:10:26.281] statistics.c:1193:46: error: ‘basetypcache’ may be used uninitialized in this function [-Werror=maybe-uninitialized] [06:10:26.281] 1193 | values[Anum_pg_statistic_staop1 - 1 + k] = ObjectIdGetDatum(basetypcache->eq_opr); [06:10:26.281] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [06:10:26.281] cc1: all warnings being treated as errors [06:10:26.282] make[3]: *** [: statistics.o] Error 1 [06:10:26.282] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [06:10:26.282] make[2]: *** Waiting for unfinished jobs.... [06:10:29.795] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:10:29.795] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:10:29.796] [06:10:29.796] real 0m45.265s [06:10:29.796] user 2m32.224s [06:10:29.796] sys 0m19.897s [06:10:29.796] [06:10:29.796] Exit status: 2