[21:15:36.539] time ./configure \ [21:15:36.539] --host=x86_64-w64-mingw32 \ [21:15:36.539] --enable-cassert \ [21:15:36.539] --without-icu \ [21:15:36.539] CC="ccache x86_64-w64-mingw32-gcc" \ [21:15:36.539] CXX="ccache x86_64-w64-mingw32-g++" [21:15:36.654] checking build system type... x86_64-pc-linux-gnu [21:15:36.843] checking host system type... x86_64-w64-mingw32 [21:15:36.848] checking which template to use... win32 [21:15:36.848] checking whether NLS is wanted... no [21:15:36.848] checking for default port number... 5432 [21:15:36.855] checking for block size... 8kB [21:15:36.856] checking for segment size... 1GB [21:15:36.858] checking for WAL block size... 8kB [21:15:36.860] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:15:36.892] checking whether the C compiler works... yes [21:15:37.026] checking for C compiler default output file name... a.exe [21:15:37.027] checking for suffix of executables... .exe [21:15:37.070] checking whether we are cross compiling... yes [21:15:37.144] checking for suffix of object files... o [21:15:37.152] checking whether we are using the GNU C compiler... yes [21:15:37.158] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:15:37.165] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:15:37.174] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:15:37.233] checking whether we are using the GNU C++ compiler... yes [21:15:37.240] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:15:37.308] checking for gawk... no [21:15:37.308] checking for mawk... mawk [21:15:37.311] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:15:37.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:15:37.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:15:37.369] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:15:37.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:15:37.541] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:15:37.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:15:37.555] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:15:37.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:15:37.568] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:15:37.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:15:37.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:15:37.588] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:15:37.595] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:15:37.602] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:15:37.608] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:15:37.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:15:37.651] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:15:37.658] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:15:37.664] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:15:37.671] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:15:37.678] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:15:37.684] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:15:37.707] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:15:37.714] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:15:37.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:15:37.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:15:37.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:15:37.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:15:37.809] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:15:37.843] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:15:37.851] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:15:37.858] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:15:37.865] checking whether the C compiler still works... yes [21:15:37.933] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:15:38.003] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:15:38.003] checking pkg-config is at least version 0.9.0... yes [21:15:38.020] checking whether to build with ICU support... no [21:15:38.020] checking whether to build with Tcl... no [21:15:38.020] checking whether to build Perl modules... no [21:15:38.020] checking whether to build Python modules... no [21:15:38.020] checking whether to build with GSSAPI support... no [21:15:38.021] checking whether to build with PAM support... no [21:15:38.022] checking whether to build with BSD Authentication support... no [21:15:38.022] checking whether to build with LDAP support... no [21:15:38.022] checking whether to build with Bonjour support... no [21:15:38.022] checking whether to build with SELinux support... no [21:15:38.022] checking whether to build with systemd support... no [21:15:38.022] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:15:38.022] checking whether to build with liburing support... no [21:15:38.022] checking whether to build with libcurl support... no [21:15:38.022] checking whether to build with libnuma support... no [21:15:38.023] checking whether to build with XML support... no [21:15:38.023] checking whether to build with LZ4 support... no [21:15:38.023] checking whether to build with ZSTD support... no [21:15:38.023] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:15:38.024] checking whether it is possible to strip libraries... yes [21:15:38.034] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:15:38.035] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:15:38.035] checking for a BSD-compatible install... /usr/bin/install -c [21:15:38.044] checking for tar... /usr/bin/tar [21:15:38.044] checking whether ln -s works... yes [21:15:38.044] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:15:38.046] checking for bison... /usr/bin/bison [21:15:38.048] configure: using bison (GNU Bison) 3.8.2 [21:15:38.051] checking for flex... /usr/bin/flex [21:15:38.053] configure: using flex 2.6.4 [21:15:38.053] checking for perl... /usr/bin/perl [21:15:38.056] configure: using perl 5.36.0 [21:15:38.058] checking for zic... /usr/sbin/zic [21:15:38.059] checking for a sed that does not truncate output... /usr/bin/sed [21:15:38.064] checking for grep that handles long lines and -e... /usr/bin/grep [21:15:38.066] checking for egrep... /usr/bin/grep -E [21:15:38.067] checking for ANSI C header files... yes [21:15:38.114] checking for sys/types.h... yes [21:15:38.130] checking for sys/stat.h... yes [21:15:38.145] checking for stdlib.h... yes [21:15:38.159] checking for string.h... yes [21:15:38.173] checking for memory.h... yes [21:15:38.190] checking for strings.h... yes [21:15:38.205] checking for inttypes.h... yes [21:15:38.222] checking for stdint.h... yes [21:15:38.236] checking for unistd.h... yes [21:15:38.252] checking for main in -lm... yes [21:15:38.299] checking for library containing setproctitle... no [21:15:38.390] checking for library containing dlsym... no [21:15:38.475] checking for library containing socket... -lws2_32 [21:15:38.602] checking for library containing getopt_long... none required [21:15:38.647] checking for library containing shm_open... no [21:15:38.733] checking for library containing shm_unlink... no [21:15:38.821] checking for library containing clock_gettime... no [21:15:38.908] checking for library containing shmget... no [21:15:38.995] checking for library containing backtrace_symbols... no [21:15:39.082] checking for library containing pthread_barrier_wait... -lpthread [21:15:39.171] checking for inflate in -lz... yes [21:15:39.220] checking atomic.h usability... no [21:15:39.280] checking atomic.h presence... no [21:15:39.299] checking for atomic.h... no [21:15:39.303] checking copyfile.h usability... no [21:15:39.358] checking copyfile.h presence... no [21:15:39.376] checking for copyfile.h... no [21:15:39.380] checking execinfo.h usability... no [21:15:39.436] checking execinfo.h presence... no [21:15:39.454] checking for execinfo.h... no [21:15:39.457] checking getopt.h usability... yes [21:15:39.465] checking getopt.h presence... yes [21:15:39.480] checking for getopt.h... yes [21:15:39.487] checking ifaddrs.h usability... no [21:15:39.541] checking ifaddrs.h presence... no [21:15:39.560] checking for ifaddrs.h... no [21:15:39.563] checking mbarrier.h usability... no [21:15:39.616] checking mbarrier.h presence... no [21:15:39.635] checking for mbarrier.h... no [21:15:39.638] checking sys/epoll.h usability... no [21:15:39.691] checking sys/epoll.h presence... no [21:15:39.711] checking for sys/epoll.h... no [21:15:39.714] checking sys/event.h usability... no [21:15:39.769] checking sys/event.h presence... no [21:15:39.787] checking for sys/event.h... no [21:15:39.790] checking sys/personality.h usability... no [21:15:39.844] checking sys/personality.h presence... no [21:15:39.862] checking for sys/personality.h... no [21:15:39.866] checking sys/prctl.h usability... no [21:15:39.920] checking sys/prctl.h presence... no [21:15:39.938] checking for sys/prctl.h... no [21:15:39.942] checking sys/procctl.h usability... no [21:15:39.995] checking sys/procctl.h presence... no [21:15:40.014] checking for sys/procctl.h... no [21:15:40.017] checking sys/signalfd.h usability... no [21:15:40.072] checking sys/signalfd.h presence... no [21:15:40.090] checking for sys/signalfd.h... no [21:15:40.093] checking sys/ucred.h usability... no [21:15:40.146] checking sys/ucred.h presence... no [21:15:40.165] checking for sys/ucred.h... no [21:15:40.169] checking termios.h usability... no [21:15:40.222] checking termios.h presence... no [21:15:40.241] checking for termios.h... no [21:15:40.244] checking ucred.h usability... no [21:15:40.298] checking ucred.h presence... no [21:15:40.316] checking for ucred.h... no [21:15:40.319] checking xlocale.h usability... no [21:15:40.373] checking xlocale.h presence... no [21:15:40.391] checking for xlocale.h... no [21:15:40.394] checking zlib.h usability... yes [21:15:40.404] checking zlib.h presence... yes [21:15:40.422] checking for zlib.h... yes [21:15:40.422] checking for lz4... /usr/bin/lz4 [21:15:40.422] checking for zstd... /usr/bin/zstd [21:15:40.422] checking for openssl... /usr/bin/openssl [21:15:40.426] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [21:15:40.427] checking crtdefs.h usability... yes [21:15:40.434] checking crtdefs.h presence... yes [21:15:40.448] checking for crtdefs.h... yes [21:15:40.450] checking whether byte ordering is bigendian... no [21:15:40.522] checking for inline... inline [21:15:40.529] checking for printf format archetype... gnu_printf [21:15:40.537] checking for _Static_assert... yes [21:15:40.578] checking for typeof... typeof [21:15:40.585] checking for __builtin_types_compatible_p... yes [21:15:40.596] checking for __builtin_constant_p... yes [21:15:40.606] checking for __builtin_mul_overflow... yes [21:15:40.653] checking for __builtin_unreachable... yes [21:15:40.693] checking for computed goto support... yes [21:15:40.700] checking for struct tm.tm_zone... no [21:15:40.776] checking for union semun... no [21:15:40.809] checking for socklen_t... yes [21:15:41.933] checking for struct sockaddr.sa_len... no [21:15:43.921] checking for C/C++ restrict keyword... __restrict [21:15:43.935] checking for struct option... yes [21:15:43.978] checking whether assembler supports x86_64 popcntq... yes [21:15:43.985] checking size of off_t... 4 [21:15:44.185] 0 [21:15:44.185] checking for int timezone... yes [21:15:44.237] checking for backtrace_symbols... no [21:15:44.290] checking for copyfile... no [21:15:44.342] checking for copy_file_range... no [21:15:44.394] checking for elf_aux_info... no [21:15:44.445] checking for getauxval... no [21:15:44.494] checking for getifaddrs... no [21:15:44.544] checking for getpeerucred... no [21:15:44.595] checking for inet_pton... yes [21:15:44.645] checking for kqueue... no [21:15:44.695] checking for localeconv_l... no [21:15:44.745] checking for mbstowcs_l... no [21:15:44.797] checking for posix_fallocate... no [21:15:44.847] checking for ppoll... no [21:15:44.898] checking for pthread_is_threaded_np... no [21:15:44.948] checking for setproctitle... no [21:15:44.997] checking for setproctitle_fast... no [21:15:45.048] checking for strsignal... no [21:15:45.097] checking for syncfs... no [21:15:45.146] checking for sync_file_range... no [21:15:45.196] checking for uselocale... no [21:15:45.246] checking for wcstombs_l... no [21:15:45.292] checking for __builtin_bswap16... yes [21:15:45.340] checking for __builtin_bswap32... yes [21:15:45.387] checking for __builtin_bswap64... yes [21:15:45.434] checking for __builtin_clz... yes [21:15:45.483] checking for __builtin_ctz... yes [21:15:45.529] checking for __builtin_popcount... yes [21:15:45.577] checking for __builtin_frame_address... yes [21:15:45.623] checking for _LARGEFILE_SOURCE value needed for large files... no [21:15:45.676] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:15:45.708] checking for posix_fadvise... no [21:15:45.759] checking whether posix_fadvise is declared... no [21:15:45.804] checking whether fdatasync is declared... no [21:15:45.851] checking whether strlcat is declared... no [21:15:45.914] checking whether strlcpy is declared... no [21:15:45.976] checking whether strnlen is declared... yes [21:15:45.990] checking whether strsep is declared... no [21:15:46.052] checking whether timingsafe_bcmp is declared... no [21:15:46.117] checking whether preadv is declared... no [21:15:46.155] checking whether pwritev is declared... no [21:15:46.196] checking whether strchrnul is declared... no [21:15:46.241] checking whether memset_s is declared... no [21:15:46.287] checking whether F_FULLFSYNC is declared... no [21:15:46.327] checking for explicit_bzero... no [21:15:46.375] checking for getopt... yes [21:15:46.420] checking for getpeereid... no [21:15:46.469] checking for inet_aton... no [21:15:46.518] checking for mkdtemp... no [21:15:46.565] checking for strlcat... no [21:15:46.612] checking for strlcpy... no [21:15:46.661] checking for strnlen... yes [21:15:46.710] checking for strsep... no [21:15:46.759] checking for timingsafe_bcmp... no [21:15:46.806] checking for pthread_barrier_wait... yes [21:15:46.851] configure: On mingw32 we will use our strtof wrapper. [21:15:46.851] checking for getopt_long... yes [21:15:46.897] checking for syslog... no [21:15:46.945] checking for opterr... yes [21:15:46.994] checking for optreset... no [21:15:47.046] checking test program... cross-compiling [21:15:47.046] checking size of void *... 8 [21:15:47.317] checking size of size_t... 8 [21:15:47.584] checking size of long... 4 [21:15:47.779] checking size of long long... 8 [21:15:48.041] checking alignment of short... 2 [21:15:48.176] checking alignment of int... 4 [21:15:48.378] checking alignment of long... 4 [21:15:48.582] checking alignment of int64_t... 8 [21:15:48.847] checking alignment of double... 8 [21:15:49.118] checking for __int128... yes [21:15:49.168] checking for __int128 alignment bug... assuming ok [21:15:49.168] checking alignment of PG_INT128_TYPE... 16 [21:15:49.496] checking for builtin __sync char locking functions... yes [21:15:49.539] checking for builtin __sync int32 locking functions... yes [21:15:49.581] checking for builtin __sync int32 atomic operations... yes [21:15:49.622] checking for builtin __sync int64 atomic operations... yes [21:15:49.665] checking for builtin __atomic int32 atomic operations... yes [21:15:49.706] checking for builtin __atomic int64 atomic operations... yes [21:15:49.749] checking for __get_cpuid... yes [21:15:49.795] checking for __get_cpuid_count... yes [21:15:49.839] checking for __cpuid... no [21:15:50.230] checking for __cpuidex... no [21:15:50.645] checking for _xgetbv... yes [21:15:51.043] checking for _mm512_popcnt_epi64... yes [21:15:51.451] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:15:51.552] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:15:51.573] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:15:51.593] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:15:51.612] 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:15:51.668] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:15:51.668] checking for _mm512_clmulepi64_epi128... yes [21:15:52.072] checking for vectorized CRC-32C... AVX-512 with runtime check [21:15:52.073] checking which random number source to use... Windows native [21:15:52.075] checking for xmllint... /usr/bin/xmllint [21:15:52.075] checking for xsltproc... /usr/bin/xsltproc [21:15:52.075] checking for fop... /usr/bin/fop [21:15:52.075] checking for dbtoepub... no [21:15:52.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:15:52.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:15:52.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:15:52.086] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:15:52.087] 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:15:52.087] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:15:52.087] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:15:52.178] configure: creating ./config.status [21:15:52.265] config.status: creating GNUmakefile [21:15:52.277] config.status: creating src/Makefile.global [21:15:52.294] config.status: creating src/include/pg_config.h [21:15:52.307] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:15:52.323] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:15:52.330] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:15:52.338] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:15:52.345] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:15:52.352] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:15:52.356] config.status: executing check_win32_symlinks commands [21:15:52.391] [21:15:52.391] real 0m15.852s [21:15:52.391] user 0m10.623s [21:15:52.391] sys 0m4.908s [21:15:52.391] make -s -j${BUILD_JOBS} clean [21:15:52.897] time make -s -j${BUILD_JOBS} world-bin [21:15:56.968] gininsert.c: In function ‘_gin_parallel_merge’: [21:15:56.968] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [21:15:56.968] 1673 | MemoryContext oldCtx; [21:15:56.968] | ^~~~~~ [21:15:56.968] gininsert.c:1619:23: note: shadowed declaration is here [21:15:56.968] 1619 | MemoryContext oldCtx; [21:15:56.968] | ^~~~~~ [21:15:56.968] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [21:15:56.968] cc1: all warnings being treated as errors [21:15:56.969] make[4]: *** [: gininsert.o] Error 1 [21:15:56.969] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [21:15:56.969] make[3]: *** Waiting for unfinished jobs.... [21:15:56.992] make[2]: *** [common.mk:37: access-recursive] Error 2 [21:15:56.992] make[2]: *** Waiting for unfinished jobs.... [21:15:57.176] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:15:57.176] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:15:57.176] [21:15:57.176] real 0m4.279s [21:15:57.176] user 0m7.308s [21:15:57.176] sys 0m4.895s [21:15:57.176] [21:15:57.176] Exit status: 2