[17:00:40.914] time ./configure \ [17:00:40.914] --host=x86_64-w64-mingw32 \ [17:00:40.914] --enable-cassert \ [17:00:40.914] --without-icu \ [17:00:40.914] CC="ccache x86_64-w64-mingw32-gcc" \ [17:00:40.914] CXX="ccache x86_64-w64-mingw32-g++" [17:00:41.040] checking build system type... x86_64-pc-linux-gnu [17:00:41.240] checking host system type... x86_64-w64-mingw32 [17:00:41.246] checking which template to use... win32 [17:00:41.246] checking whether NLS is wanted... no [17:00:41.246] checking for default port number... 5432 [17:00:41.253] checking for block size... 8kB [17:00:41.254] checking for segment size... 1GB [17:00:41.257] checking for WAL block size... 8kB [17:00:41.259] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:00:41.294] checking whether the C compiler works... yes [17:00:41.449] checking for C compiler default output file name... a.exe [17:00:41.450] checking for suffix of executables... .exe [17:00:41.495] checking whether we are cross compiling... yes [17:00:41.573] checking for suffix of object files... o [17:00:41.582] checking whether we are using the GNU C compiler... yes [17:00:41.616] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:00:41.624] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:00:41.709] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:00:41.851] checking whether we are using the GNU C++ compiler... yes [17:00:42.020] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:00:42.099] checking for gawk... no [17:00:42.099] checking for mawk... mawk [17:00:42.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:00:42.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:00:42.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:00:42.227] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:00:42.275] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:00:42.293] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:00:42.300] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:00:42.308] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:00:42.315] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:00:42.351] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:00:42.359] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:00:42.367] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:00:42.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:00:42.383] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:00:42.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:00:42.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:00:42.469] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:00:42.510] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:00:42.528] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:00:42.536] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:00:42.572] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:00:42.608] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:00:42.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:00:42.652] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:00:42.659] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:00:42.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:00:42.706] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:00:42.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:00:42.782] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:00:42.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:00:42.852] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:00:42.869] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:00:42.877] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:00:42.912] checking whether the C compiler still works... yes [17:00:42.994] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:00:43.074] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:00:43.074] checking pkg-config is at least version 0.9.0... yes [17:00:43.092] checking whether to build with ICU support... no [17:00:43.092] checking whether to build with Tcl... no [17:00:43.092] checking whether to build Perl modules... no [17:00:43.092] checking whether to build Python modules... no [17:00:43.092] checking whether to build with GSSAPI support... no [17:00:43.093] checking whether to build with PAM support... no [17:00:43.094] checking whether to build with BSD Authentication support... no [17:00:43.094] checking whether to build with LDAP support... no [17:00:43.094] checking whether to build with Bonjour support... no [17:00:43.094] checking whether to build with SELinux support... no [17:00:43.094] checking whether to build with systemd support... no [17:00:43.094] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:00:43.094] checking whether to build with XML support... no [17:00:43.094] checking whether to build with LZ4 support... no [17:00:43.095] checking whether to build with ZSTD support... no [17:00:43.095] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:00:43.095] checking whether it is possible to strip libraries... yes [17:00:43.103] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:00:43.103] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:00:43.103] checking for a BSD-compatible install... /usr/bin/install -c [17:00:43.114] checking for tar... /usr/bin/tar [17:00:43.114] checking whether ln -s works... yes [17:00:43.114] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:00:43.116] checking for bison... /usr/bin/bison [17:00:43.119] configure: using bison (GNU Bison) 3.8.2 [17:00:43.122] checking for flex... /usr/bin/flex [17:00:43.136] configure: using flex 2.6.4 [17:00:43.136] checking for perl... /usr/bin/perl [17:00:43.139] configure: using perl 5.36.0 [17:00:43.142] checking for zic... /usr/sbin/zic [17:00:43.142] checking for a sed that does not truncate output... /usr/bin/sed [17:00:43.148] checking for grep that handles long lines and -e... /usr/bin/grep [17:00:43.150] checking for egrep... /usr/bin/grep -E [17:00:43.152] checking for ANSI C header files... yes [17:00:43.246] checking for sys/types.h... yes [17:00:43.264] checking for sys/stat.h... yes [17:00:43.329] checking for stdlib.h... yes [17:00:43.391] checking for string.h... yes [17:00:43.407] checking for memory.h... yes [17:00:43.472] checking for strings.h... yes [17:00:43.536] checking for inttypes.h... yes [17:00:43.553] checking for stdint.h... yes [17:00:43.619] checking for unistd.h... yes [17:00:43.688] checking for main in -lm... yes [17:00:43.739] checking for library containing setproctitle... no [17:00:43.836] checking for library containing dlsym... no [17:00:43.936] checking for library containing socket... -lws2_32 [17:00:44.081] checking for library containing getopt_long... none required [17:00:44.133] checking for library containing shm_open... no [17:00:44.230] checking for library containing shm_unlink... no [17:00:44.327] checking for library containing clock_gettime... no [17:00:44.423] checking for library containing shmget... no [17:00:44.519] checking for library containing backtrace_symbols... no [17:00:44.616] checking for library containing pthread_barrier_wait... -lpthread [17:00:44.720] checking for inflate in -lz... yes [17:00:44.774] checking for stdbool.h that conforms to C99... yes [17:00:44.798] checking for _Bool... yes [17:00:44.933] checking atomic.h usability... no [17:00:44.994] checking atomic.h presence... no [17:00:45.015] checking for atomic.h... no [17:00:45.019] checking copyfile.h usability... no [17:00:45.078] checking copyfile.h presence... no [17:00:45.099] checking for copyfile.h... no [17:00:45.103] checking execinfo.h usability... no [17:00:45.162] checking execinfo.h presence... no [17:00:45.183] checking for execinfo.h... no [17:00:45.187] checking getopt.h usability... yes [17:00:45.219] checking getopt.h presence... yes [17:00:45.237] checking for getopt.h... yes [17:00:45.244] checking ifaddrs.h usability... no [17:00:45.303] checking ifaddrs.h presence... no [17:00:45.324] checking for ifaddrs.h... no [17:00:45.328] checking mbarrier.h usability... no [17:00:45.387] checking mbarrier.h presence... no [17:00:45.408] checking for mbarrier.h... no [17:00:45.411] checking sys/epoll.h usability... no [17:00:45.470] checking sys/epoll.h presence... no [17:00:45.491] checking for sys/epoll.h... no [17:00:45.495] checking sys/event.h usability... no [17:00:45.554] checking sys/event.h presence... no [17:00:45.575] checking for sys/event.h... no [17:00:45.578] checking sys/personality.h usability... no [17:00:45.640] checking sys/personality.h presence... no [17:00:45.661] checking for sys/personality.h... no [17:00:45.665] checking sys/prctl.h usability... no [17:00:45.724] checking sys/prctl.h presence... no [17:00:45.745] checking for sys/prctl.h... no [17:00:45.748] checking sys/procctl.h usability... no [17:00:45.811] checking sys/procctl.h presence... no [17:00:45.833] checking for sys/procctl.h... no [17:00:45.837] checking sys/signalfd.h usability... no [17:00:45.898] checking sys/signalfd.h presence... no [17:00:45.918] checking for sys/signalfd.h... no [17:00:45.921] checking sys/ucred.h usability... no [17:00:45.982] checking sys/ucred.h presence... no [17:00:46.003] checking for sys/ucred.h... no [17:00:46.006] checking termios.h usability... no [17:00:46.067] checking termios.h presence... no [17:00:46.088] checking for termios.h... no [17:00:46.091] checking ucred.h usability... no [17:00:46.156] checking ucred.h presence... no [17:00:46.187] checking for ucred.h... no [17:00:46.190] checking zlib.h usability... yes [17:00:46.201] checking zlib.h presence... yes [17:00:46.223] checking for zlib.h... yes [17:00:46.223] checking for lz4... /usr/bin/lz4 [17:00:46.223] checking for zstd... /usr/bin/zstd [17:00:46.224] checking for openssl... /usr/bin/openssl [17:00:46.229] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [17:00:46.229] checking crtdefs.h usability... yes [17:00:46.261] checking crtdefs.h presence... yes [17:00:46.278] checking for crtdefs.h... yes [17:00:46.280] checking whether byte ordering is bigendian... no [17:00:46.393] checking for inline... inline [17:00:46.424] checking for printf format archetype... gnu_printf [17:00:46.444] checking for _Static_assert... yes [17:00:46.490] checking for typeof... typeof [17:00:46.498] checking for __builtin_types_compatible_p... yes [17:00:46.520] checking for __builtin_constant_p... yes [17:00:46.554] checking for __builtin_unreachable... yes [17:00:46.600] checking for computed goto support... yes [17:00:46.608] checking for struct tm.tm_zone... no [17:00:46.690] checking for union semun... no [17:00:46.727] checking for socklen_t... yes [17:00:49.068] checking for struct sockaddr.sa_len... no [17:00:51.276] checking for locale_t... no [17:00:51.347] checking for C/C++ restrict keyword... __restrict [17:00:51.361] checking for struct option... yes [17:00:51.441] checking whether assembler supports x86_64 popcntq... yes [17:00:51.450] checking size of off_t... 4 [17:00:51.816] 0 [17:00:51.816] checking size of bool... 1 [17:00:51.898] checking for int timezone... yes [17:00:51.952] checking for wcstombs_l declaration... no [17:00:52.046] checking for backtrace_symbols... no [17:00:52.102] checking for copyfile... no [17:00:52.158] checking for copy_file_range... no [17:00:52.213] checking for getifaddrs... no [17:00:52.268] checking for getpeerucred... no [17:00:52.324] checking for inet_pton... yes [17:00:52.379] checking for kqueue... no [17:00:52.434] checking for mbstowcs_l... no [17:00:52.489] checking for memset_s... no [17:00:52.543] checking for posix_fallocate... no [17:00:52.599] checking for ppoll... no [17:00:52.655] checking for pthread_is_threaded_np... no [17:00:52.710] checking for setproctitle... no [17:00:52.765] checking for setproctitle_fast... no [17:00:52.820] checking for strchrnul... no [17:00:52.875] checking for strsignal... no [17:00:52.932] checking for syncfs... no [17:00:52.987] checking for sync_file_range... no [17:00:53.041] checking for uselocale... no [17:00:53.096] checking for wcstombs_l... no [17:00:53.148] checking for __builtin_bswap16... yes [17:00:53.202] checking for __builtin_bswap32... yes [17:00:53.257] checking for __builtin_bswap64... yes [17:00:53.309] checking for __builtin_clz... yes [17:00:53.362] checking for __builtin_ctz... yes [17:00:53.412] checking for __builtin_popcount... yes [17:00:53.462] checking for __builtin_frame_address... yes [17:00:53.513] checking for _LARGEFILE_SOURCE value needed for large files... no [17:00:53.569] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:00:53.602] checking for posix_fadvise... no [17:00:53.658] checking whether posix_fadvise is declared... no [17:00:53.705] checking whether fdatasync is declared... no [17:00:53.754] checking whether strlcat is declared... no [17:00:53.823] checking whether strlcpy is declared... no [17:00:53.897] checking whether strnlen is declared... yes [17:00:53.911] checking whether strsep is declared... no [17:00:53.979] checking whether preadv is declared... no [17:00:54.019] checking whether pwritev is declared... no [17:00:54.060] checking whether F_FULLFSYNC is declared... no [17:00:54.106] checking for explicit_bzero... no [17:00:54.160] checking for getopt... yes [17:00:54.212] checking for getpeereid... no [17:00:54.267] checking for inet_aton... no [17:00:54.322] checking for mkdtemp... no [17:00:54.376] checking for strlcat... no [17:00:54.430] checking for strlcpy... no [17:00:54.483] checking for strnlen... yes [17:00:54.537] checking for strsep... no [17:00:54.591] checking for pthread_barrier_wait... yes [17:00:54.641] configure: On mingw32 we will use our strtof wrapper. [17:00:54.641] checking for getopt_long... yes [17:00:54.691] checking for _configthreadlocale... yes [17:00:54.742] checking for syslog... no [17:00:54.797] checking for opterr... yes [17:00:54.852] checking for optreset... no [17:00:54.911] checking test program... cross-compiling [17:00:54.911] checking whether long int is 64 bits... no [17:00:54.947] checking whether long long int is 64 bits... yes [17:00:54.958] checking for __builtin_mul_overflow... yes [17:00:55.007] checking size of void *... 8 [17:00:55.494] checking size of size_t... 8 [17:00:55.983] checking size of long... 4 [17:00:56.290] checking alignment of short... 2 [17:00:56.612] checking alignment of int... 4 [17:00:56.913] checking alignment of long... 4 [17:00:57.238] checking alignment of long long int... 8 [17:00:57.554] checking alignment of double... 8 [17:00:57.923] checking for int8... no [17:00:57.970] checking for uint8... no [17:00:58.016] checking for int64... no [17:00:58.063] checking for uint64... no [17:00:58.110] checking for __int128... yes [17:00:58.163] checking for __int128 alignment bug... assuming ok [17:00:58.163] checking alignment of PG_INT128_TYPE... 16 [17:00:58.726] checking for builtin __sync char locking functions... yes [17:00:58.774] checking for builtin __sync int32 locking functions... yes [17:00:58.821] checking for builtin __sync int32 atomic operations... yes [17:00:58.868] checking for builtin __sync int64 atomic operations... yes [17:00:58.914] checking for builtin __atomic int32 atomic operations... yes [17:00:58.962] checking for builtin __atomic int64 atomic operations... yes [17:00:59.010] checking for __get_cpuid... yes [17:00:59.063] checking for __get_cpuid_count... yes [17:00:59.113] checking for __cpuid... no [17:00:59.535] checking for __cpuidex... no [17:00:59.986] checking for _xgetbv with CFLAGS=... no [17:01:00.392] checking for _xgetbv with CFLAGS=-mxsave... yes [17:01:00.821] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:01:01.222] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:01:01.592] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:01:01.642] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:01:01.741] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:01:01.766] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:01:01.787] 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 [17:01:01.849] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:01:01.849] checking which random number source to use... Windows native [17:01:01.851] checking for xmllint... /usr/bin/xmllint [17:01:01.851] checking for xsltproc... /usr/bin/xsltproc [17:01:01.851] checking for fop... /usr/bin/fop [17:01:01.852] checking for dbtoepub... no [17:01:01.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:01:01.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:01:01.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:01:01.864] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:01:01.864] 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 [17:01:01.864] configure: using CPPFLAGS= -I./src/include/port/win32 [17:01:01.864] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:01:01.956] configure: creating ./config.status [17:01:02.052] config.status: creating GNUmakefile [17:01:02.065] config.status: creating src/Makefile.global [17:01:02.081] config.status: creating src/include/pg_config.h [17:01:02.094] config.status: creating src/include/pg_config_ext.h [17:01:02.107] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:01:02.123] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:01:02.130] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:01:02.137] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:01:02.145] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:01:02.152] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:01:02.156] config.status: executing check_win32_symlinks commands [17:01:02.191] [17:01:02.191] real 0m21.277s [17:01:02.191] user 0m13.702s [17:01:02.191] sys 0m7.200s [17:01:02.191] make -s -j${BUILD_JOBS} clean [17:01:02.747] time make -s -j${BUILD_JOBS} world-bin [17:02:42.241] import_stats.c: In function ‘attribute_statistics_update.constprop.isra’: [17:02:42.241] import_stats.c:434:17: error: ‘elem_eq_opr’ may be used uninitialized [-Werror=maybe-uninitialized] [17:02:42.241] 434 | use_stats_slot(values, nulls, slotidx++, [17:02:42.241] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:02:42.241] 435 | STATISTIC_KIND_DECHIST, [17:02:42.241] | ~~~~~~~~~~~~~~~~~~~~~~~ [17:02:42.241] 436 | elem_eq_opr, atttypcoll, [17:02:42.241] | ~~~~~~~~~~~~~~~~~~~~~~~~ [17:02:42.241] 437 | stanumbers, false, 0, true); [17:02:42.241] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:02:42.241] import_stats.c:213:33: note: ‘elem_eq_opr’ was declared here [17:02:42.241] 213 | Oid elem_eq_opr; [17:02:42.241] | ^~~~~~~~~~~ [17:02:42.241] cc1: all warnings being treated as errors [17:02:42.242] make[3]: *** [: import_stats.o] Error 1 [17:02:42.242] make[2]: *** [common.mk:37: statistics-recursive] Error 2 [17:02:42.242] make[2]: *** Waiting for unfinished jobs.... [17:02:47.354] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:02:47.354] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:02:47.354] [17:02:47.354] real 1m44.607s [17:02:47.354] user 5m27.595s [17:02:47.354] sys 1m14.481s [17:02:47.354] [17:02:47.354] Exit status: 2