[06:43:39.167] time ./configure \ [06:43:39.167] --host=x86_64-w64-mingw32 \ [06:43:39.167] --enable-cassert \ [06:43:39.167] --without-icu \ [06:43:39.167] CC="ccache x86_64-w64-mingw32-gcc" \ [06:43:39.167] CXX="ccache x86_64-w64-mingw32-g++" [06:43:39.285] checking build system type... x86_64-pc-linux-gnu [06:43:39.479] checking host system type... x86_64-w64-mingw32 [06:43:39.485] checking which template to use... win32 [06:43:39.485] checking whether NLS is wanted... no [06:43:39.485] checking for default port number... 5432 [06:43:39.493] checking for block size... 8kB [06:43:39.494] checking for segment size... 1GB [06:43:39.496] checking for WAL block size... 8kB [06:43:39.498] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:43:39.532] checking whether the C compiler works... yes [06:43:39.660] checking for C compiler default output file name... a.exe [06:43:39.662] checking for suffix of executables... .exe [06:43:39.704] checking whether we are cross compiling... yes [06:43:39.782] checking for suffix of object files... o [06:43:39.790] checking whether we are using the GNU C compiler... yes [06:43:39.797] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:43:39.804] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:43:39.814] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:43:39.871] checking whether we are using the GNU C++ compiler... yes [06:43:39.878] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:43:39.945] checking for gawk... no [06:43:39.945] checking for mawk... mawk [06:43:39.948] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:43:39.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:43:39.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:43:40.007] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:43:40.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:43:40.169] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:43:40.199] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:43:40.206] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:43:40.213] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:43:40.220] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:43:40.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:43:40.329] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:43:40.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:43:40.352] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:43:40.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:43:40.396] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:43:40.403] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:43:40.441] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:43:40.448] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:43:40.465] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:43:40.472] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:43:40.479] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:43:40.486] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:43:40.509] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:43:40.516] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:43:40.522] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:43:40.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:43:40.602] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:43:40.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:43:40.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:43:40.660] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:43:40.667] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:43:40.674] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:43:40.681] checking whether the C compiler still works... yes [06:43:40.750] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:43:40.820] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:43:40.822] checking pkg-config is at least version 0.9.0... yes [06:43:40.840] checking whether to build with ICU support... no [06:43:40.840] checking whether to build with Tcl... no [06:43:40.840] checking whether to build Perl modules... no [06:43:40.840] checking whether to build Python modules... no [06:43:40.840] checking whether to build with GSSAPI support... no [06:43:40.842] checking whether to build with PAM support... no [06:43:40.842] checking whether to build with BSD Authentication support... no [06:43:40.842] checking whether to build with LDAP support... no [06:43:40.842] checking whether to build with Bonjour support... no [06:43:40.842] checking whether to build with SELinux support... no [06:43:40.842] checking whether to build with systemd support... no [06:43:40.842] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:43:40.842] checking whether to build with libcurl support... no [06:43:40.843] checking whether to build with XML support... no [06:43:40.843] checking whether to build with LZ4 support... no [06:43:40.843] checking whether to build with ZSTD support... no [06:43:40.843] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:43:40.844] checking whether it is possible to strip libraries... yes [06:43:40.853] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:43:40.854] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:43:40.854] checking for a BSD-compatible install... /usr/bin/install -c [06:43:40.863] checking for tar... /usr/bin/tar [06:43:40.863] checking whether ln -s works... yes [06:43:40.863] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:43:40.865] checking for bison... /usr/bin/bison [06:43:40.868] configure: using bison (GNU Bison) 3.8.2 [06:43:40.871] checking for flex... /usr/bin/flex [06:43:40.872] configure: using flex 2.6.4 [06:43:40.873] checking for perl... /usr/bin/perl [06:43:40.875] configure: using perl 5.36.0 [06:43:40.877] checking for zic... /usr/sbin/zic [06:43:40.878] checking for a sed that does not truncate output... /usr/bin/sed [06:43:40.882] checking for grep that handles long lines and -e... /usr/bin/grep [06:43:40.884] checking for egrep... /usr/bin/grep -E [06:43:40.886] checking for ANSI C header files... yes [06:43:40.932] checking for sys/types.h... yes [06:43:40.950] checking for sys/stat.h... yes [06:43:40.966] checking for stdlib.h... yes [06:43:40.980] checking for string.h... yes [06:43:40.995] checking for memory.h... yes [06:43:41.010] checking for strings.h... yes [06:43:41.045] checking for inttypes.h... yes [06:43:41.061] checking for stdint.h... yes [06:43:41.075] checking for unistd.h... yes [06:43:41.140] checking for main in -lm... yes [06:43:41.188] checking for library containing setproctitle... no [06:43:41.277] checking for library containing dlsym... no [06:43:41.362] checking for library containing socket... -lws2_32 [06:43:41.491] checking for library containing getopt_long... none required [06:43:41.539] checking for library containing shm_open... no [06:43:41.626] checking for library containing shm_unlink... no [06:43:41.714] checking for library containing clock_gettime... no [06:43:41.805] checking for library containing shmget... no [06:43:41.893] checking for library containing backtrace_symbols... no [06:43:41.981] checking for library containing pthread_barrier_wait... -lpthread [06:43:42.071] checking for inflate in -lz... yes [06:43:42.120] checking atomic.h usability... no [06:43:42.175] checking atomic.h presence... no [06:43:42.193] checking for atomic.h... no [06:43:42.197] checking copyfile.h usability... no [06:43:42.251] checking copyfile.h presence... no [06:43:42.269] checking for copyfile.h... no [06:43:42.272] checking execinfo.h usability... no [06:43:42.326] checking execinfo.h presence... no [06:43:42.345] checking for execinfo.h... no [06:43:42.348] checking getopt.h usability... yes [06:43:42.355] checking getopt.h presence... yes [06:43:42.370] checking for getopt.h... yes [06:43:42.377] checking ifaddrs.h usability... no [06:43:42.432] checking ifaddrs.h presence... no [06:43:42.451] checking for ifaddrs.h... no [06:43:42.454] checking mbarrier.h usability... no [06:43:42.508] checking mbarrier.h presence... no [06:43:42.528] checking for mbarrier.h... no [06:43:42.531] checking sys/epoll.h usability... no [06:43:42.588] checking sys/epoll.h presence... no [06:43:42.609] checking for sys/epoll.h... no [06:43:42.612] checking sys/event.h usability... no [06:43:42.669] checking sys/event.h presence... no [06:43:42.690] checking for sys/event.h... no [06:43:42.694] checking sys/personality.h usability... no [06:43:42.752] checking sys/personality.h presence... no [06:43:42.772] checking for sys/personality.h... no [06:43:42.776] checking sys/prctl.h usability... no [06:43:42.833] checking sys/prctl.h presence... no [06:43:42.852] checking for sys/prctl.h... no [06:43:42.856] checking sys/procctl.h usability... no [06:43:42.911] checking sys/procctl.h presence... no [06:43:42.932] checking for sys/procctl.h... no [06:43:42.935] checking sys/signalfd.h usability... no [06:43:42.994] checking sys/signalfd.h presence... no [06:43:43.015] checking for sys/signalfd.h... no [06:43:43.018] checking sys/ucred.h usability... no [06:43:43.077] checking sys/ucred.h presence... no [06:43:43.097] checking for sys/ucred.h... no [06:43:43.100] checking termios.h usability... no [06:43:43.156] checking termios.h presence... no [06:43:43.175] checking for termios.h... no [06:43:43.178] checking ucred.h usability... no [06:43:43.234] checking ucred.h presence... no [06:43:43.253] checking for ucred.h... no [06:43:43.256] checking xlocale.h usability... no [06:43:43.313] checking xlocale.h presence... no [06:43:43.332] checking for xlocale.h... no [06:43:43.335] checking zlib.h usability... yes [06:43:43.345] checking zlib.h presence... yes [06:43:43.365] checking for zlib.h... yes [06:43:43.365] checking for lz4... /usr/bin/lz4 [06:43:43.365] checking for zstd... /usr/bin/zstd [06:43:43.366] checking for openssl... /usr/bin/openssl [06:43:43.370] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:43:43.371] checking crtdefs.h usability... yes [06:43:43.378] checking crtdefs.h presence... yes [06:43:43.393] checking for crtdefs.h... yes [06:43:43.394] checking whether byte ordering is bigendian... no [06:43:43.468] checking for inline... inline [06:43:43.476] checking for printf format archetype... gnu_printf [06:43:43.485] checking for _Static_assert... yes [06:43:43.528] checking for typeof... typeof [06:43:43.536] checking for __builtin_types_compatible_p... yes [06:43:43.558] checking for __builtin_constant_p... yes [06:43:43.569] checking for __builtin_mul_overflow... yes [06:43:43.621] checking for __builtin_unreachable... yes [06:43:43.665] checking for computed goto support... yes [06:43:43.673] checking for struct tm.tm_zone... no [06:43:43.756] checking for union semun... no [06:43:43.792] checking for socklen_t... yes [06:43:45.017] checking for struct sockaddr.sa_len... no [06:43:47.206] checking for C/C++ restrict keyword... __restrict [06:43:47.220] checking for struct option... yes [06:43:47.266] checking whether assembler supports x86_64 popcntq... yes [06:43:47.273] checking size of off_t... 4 [06:43:47.503] 0 [06:43:47.503] checking for int timezone... yes [06:43:47.556] checking for backtrace_symbols... no [06:43:47.608] checking for copyfile... no [06:43:47.661] checking for copy_file_range... no [06:43:47.714] checking for elf_aux_info... no [06:43:47.765] checking for getauxval... no [06:43:47.817] checking for getifaddrs... no [06:43:47.870] checking for getpeerucred... no [06:43:47.923] checking for inet_pton... yes [06:43:47.977] checking for kqueue... no [06:43:48.030] checking for mbstowcs_l... no [06:43:48.083] checking for memset_s... no [06:43:48.135] checking for posix_fallocate... no [06:43:48.188] checking for ppoll... no [06:43:48.243] checking for pthread_is_threaded_np... no [06:43:48.296] checking for setproctitle... no [06:43:48.348] checking for setproctitle_fast... no [06:43:48.402] checking for strchrnul... no [06:43:48.455] checking for strsignal... no [06:43:48.509] checking for syncfs... no [06:43:48.563] checking for sync_file_range... no [06:43:48.615] checking for uselocale... no [06:43:48.668] checking for wcstombs_l... no [06:43:48.718] checking for __builtin_bswap16... yes [06:43:48.769] checking for __builtin_bswap32... yes [06:43:48.817] checking for __builtin_bswap64... yes [06:43:48.865] checking for __builtin_clz... yes [06:43:48.917] checking for __builtin_ctz... yes [06:43:48.967] checking for __builtin_popcount... yes [06:43:49.016] checking for __builtin_frame_address... yes [06:43:49.068] checking for _LARGEFILE_SOURCE value needed for large files... no [06:43:49.121] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:43:49.152] checking for posix_fadvise... no [06:43:49.204] checking whether posix_fadvise is declared... no [06:43:49.249] checking whether fdatasync is declared... no [06:43:49.294] checking whether strlcat is declared... no [06:43:49.358] checking whether strlcpy is declared... no [06:43:49.421] checking whether strnlen is declared... yes [06:43:49.434] checking whether strsep is declared... no [06:43:49.501] checking whether preadv is declared... no [06:43:49.540] checking whether pwritev is declared... no [06:43:49.579] checking whether F_FULLFSYNC is declared... no [06:43:49.622] checking for explicit_bzero... no [06:43:49.672] checking for getopt... yes [06:43:49.718] checking for getpeereid... no [06:43:49.766] checking for inet_aton... no [06:43:49.817] checking for mkdtemp... no [06:43:49.867] checking for strlcat... no [06:43:49.919] checking for strlcpy... no [06:43:49.971] checking for strnlen... yes [06:43:50.021] checking for strsep... no [06:43:50.072] checking for pthread_barrier_wait... yes [06:43:50.117] configure: On mingw32 we will use our strtof wrapper. [06:43:50.117] checking for getopt_long... yes [06:43:50.166] checking for syslog... no [06:43:50.218] checking for opterr... yes [06:43:50.269] checking for optreset... no [06:43:50.322] checking test program... cross-compiling [06:43:50.322] checking size of void *... 8 [06:43:50.652] checking size of size_t... 8 [06:43:50.983] checking size of long... 4 [06:43:51.197] checking size of long long... 8 [06:43:51.480] checking alignment of short... 2 [06:43:51.628] checking alignment of int... 4 [06:43:51.843] checking alignment of long... 4 [06:43:52.060] checking alignment of int64_t... 8 [06:43:52.358] checking alignment of double... 8 [06:43:52.697] checking for __int128... yes [06:43:52.750] checking for __int128 alignment bug... assuming ok [06:43:52.750] checking alignment of PG_INT128_TYPE... 16 [06:43:53.196] checking for builtin __sync char locking functions... yes [06:43:53.243] checking for builtin __sync int32 locking functions... yes [06:43:53.285] checking for builtin __sync int32 atomic operations... yes [06:43:53.328] checking for builtin __sync int64 atomic operations... yes [06:43:53.372] checking for builtin __atomic int32 atomic operations... yes [06:43:53.414] checking for builtin __atomic int64 atomic operations... yes [06:43:53.458] checking for __get_cpuid... yes [06:43:53.506] checking for __get_cpuid_count... yes [06:43:53.550] checking for __cpuid... no [06:43:53.942] checking for __cpuidex... no [06:43:54.360] checking for _xgetbv... yes [06:43:54.760] checking for _mm512_popcnt_epi64... yes [06:43:55.187] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:43:55.292] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:43:55.316] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:43:55.336] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:43:55.357] 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:43:55.413] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:43:55.414] checking which random number source to use... Windows native [06:43:55.416] checking for xmllint... /usr/bin/xmllint [06:43:55.416] checking for xsltproc... /usr/bin/xsltproc [06:43:55.416] checking for fop... /usr/bin/fop [06:43:55.416] checking for dbtoepub... no [06:43:55.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:43:55.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:43:55.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:43:55.427] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:43:55.427] 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:43:55.427] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:43:55.427] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:43:55.510] configure: creating ./config.status [06:43:55.594] config.status: creating GNUmakefile [06:43:55.606] config.status: creating src/Makefile.global [06:43:55.621] config.status: creating src/include/pg_config.h [06:43:55.633] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:43:55.647] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:43:55.654] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:43:55.661] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:43:55.669] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:43:55.676] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:43:55.679] config.status: executing check_win32_symlinks commands [06:43:55.713] [06:43:55.713] real 0m16.546s [06:43:55.713] user 0m10.704s [06:43:55.713] sys 0m5.482s [06:43:55.713] make -s -j${BUILD_JOBS} clean [06:43:56.229] time make -s -j${BUILD_JOBS} world-bin [06:46:10.768] inval.c: In function ‘InvalidateSystemCachesExtended’: [06:46:10.768] inval.c:805:18: error: declaration of ‘i’ shadows a previous local [-Werror=shadow=compatible-local] [06:46:10.768] 805 | for (int i = 0; i < relsync_callback_count; i++) [06:46:10.768] | ^ [06:46:10.768] inval.c:785:33: note: shadowed declaration is here [06:46:10.768] 785 | int i; [06:46:10.768] | ^ [06:46:10.768] cc1: all warnings being treated as errors [06:46:10.769] make[4]: *** [<builtin>: inval.o] Error 1 [06:46:10.769] make[4]: *** Waiting for unfinished jobs.... [06:46:11.784] make[3]: *** [../../../src/backend/common.mk:37: cache-recursive] Error 2 [06:46:11.784] make[3]: *** Waiting for unfinished jobs.... [06:46:12.836] make[2]: *** [common.mk:37: utils-recursive] Error 2 [06:46:12.836] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:46:12.836] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:46:12.837] [06:46:12.837] real 2m16.608s [06:46:12.837] user 7m18.760s [06:46:12.837] sys 1m28.392s [06:46:12.837] [06:46:12.837] Exit status: 2��������