[17:55:10.130] time ./configure \ [17:55:10.130] --host=x86_64-w64-mingw32 \ [17:55:10.130] --enable-cassert \ [17:55:10.130] --without-icu \ [17:55:10.130] CC="ccache x86_64-w64-mingw32-gcc" \ [17:55:10.130] CXX="ccache x86_64-w64-mingw32-g++" [17:55:10.259] checking build system type... x86_64-pc-linux-gnu [17:55:10.449] checking host system type... x86_64-w64-mingw32 [17:55:10.455] checking which template to use... win32 [17:55:10.455] checking whether NLS is wanted... no [17:55:10.456] checking for default port number... 5432 [17:55:10.463] checking for block size... 8kB [17:55:10.464] checking for segment size... 1GB [17:55:10.467] checking for WAL block size... 8kB [17:55:10.468] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:55:10.501] checking whether the C compiler works... yes [17:55:10.653] checking for C compiler default output file name... a.exe [17:55:10.654] checking for suffix of executables... .exe [17:55:10.697] checking whether we are cross compiling... yes [17:55:10.778] checking for suffix of object files... o [17:55:10.786] checking whether we are using the GNU C compiler... yes [17:55:10.793] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:55:10.801] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:55:10.812] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:55:10.886] checking whether we are using the GNU C++ compiler... yes [17:55:10.894] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:55:10.976] checking for gawk... no [17:55:10.976] checking for mawk... mawk [17:55:10.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:55:10.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:55:10.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:55:11.052] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:55:11.253] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:55:11.261] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:55:11.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:55:11.276] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:55:11.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:55:11.292] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:55:11.300] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:55:11.308] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:55:11.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:55:11.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:55:11.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:55:11.338] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:55:11.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:55:11.384] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:55:11.391] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:55:11.399] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:55:11.407] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:55:11.415] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:55:11.422] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:55:11.447] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:55:11.455] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:55:11.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:55:11.504] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:55:11.544] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:55:11.552] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:55:11.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:55:11.600] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:55:11.608] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:55:11.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:55:11.625] checking whether the C compiler still works... yes [17:55:11.697] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:55:11.775] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:55:11.775] checking pkg-config is at least version 0.9.0... yes [17:55:11.794] checking whether to build with ICU support... no [17:55:11.794] checking whether to build with Tcl... no [17:55:11.794] checking whether to build Perl modules... no [17:55:11.794] checking whether to build Python modules... no [17:55:11.795] checking whether to build with GSSAPI support... no [17:55:11.796] checking whether to build with PAM support... no [17:55:11.796] checking whether to build with BSD Authentication support... no [17:55:11.796] checking whether to build with LDAP support... no [17:55:11.797] checking whether to build with Bonjour support... no [17:55:11.797] checking whether to build with SELinux support... no [17:55:11.797] checking whether to build with systemd support... no [17:55:11.797] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:55:11.797] checking whether to build with liburing support... no [17:55:11.797] checking whether to build with libcurl support... no [17:55:11.798] checking whether to build with libnuma support... no [17:55:11.798] checking whether to build with XML support... no [17:55:11.798] checking whether to build with LZ4 support... no [17:55:11.799] checking whether to build with ZSTD support... no [17:55:11.799] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:55:11.799] checking whether it is possible to strip libraries... yes [17:55:11.811] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:55:11.811] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:55:11.811] checking for a BSD-compatible install... /usr/bin/install -c [17:55:11.821] checking for tar... /usr/bin/tar [17:55:11.822] checking whether ln -s works... yes [17:55:11.822] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:55:11.824] checking for bison... /usr/bin/bison [17:55:11.826] configure: using bison (GNU Bison) 3.8.2 [17:55:11.829] checking for flex... /usr/bin/flex [17:55:11.831] configure: using flex 2.6.4 [17:55:11.832] checking for perl... /usr/bin/perl [17:55:11.834] configure: using perl 5.36.0 [17:55:11.837] checking for zic... /usr/sbin/zic [17:55:11.837] checking for a sed that does not truncate output... /usr/bin/sed [17:55:11.843] checking for grep that handles long lines and -e... /usr/bin/grep [17:55:11.846] checking for egrep... /usr/bin/grep -E [17:55:11.848] checking for ANSI C header files... yes [17:55:11.898] checking for sys/types.h... yes [17:55:11.915] checking for sys/stat.h... yes [17:55:11.932] checking for stdlib.h... yes [17:55:11.947] checking for string.h... yes [17:55:11.962] checking for memory.h... yes [17:55:11.978] checking for strings.h... yes [17:55:11.994] checking for inttypes.h... yes [17:55:12.011] checking for stdint.h... yes [17:55:12.026] checking for unistd.h... yes [17:55:12.044] checking for main in -lm... yes [17:55:12.092] checking for library containing setproctitle... no [17:55:12.187] checking for library containing dlsym... no [17:55:12.279] checking for library containing socket... -lws2_32 [17:55:12.414] checking for library containing getopt_long... none required [17:55:12.471] checking for library containing shm_open... no [17:55:12.572] checking for library containing shm_unlink... no [17:55:12.667] checking for library containing clock_gettime... no [17:55:12.781] checking for library containing shmget... no [17:55:12.896] checking for library containing backtrace_symbols... no [17:55:13.000] checking for library containing pthread_barrier_wait... -lpthread [17:55:13.100] checking for inflate in -lz... yes [17:55:13.155] checking atomic.h usability... no [17:55:13.219] checking atomic.h presence... no [17:55:13.240] checking for atomic.h... no [17:55:13.243] checking copyfile.h usability... no [17:55:13.306] checking copyfile.h presence... no [17:55:13.328] checking for copyfile.h... no [17:55:13.331] checking execinfo.h usability... no [17:55:13.391] checking execinfo.h presence... no [17:55:13.412] checking for execinfo.h... no [17:55:13.416] checking getopt.h usability... yes [17:55:13.424] checking getopt.h presence... yes [17:55:13.439] checking for getopt.h... yes [17:55:13.447] checking ifaddrs.h usability... no [17:55:13.507] checking ifaddrs.h presence... no [17:55:13.528] checking for ifaddrs.h... no [17:55:13.532] checking mbarrier.h usability... no [17:55:13.588] checking mbarrier.h presence... no [17:55:13.608] checking for mbarrier.h... no [17:55:13.612] checking sys/epoll.h usability... no [17:55:13.671] checking sys/epoll.h presence... no [17:55:13.690] checking for sys/epoll.h... no [17:55:13.694] checking sys/event.h usability... no [17:55:13.751] checking sys/event.h presence... no [17:55:13.771] checking for sys/event.h... no [17:55:13.775] checking sys/personality.h usability... no [17:55:13.832] checking sys/personality.h presence... no [17:55:13.853] checking for sys/personality.h... no [17:55:13.856] checking sys/prctl.h usability... no [17:55:13.912] checking sys/prctl.h presence... no [17:55:13.933] checking for sys/prctl.h... no [17:55:13.937] checking sys/procctl.h usability... no [17:55:13.996] checking sys/procctl.h presence... no [17:55:14.016] checking for sys/procctl.h... no [17:55:14.020] checking sys/signalfd.h usability... no [17:55:14.079] checking sys/signalfd.h presence... no [17:55:14.099] checking for sys/signalfd.h... no [17:55:14.102] checking sys/ucred.h usability... no [17:55:14.157] checking sys/ucred.h presence... no [17:55:14.177] checking for sys/ucred.h... no [17:55:14.181] checking termios.h usability... no [17:55:14.238] checking termios.h presence... no [17:55:14.258] checking for termios.h... no [17:55:14.262] checking ucred.h usability... no [17:55:14.321] checking ucred.h presence... no [17:55:14.343] checking for ucred.h... no [17:55:14.347] checking xlocale.h usability... no [17:55:14.406] checking xlocale.h presence... no [17:55:14.426] checking for xlocale.h... no [17:55:14.429] checking zlib.h usability... yes [17:55:14.439] checking zlib.h presence... yes [17:55:14.458] checking for zlib.h... yes [17:55:14.458] checking for lz4... /usr/bin/lz4 [17:55:14.458] checking for zstd... /usr/bin/zstd [17:55:14.459] checking for openssl... /usr/bin/openssl [17:55:14.463] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [17:55:14.464] checking crtdefs.h usability... yes [17:55:14.471] checking crtdefs.h presence... yes [17:55:14.488] checking for crtdefs.h... yes [17:55:14.489] checking whether byte ordering is bigendian... no [17:55:14.565] checking for inline... inline [17:55:14.572] checking for printf format archetype... gnu_printf [17:55:14.581] checking for _Static_assert... yes [17:55:14.623] checking for typeof... typeof [17:55:14.631] checking for __builtin_types_compatible_p... yes [17:55:14.643] checking for __builtin_constant_p... yes [17:55:14.655] checking for __builtin_mul_overflow... yes [17:55:14.705] checking for __builtin_unreachable... yes [17:55:14.749] checking for computed goto support... yes [17:55:14.756] checking for struct tm.tm_zone... no [17:55:14.841] checking for union semun... no [17:55:14.877] checking for socklen_t... yes [17:55:16.117] checking for struct sockaddr.sa_len... no [17:55:18.158] checking for C/C++ restrict keyword... __restrict [17:55:18.171] checking for struct option... yes [17:55:18.215] checking whether assembler supports x86_64 popcntq... yes [17:55:18.223] checking size of off_t... 4 [17:55:18.488] 0 [17:55:18.488] checking for int timezone... yes [17:55:18.547] checking for backtrace_symbols... no [17:55:18.602] checking for copyfile... no [17:55:18.661] checking for copy_file_range... no [17:55:18.726] checking for elf_aux_info... no [17:55:18.790] checking for getauxval... no [17:55:18.852] checking for getifaddrs... no [17:55:18.912] checking for getpeerucred... no [17:55:18.973] checking for inet_pton... yes [17:55:19.032] checking for kqueue... no [17:55:19.093] checking for localeconv_l... no [17:55:19.145] checking for mbstowcs_l... no [17:55:19.199] checking for posix_fallocate... no [17:55:19.251] checking for ppoll... no [17:55:19.304] checking for pthread_is_threaded_np... no [17:55:19.358] checking for setproctitle... no [17:55:19.411] checking for setproctitle_fast... no [17:55:19.467] checking for strsignal... no [17:55:19.520] checking for syncfs... no [17:55:19.575] checking for sync_file_range... no [17:55:19.628] checking for uselocale... no [17:55:19.680] checking for wcstombs_l... no [17:55:19.726] checking for __builtin_bswap16... yes [17:55:19.778] checking for __builtin_bswap32... yes [17:55:19.838] checking for __builtin_bswap64... yes [17:55:19.900] checking for __builtin_clz... yes [17:55:19.964] checking for __builtin_ctz... yes [17:55:20.025] checking for __builtin_popcount... yes [17:55:20.083] checking for __builtin_frame_address... yes [17:55:20.138] checking for _LARGEFILE_SOURCE value needed for large files... no [17:55:20.200] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:55:20.239] checking for posix_fadvise... no [17:55:20.296] checking whether posix_fadvise is declared... no [17:55:20.346] checking whether fdatasync is declared... no [17:55:20.395] checking whether strlcat is declared... no [17:55:20.462] checking whether strlcpy is declared... no [17:55:20.529] checking whether strnlen is declared... yes [17:55:20.542] checking whether strsep is declared... no [17:55:20.609] checking whether timingsafe_bcmp is declared... no [17:55:20.678] checking whether preadv is declared... no [17:55:20.717] checking whether pwritev is declared... no [17:55:20.758] checking whether strchrnul is declared... no [17:55:20.805] checking whether memset_s is declared... no [17:55:20.852] checking whether F_FULLFSYNC is declared... no [17:55:20.894] checking for explicit_bzero... no [17:55:20.943] checking for getopt... yes [17:55:20.991] checking for getpeereid... no [17:55:21.039] checking for inet_aton... no [17:55:21.089] checking for mkdtemp... no [17:55:21.138] checking for strlcat... no [17:55:21.188] checking for strlcpy... no [17:55:21.237] checking for strnlen... yes [17:55:21.283] checking for strsep... no [17:55:21.334] checking for timingsafe_bcmp... no [17:55:21.383] checking for pthread_barrier_wait... yes [17:55:21.431] configure: On mingw32 we will use our strtof wrapper. [17:55:21.431] checking for getopt_long... yes [17:55:21.481] checking for syslog... no [17:55:21.532] checking for opterr... yes [17:55:21.584] checking for optreset... no [17:55:21.639] checking test program... cross-compiling [17:55:21.639] checking size of void *... 8 [17:55:21.922] checking size of size_t... 8 [17:55:22.201] checking size of long... 4 [17:55:22.418] checking size of long long... 8 [17:55:22.688] checking alignment of short... 2 [17:55:22.825] checking alignment of int... 4 [17:55:23.026] checking alignment of long... 4 [17:55:23.226] checking alignment of int64_t... 8 [17:55:23.511] checking alignment of double... 8 [17:55:23.803] checking for __int128... yes [17:55:23.858] checking for __int128 alignment bug... assuming ok [17:55:23.858] checking alignment of PG_INT128_TYPE... 16 [17:55:24.217] checking for builtin __sync char locking functions... yes [17:55:24.260] checking for builtin __sync int32 locking functions... yes [17:55:24.305] checking for builtin __sync int32 atomic operations... yes [17:55:24.348] checking for builtin __sync int64 atomic operations... yes [17:55:24.395] checking for builtin __atomic int32 atomic operations... yes [17:55:24.439] checking for builtin __atomic int64 atomic operations... yes [17:55:24.486] checking for __get_cpuid... yes [17:55:24.533] checking for __get_cpuid_count... yes [17:55:24.579] checking for __cpuid... no [17:55:24.980] checking for __cpuidex... no [17:55:25.439] checking for _xgetbv... yes [17:55:25.889] checking for _mm512_popcnt_epi64... yes [17:55:26.338] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:55:26.456] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:55:26.483] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:55:26.505] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:55:26.527] 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 [17:55:26.592] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:55:26.592] checking for _mm512_clmulepi64_epi128... yes [17:55:27.024] checking for vectorized CRC-32C... AVX-512 with runtime check [17:55:27.024] checking which random number source to use... Windows native [17:55:27.027] checking for xmllint... /usr/bin/xmllint [17:55:27.028] checking for xsltproc... /usr/bin/xsltproc [17:55:27.028] checking for fop... /usr/bin/fop [17:55:27.029] checking for dbtoepub... no [17:55:27.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:55:27.030] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:55:27.030] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:55:27.043] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:55:27.043] 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 [17:55:27.043] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:55:27.043] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:55:27.150] configure: creating ./config.status [17:55:27.247] config.status: creating GNUmakefile [17:55:27.260] config.status: creating src/Makefile.global [17:55:27.277] config.status: creating src/include/pg_config.h [17:55:27.291] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:55:27.307] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:55:27.314] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:55:27.323] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:55:27.331] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:55:27.340] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:55:27.344] config.status: executing check_win32_symlinks commands [17:55:27.383] [17:55:27.383] real 0m17.253s [17:55:27.383] user 0m11.572s [17:55:27.383] sys 0m5.341s [17:55:27.383] make -s -j${BUILD_JOBS} clean [17:55:27.909] time make -s -j${BUILD_JOBS} world-bin [17:55:38.490] gininsert.c: In function ‘_gin_parallel_merge’: [17:55:38.490] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [17:55:38.490] 1673 | MemoryContext oldCtx; [17:55:38.490] | ^~~~~~ [17:55:38.490] gininsert.c:1619:23: note: shadowed declaration is here [17:55:38.490] 1619 | MemoryContext oldCtx; [17:55:38.490] | ^~~~~~ [17:55:38.490] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [17:55:38.490] cc1: all warnings being treated as errors [17:55:38.491] make[4]: *** [: gininsert.o] Error 1 [17:55:38.492] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [17:55:38.492] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:55:38.492] make[2]: *** Waiting for unfinished jobs.... [17:55:52.554] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:55:52.554] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:55:52.554] [17:55:52.554] real 0m24.645s [17:55:52.554] user 1m16.537s [17:55:52.554] sys 0m15.153s [17:55:52.555] [17:55:52.555] Exit status: 2