[14:10:48.892] time ./configure \ [14:10:48.892] --host=x86_64-w64-mingw32 \ [14:10:48.892] --enable-cassert \ [14:10:48.892] --without-icu \ [14:10:48.892] CC="ccache x86_64-w64-mingw32-gcc" \ [14:10:48.892] CXX="ccache x86_64-w64-mingw32-g++" [14:10:49.005] checking build system type... x86_64-pc-linux-gnu [14:10:49.189] checking host system type... x86_64-w64-mingw32 [14:10:49.194] checking which template to use... win32 [14:10:49.194] checking whether NLS is wanted... no [14:10:49.194] checking for default port number... 5432 [14:10:49.200] checking for block size... 8kB [14:10:49.201] checking for segment size... 1GB [14:10:49.204] checking for WAL block size... 8kB [14:10:49.205] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:10:49.237] checking whether the C compiler works... yes [14:10:49.361] checking for C compiler default output file name... a.exe [14:10:49.362] checking for suffix of executables... .exe [14:10:49.400] checking whether we are cross compiling... yes [14:10:49.469] checking for suffix of object files... o [14:10:49.485] checking whether we are using the GNU C compiler... yes [14:10:49.491] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:10:49.505] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:10:49.529] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:10:49.584] checking whether we are using the GNU C++ compiler... yes [14:10:49.719] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:10:49.839] checking for gawk... no [14:10:49.839] checking for mawk... mawk [14:10:49.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:10:49.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:10:49.877] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:10:49.922] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:10:49.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:10:49.970] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:10:49.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:10:49.983] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:10:49.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:10:50.021] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:10:50.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:10:50.033] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:10:50.041] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:10:50.056] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:10:50.088] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:10:50.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:10:50.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:10:50.146] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:10:50.176] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:10:50.191] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:10:50.198] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:10:50.229] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:10:50.261] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:10:50.284] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:10:50.300] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:10:50.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:10:50.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:10:50.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:10:50.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:10:50.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:10:50.480] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:10:50.487] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:10:50.517] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:10:50.547] checking whether the C compiler still works... yes [14:10:50.632] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:10:50.700] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:10:50.701] checking pkg-config is at least version 0.9.0... yes [14:10:50.719] checking whether to build with ICU support... no [14:10:50.719] checking whether to build with Tcl... no [14:10:50.719] checking whether to build Perl modules... no [14:10:50.719] checking whether to build Python modules... no [14:10:50.719] checking whether to build with GSSAPI support... no [14:10:50.720] checking whether to build with PAM support... no [14:10:50.720] checking whether to build with BSD Authentication support... no [14:10:50.720] checking whether to build with LDAP support... no [14:10:50.721] checking whether to build with Bonjour support... no [14:10:50.721] checking whether to build with SELinux support... no [14:10:50.721] checking whether to build with systemd support... no [14:10:50.721] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:10:50.721] checking whether to build with liburing support... no [14:10:50.721] checking whether to build with libcurl support... no [14:10:50.721] checking whether to build with libnuma support... no [14:10:50.721] checking whether to build with XML support... no [14:10:50.722] checking whether to build with LZ4 support... no [14:10:50.722] checking whether to build with ZSTD support... no [14:10:50.722] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:10:50.722] checking whether it is possible to strip libraries... yes [14:10:50.729] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:10:50.729] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:10:50.730] checking for a BSD-compatible install... /usr/bin/install -c [14:10:50.739] checking for tar... /usr/bin/tar [14:10:50.739] checking whether ln -s works... yes [14:10:50.739] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:10:50.741] checking for bison... /usr/bin/bison [14:10:50.744] configure: using bison (GNU Bison) 3.8.2 [14:10:50.746] checking for flex... /usr/bin/flex [14:10:50.748] configure: using flex 2.6.4 [14:10:50.748] checking for perl... /usr/bin/perl [14:10:50.751] configure: using perl 5.36.0 [14:10:50.753] checking for zic... /usr/sbin/zic [14:10:50.754] checking for a sed that does not truncate output... /usr/bin/sed [14:10:50.758] checking for grep that handles long lines and -e... /usr/bin/grep [14:10:50.761] checking for egrep... /usr/bin/grep -E [14:10:50.762] checking for ANSI C header files... yes [14:10:50.822] checking for sys/types.h... yes [14:10:50.838] checking for sys/stat.h... yes [14:10:50.854] checking for stdlib.h... yes [14:10:50.868] checking for string.h... yes [14:10:50.927] checking for memory.h... yes [14:10:50.983] checking for strings.h... yes [14:10:51.015] checking for inttypes.h... yes [14:10:51.071] checking for stdint.h... yes [14:10:51.131] checking for unistd.h... yes [14:10:51.192] checking for main in -lm... yes [14:10:51.243] checking for library containing setproctitle... no [14:10:51.330] checking for library containing dlsym... no [14:10:51.410] checking for library containing socket... -lws2_32 [14:10:51.540] checking for library containing getopt_long... none required [14:10:51.586] checking for library containing shm_open... no [14:10:51.671] checking for library containing shm_unlink... no [14:10:51.752] checking for library containing clock_gettime... no [14:10:51.832] checking for library containing shmget... no [14:10:51.918] checking for library containing backtrace_symbols... no [14:10:51.999] checking for library containing pthread_barrier_wait... -lpthread [14:10:52.084] checking for inflate in -lz... yes [14:10:52.132] checking atomic.h usability... no [14:10:52.187] checking atomic.h presence... no [14:10:52.205] checking for atomic.h... no [14:10:52.209] checking copyfile.h usability... no [14:10:52.263] checking copyfile.h presence... no [14:10:52.281] checking for copyfile.h... no [14:10:52.285] checking execinfo.h usability... no [14:10:52.336] checking execinfo.h presence... no [14:10:52.354] checking for execinfo.h... no [14:10:52.357] checking getopt.h usability... yes [14:10:52.364] checking getopt.h presence... yes [14:10:52.378] checking for getopt.h... yes [14:10:52.385] checking ifaddrs.h usability... no [14:10:52.437] checking ifaddrs.h presence... no [14:10:52.456] checking for ifaddrs.h... no [14:10:52.459] checking mbarrier.h usability... no [14:10:52.513] checking mbarrier.h presence... no [14:10:52.532] checking for mbarrier.h... no [14:10:52.535] checking sys/epoll.h usability... no [14:10:52.587] checking sys/epoll.h presence... no [14:10:52.605] checking for sys/epoll.h... no [14:10:52.608] checking sys/event.h usability... no [14:10:52.661] checking sys/event.h presence... no [14:10:52.679] checking for sys/event.h... no [14:10:52.682] checking sys/personality.h usability... no [14:10:52.736] checking sys/personality.h presence... no [14:10:52.754] checking for sys/personality.h... no [14:10:52.758] checking sys/prctl.h usability... no [14:10:52.813] checking sys/prctl.h presence... no [14:10:52.831] checking for sys/prctl.h... no [14:10:52.834] checking sys/procctl.h usability... no [14:10:52.884] checking sys/procctl.h presence... no [14:10:52.901] checking for sys/procctl.h... no [14:10:52.904] checking sys/signalfd.h usability... no [14:10:52.952] checking sys/signalfd.h presence... no [14:10:52.968] checking for sys/signalfd.h... no [14:10:52.971] checking sys/ucred.h usability... no [14:10:53.024] checking sys/ucred.h presence... no [14:10:53.041] checking for sys/ucred.h... no [14:10:53.045] checking termios.h usability... no [14:10:53.096] checking termios.h presence... no [14:10:53.114] checking for termios.h... no [14:10:53.117] checking ucred.h usability... no [14:10:53.170] checking ucred.h presence... no [14:10:53.188] checking for ucred.h... no [14:10:53.191] checking xlocale.h usability... no [14:10:53.244] checking xlocale.h presence... no [14:10:53.263] checking for xlocale.h... no [14:10:53.266] checking zlib.h usability... yes [14:10:53.324] checking zlib.h presence... yes [14:10:53.343] checking for zlib.h... yes [14:10:53.343] checking for lz4... /usr/bin/lz4 [14:10:53.343] checking for zstd... /usr/bin/zstd [14:10:53.344] checking for openssl... /usr/bin/openssl [14:10:53.348] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [14:10:53.348] checking crtdefs.h usability... yes [14:10:53.376] checking crtdefs.h presence... yes [14:10:53.390] checking for crtdefs.h... yes [14:10:53.392] checking whether byte ordering is bigendian... no [14:10:53.462] checking for inline... inline [14:10:53.469] checking for printf format archetype... gnu_printf [14:10:53.502] checking for _Static_assert... yes [14:10:53.542] checking for typeof... typeof [14:10:53.549] checking for __builtin_types_compatible_p... yes [14:10:53.584] checking for __builtin_constant_p... yes [14:10:53.613] checking for __builtin_mul_overflow... yes [14:10:53.660] checking for __builtin_unreachable... yes [14:10:53.702] checking for computed goto support... yes [14:10:53.709] checking for struct tm.tm_zone... no [14:10:53.784] checking for union semun... no [14:10:53.816] checking for socklen_t... yes [14:10:55.239] checking for struct sockaddr.sa_len... no [14:10:57.168] checking for C/C++ restrict keyword... __restrict [14:10:57.190] checking for struct option... yes [14:10:57.229] checking whether assembler supports x86_64 popcntq... yes [14:10:57.259] checking size of off_t... 4 [14:10:57.599] 0 [14:10:57.599] checking for int timezone... yes [14:10:57.652] checking for backtrace_symbols... no [14:10:57.702] checking for copyfile... no [14:10:57.751] checking for copy_file_range... no [14:10:57.802] checking for elf_aux_info... no [14:10:57.851] checking for getauxval... no [14:10:57.899] checking for getifaddrs... no [14:10:57.949] checking for getpeerucred... no [14:10:57.997] checking for inet_pton... yes [14:10:58.044] checking for kqueue... no [14:10:58.093] checking for localeconv_l... no [14:10:58.141] checking for mbstowcs_l... no [14:10:58.187] checking for posix_fallocate... no [14:10:58.235] checking for ppoll... no [14:10:58.282] checking for pthread_is_threaded_np... no [14:10:58.330] checking for setproctitle... no [14:10:58.378] checking for setproctitle_fast... no [14:10:58.426] checking for strsignal... no [14:10:58.474] checking for syncfs... no [14:10:58.524] checking for sync_file_range... no [14:10:58.571] checking for uselocale... no [14:10:58.618] checking for wcstombs_l... no [14:10:58.663] checking for __builtin_bswap16... yes [14:10:58.711] checking for __builtin_bswap32... yes [14:10:58.757] checking for __builtin_bswap64... yes [14:10:58.803] checking for __builtin_clz... yes [14:10:58.851] checking for __builtin_ctz... yes [14:10:58.896] checking for __builtin_popcount... yes [14:10:58.944] checking for __builtin_frame_address... yes [14:10:58.991] checking for _LARGEFILE_SOURCE value needed for large files... no [14:10:59.043] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:10:59.075] checking for posix_fadvise... no [14:10:59.127] checking whether posix_fadvise is declared... no [14:10:59.173] checking whether fdatasync is declared... no [14:10:59.219] checking whether strlcat is declared... no [14:10:59.280] checking whether strlcpy is declared... no [14:10:59.344] checking whether strnlen is declared... yes [14:10:59.409] checking whether strsep is declared... no [14:10:59.471] checking whether timingsafe_bcmp is declared... no [14:10:59.531] checking whether preadv is declared... no [14:10:59.566] checking whether pwritev is declared... no [14:10:59.603] checking whether strchrnul is declared... no [14:10:59.646] checking whether memset_s is declared... no [14:10:59.689] checking whether F_FULLFSYNC is declared... no [14:10:59.729] checking for explicit_bzero... no [14:10:59.773] checking for getopt... yes [14:10:59.818] checking for getpeereid... no [14:10:59.865] checking for inet_aton... no [14:10:59.911] checking for mkdtemp... no [14:10:59.955] checking for strlcat... no [14:11:00.000] checking for strlcpy... no [14:11:00.045] checking for strnlen... yes [14:11:00.091] checking for strsep... no [14:11:00.137] checking for timingsafe_bcmp... no [14:11:00.182] checking for pthread_barrier_wait... yes [14:11:00.226] configure: On mingw32 we will use our strtof wrapper. [14:11:00.226] checking for getopt_long... yes [14:11:00.269] checking for syslog... no [14:11:00.314] checking for opterr... yes [14:11:00.360] checking for optreset... no [14:11:00.409] checking test program... cross-compiling [14:11:00.409] checking size of void *... 8 [14:11:00.874] checking size of size_t... 8 [14:11:01.288] checking size of long... 4 [14:11:01.609] checking size of long long... 8 [14:11:02.004] checking alignment of short... 2 [14:11:02.157] checking alignment of int... 4 [14:11:02.494] checking alignment of long... 4 [14:11:02.805] checking alignment of int64_t... 8 [14:11:03.161] checking alignment of double... 8 [14:11:03.577] checking for __int128... yes [14:11:03.629] checking for __int128 alignment bug... assuming ok [14:11:03.629] checking alignment of PG_INT128_TYPE... 16 [14:11:04.153] checking for builtin __sync char locking functions... yes [14:11:04.193] checking for builtin __sync int32 locking functions... yes [14:11:04.235] checking for builtin __sync int32 atomic operations... yes [14:11:04.276] checking for builtin __sync int64 atomic operations... yes [14:11:04.315] checking for builtin __atomic int32 atomic operations... yes [14:11:04.353] checking for builtin __atomic int64 atomic operations... yes [14:11:04.393] checking for __get_cpuid... yes [14:11:04.436] checking for __get_cpuid_count... yes [14:11:04.476] checking for __cpuid... no [14:11:04.863] checking for __cpuidex... no [14:11:05.271] checking for _xgetbv... yes [14:11:05.667] checking for _mm512_popcnt_epi64... yes [14:11:06.068] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:11:06.166] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:11:06.187] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:11:06.205] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:11:06.222] 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 [14:11:06.275] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:11:06.275] checking for _mm512_clmulepi64_epi128... yes [14:11:06.678] checking for vectorized CRC-32C... AVX-512 with runtime check [14:11:06.679] checking which random number source to use... Windows native [14:11:06.681] checking for xmllint... /usr/bin/xmllint [14:11:06.681] checking for xsltproc... /usr/bin/xsltproc [14:11:06.681] checking for fop... /usr/bin/fop [14:11:06.681] checking for dbtoepub... no [14:11:06.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:11:06.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:11:06.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:11:06.692] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:11:06.692] 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 [14:11:06.692] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:11:06.692] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:11:06.782] configure: creating ./config.status [14:11:06.865] config.status: creating GNUmakefile [14:11:06.876] config.status: creating src/Makefile.global [14:11:06.891] config.status: creating src/include/pg_config.h [14:11:06.903] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:11:06.917] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:11:06.924] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:11:06.931] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:11:06.937] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:11:06.944] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:11:06.947] config.status: executing check_win32_symlinks commands [14:11:06.978] [14:11:06.978] real 0m18.086s [14:11:06.978] user 0m12.119s [14:11:06.978] sys 0m5.614s [14:11:06.978] make -s -j${BUILD_JOBS} clean [14:11:07.499] time make -s -j${BUILD_JOBS} world-bin [14:15:19.738] pg_stat_statements.c: In function ‘pgss_ProcessUtility’: [14:15:19.738] pg_stat_statements.c:1180:33: error: unused variable ‘store_utility’ [-Werror=unused-variable] [14:15:19.738] 1180 | bool store_utility = true; [14:15:19.738] | ^~~~~~~~~~~~~ [14:15:19.738] cc1: all warnings being treated as errors [14:15:19.739] make[2]: *** [: pg_stat_statements.o] Error 1 [14:15:19.739] make[1]: *** [Makefile:96: all-pg_stat_statements-recurse] Error 2 [14:15:19.739] make[1]: *** Waiting for unfinished jobs.... [14:15:21.422] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [14:15:21.423] [14:15:21.423] real 4m13.923s [14:15:21.423] user 13m32.288s [14:15:21.423] sys 2m34.338s [14:15:21.423] [14:15:21.423] Exit status: 2