[04:50:38.491] time ./configure \ [04:50:38.491] --host=x86_64-w64-mingw32 \ [04:50:38.491] --enable-cassert \ [04:50:38.491] --without-icu \ [04:50:38.491] CC="ccache x86_64-w64-mingw32-gcc" \ [04:50:38.491] CXX="ccache x86_64-w64-mingw32-g++" [04:50:38.599] checking build system type... x86_64-pc-linux-gnu [04:50:38.749] checking host system type... x86_64-w64-mingw32 [04:50:38.754] checking which template to use... win32 [04:50:38.754] checking whether NLS is wanted... no [04:50:38.754] checking for default port number... 5432 [04:50:38.760] checking for block size... 8kB [04:50:38.761] checking for segment size... 1GB [04:50:38.763] checking for WAL block size... 8kB [04:50:38.765] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:50:38.794] checking whether the C compiler works... yes [04:50:38.905] checking for C compiler default output file name... a.exe [04:50:38.906] checking for suffix of executables... .exe [04:50:38.942] checking whether we are cross compiling... yes [04:50:39.011] checking for suffix of object files... o [04:50:39.018] checking whether we are using the GNU C compiler... yes [04:50:39.024] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:50:39.030] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:50:39.039] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:50:39.095] checking whether we are using the GNU C++ compiler... yes [04:50:39.101] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:50:39.161] checking for gawk... no [04:50:39.161] checking for mawk... mawk [04:50:39.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:50:39.170] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:50:39.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:50:39.217] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:50:39.359] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:50:39.365] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:50:39.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:50:39.378] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:50:39.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:50:39.390] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:50:39.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:50:39.402] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:50:39.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:50:39.414] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:50:39.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:50:39.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:50:39.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:50:39.467] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:50:39.473] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:50:39.479] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:50:39.486] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:50:39.492] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:50:39.498] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:50:39.518] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:50:39.525] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:50:39.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:50:39.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:50:39.600] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:50:39.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:50:39.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:50:39.645] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:50:39.651] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:50:39.658] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:50:39.665] checking whether the C compiler still works... yes [04:50:39.722] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:50:39.785] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:50:39.785] checking pkg-config is at least version 0.9.0... yes [04:50:39.800] checking whether to build with ICU support... no [04:50:39.800] checking whether to build with Tcl... no [04:50:39.800] checking whether to build Perl modules... no [04:50:39.800] checking whether to build Python modules... no [04:50:39.800] checking whether to build with GSSAPI support... no [04:50:39.801] checking whether to build with PAM support... no [04:50:39.801] checking whether to build with BSD Authentication support... no [04:50:39.801] checking whether to build with LDAP support... no [04:50:39.801] checking whether to build with Bonjour support... no [04:50:39.802] checking whether to build with SELinux support... no [04:50:39.802] checking whether to build with systemd support... no [04:50:39.802] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:50:39.802] checking whether to build with liburing support... no [04:50:39.802] checking whether to build with libcurl support... no [04:50:39.802] checking whether to build with libnuma support... no [04:50:39.802] checking whether to build with XML support... no [04:50:39.803] checking whether to build with LZ4 support... no [04:50:39.803] checking whether to build with ZSTD support... no [04:50:39.803] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:50:39.803] checking whether it is possible to strip libraries... yes [04:50:39.810] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:50:39.810] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:50:39.810] checking for a BSD-compatible install... /usr/bin/install -c [04:50:39.818] checking for tar... /usr/bin/tar [04:50:39.819] checking whether ln -s works... yes [04:50:39.819] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:50:39.821] checking for bison... /usr/bin/bison [04:50:39.823] configure: using bison (GNU Bison) 3.8.2 [04:50:39.826] checking for flex... /usr/bin/flex [04:50:39.828] configure: using flex 2.6.4 [04:50:39.828] checking for perl... /usr/bin/perl [04:50:39.830] configure: using perl 5.36.0 [04:50:39.832] checking for zic... /usr/sbin/zic [04:50:39.833] checking for a sed that does not truncate output... /usr/bin/sed [04:50:39.837] checking for grep that handles long lines and -e... /usr/bin/grep [04:50:39.839] checking for egrep... /usr/bin/grep -E [04:50:39.840] checking for ANSI C header files... yes [04:50:39.883] checking for sys/types.h... yes [04:50:39.900] checking for sys/stat.h... yes [04:50:39.914] checking for stdlib.h... yes [04:50:39.928] checking for string.h... yes [04:50:39.941] checking for memory.h... yes [04:50:39.955] checking for strings.h... yes [04:50:39.969] checking for inttypes.h... yes [04:50:39.983] checking for stdint.h... yes [04:50:39.996] checking for unistd.h... yes [04:50:40.011] checking for main in -lm... yes [04:50:40.054] checking for library containing setproctitle... no [04:50:40.134] checking for library containing dlsym... no [04:50:40.210] checking for library containing socket... -lws2_32 [04:50:40.326] checking for library containing getopt_long... none required [04:50:40.370] checking for library containing shm_open... no [04:50:40.449] checking for library containing shm_unlink... no [04:50:40.528] checking for library containing clock_gettime... no [04:50:40.606] checking for library containing shmget... no [04:50:40.686] checking for library containing backtrace_symbols... no [04:50:40.765] checking for library containing pthread_barrier_wait... -lpthread [04:50:40.849] checking for inflate in -lz... yes [04:50:40.892] checking atomic.h usability... no [04:50:40.944] checking atomic.h presence... no [04:50:40.961] checking for atomic.h... no [04:50:40.964] checking copyfile.h usability... no [04:50:41.012] checking copyfile.h presence... no [04:50:41.028] checking for copyfile.h... no [04:50:41.032] checking execinfo.h usability... no [04:50:41.084] checking execinfo.h presence... no [04:50:41.100] checking for execinfo.h... no [04:50:41.104] checking getopt.h usability... yes [04:50:41.111] checking getopt.h presence... yes [04:50:41.125] checking for getopt.h... yes [04:50:41.132] checking ifaddrs.h usability... no [04:50:41.181] checking ifaddrs.h presence... no [04:50:41.199] checking for ifaddrs.h... no [04:50:41.202] checking mbarrier.h usability... no [04:50:41.250] checking mbarrier.h presence... no [04:50:41.266] checking for mbarrier.h... no [04:50:41.269] checking sys/epoll.h usability... no [04:50:41.319] checking sys/epoll.h presence... no [04:50:41.335] checking for sys/epoll.h... no [04:50:41.338] checking sys/event.h usability... no [04:50:41.390] checking sys/event.h presence... no [04:50:41.408] checking for sys/event.h... no [04:50:41.411] checking sys/personality.h usability... no [04:50:41.463] checking sys/personality.h presence... no [04:50:41.480] checking for sys/personality.h... no [04:50:41.483] checking sys/prctl.h usability... no [04:50:41.534] checking sys/prctl.h presence... no [04:50:41.551] checking for sys/prctl.h... no [04:50:41.554] checking sys/procctl.h usability... no [04:50:41.603] checking sys/procctl.h presence... no [04:50:41.620] checking for sys/procctl.h... no [04:50:41.623] checking sys/signalfd.h usability... no [04:50:41.671] checking sys/signalfd.h presence... no [04:50:41.688] checking for sys/signalfd.h... no [04:50:41.691] checking sys/ucred.h usability... no [04:50:41.739] checking sys/ucred.h presence... no [04:50:41.755] checking for sys/ucred.h... no [04:50:41.758] checking termios.h usability... no [04:50:41.806] checking termios.h presence... no [04:50:41.822] checking for termios.h... no [04:50:41.825] checking ucred.h usability... no [04:50:41.874] checking ucred.h presence... no [04:50:41.891] checking for ucred.h... no [04:50:41.895] checking xlocale.h usability... no [04:50:41.947] checking xlocale.h presence... no [04:50:41.964] checking for xlocale.h... no [04:50:41.967] checking zlib.h usability... yes [04:50:41.975] checking zlib.h presence... yes [04:50:41.993] checking for zlib.h... yes [04:50:41.993] checking for lz4... /usr/bin/lz4 [04:50:41.993] checking for zstd... /usr/bin/zstd [04:50:41.994] checking for openssl... /usr/bin/openssl [04:50:41.998] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [04:50:41.998] checking crtdefs.h usability... yes [04:50:42.005] checking crtdefs.h presence... yes [04:50:42.019] checking for crtdefs.h... yes [04:50:42.020] checking whether byte ordering is bigendian... no [04:50:42.088] checking for inline... inline [04:50:42.094] checking for printf format archetype... gnu_printf [04:50:42.102] checking for _Static_assert... yes [04:50:42.139] checking for typeof... typeof [04:50:42.146] checking for __builtin_types_compatible_p... yes [04:50:42.157] checking for __builtin_constant_p... yes [04:50:42.166] checking for __builtin_mul_overflow... yes [04:50:42.209] checking for __builtin_unreachable... yes [04:50:42.246] checking for computed goto support... yes [04:50:42.252] checking for struct tm.tm_zone... no [04:50:42.320] checking for union semun... no [04:50:42.350] checking for socklen_t... yes [04:50:43.395] checking for struct sockaddr.sa_len... no [04:50:45.212] checking for C/C++ restrict keyword... __restrict [04:50:45.224] checking for struct option... yes [04:50:45.263] checking whether assembler supports x86_64 popcntq... yes [04:50:45.269] checking size of off_t... 4 [04:50:45.452] 0 [04:50:45.453] checking for int timezone... yes [04:50:45.499] checking for backtrace_symbols... no [04:50:45.545] checking for copyfile... no [04:50:45.589] checking for copy_file_range... no [04:50:45.635] checking for elf_aux_info... no [04:50:45.681] checking for getauxval... no [04:50:45.725] checking for getifaddrs... no [04:50:45.770] checking for getpeerucred... no [04:50:45.815] checking for inet_pton... yes [04:50:45.859] checking for kqueue... no [04:50:45.902] checking for localeconv_l... no [04:50:45.949] checking for mbstowcs_l... no [04:50:45.993] checking for posix_fallocate... no [04:50:46.037] checking for ppoll... no [04:50:46.083] checking for pthread_is_threaded_np... no [04:50:46.128] checking for setproctitle... no [04:50:46.174] checking for setproctitle_fast... no [04:50:46.220] checking for strsignal... no [04:50:46.264] checking for syncfs... no [04:50:46.309] checking for sync_file_range... no [04:50:46.354] checking for uselocale... no [04:50:46.398] checking for wcstombs_l... no [04:50:46.441] checking for __builtin_bswap16... yes [04:50:46.485] checking for __builtin_bswap32... yes [04:50:46.527] checking for __builtin_bswap64... yes [04:50:46.570] checking for __builtin_clz... yes [04:50:46.614] checking for __builtin_ctz... yes [04:50:46.656] checking for __builtin_popcount... yes [04:50:46.699] checking for __builtin_frame_address... yes [04:50:46.742] checking for _LARGEFILE_SOURCE value needed for large files... no [04:50:46.789] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:50:46.816] checking for posix_fadvise... no [04:50:46.863] checking whether posix_fadvise is declared... no [04:50:46.905] checking whether fdatasync is declared... no [04:50:46.946] checking whether strlcat is declared... no [04:50:47.003] checking whether strlcpy is declared... no [04:50:47.060] checking whether strnlen is declared... yes [04:50:47.072] checking whether strsep is declared... no [04:50:47.130] checking whether timingsafe_bcmp is declared... no [04:50:47.186] checking whether preadv is declared... no [04:50:47.220] checking whether pwritev is declared... no [04:50:47.252] checking whether strchrnul is declared... no [04:50:47.289] checking whether memset_s is declared... no [04:50:47.326] checking whether F_FULLFSYNC is declared... no [04:50:47.361] checking for explicit_bzero... no [04:50:47.404] checking for getopt... yes [04:50:47.444] checking for getpeereid... no [04:50:47.486] checking for inet_aton... no [04:50:47.528] checking for mkdtemp... no [04:50:47.571] checking for strlcat... no [04:50:47.614] checking for strlcpy... no [04:50:47.658] checking for strnlen... yes [04:50:47.701] checking for strsep... no [04:50:47.744] checking for timingsafe_bcmp... no [04:50:47.786] checking for pthread_barrier_wait... yes [04:50:47.825] configure: On mingw32 we will use our strtof wrapper. [04:50:47.825] checking for getopt_long... yes [04:50:47.865] checking for syslog... no [04:50:47.907] checking for opterr... yes [04:50:47.949] checking for optreset... no [04:50:47.995] checking test program... cross-compiling [04:50:47.995] checking size of void *... 8 [04:50:48.232] checking size of size_t... 8 [04:50:48.464] checking size of long... 4 [04:50:48.642] checking size of long long... 8 [04:50:48.879] checking alignment of short... 2 [04:50:49.000] checking alignment of int... 4 [04:50:49.179] checking alignment of long... 4 [04:50:49.359] checking alignment of int64_t... 8 [04:50:49.603] checking alignment of double... 8 [04:50:49.842] checking for __int128... yes [04:50:49.887] checking for __int128 alignment bug... assuming ok [04:50:49.887] checking alignment of PG_INT128_TYPE... 16 [04:50:50.182] checking for builtin __sync char locking functions... yes [04:50:50.220] checking for builtin __sync int32 locking functions... yes [04:50:50.258] checking for builtin __sync int32 atomic operations... yes [04:50:50.296] checking for builtin __sync int64 atomic operations... yes [04:50:50.335] checking for builtin __atomic int32 atomic operations... yes [04:50:50.374] checking for builtin __atomic int64 atomic operations... yes [04:50:50.413] checking for __get_cpuid... yes [04:50:50.456] checking for __get_cpuid_count... yes [04:50:50.496] checking for __cpuid... no [04:50:50.862] checking for __cpuidex... no [04:50:51.255] checking for _xgetbv... yes [04:50:51.629] checking for _mm512_popcnt_epi64... yes [04:50:52.015] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [04:50:52.106] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:50:52.127] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [04:50:52.144] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:50:52.162] 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 [04:50:52.212] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:50:52.212] checking for _mm512_clmulepi64_epi128... yes [04:50:52.592] checking for vectorized CRC-32C... AVX-512 with runtime check [04:50:52.593] checking which random number source to use... Windows native [04:50:52.594] checking for xmllint... /usr/bin/xmllint [04:50:52.595] checking for xsltproc... /usr/bin/xsltproc [04:50:52.595] checking for fop... /usr/bin/fop [04:50:52.595] checking for dbtoepub... no [04:50:52.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:50:52.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:50:52.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:50:52.605] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:50:52.606] 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 [04:50:52.606] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:50:52.606] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:50:52.686] configure: creating ./config.status [04:50:52.763] config.status: creating GNUmakefile [04:50:52.774] config.status: creating src/Makefile.global [04:50:52.789] config.status: creating src/include/pg_config.h [04:50:52.801] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:50:52.816] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:50:52.822] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:50:52.829] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:50:52.835] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:50:52.841] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:50:52.845] config.status: executing check_win32_symlinks commands [04:50:52.876] [04:50:52.876] real 0m14.386s [04:50:52.876] user 0m9.752s [04:50:52.876] sys 0m4.405s [04:50:52.876] make -s -j${BUILD_JOBS} clean [04:50:53.359] time make -s -j${BUILD_JOBS} world-bin [04:50:57.430] gininsert.c: In function ‘_gin_parallel_merge’: [04:50:57.430] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [04:50:57.430] 1673 | MemoryContext oldCtx; [04:50:57.430] | ^~~~~~ [04:50:57.430] gininsert.c:1619:23: note: shadowed declaration is here [04:50:57.430] 1619 | MemoryContext oldCtx; [04:50:57.430] | ^~~~~~ [04:50:57.430] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [04:50:57.430] cc1: all warnings being treated as errors [04:50:57.431] make[4]: *** [: gininsert.o] Error 1 [04:50:57.431] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [04:50:57.431] make[2]: *** [common.mk:37: access-recursive] Error 2 [04:50:57.431] make[2]: *** Waiting for unfinished jobs.... [04:51:00.659] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:51:00.660] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:51:00.660] [04:51:00.660] real 0m7.301s [04:51:00.660] user 0m16.150s [04:51:00.660] sys 0m5.377s [04:51:00.660] [04:51:00.660] Exit status: 2