[13:49:40.098] time ./configure \ [13:49:40.098] --host=x86_64-w64-mingw32 \ [13:49:40.098] --enable-cassert \ [13:49:40.098] --without-icu \ [13:49:40.098] CC="ccache x86_64-w64-mingw32-gcc" \ [13:49:40.098] CXX="ccache x86_64-w64-mingw32-g++" [13:49:40.220] checking build system type... x86_64-pc-linux-gnu [13:49:40.400] checking host system type... x86_64-w64-mingw32 [13:49:40.406] checking which template to use... win32 [13:49:40.406] checking whether NLS is wanted... no [13:49:40.406] checking for default port number... 5432 [13:49:40.413] checking for block size... 8kB [13:49:40.414] checking for segment size... 1GB [13:49:40.417] checking for WAL block size... 8kB [13:49:40.418] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:49:40.454] checking whether the C compiler works... yes [13:49:40.594] checking for C compiler default output file name... a.exe [13:49:40.595] checking for suffix of executables... .exe [13:49:40.639] checking whether we are cross compiling... yes [13:49:40.713] checking for suffix of object files... o [13:49:40.746] checking whether we are using the GNU C compiler... yes [13:49:40.777] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:49:40.808] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:49:40.881] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:49:40.944] checking whether we are using the GNU C++ compiler... yes [13:49:40.952] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:49:41.164] checking for gawk... no [13:49:41.164] checking for mawk... mawk [13:49:41.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:49:41.199] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:49:41.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:49:41.259] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:49:41.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:49:41.322] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:49:41.329] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:49:41.347] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:49:41.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:49:41.370] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:49:41.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:49:41.409] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:49:41.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:49:41.509] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:49:41.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:49:41.562] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:49:41.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:49:41.644] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:49:41.684] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:49:41.725] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:49:41.746] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:49:41.765] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:49:41.784] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:49:41.811] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:49:41.849] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:49:41.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:49:41.905] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:49:41.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:49:41.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:49:41.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:49:42.033] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:49:42.073] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:49:42.091] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:49:42.100] checking whether the C compiler still works... yes [13:49:42.191] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:49:42.278] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:49:42.278] checking pkg-config is at least version 0.9.0... yes [13:49:42.297] checking whether to build with ICU support... no [13:49:42.297] checking whether to build with Tcl... no [13:49:42.297] checking whether to build Perl modules... no [13:49:42.298] checking whether to build Python modules... no [13:49:42.298] checking whether to build with GSSAPI support... no [13:49:42.299] checking whether to build with PAM support... no [13:49:42.299] checking whether to build with BSD Authentication support... no [13:49:42.299] checking whether to build with LDAP support... no [13:49:42.299] checking whether to build with Bonjour support... no [13:49:42.299] checking whether to build with SELinux support... no [13:49:42.299] checking whether to build with systemd support... no [13:49:42.300] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:49:42.300] checking whether to build with liburing support... no [13:49:42.300] checking whether to build with libcurl support... no [13:49:42.300] checking whether to build with libnuma support... no [13:49:42.300] checking whether to build with XML support... no [13:49:42.301] checking whether to build with LZ4 support... no [13:49:42.301] checking whether to build with ZSTD support... no [13:49:42.301] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:49:42.301] checking whether it is possible to strip libraries... yes [13:49:42.307] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:49:42.308] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:49:42.308] checking for a BSD-compatible install... /usr/bin/install -c [13:49:42.319] checking for tar... /usr/bin/tar [13:49:42.319] checking whether ln -s works... yes [13:49:42.319] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:49:42.321] checking for bison... /usr/bin/bison [13:49:42.324] configure: using bison (GNU Bison) 3.8.2 [13:49:42.327] checking for flex... /usr/bin/flex [13:49:42.329] configure: using flex 2.6.4 [13:49:42.330] checking for perl... /usr/bin/perl [13:49:42.333] configure: using perl 5.36.0 [13:49:42.335] checking for zic... /usr/sbin/zic [13:49:42.335] checking for a sed that does not truncate output... /usr/bin/sed [13:49:42.340] checking for grep that handles long lines and -e... /usr/bin/grep [13:49:42.343] checking for egrep... /usr/bin/grep -E [13:49:42.345] checking for ANSI C header files... yes [13:49:42.447] checking for sys/types.h... yes [13:49:42.465] checking for sys/stat.h... yes [13:49:42.526] checking for stdlib.h... yes [13:49:42.560] checking for string.h... yes [13:49:42.593] checking for memory.h... yes [13:49:42.628] checking for strings.h... yes [13:49:42.643] checking for inttypes.h... yes [13:49:42.705] checking for stdint.h... yes [13:49:42.739] checking for unistd.h... yes [13:49:42.755] checking for main in -lm... yes [13:49:42.801] checking for library containing setproctitle... no [13:49:42.891] checking for library containing dlsym... no [13:49:42.978] checking for library containing socket... -lws2_32 [13:49:43.112] checking for library containing getopt_long... none required [13:49:43.161] checking for library containing shm_open... no [13:49:43.252] checking for library containing shm_unlink... no [13:49:43.339] checking for library containing clock_gettime... no [13:49:43.434] checking for library containing shmget... no [13:49:43.528] checking for library containing backtrace_symbols... no [13:49:43.619] checking for library containing pthread_barrier_wait... -lpthread [13:49:43.712] checking for inflate in -lz... yes [13:49:43.762] checking atomic.h usability... no [13:49:43.820] checking atomic.h presence... no [13:49:43.840] checking for atomic.h... no [13:49:43.843] checking copyfile.h usability... no [13:49:43.899] checking copyfile.h presence... no [13:49:43.918] checking for copyfile.h... no [13:49:43.921] checking execinfo.h usability... no [13:49:43.978] checking execinfo.h presence... no [13:49:43.997] checking for execinfo.h... no [13:49:44.001] checking getopt.h usability... yes [13:49:44.009] checking getopt.h presence... yes [13:49:44.024] checking for getopt.h... yes [13:49:44.031] checking ifaddrs.h usability... no [13:49:44.087] checking ifaddrs.h presence... no [13:49:44.106] checking for ifaddrs.h... no [13:49:44.109] checking mbarrier.h usability... no [13:49:44.165] checking mbarrier.h presence... no [13:49:44.184] checking for mbarrier.h... no [13:49:44.188] checking sys/epoll.h usability... no [13:49:44.245] checking sys/epoll.h presence... no [13:49:44.266] checking for sys/epoll.h... no [13:49:44.269] checking sys/event.h usability... no [13:49:44.327] checking sys/event.h presence... no [13:49:44.349] checking for sys/event.h... no [13:49:44.352] checking sys/personality.h usability... no [13:49:44.409] checking sys/personality.h presence... no [13:49:44.429] checking for sys/personality.h... no [13:49:44.432] checking sys/prctl.h usability... no [13:49:44.485] checking sys/prctl.h presence... no [13:49:44.506] checking for sys/prctl.h... no [13:49:44.509] checking sys/procctl.h usability... no [13:49:44.563] checking sys/procctl.h presence... no [13:49:44.584] checking for sys/procctl.h... no [13:49:44.587] checking sys/signalfd.h usability... no [13:49:44.642] checking sys/signalfd.h presence... no [13:49:44.661] checking for sys/signalfd.h... no [13:49:44.665] checking sys/ucred.h usability... no [13:49:44.724] checking sys/ucred.h presence... no [13:49:44.744] checking for sys/ucred.h... no [13:49:44.748] checking termios.h usability... no [13:49:44.806] checking termios.h presence... no [13:49:44.827] checking for termios.h... no [13:49:44.830] checking ucred.h usability... no [13:49:44.890] checking ucred.h presence... no [13:49:44.911] checking for ucred.h... no [13:49:44.914] checking xlocale.h usability... no [13:49:44.972] checking xlocale.h presence... no [13:49:44.993] checking for xlocale.h... no [13:49:44.995] checking zlib.h usability... yes [13:49:45.028] checking zlib.h presence... yes [13:49:45.046] checking for zlib.h... yes [13:49:45.047] checking for lz4... /usr/bin/lz4 [13:49:45.047] checking for zstd... /usr/bin/zstd [13:49:45.047] checking for openssl... /usr/bin/openssl [13:49:45.052] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [13:49:45.053] checking crtdefs.h usability... yes [13:49:45.105] checking crtdefs.h presence... yes [13:49:45.121] checking for crtdefs.h... yes [13:49:45.122] checking whether byte ordering is bigendian... no [13:49:45.205] checking for inline... inline [13:49:45.234] checking for printf format archetype... gnu_printf [13:49:45.252] checking for _Static_assert... yes [13:49:45.296] checking for typeof... typeof [13:49:45.304] checking for __builtin_types_compatible_p... yes [13:49:45.328] checking for __builtin_constant_p... yes [13:49:45.340] checking for __builtin_mul_overflow... yes [13:49:45.387] checking for __builtin_unreachable... yes [13:49:45.432] checking for computed goto support... yes [13:49:45.450] checking for struct tm.tm_zone... no [13:49:45.535] checking for union semun... no [13:49:45.568] checking for socklen_t... yes [13:49:46.746] checking for struct sockaddr.sa_len... no [13:49:48.803] checking for C/C++ restrict keyword... __restrict [13:49:48.817] checking for struct option... yes [13:49:48.894] checking whether assembler supports x86_64 popcntq... yes [13:49:48.912] checking size of off_t... 4 [13:49:49.235] 0 [13:49:49.236] checking for int timezone... yes [13:49:49.295] checking for backtrace_symbols... no [13:49:49.351] checking for copyfile... no [13:49:49.409] checking for copy_file_range... no [13:49:49.463] checking for elf_aux_info... no [13:49:49.517] checking for getauxval... no [13:49:49.571] checking for getifaddrs... no [13:49:49.624] checking for getpeerucred... no [13:49:49.678] checking for inet_pton... yes [13:49:49.733] checking for kqueue... no [13:49:49.787] checking for localeconv_l... no [13:49:49.841] checking for mbstowcs_l... no [13:49:49.894] checking for posix_fallocate... no [13:49:49.946] checking for ppoll... no [13:49:49.996] checking for pthread_is_threaded_np... no [13:49:50.044] checking for setproctitle... no [13:49:50.095] checking for setproctitle_fast... no [13:49:50.148] checking for strsignal... no [13:49:50.201] checking for syncfs... no [13:49:50.253] checking for sync_file_range... no [13:49:50.306] checking for uselocale... no [13:49:50.358] checking for wcstombs_l... no [13:49:50.407] checking for __builtin_bswap16... yes [13:49:50.458] checking for __builtin_bswap32... yes [13:49:50.511] checking for __builtin_bswap64... yes [13:49:50.558] checking for __builtin_clz... yes [13:49:50.604] checking for __builtin_ctz... yes [13:49:50.651] checking for __builtin_popcount... yes [13:49:50.697] checking for __builtin_frame_address... yes [13:49:50.743] checking for _LARGEFILE_SOURCE value needed for large files... no [13:49:50.793] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:49:50.827] checking for posix_fadvise... no [13:49:50.878] checking whether posix_fadvise is declared... no [13:49:50.922] checking whether fdatasync is declared... no [13:49:50.967] checking whether strlcat is declared... no [13:49:51.029] checking whether strlcpy is declared... no [13:49:51.094] checking whether strnlen is declared... yes [13:49:51.108] checking whether strsep is declared... no [13:49:51.171] checking whether timingsafe_bcmp is declared... no [13:49:51.234] checking whether preadv is declared... no [13:49:51.270] checking whether pwritev is declared... no [13:49:51.309] checking whether strchrnul is declared... no [13:49:51.357] checking whether memset_s is declared... no [13:49:51.402] checking whether F_FULLFSYNC is declared... no [13:49:51.444] checking for explicit_bzero... no [13:49:51.495] checking for getopt... yes [13:49:51.542] checking for getpeereid... no [13:49:51.593] checking for inet_aton... no [13:49:51.644] checking for mkdtemp... no [13:49:51.693] checking for strlcat... no [13:49:51.744] checking for strlcpy... no [13:49:51.793] checking for strnlen... yes [13:49:51.843] checking for strsep... no [13:49:51.893] checking for timingsafe_bcmp... no [13:49:51.944] checking for pthread_barrier_wait... yes [13:49:51.990] configure: On mingw32 we will use our strtof wrapper. [13:49:51.990] checking for getopt_long... yes [13:49:52.037] checking for syslog... no [13:49:52.086] checking for opterr... yes [13:49:52.135] checking for optreset... no [13:49:52.187] checking test program... cross-compiling [13:49:52.187] checking size of void *... 8 [13:49:52.582] checking size of size_t... 8 [13:49:53.032] checking size of long... 4 [13:49:53.306] checking size of long long... 8 [13:49:53.663] checking alignment of short... 2 [13:49:53.923] checking alignment of int... 4 [13:49:54.317] checking alignment of long... 4 [13:49:54.665] checking alignment of int64_t... 8 [13:49:55.052] checking alignment of double... 8 [13:49:55.395] checking for __int128... yes [13:49:55.443] checking for __int128 alignment bug... assuming ok [13:49:55.443] checking alignment of PG_INT128_TYPE... 16 [13:49:55.831] checking for builtin __sync char locking functions... yes [13:49:55.873] checking for builtin __sync int32 locking functions... yes [13:49:55.915] checking for builtin __sync int32 atomic operations... yes [13:49:55.956] checking for builtin __sync int64 atomic operations... yes [13:49:55.998] checking for builtin __atomic int32 atomic operations... yes [13:49:56.038] checking for builtin __atomic int64 atomic operations... yes [13:49:56.082] checking for __get_cpuid... yes [13:49:56.128] checking for __get_cpuid_count... yes [13:49:56.171] checking for __cpuid... no [13:49:56.580] checking for __cpuidex... no [13:49:57.010] checking for _xgetbv... yes [13:49:57.416] checking for _mm512_popcnt_epi64... yes [13:49:57.846] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:49:57.953] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:49:57.977] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:49:57.995] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:49:58.012] 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 [13:49:58.068] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:49:58.068] checking for _mm512_clmulepi64_epi128... yes [13:49:58.506] checking for vectorized CRC-32C... AVX-512 with runtime check [13:49:58.507] checking which random number source to use... Windows native [13:49:58.509] checking for xmllint... /usr/bin/xmllint [13:49:58.509] checking for xsltproc... /usr/bin/xsltproc [13:49:58.509] checking for fop... /usr/bin/fop [13:49:58.509] checking for dbtoepub... no [13:49:58.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:49:58.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:49:58.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:49:58.521] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:49:58.521] 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 [13:49:58.521] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:49:58.521] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:49:58.603] configure: creating ./config.status [13:49:58.682] config.status: creating GNUmakefile [13:49:58.694] config.status: creating src/Makefile.global [13:49:58.708] config.status: creating src/include/pg_config.h [13:49:58.720] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:49:58.734] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:49:58.741] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:49:58.747] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:49:58.754] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:49:58.761] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:49:58.764] config.status: executing check_win32_symlinks commands [13:49:58.796] [13:49:58.796] real 0m18.698s [13:49:58.796] user 0m12.231s [13:49:58.796] sys 0m6.131s [13:49:58.796] make -s -j${BUILD_JOBS} clean [13:49:59.336] time make -s -j${BUILD_JOBS} world-bin [13:54:19.253] pg_stat_statements.c: In function ‘pgss_ProcessUtility’: [13:54:19.253] pg_stat_statements.c:1172:33: error: unused variable ‘store_utility’ [-Werror=unused-variable] [13:54:19.253] 1172 | bool store_utility = true; [13:54:19.253] | ^~~~~~~~~~~~~ [13:54:19.253] cc1: all warnings being treated as errors [13:54:19.254] make[2]: *** [: pg_stat_statements.o] Error 1 [13:54:19.254] make[1]: *** [Makefile:96: all-pg_stat_statements-recurse] Error 2 [13:54:19.254] make[1]: *** Waiting for unfinished jobs.... [13:54:21.080] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [13:54:21.080] [13:54:21.080] real 4m21.744s [13:54:21.080] user 13m36.850s [13:54:21.080] sys 2m53.355s [13:54:21.081] [13:54:21.081] Exit status: 2