[14:08:48.737] time ./configure \ [14:08:48.737] --host=x86_64-w64-mingw32 \ [14:08:48.737] --enable-cassert \ [14:08:48.737] --without-icu \ [14:08:48.737] CC="ccache x86_64-w64-mingw32-gcc" \ [14:08:48.737] CXX="ccache x86_64-w64-mingw32-g++" [14:08:48.860] checking build system type... x86_64-pc-linux-gnu [14:08:49.064] checking host system type... x86_64-w64-mingw32 [14:08:49.070] checking which template to use... win32 [14:08:49.071] checking whether NLS is wanted... no [14:08:49.071] checking for default port number... 5432 [14:08:49.078] checking for block size... 8kB [14:08:49.079] checking for segment size... 1GB [14:08:49.082] checking for WAL block size... 8kB [14:08:49.083] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:08:49.119] checking whether the C compiler works... yes [14:08:49.259] checking for C compiler default output file name... a.exe [14:08:49.261] checking for suffix of executables... .exe [14:08:49.303] checking whether we are cross compiling... yes [14:08:49.382] checking for suffix of object files... o [14:08:49.401] checking whether we are using the GNU C compiler... yes [14:08:49.433] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:08:49.441] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:08:49.523] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:08:49.662] checking whether we are using the GNU C++ compiler... yes [14:08:49.812] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:08:49.951] checking for gawk... no [14:08:49.951] checking for mawk... mawk [14:08:49.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:08:49.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:08:49.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:08:50.046] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:08:50.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:08:50.099] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:08:50.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:08:50.122] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:08:50.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:08:50.144] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:08:50.151] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:08:50.167] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:08:50.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:08:50.180] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:08:50.212] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:08:50.229] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:08:50.246] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:08:50.285] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:08:50.292] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:08:50.326] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:08:50.333] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:08:50.339] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:08:50.374] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:08:50.398] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:08:50.414] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:08:50.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:08:50.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:08:50.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:08:50.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:08:50.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:08:50.580] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:08:50.596] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:08:50.614] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:08:50.632] checking whether the C compiler still works... yes [14:08:50.711] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:08:50.785] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:08:50.787] checking pkg-config is at least version 0.9.0... yes [14:08:50.803] checking whether to build with ICU support... no [14:08:50.803] checking whether to build with Tcl... no [14:08:50.803] checking whether to build Perl modules... no [14:08:50.804] checking whether to build Python modules... no [14:08:50.804] checking whether to build with GSSAPI support... no [14:08:50.805] checking whether to build with PAM support... no [14:08:50.805] checking whether to build with BSD Authentication support... no [14:08:50.805] checking whether to build with LDAP support... no [14:08:50.805] checking whether to build with Bonjour support... no [14:08:50.805] checking whether to build with SELinux support... no [14:08:50.805] checking whether to build with systemd support... no [14:08:50.806] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:08:50.806] checking whether to build with liburing support... no [14:08:50.806] checking whether to build with libcurl support... no [14:08:50.806] checking whether to build with libnuma support... no [14:08:50.807] checking whether to build with XML support... no [14:08:50.807] checking whether to build with LZ4 support... no [14:08:50.807] checking whether to build with ZSTD support... no [14:08:50.807] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:08:50.808] checking whether it is possible to strip libraries... yes [14:08:50.815] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:08:50.815] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:08:50.815] checking for a BSD-compatible install... /usr/bin/install -c [14:08:50.825] checking for tar... /usr/bin/tar [14:08:50.825] checking whether ln -s works... yes [14:08:50.825] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:08:50.827] checking for bison... /usr/bin/bison [14:08:50.829] configure: using bison (GNU Bison) 3.8.2 [14:08:50.832] checking for flex... /usr/bin/flex [14:08:50.835] configure: using flex 2.6.4 [14:08:50.835] checking for perl... /usr/bin/perl [14:08:50.838] configure: using perl 5.36.0 [14:08:50.840] checking for zic... /usr/sbin/zic [14:08:50.840] checking for a sed that does not truncate output... /usr/bin/sed [14:08:50.846] checking for grep that handles long lines and -e... /usr/bin/grep [14:08:50.848] checking for egrep... /usr/bin/grep -E [14:08:50.849] checking for ANSI C header files... yes [14:08:50.902] checking for sys/types.h... yes [14:08:50.920] checking for sys/stat.h... yes [14:08:50.983] checking for stdlib.h... yes [14:08:51.044] checking for string.h... yes [14:08:51.081] checking for memory.h... yes [14:08:51.146] checking for strings.h... yes [14:08:51.183] checking for inttypes.h... yes [14:08:51.247] checking for stdint.h... yes [14:08:51.309] checking for unistd.h... yes [14:08:51.372] checking for main in -lm... yes [14:08:51.420] checking for library containing setproctitle... no [14:08:51.512] checking for library containing dlsym... no [14:08:51.604] checking for library containing socket... -lws2_32 [14:08:51.739] checking for library containing getopt_long... none required [14:08:51.789] checking for library containing shm_open... no [14:08:51.882] checking for library containing shm_unlink... no [14:08:51.973] checking for library containing clock_gettime... no [14:08:52.062] checking for library containing shmget... no [14:08:52.151] checking for library containing backtrace_symbols... no [14:08:52.242] checking for library containing pthread_barrier_wait... -lpthread [14:08:52.336] checking for inflate in -lz... yes [14:08:52.386] checking atomic.h usability... no [14:08:52.443] checking atomic.h presence... no [14:08:52.463] checking for atomic.h... no [14:08:52.467] checking copyfile.h usability... no [14:08:52.524] checking copyfile.h presence... no [14:08:52.544] checking for copyfile.h... no [14:08:52.548] checking execinfo.h usability... no [14:08:52.606] checking execinfo.h presence... no [14:08:52.626] checking for execinfo.h... no [14:08:52.629] checking getopt.h usability... yes [14:08:52.687] checking getopt.h presence... yes [14:08:52.704] checking for getopt.h... yes [14:08:52.712] checking ifaddrs.h usability... no [14:08:52.770] checking ifaddrs.h presence... no [14:08:52.790] checking for ifaddrs.h... no [14:08:52.794] checking mbarrier.h usability... no [14:08:52.852] checking mbarrier.h presence... no [14:08:52.872] checking for mbarrier.h... no [14:08:52.875] checking sys/epoll.h usability... no [14:08:52.933] checking sys/epoll.h presence... no [14:08:52.953] checking for sys/epoll.h... no [14:08:52.956] checking sys/event.h usability... no [14:08:53.011] checking sys/event.h presence... no [14:08:53.030] checking for sys/event.h... no [14:08:53.034] checking sys/personality.h usability... no [14:08:53.088] checking sys/personality.h presence... no [14:08:53.107] checking for sys/personality.h... no [14:08:53.111] checking sys/prctl.h usability... no [14:08:53.168] checking sys/prctl.h presence... no [14:08:53.189] checking for sys/prctl.h... no [14:08:53.193] checking sys/procctl.h usability... no [14:08:53.252] checking sys/procctl.h presence... no [14:08:53.271] checking for sys/procctl.h... no [14:08:53.274] checking sys/signalfd.h usability... no [14:08:53.328] checking sys/signalfd.h presence... no [14:08:53.347] checking for sys/signalfd.h... no [14:08:53.350] checking sys/ucred.h usability... no [14:08:53.408] checking sys/ucred.h presence... no [14:08:53.429] checking for sys/ucred.h... no [14:08:53.432] checking termios.h usability... no [14:08:53.490] checking termios.h presence... no [14:08:53.509] checking for termios.h... no [14:08:53.513] checking ucred.h usability... no [14:08:53.568] checking ucred.h presence... no [14:08:53.586] checking for ucred.h... no [14:08:53.590] checking xlocale.h usability... no [14:08:53.647] checking xlocale.h presence... no [14:08:53.667] checking for xlocale.h... no [14:08:53.670] checking zlib.h usability... yes [14:08:53.680] checking zlib.h presence... yes [14:08:53.700] checking for zlib.h... yes [14:08:53.701] checking for lz4... /usr/bin/lz4 [14:08:53.701] checking for zstd... /usr/bin/zstd [14:08:53.701] checking for openssl... /usr/bin/openssl [14:08:53.706] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:08:53.707] checking crtdefs.h usability... yes [14:08:53.765] checking crtdefs.h presence... yes [14:08:53.781] checking for crtdefs.h... yes [14:08:53.783] checking whether byte ordering is bigendian... no [14:08:53.864] checking for inline... inline [14:08:53.872] checking for printf format archetype... gnu_printf [14:08:53.909] checking for _Static_assert... yes [14:08:53.955] checking for typeof... typeof [14:08:53.992] checking for __builtin_types_compatible_p... yes [14:08:54.014] checking for __builtin_constant_p... yes [14:08:54.036] checking for __builtin_mul_overflow... yes [14:08:54.084] checking for __builtin_unreachable... yes [14:08:54.128] checking for computed goto support... yes [14:08:54.164] checking for struct tm.tm_zone... no [14:08:54.248] checking for union semun... no [14:08:54.285] checking for socklen_t... yes [14:08:55.476] checking for struct sockaddr.sa_len... no [14:08:57.614] checking for C/C++ restrict keyword... __restrict [14:08:57.658] checking for struct option... yes [14:08:57.704] checking whether assembler supports x86_64 popcntq... yes [14:08:57.740] checking size of off_t... 4 [14:08:58.122] 0 [14:08:58.122] checking for int timezone... yes [14:08:58.176] checking for backtrace_symbols... no [14:08:58.230] checking for copyfile... no [14:08:58.283] checking for copy_file_range... no [14:08:58.336] checking for elf_aux_info... no [14:08:58.388] checking for getauxval... no [14:08:58.438] checking for getifaddrs... no [14:08:58.492] checking for getpeerucred... no [14:08:58.543] checking for inet_pton... yes [14:08:58.594] checking for kqueue... no [14:08:58.646] checking for localeconv_l... no [14:08:58.697] checking for mbstowcs_l... no [14:08:58.749] checking for memset_s... no [14:08:58.802] checking for posix_fallocate... no [14:08:58.854] checking for ppoll... no [14:08:58.908] checking for pthread_is_threaded_np... no [14:08:58.961] checking for setproctitle... no [14:08:59.012] checking for setproctitle_fast... no [14:08:59.063] checking for strsignal... no [14:08:59.113] checking for syncfs... no [14:08:59.165] checking for sync_file_range... no [14:08:59.217] checking for uselocale... no [14:08:59.269] checking for wcstombs_l... no [14:08:59.319] checking for __builtin_bswap16... yes [14:08:59.371] checking for __builtin_bswap32... yes [14:08:59.422] checking for __builtin_bswap64... yes [14:08:59.472] checking for __builtin_clz... yes [14:08:59.524] checking for __builtin_ctz... yes [14:08:59.575] checking for __builtin_popcount... yes [14:08:59.626] checking for __builtin_frame_address... yes [14:08:59.678] checking for _LARGEFILE_SOURCE value needed for large files... no [14:08:59.733] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:08:59.767] checking for posix_fadvise... no [14:08:59.822] checking whether posix_fadvise is declared... no [14:08:59.871] checking whether fdatasync is declared... no [14:08:59.919] checking whether strlcat is declared... no [14:08:59.983] checking whether strlcpy is declared... no [14:09:00.048] checking whether strnlen is declared... yes [14:09:00.084] checking whether strsep is declared... no [14:09:00.152] checking whether timingsafe_bcmp is declared... no [14:09:00.217] checking whether preadv is declared... no [14:09:00.256] checking whether pwritev is declared... no [14:09:00.293] checking whether strchrnul is declared... no [14:09:00.335] checking whether F_FULLFSYNC is declared... no [14:09:00.375] checking for explicit_bzero... no [14:09:00.427] checking for getopt... yes [14:09:00.473] checking for getpeereid... no [14:09:00.524] checking for inet_aton... no [14:09:00.573] checking for mkdtemp... no [14:09:00.623] checking for strlcat... no [14:09:00.672] checking for strlcpy... no [14:09:00.721] checking for strnlen... yes [14:09:00.772] checking for strsep... no [14:09:00.823] checking for timingsafe_bcmp... no [14:09:00.873] checking for pthread_barrier_wait... yes [14:09:00.920] configure: On mingw32 we will use our strtof wrapper. [14:09:00.920] checking for getopt_long... yes [14:09:00.968] checking for syslog... no [14:09:01.016] checking for opterr... yes [14:09:01.067] checking for optreset... no [14:09:01.122] checking test program... cross-compiling [14:09:01.122] checking size of void *... 8 [14:09:01.652] checking size of size_t... 8 [14:09:02.188] checking size of long... 4 [14:09:02.468] checking size of long long... 8 [14:09:02.903] checking alignment of short... 2 [14:09:03.218] checking alignment of int... 4 [14:09:03.661] checking alignment of long... 4 [14:09:04.097] checking alignment of int64_t... 8 [14:09:04.654] checking alignment of double... 8 [14:09:05.139] checking for __int128... yes [14:09:05.189] checking for __int128 alignment bug... assuming ok [14:09:05.189] checking alignment of PG_INT128_TYPE... 16 [14:09:05.738] checking for builtin __sync char locking functions... yes [14:09:05.782] checking for builtin __sync int32 locking functions... yes [14:09:05.826] checking for builtin __sync int32 atomic operations... yes [14:09:05.871] checking for builtin __sync int64 atomic operations... yes [14:09:05.918] checking for builtin __atomic int32 atomic operations... yes [14:09:05.964] checking for builtin __atomic int64 atomic operations... yes [14:09:06.011] checking for __get_cpuid... yes [14:09:06.060] checking for __get_cpuid_count... yes [14:09:06.108] checking for __cpuid... no [14:09:06.512] checking for __cpuidex... no [14:09:06.936] checking for _xgetbv... yes [14:09:07.348] checking for _mm512_popcnt_epi64... yes [14:09:07.767] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:09:07.874] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:09:07.899] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:09:07.919] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:09:07.938] 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:09:07.997] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:09:07.997] checking for _mm512_clmulepi64_epi128... yes [14:09:08.409] checking for vectorized CRC-32C... AVX-512 with runtime check [14:09:08.410] checking which random number source to use... Windows native [14:09:08.411] checking for xmllint... /usr/bin/xmllint [14:09:08.412] checking for xsltproc... /usr/bin/xsltproc [14:09:08.412] checking for fop... /usr/bin/fop [14:09:08.412] checking for dbtoepub... no [14:09:08.412] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:09:08.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:09:08.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:09:08.424] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:09:08.424] 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:09:08.424] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:09:08.424] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:09:08.519] configure: creating ./config.status [14:09:08.608] config.status: creating GNUmakefile [14:09:08.621] config.status: creating src/Makefile.global [14:09:08.637] config.status: creating src/include/pg_config.h [14:09:08.651] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:09:08.667] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:09:08.674] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:09:08.682] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:09:08.689] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:09:08.697] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:09:08.700] config.status: executing check_win32_symlinks commands [14:09:08.736] [14:09:08.736] real 0m19.998s [14:09:08.736] user 0m12.917s [14:09:08.736] sys 0m6.718s [14:09:08.736] make -s -j${BUILD_JOBS} clean [14:09:09.281] time make -s -j${BUILD_JOBS} world-bin [14:13:34.373] pg_stat_statements.c: In function ‘pgss_ProcessUtility’: [14:13:34.373] pg_stat_statements.c:1180:33: error: unused variable ‘store_utility’ [-Werror=unused-variable] [14:13:34.373] 1180 | bool store_utility = true; [14:13:34.373] | ^~~~~~~~~~~~~ [14:13:34.373] cc1: all warnings being treated as errors [14:13:34.374] make[2]: *** [: pg_stat_statements.o] Error 1 [14:13:34.374] make[1]: *** [Makefile:96: all-pg_stat_statements-recurse] Error 2 [14:13:34.374] make[1]: *** Waiting for unfinished jobs.... [14:13:35.516] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [14:13:35.516] [14:13:35.516] real 4m26.235s [14:13:35.516] user 14m9.608s [14:13:35.516] sys 2m44.090s [14:13:35.516] [14:13:35.516] Exit status: 2