[21:52:41.478] time ./configure \ [21:52:41.478] --host=x86_64-w64-mingw32 \ [21:52:41.478] --enable-cassert \ [21:52:41.478] --without-icu \ [21:52:41.478] CC="ccache x86_64-w64-mingw32-gcc" \ [21:52:41.478] CXX="ccache x86_64-w64-mingw32-g++" [21:52:41.608] checking build system type... x86_64-pc-linux-gnu [21:52:41.788] checking host system type... x86_64-w64-mingw32 [21:52:41.794] checking which template to use... win32 [21:52:41.794] checking whether NLS is wanted... no [21:52:41.794] checking for default port number... 5432 [21:52:41.801] checking for block size... 8kB [21:52:41.803] checking for segment size... 1GB [21:52:41.806] checking for WAL block size... 8kB [21:52:41.807] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:52:41.842] checking whether the C compiler works... yes [21:52:41.977] checking for C compiler default output file name... a.exe [21:52:41.978] checking for suffix of executables... .exe [21:52:42.023] checking whether we are cross compiling... yes [21:52:42.102] checking for suffix of object files... o [21:52:42.111] checking whether we are using the GNU C compiler... yes [21:52:42.117] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:52:42.124] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:52:42.134] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:52:42.193] checking whether we are using the GNU C++ compiler... yes [21:52:42.200] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:52:42.268] checking for gawk... no [21:52:42.268] checking for mawk... mawk [21:52:42.270] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:52:42.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:52:42.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:52:42.333] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:52:42.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:52:42.514] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:52:42.521] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:52:42.528] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:52:42.536] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:52:42.543] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:52:42.550] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:52:42.557] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:52:42.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:52:42.572] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:52:42.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:52:42.586] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:52:42.593] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:52:42.632] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:52:42.639] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:52:42.646] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:52:42.654] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:52:42.661] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:52:42.669] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:52:42.695] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:52:42.702] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:52:42.709] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:52:42.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:52:42.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:52:42.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:52:42.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:52:42.843] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:52:42.851] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:52:42.859] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:52:42.868] checking whether the C compiler still works... yes [21:52:42.936] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:52:43.008] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:52:43.009] checking pkg-config is at least version 0.9.0... yes [21:52:43.025] checking whether to build with ICU support... no [21:52:43.026] checking whether to build with Tcl... no [21:52:43.026] checking whether to build Perl modules... no [21:52:43.026] checking whether to build Python modules... no [21:52:43.026] checking whether to build with GSSAPI support... no [21:52:43.027] checking whether to build with PAM support... no [21:52:43.027] checking whether to build with BSD Authentication support... no [21:52:43.027] checking whether to build with LDAP support... no [21:52:43.028] checking whether to build with Bonjour support... no [21:52:43.028] checking whether to build with SELinux support... no [21:52:43.028] checking whether to build with systemd support... no [21:52:43.028] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:52:43.028] checking whether to build with liburing support... no [21:52:43.028] checking whether to build with libcurl support... no [21:52:43.029] checking whether to build with libnuma support... no [21:52:43.029] checking whether to build with XML support... no [21:52:43.030] checking whether to build with LZ4 support... no [21:52:43.030] checking whether to build with ZSTD support... no [21:52:43.030] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:52:43.030] checking whether it is possible to strip libraries... yes [21:52:43.038] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:52:43.038] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:52:43.038] checking for a BSD-compatible install... /usr/bin/install -c [21:52:43.048] checking for tar... /usr/bin/tar [21:52:43.048] checking whether ln -s works... yes [21:52:43.048] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:52:43.050] checking for bison... /usr/bin/bison [21:52:43.053] configure: using bison (GNU Bison) 3.8.2 [21:52:43.056] checking for flex... /usr/bin/flex [21:52:43.058] configure: using flex 2.6.4 [21:52:43.058] checking for perl... /usr/bin/perl [21:52:43.061] configure: using perl 5.36.0 [21:52:43.064] checking for zic... /usr/sbin/zic [21:52:43.064] checking for a sed that does not truncate output... /usr/bin/sed [21:52:43.069] checking for grep that handles long lines and -e... /usr/bin/grep [21:52:43.072] checking for egrep... /usr/bin/grep -E [21:52:43.073] checking for ANSI C header files... yes [21:52:43.126] checking for sys/types.h... yes [21:52:43.143] checking for sys/stat.h... yes [21:52:43.159] checking for stdlib.h... yes [21:52:43.174] checking for string.h... yes [21:52:43.189] checking for memory.h... yes [21:52:43.205] checking for strings.h... yes [21:52:43.221] checking for inttypes.h... yes [21:52:43.239] checking for stdint.h... yes [21:52:43.254] checking for unistd.h... yes [21:52:43.273] checking for main in -lm... yes [21:52:43.323] checking for library containing setproctitle... no [21:52:43.418] checking for library containing dlsym... no [21:52:43.509] checking for library containing socket... -lws2_32 [21:52:43.645] checking for library containing getopt_long... none required [21:52:43.692] checking for library containing shm_open... no [21:52:43.782] checking for library containing shm_unlink... no [21:52:43.872] checking for library containing clock_gettime... no [21:52:43.965] checking for library containing shmget... no [21:52:44.057] checking for library containing backtrace_symbols... no [21:52:44.146] checking for library containing pthread_barrier_wait... -lpthread [21:52:44.240] checking for inflate in -lz... yes [21:52:44.291] checking atomic.h usability... no [21:52:44.354] checking atomic.h presence... no [21:52:44.373] checking for atomic.h... no [21:52:44.376] checking copyfile.h usability... no [21:52:44.433] checking copyfile.h presence... no [21:52:44.452] checking for copyfile.h... no [21:52:44.456] checking execinfo.h usability... no [21:52:44.512] checking execinfo.h presence... no [21:52:44.532] checking for execinfo.h... no [21:52:44.536] checking getopt.h usability... yes [21:52:44.544] checking getopt.h presence... yes [21:52:44.560] checking for getopt.h... yes [21:52:44.568] checking ifaddrs.h usability... no [21:52:44.626] checking ifaddrs.h presence... no [21:52:44.645] checking for ifaddrs.h... no [21:52:44.649] checking mbarrier.h usability... no [21:52:44.707] checking mbarrier.h presence... no [21:52:44.727] checking for mbarrier.h... no [21:52:44.731] checking sys/epoll.h usability... no [21:52:44.788] checking sys/epoll.h presence... no [21:52:44.807] checking for sys/epoll.h... no [21:52:44.811] checking sys/event.h usability... no [21:52:44.868] checking sys/event.h presence... no [21:52:44.888] checking for sys/event.h... no [21:52:44.892] checking sys/personality.h usability... no [21:52:44.949] checking sys/personality.h presence... no [21:52:44.969] checking for sys/personality.h... no [21:52:44.973] checking sys/prctl.h usability... no [21:52:45.030] checking sys/prctl.h presence... no [21:52:45.050] checking for sys/prctl.h... no [21:52:45.054] checking sys/procctl.h usability... no [21:52:45.110] checking sys/procctl.h presence... no [21:52:45.129] checking for sys/procctl.h... no [21:52:45.133] checking sys/signalfd.h usability... no [21:52:45.191] checking sys/signalfd.h presence... no [21:52:45.211] checking for sys/signalfd.h... no [21:52:45.214] checking sys/ucred.h usability... no [21:52:45.273] checking sys/ucred.h presence... no [21:52:45.293] checking for sys/ucred.h... no [21:52:45.296] checking termios.h usability... no [21:52:45.355] checking termios.h presence... no [21:52:45.374] checking for termios.h... no [21:52:45.377] checking ucred.h usability... no [21:52:45.434] checking ucred.h presence... no [21:52:45.452] checking for ucred.h... no [21:52:45.456] checking xlocale.h usability... no [21:52:45.511] checking xlocale.h presence... no [21:52:45.531] checking for xlocale.h... no [21:52:45.534] checking zlib.h usability... yes [21:52:45.543] checking zlib.h presence... yes [21:52:45.562] checking for zlib.h... yes [21:52:45.563] checking for lz4... /usr/bin/lz4 [21:52:45.563] checking for zstd... /usr/bin/zstd [21:52:45.563] checking for openssl... /usr/bin/openssl [21:52:45.568] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [21:52:45.569] checking crtdefs.h usability... yes [21:52:45.576] checking crtdefs.h presence... yes [21:52:45.591] checking for crtdefs.h... yes [21:52:45.593] checking whether byte ordering is bigendian... no [21:52:45.669] checking for inline... inline [21:52:45.677] checking for printf format archetype... gnu_printf [21:52:45.686] checking for _Static_assert... yes [21:52:45.729] checking for typeof... typeof [21:52:45.737] checking for __builtin_types_compatible_p... yes [21:52:45.749] checking for __builtin_constant_p... yes [21:52:45.761] checking for __builtin_mul_overflow... yes [21:52:45.812] checking for __builtin_unreachable... yes [21:52:45.855] checking for computed goto support... yes [21:52:45.863] checking for struct tm.tm_zone... no [21:52:45.943] checking for union semun... no [21:52:45.978] checking for socklen_t... yes [21:52:47.120] checking for struct sockaddr.sa_len... no [21:52:49.124] checking for C/C++ restrict keyword... __restrict [21:52:49.138] checking for struct option... yes [21:52:49.182] checking whether assembler supports x86_64 popcntq... yes [21:52:49.190] checking size of off_t... 4 [21:52:49.407] 0 [21:52:49.408] checking for int timezone... yes [21:52:49.463] checking for backtrace_symbols... no [21:52:49.517] checking for copyfile... no [21:52:49.570] checking for copy_file_range... no [21:52:49.624] checking for elf_aux_info... no [21:52:49.678] checking for getauxval... no [21:52:49.731] checking for getifaddrs... no [21:52:49.784] checking for getpeerucred... no [21:52:49.838] checking for inet_pton... yes [21:52:49.892] checking for kqueue... no [21:52:49.945] checking for localeconv_l... no [21:52:50.000] checking for mbstowcs_l... no [21:52:50.054] checking for posix_fallocate... no [21:52:50.108] checking for ppoll... no [21:52:50.163] checking for pthread_is_threaded_np... no [21:52:50.217] checking for setproctitle... no [21:52:50.271] checking for setproctitle_fast... no [21:52:50.322] checking for strsignal... no [21:52:50.375] checking for syncfs... no [21:52:50.428] checking for sync_file_range... no [21:52:50.481] checking for uselocale... no [21:52:50.532] checking for wcstombs_l... no [21:52:50.582] checking for __builtin_bswap16... yes [21:52:50.634] checking for __builtin_bswap32... yes [21:52:50.685] checking for __builtin_bswap64... yes [21:52:50.735] checking for __builtin_clz... yes [21:52:50.787] checking for __builtin_ctz... yes [21:52:50.836] checking for __builtin_popcount... yes [21:52:50.885] checking for __builtin_frame_address... yes [21:52:50.934] checking for _LARGEFILE_SOURCE value needed for large files... no [21:52:50.988] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:52:51.022] checking for posix_fadvise... no [21:52:51.076] checking whether posix_fadvise is declared... no [21:52:51.123] checking whether fdatasync is declared... no [21:52:51.173] checking whether strlcat is declared... no [21:52:51.240] checking whether strlcpy is declared... no [21:52:51.306] checking whether strnlen is declared... yes [21:52:51.320] checking whether strsep is declared... no [21:52:51.386] checking whether timingsafe_bcmp is declared... no [21:52:51.452] checking whether preadv is declared... no [21:52:51.487] checking whether pwritev is declared... no [21:52:51.523] checking whether strchrnul is declared... no [21:52:51.565] checking whether memset_s is declared... no [21:52:51.607] checking whether F_FULLFSYNC is declared... no [21:52:51.647] checking for explicit_bzero... no [21:52:51.697] checking for getopt... yes [21:52:51.743] checking for getpeereid... no [21:52:51.792] checking for inet_aton... no [21:52:51.842] checking for mkdtemp... no [21:52:51.892] checking for strlcat... no [21:52:51.942] checking for strlcpy... no [21:52:51.993] checking for strnlen... yes [21:52:52.043] checking for strsep... no [21:52:52.092] checking for timingsafe_bcmp... no [21:52:52.143] checking for pthread_barrier_wait... yes [21:52:52.189] configure: On mingw32 we will use our strtof wrapper. [21:52:52.189] checking for getopt_long... yes [21:52:52.236] checking for syslog... no [21:52:52.287] checking for opterr... yes [21:52:52.338] checking for optreset... no [21:52:52.392] checking test program... cross-compiling [21:52:52.393] checking size of void *... 8 [21:52:52.666] checking size of size_t... 8 [21:52:52.942] checking size of long... 4 [21:52:53.151] checking size of long long... 8 [21:52:53.428] checking alignment of short... 2 [21:52:53.571] checking alignment of int... 4 [21:52:53.782] checking alignment of long... 4 [21:52:53.994] checking alignment of int64_t... 8 [21:52:54.275] checking alignment of double... 8 [21:52:54.556] checking for __int128... yes [21:52:54.609] checking for __int128 alignment bug... assuming ok [21:52:54.609] checking alignment of PG_INT128_TYPE... 16 [21:52:54.948] checking for builtin __sync char locking functions... yes [21:52:54.992] checking for builtin __sync int32 locking functions... yes [21:52:55.040] checking for builtin __sync int32 atomic operations... yes [21:52:55.084] checking for builtin __sync int64 atomic operations... yes [21:52:55.130] checking for builtin __atomic int32 atomic operations... yes [21:52:55.176] checking for builtin __atomic int64 atomic operations... yes [21:52:55.224] checking for __get_cpuid... yes [21:52:55.275] checking for __get_cpuid_count... yes [21:52:55.322] checking for __cpuid... no [21:52:55.730] checking for __cpuidex... no [21:52:56.157] checking for _xgetbv... yes [21:52:56.566] checking for _mm512_popcnt_epi64... yes [21:52:56.984] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:52:57.087] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:52:57.115] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:52:57.136] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:52:57.155] 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 [21:52:57.213] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:52:57.213] checking for _mm512_clmulepi64_epi128... yes [21:52:57.621] checking for vectorized CRC-32C... AVX-512 with runtime check [21:52:57.622] checking which random number source to use... Windows native [21:52:57.624] checking for xmllint... /usr/bin/xmllint [21:52:57.624] checking for xsltproc... /usr/bin/xsltproc [21:52:57.624] checking for fop... /usr/bin/fop [21:52:57.625] checking for dbtoepub... no [21:52:57.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:52:57.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:52:57.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:52:57.637] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:52:57.637] 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 [21:52:57.637] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:52:57.637] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:52:57.731] configure: creating ./config.status [21:52:57.824] config.status: creating GNUmakefile [21:52:57.836] config.status: creating src/Makefile.global [21:52:57.853] config.status: creating src/include/pg_config.h [21:52:57.866] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:52:57.882] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:52:57.890] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:52:57.897] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:52:57.905] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:52:57.913] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:52:57.916] config.status: executing check_win32_symlinks commands [21:52:57.954] [21:52:57.954] real 0m16.476s [21:52:57.954] user 0m11.006s [21:52:57.954] sys 0m5.185s [21:52:57.954] make -s -j${BUILD_JOBS} clean [21:52:58.473] time make -s -j${BUILD_JOBS} world-bin [21:53:02.649] gininsert.c: In function ‘_gin_parallel_merge’: [21:53:02.649] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [21:53:02.649] 1673 | MemoryContext oldCtx; [21:53:02.649] | ^~~~~~ [21:53:02.649] gininsert.c:1619:23: note: shadowed declaration is here [21:53:02.649] 1619 | MemoryContext oldCtx; [21:53:02.649] | ^~~~~~ [21:53:02.649] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [21:53:02.649] cc1: all warnings being treated as errors [21:53:02.650] make[4]: *** [: gininsert.o] Error 1 [21:53:02.650] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [21:53:02.650] make[3]: *** Waiting for unfinished jobs.... [21:53:02.763] make[2]: *** [common.mk:37: access-recursive] Error 2 [21:53:02.763] make[2]: *** Waiting for unfinished jobs.... [21:53:02.807] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:53:02.807] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:53:02.807] [21:53:02.807] real 0m4.334s [21:53:02.807] user 0m7.638s [21:53:02.807] sys 0m4.473s [21:53:02.808] [21:53:02.808] Exit status: 2