[02:12:07.050] time ./configure \ [02:12:07.050] --host=x86_64-w64-mingw32 \ [02:12:07.050] --enable-cassert \ [02:12:07.050] --without-icu \ [02:12:07.050] CC="ccache x86_64-w64-mingw32-gcc" \ [02:12:07.050] CXX="ccache x86_64-w64-mingw32-g++" [02:12:07.176] checking build system type... x86_64-pc-linux-gnu [02:12:07.372] checking host system type... x86_64-w64-mingw32 [02:12:07.377] checking which template to use... win32 [02:12:07.378] checking whether NLS is wanted... no [02:12:07.378] checking for default port number... 5432 [02:12:07.385] checking for block size... 8kB [02:12:07.387] checking for segment size... 1GB [02:12:07.389] checking for WAL block size... 8kB [02:12:07.391] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:12:07.428] checking whether the C compiler works... yes [02:12:07.581] checking for C compiler default output file name... a.exe [02:12:07.582] checking for suffix of executables... .exe [02:12:07.624] checking whether we are cross compiling... yes [02:12:07.706] checking for suffix of object files... o [02:12:07.715] checking whether we are using the GNU C compiler... yes [02:12:07.723] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:12:07.742] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:12:07.752] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:12:07.814] checking whether we are using the GNU C++ compiler... yes [02:12:07.973] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:12:08.046] checking for gawk... no [02:12:08.046] checking for mawk... mawk [02:12:08.048] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:12:08.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:12:08.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:12:08.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:12:08.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:12:08.168] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:12:08.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:12:08.183] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:12:08.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:12:08.197] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:12:08.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:12:08.212] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:12:08.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:12:08.228] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:12:08.235] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:12:08.242] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:12:08.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [02:12:08.288] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:12:08.296] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:12:08.304] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:12:08.316] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:12:08.324] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:12:08.332] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:12:08.359] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:12:08.366] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:12:08.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:12:08.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:12:08.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:12:08.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:12:08.469] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:12:08.506] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:12:08.513] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:12:08.521] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:12:08.530] checking whether the C compiler still works... yes [02:12:08.598] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:12:08.675] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:12:08.675] checking pkg-config is at least version 0.9.0... yes [02:12:08.693] checking whether to build with ICU support... no [02:12:08.694] checking whether to build with Tcl... no [02:12:08.694] checking whether to build Perl modules... no [02:12:08.694] checking whether to build Python modules... no [02:12:08.694] checking whether to build with GSSAPI support... no [02:12:08.695] checking whether to build with PAM support... no [02:12:08.695] checking whether to build with BSD Authentication support... no [02:12:08.695] checking whether to build with LDAP support... no [02:12:08.695] checking whether to build with Bonjour support... no [02:12:08.696] checking whether to build with SELinux support... no [02:12:08.696] checking whether to build with systemd support... no [02:12:08.696] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:12:08.696] checking whether to build with liburing support... no [02:12:08.696] checking whether to build with libcurl support... no [02:12:08.696] checking whether to build with libnuma support... no [02:12:08.697] checking whether to build with XML support... no [02:12:08.697] checking whether to build with LZ4 support... no [02:12:08.697] checking whether to build with ZSTD support... no [02:12:08.697] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:12:08.697] checking whether it is possible to strip libraries... yes [02:12:08.704] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:12:08.705] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:12:08.705] checking for a BSD-compatible install... /usr/bin/install -c [02:12:08.715] checking for tar... /usr/bin/tar [02:12:08.715] checking whether ln -s works... yes [02:12:08.715] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:12:08.718] checking for bison... /usr/bin/bison [02:12:08.720] configure: using bison (GNU Bison) 3.8.2 [02:12:08.723] checking for flex... /usr/bin/flex [02:12:08.725] configure: using flex 2.6.4 [02:12:08.726] checking for perl... /usr/bin/perl [02:12:08.728] configure: using perl 5.36.0 [02:12:08.731] checking for zic... /usr/sbin/zic [02:12:08.731] checking for a sed that does not truncate output... /usr/bin/sed [02:12:08.737] checking for grep that handles long lines and -e... /usr/bin/grep [02:12:08.739] checking for egrep... /usr/bin/grep -E [02:12:08.741] checking for ANSI C header files... yes [02:12:08.793] checking for sys/types.h... yes [02:12:08.811] checking for sys/stat.h... yes [02:12:08.830] checking for stdlib.h... yes [02:12:08.847] checking for string.h... yes [02:12:08.862] checking for memory.h... yes [02:12:08.930] checking for strings.h... yes [02:12:08.966] checking for inttypes.h... yes [02:12:08.986] checking for stdint.h... yes [02:12:09.001] checking for unistd.h... yes [02:12:09.071] checking for main in -lm... yes [02:12:09.121] checking for library containing setproctitle... no [02:12:09.218] checking for library containing dlsym... no [02:12:09.312] checking for library containing socket... -lws2_32 [02:12:09.454] checking for library containing getopt_long... none required [02:12:09.504] checking for library containing shm_open... no [02:12:09.598] checking for library containing shm_unlink... no [02:12:09.692] checking for library containing clock_gettime... no [02:12:09.784] checking for library containing shmget... no [02:12:09.876] checking for library containing backtrace_symbols... no [02:12:09.968] checking for library containing pthread_barrier_wait... -lpthread [02:12:10.061] checking for inflate in -lz... yes [02:12:10.114] checking atomic.h usability... no [02:12:10.172] checking atomic.h presence... no [02:12:10.192] checking for atomic.h... no [02:12:10.195] checking copyfile.h usability... no [02:12:10.252] checking copyfile.h presence... no [02:12:10.274] checking for copyfile.h... no [02:12:10.278] checking execinfo.h usability... no [02:12:10.336] checking execinfo.h presence... no [02:12:10.355] checking for execinfo.h... no [02:12:10.359] checking getopt.h usability... yes [02:12:10.367] checking getopt.h presence... yes [02:12:10.384] checking for getopt.h... yes [02:12:10.392] checking ifaddrs.h usability... no [02:12:10.448] checking ifaddrs.h presence... no [02:12:10.468] checking for ifaddrs.h... no [02:12:10.472] checking mbarrier.h usability... no [02:12:10.531] checking mbarrier.h presence... no [02:12:10.553] checking for mbarrier.h... no [02:12:10.556] checking sys/epoll.h usability... no [02:12:10.615] checking sys/epoll.h presence... no [02:12:10.636] checking for sys/epoll.h... no [02:12:10.640] checking sys/event.h usability... no [02:12:10.698] checking sys/event.h presence... no [02:12:10.718] checking for sys/event.h... no [02:12:10.722] checking sys/personality.h usability... no [02:12:10.779] checking sys/personality.h presence... no [02:12:10.799] checking for sys/personality.h... no [02:12:10.803] checking sys/prctl.h usability... no [02:12:10.859] checking sys/prctl.h presence... no [02:12:10.879] checking for sys/prctl.h... no [02:12:10.883] checking sys/procctl.h usability... no [02:12:10.940] checking sys/procctl.h presence... no [02:12:10.960] checking for sys/procctl.h... no [02:12:10.964] checking sys/signalfd.h usability... no [02:12:11.022] checking sys/signalfd.h presence... no [02:12:11.043] checking for sys/signalfd.h... no [02:12:11.046] checking sys/ucred.h usability... no [02:12:11.103] checking sys/ucred.h presence... no [02:12:11.125] checking for sys/ucred.h... no [02:12:11.128] checking termios.h usability... no [02:12:11.187] checking termios.h presence... no [02:12:11.207] checking for termios.h... no [02:12:11.211] checking ucred.h usability... no [02:12:11.267] checking ucred.h presence... no [02:12:11.287] checking for ucred.h... no [02:12:11.290] checking xlocale.h usability... no [02:12:11.346] checking xlocale.h presence... no [02:12:11.367] checking for xlocale.h... no [02:12:11.370] checking zlib.h usability... yes [02:12:11.379] checking zlib.h presence... yes [02:12:11.399] checking for zlib.h... yes [02:12:11.400] checking for lz4... /usr/bin/lz4 [02:12:11.400] checking for zstd... /usr/bin/zstd [02:12:11.400] checking for openssl... /usr/bin/openssl [02:12:11.405] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [02:12:11.405] checking crtdefs.h usability... yes [02:12:11.413] checking crtdefs.h presence... yes [02:12:11.430] checking for crtdefs.h... yes [02:12:11.431] checking whether byte ordering is bigendian... no [02:12:11.510] checking for inline... inline [02:12:11.519] checking for printf format archetype... gnu_printf [02:12:11.529] checking for _Static_assert... yes [02:12:11.573] checking for typeof... typeof [02:12:11.581] checking for __builtin_types_compatible_p... yes [02:12:11.592] checking for __builtin_constant_p... yes [02:12:11.603] checking for __builtin_mul_overflow... yes [02:12:11.652] checking for __builtin_unreachable... yes [02:12:11.694] checking for computed goto support... yes [02:12:11.702] checking for struct tm.tm_zone... no [02:12:11.786] checking for union semun... no [02:12:11.823] checking for socklen_t... yes [02:12:13.406] checking for struct sockaddr.sa_len... no [02:12:15.528] checking for C/C++ restrict keyword... __restrict [02:12:15.543] checking for struct option... yes [02:12:15.590] checking whether assembler supports x86_64 popcntq... yes [02:12:15.598] checking size of off_t... 4 [02:12:15.822] 0 [02:12:15.823] checking for int timezone... yes [02:12:15.876] checking for backtrace_symbols... no [02:12:15.927] checking for copyfile... no [02:12:15.978] checking for copy_file_range... no [02:12:16.032] checking for elf_aux_info... no [02:12:16.086] checking for getauxval... no [02:12:16.138] checking for getifaddrs... no [02:12:16.190] checking for getpeerucred... no [02:12:16.246] checking for inet_pton... yes [02:12:16.299] checking for kqueue... no [02:12:16.352] checking for localeconv_l... no [02:12:16.406] checking for mbstowcs_l... no [02:12:16.459] checking for posix_fallocate... no [02:12:16.512] checking for ppoll... no [02:12:16.565] checking for pthread_is_threaded_np... no [02:12:16.618] checking for setproctitle... no [02:12:16.670] checking for setproctitle_fast... no [02:12:16.723] checking for strsignal... no [02:12:16.772] checking for syncfs... no [02:12:16.823] checking for sync_file_range... no [02:12:16.873] checking for uselocale... no [02:12:16.922] checking for wcstombs_l... no [02:12:16.970] checking for __builtin_bswap16... yes [02:12:17.021] checking for __builtin_bswap32... yes [02:12:17.071] checking for __builtin_bswap64... yes [02:12:17.121] checking for __builtin_clz... yes [02:12:17.172] checking for __builtin_ctz... yes [02:12:17.223] checking for __builtin_popcount... yes [02:12:17.275] checking for __builtin_frame_address... yes [02:12:17.324] checking for _LARGEFILE_SOURCE value needed for large files... no [02:12:17.378] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:12:17.413] checking for posix_fadvise... no [02:12:17.467] checking whether posix_fadvise is declared... no [02:12:17.515] checking whether fdatasync is declared... no [02:12:17.566] checking whether strlcat is declared... no [02:12:17.634] checking whether strlcpy is declared... no [02:12:17.702] checking whether strnlen is declared... yes [02:12:17.716] checking whether strsep is declared... no [02:12:17.783] checking whether timingsafe_bcmp is declared... no [02:12:17.851] checking whether preadv is declared... no [02:12:17.890] checking whether pwritev is declared... no [02:12:17.929] checking whether strchrnul is declared... no [02:12:17.974] checking whether memset_s is declared... no [02:12:18.018] checking whether F_FULLFSYNC is declared... no [02:12:18.059] checking for explicit_bzero... no [02:12:18.107] checking for getopt... yes [02:12:18.152] checking for getpeereid... no [02:12:18.202] checking for inet_aton... no [02:12:18.251] checking for mkdtemp... no [02:12:18.300] checking for strlcat... no [02:12:18.351] checking for strlcpy... no [02:12:18.406] checking for strnlen... yes [02:12:18.457] checking for strsep... no [02:12:18.506] checking for timingsafe_bcmp... no [02:12:18.556] checking for pthread_barrier_wait... yes [02:12:18.603] configure: On mingw32 we will use our strtof wrapper. [02:12:18.603] checking for getopt_long... yes [02:12:18.650] checking for syslog... no [02:12:18.700] checking for opterr... yes [02:12:18.750] checking for optreset... no [02:12:18.804] checking test program... cross-compiling [02:12:18.805] checking size of void *... 8 [02:12:19.142] checking size of size_t... 8 [02:12:19.422] checking size of long... 4 [02:12:19.690] checking size of long long... 8 [02:12:20.041] checking alignment of short... 2 [02:12:20.184] checking alignment of int... 4 [02:12:20.399] checking alignment of long... 4 [02:12:20.672] checking alignment of int64_t... 8 [02:12:20.951] checking alignment of double... 8 [02:12:21.277] checking for __int128... yes [02:12:21.330] checking for __int128 alignment bug... assuming ok [02:12:21.330] checking alignment of PG_INT128_TYPE... 16 [02:12:21.730] checking for builtin __sync char locking functions... yes [02:12:21.775] checking for builtin __sync int32 locking functions... yes [02:12:21.819] checking for builtin __sync int32 atomic operations... yes [02:12:21.861] checking for builtin __sync int64 atomic operations... yes [02:12:21.907] checking for builtin __atomic int32 atomic operations... yes [02:12:21.951] checking for builtin __atomic int64 atomic operations... yes [02:12:21.997] checking for __get_cpuid... yes [02:12:22.046] checking for __get_cpuid_count... yes [02:12:22.094] checking for __cpuid... no [02:12:22.493] checking for __cpuidex... no [02:12:22.917] checking for _xgetbv... yes [02:12:23.329] checking for _mm512_popcnt_epi64... yes [02:12:23.739] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [02:12:23.850] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:12:23.876] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [02:12:23.896] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:12:23.917] 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 [02:12:23.974] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:12:23.974] checking for _mm512_clmulepi64_epi128... yes [02:12:24.385] checking for vectorized CRC-32C... AVX-512 with runtime check [02:12:24.385] checking which random number source to use... Windows native [02:12:24.387] checking for xmllint... /usr/bin/xmllint [02:12:24.387] checking for xsltproc... /usr/bin/xsltproc [02:12:24.387] checking for fop... /usr/bin/fop [02:12:24.388] checking for dbtoepub... no [02:12:24.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:12:24.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:12:24.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [02:12:24.400] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [02:12:24.400] 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 [02:12:24.400] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [02:12:24.400] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:12:24.497] configure: creating ./config.status [02:12:24.591] config.status: creating GNUmakefile [02:12:24.604] config.status: creating src/Makefile.global [02:12:24.621] config.status: creating src/include/pg_config.h [02:12:24.635] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:12:24.652] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:12:24.660] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:12:24.667] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:12:24.675] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:12:24.683] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:12:24.686] config.status: executing check_win32_symlinks commands [02:12:24.723] [02:12:24.723] real 0m17.673s [02:12:24.723] user 0m11.428s [02:12:24.723] sys 0m5.878s [02:12:24.723] make -s -j${BUILD_JOBS} clean [02:12:25.238] time make -s -j${BUILD_JOBS} world-bin [02:12:44.660] gininsert.c: In function ‘_gin_parallel_merge’: [02:12:44.660] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [02:12:44.660] 1673 | MemoryContext oldCtx; [02:12:44.660] | ^~~~~~ [02:12:44.660] gininsert.c:1619:23: note: shadowed declaration is here [02:12:44.660] 1619 | MemoryContext oldCtx; [02:12:44.660] | ^~~~~~ [02:12:44.660] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [02:12:44.660] cc1: all warnings being treated as errors [02:12:44.660] make[4]: *** [: gininsert.o] Error 1 [02:12:44.660] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [02:12:44.661] make[2]: *** [common.mk:37: access-recursive] Error 2 [02:12:44.661] make[2]: *** Waiting for unfinished jobs.... [02:12:56.770] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:12:56.770] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:12:56.771] [02:12:56.771] real 0m31.533s [02:12:56.771] user 1m36.450s [02:12:56.771] sys 0m19.351s [02:12:56.771] [02:12:56.771] Exit status: 2