[21:03:52.688] time ./configure \ [21:03:52.688] --host=x86_64-w64-mingw32 \ [21:03:52.688] --enable-cassert \ [21:03:52.688] --without-icu \ [21:03:52.688] CC="ccache x86_64-w64-mingw32-gcc" \ [21:03:52.688] CXX="ccache x86_64-w64-mingw32-g++" [21:03:52.811] checking build system type... x86_64-pc-linux-gnu [21:03:53.001] checking host system type... x86_64-w64-mingw32 [21:03:53.006] checking which template to use... win32 [21:03:53.006] checking whether NLS is wanted... no [21:03:53.006] checking for default port number... 5432 [21:03:53.014] checking for block size... 8kB [21:03:53.015] checking for segment size... 1GB [21:03:53.018] checking for WAL block size... 8kB [21:03:53.019] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:03:53.055] checking whether the C compiler works... yes [21:03:53.192] checking for C compiler default output file name... a.exe [21:03:53.193] checking for suffix of executables... .exe [21:03:53.235] checking whether we are cross compiling... yes [21:03:53.315] checking for suffix of object files... o [21:03:53.324] checking whether we are using the GNU C compiler... yes [21:03:53.331] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:03:53.338] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:03:53.350] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:03:53.412] checking whether we are using the GNU C++ compiler... yes [21:03:53.418] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:03:53.490] checking for gawk... no [21:03:53.490] checking for mawk... mawk [21:03:53.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:03:53.500] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:03:53.507] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:03:53.555] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:03:53.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:03:53.729] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:03:53.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:03:53.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:03:53.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:03:53.758] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:03:53.765] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:03:53.773] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:03:53.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:03:53.788] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:03:53.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:03:53.802] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:03:53.809] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:03:53.847] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:03:53.855] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:03:53.862] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:03:53.869] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:03:53.876] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:03:53.883] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:03:53.908] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:03:53.916] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:03:53.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:03:53.962] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:03:54.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:03:54.010] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:03:54.017] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:03:54.054] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:03:54.062] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:03:54.070] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:03:54.078] checking whether the C compiler still works... yes [21:03:54.146] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:03:54.224] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:03:54.224] checking pkg-config is at least version 0.9.0... yes [21:03:54.243] checking whether to build with ICU support... no [21:03:54.243] checking whether to build with Tcl... no [21:03:54.243] checking whether to build Perl modules... no [21:03:54.243] checking whether to build Python modules... no [21:03:54.243] checking whether to build with GSSAPI support... no [21:03:54.244] checking whether to build with PAM support... no [21:03:54.245] checking whether to build with BSD Authentication support... no [21:03:54.245] checking whether to build with LDAP support... no [21:03:54.245] checking whether to build with Bonjour support... no [21:03:54.245] checking whether to build with SELinux support... no [21:03:54.245] checking whether to build with systemd support... no [21:03:54.245] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:03:54.245] checking whether to build with liburing support... no [21:03:54.245] checking whether to build with libcurl support... no [21:03:54.246] checking whether to build with libnuma support... no [21:03:54.246] checking whether to build with XML support... no [21:03:54.246] checking whether to build with LZ4 support... no [21:03:54.246] checking whether to build with ZSTD support... no [21:03:54.247] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:03:54.247] checking whether it is possible to strip libraries... yes [21:03:54.255] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:03:54.255] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:03:54.256] checking for a BSD-compatible install... /usr/bin/install -c [21:03:54.265] checking for tar... /usr/bin/tar [21:03:54.266] checking whether ln -s works... yes [21:03:54.266] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:03:54.268] checking for bison... /usr/bin/bison [21:03:54.270] configure: using bison (GNU Bison) 3.8.2 [21:03:54.273] checking for flex... /usr/bin/flex [21:03:54.275] configure: using flex 2.6.4 [21:03:54.275] checking for perl... /usr/bin/perl [21:03:54.278] configure: using perl 5.36.0 [21:03:54.280] checking for zic... /usr/sbin/zic [21:03:54.281] checking for a sed that does not truncate output... /usr/bin/sed [21:03:54.286] checking for grep that handles long lines and -e... /usr/bin/grep [21:03:54.288] checking for egrep... /usr/bin/grep -E [21:03:54.290] checking for ANSI C header files... yes [21:03:54.338] checking for sys/types.h... yes [21:03:54.355] checking for sys/stat.h... yes [21:03:54.372] checking for stdlib.h... yes [21:03:54.388] checking for string.h... yes [21:03:54.404] checking for memory.h... yes [21:03:54.421] checking for strings.h... yes [21:03:54.438] checking for inttypes.h... yes [21:03:54.456] checking for stdint.h... yes [21:03:54.471] checking for unistd.h... yes [21:03:54.489] checking for main in -lm... yes [21:03:54.540] checking for library containing setproctitle... no [21:03:54.635] checking for library containing dlsym... no [21:03:54.727] checking for library containing socket... -lws2_32 [21:03:54.865] checking for library containing getopt_long... none required [21:03:54.914] checking for library containing shm_open... no [21:03:55.005] checking for library containing shm_unlink... no [21:03:55.094] checking for library containing clock_gettime... no [21:03:55.185] checking for library containing shmget... no [21:03:55.280] checking for library containing backtrace_symbols... no [21:03:55.374] checking for library containing pthread_barrier_wait... -lpthread [21:03:55.467] checking for inflate in -lz... yes [21:03:55.519] checking atomic.h usability... no [21:03:55.583] checking atomic.h presence... no [21:03:55.604] checking for atomic.h... no [21:03:55.608] checking copyfile.h usability... no [21:03:55.666] checking copyfile.h presence... no [21:03:55.686] checking for copyfile.h... no [21:03:55.690] checking execinfo.h usability... no [21:03:55.749] checking execinfo.h presence... no [21:03:55.769] checking for execinfo.h... no [21:03:55.772] checking getopt.h usability... yes [21:03:55.780] checking getopt.h presence... yes [21:03:55.796] checking for getopt.h... yes [21:03:55.804] checking ifaddrs.h usability... no [21:03:55.862] checking ifaddrs.h presence... no [21:03:55.881] checking for ifaddrs.h... no [21:03:55.885] checking mbarrier.h usability... no [21:03:55.942] checking mbarrier.h presence... no [21:03:55.962] checking for mbarrier.h... no [21:03:55.965] checking sys/epoll.h usability... no [21:03:56.022] checking sys/epoll.h presence... no [21:03:56.043] checking for sys/epoll.h... no [21:03:56.047] checking sys/event.h usability... no [21:03:56.105] checking sys/event.h presence... no [21:03:56.126] checking for sys/event.h... no [21:03:56.130] checking sys/personality.h usability... no [21:03:56.184] checking sys/personality.h presence... no [21:03:56.204] checking for sys/personality.h... no [21:03:56.207] checking sys/prctl.h usability... no [21:03:56.264] checking sys/prctl.h presence... no [21:03:56.284] checking for sys/prctl.h... no [21:03:56.287] checking sys/procctl.h usability... no [21:03:56.344] checking sys/procctl.h presence... no [21:03:56.365] checking for sys/procctl.h... no [21:03:56.368] checking sys/signalfd.h usability... no [21:03:56.424] checking sys/signalfd.h presence... no [21:03:56.444] checking for sys/signalfd.h... no [21:03:56.448] checking sys/ucred.h usability... no [21:03:56.503] checking sys/ucred.h presence... no [21:03:56.523] checking for sys/ucred.h... no [21:03:56.527] checking termios.h usability... no [21:03:56.584] checking termios.h presence... no [21:03:56.605] checking for termios.h... no [21:03:56.609] checking ucred.h usability... no [21:03:56.668] checking ucred.h presence... no [21:03:56.689] checking for ucred.h... no [21:03:56.692] checking xlocale.h usability... no [21:03:56.750] checking xlocale.h presence... no [21:03:56.770] checking for xlocale.h... no [21:03:56.773] checking zlib.h usability... yes [21:03:56.785] checking zlib.h presence... yes [21:03:56.805] checking for zlib.h... yes [21:03:56.805] checking for lz4... /usr/bin/lz4 [21:03:56.806] checking for zstd... /usr/bin/zstd [21:03:56.806] checking for openssl... /usr/bin/openssl [21:03:56.810] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [21:03:56.811] checking crtdefs.h usability... yes [21:03:56.819] checking crtdefs.h presence... yes [21:03:56.835] checking for crtdefs.h... yes [21:03:56.836] checking whether byte ordering is bigendian... no [21:03:56.915] checking for inline... inline [21:03:56.923] checking for printf format archetype... gnu_printf [21:03:56.932] checking for _Static_assert... yes [21:03:56.975] checking for typeof... typeof [21:03:56.983] checking for __builtin_types_compatible_p... yes [21:03:56.994] checking for __builtin_constant_p... yes [21:03:57.005] checking for __builtin_mul_overflow... yes [21:03:57.055] checking for __builtin_unreachable... yes [21:03:57.096] checking for computed goto support... yes [21:03:57.104] checking for struct tm.tm_zone... no [21:03:57.187] checking for union semun... no [21:03:57.223] checking for socklen_t... yes [21:03:58.461] checking for struct sockaddr.sa_len... no [21:04:00.601] checking for C/C++ restrict keyword... __restrict [21:04:00.615] checking for struct option... yes [21:04:00.660] checking whether assembler supports x86_64 popcntq... yes [21:04:00.668] checking size of off_t... 4 [21:04:00.879] 0 [21:04:00.880] checking for int timezone... yes [21:04:00.933] checking for backtrace_symbols... no [21:04:00.984] checking for copyfile... no [21:04:01.035] checking for copy_file_range... no [21:04:01.087] checking for elf_aux_info... no [21:04:01.139] checking for getauxval... no [21:04:01.191] checking for getifaddrs... no [21:04:01.242] checking for getpeerucred... no [21:04:01.294] checking for inet_pton... yes [21:04:01.346] checking for kqueue... no [21:04:01.399] checking for localeconv_l... no [21:04:01.451] checking for mbstowcs_l... no [21:04:01.502] checking for posix_fallocate... no [21:04:01.555] checking for ppoll... no [21:04:01.608] checking for pthread_is_threaded_np... no [21:04:01.659] checking for setproctitle... no [21:04:01.713] checking for setproctitle_fast... no [21:04:01.767] checking for strsignal... no [21:04:01.818] checking for syncfs... no [21:04:01.870] checking for sync_file_range... no [21:04:01.924] checking for uselocale... no [21:04:01.976] checking for wcstombs_l... no [21:04:02.027] checking for __builtin_bswap16... yes [21:04:02.077] checking for __builtin_bswap32... yes [21:04:02.127] checking for __builtin_bswap64... yes [21:04:02.177] checking for __builtin_clz... yes [21:04:02.227] checking for __builtin_ctz... yes [21:04:02.276] checking for __builtin_popcount... yes [21:04:02.325] checking for __builtin_frame_address... yes [21:04:02.374] checking for _LARGEFILE_SOURCE value needed for large files... no [21:04:02.428] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:04:02.461] checking for posix_fadvise... no [21:04:02.514] checking whether posix_fadvise is declared... no [21:04:02.563] checking whether fdatasync is declared... no [21:04:02.614] checking whether strlcat is declared... no [21:04:02.680] checking whether strlcpy is declared... no [21:04:02.749] checking whether strnlen is declared... yes [21:04:02.763] checking whether strsep is declared... no [21:04:02.829] checking whether timingsafe_bcmp is declared... no [21:04:02.895] checking whether preadv is declared... no [21:04:02.932] checking whether pwritev is declared... no [21:04:02.970] checking whether strchrnul is declared... no [21:04:03.014] checking whether memset_s is declared... no [21:04:03.058] checking whether F_FULLFSYNC is declared... no [21:04:03.100] checking for explicit_bzero... no [21:04:03.148] checking for getopt... yes [21:04:03.192] checking for getpeereid... no [21:04:03.241] checking for inet_aton... no [21:04:03.289] checking for mkdtemp... no [21:04:03.337] checking for strlcat... no [21:04:03.387] checking for strlcpy... no [21:04:03.435] checking for strnlen... yes [21:04:03.482] checking for strsep... no [21:04:03.530] checking for timingsafe_bcmp... no [21:04:03.579] checking for pthread_barrier_wait... yes [21:04:03.625] configure: On mingw32 we will use our strtof wrapper. [21:04:03.625] checking for getopt_long... yes [21:04:03.670] checking for syslog... no [21:04:03.719] checking for opterr... yes [21:04:03.767] checking for optreset... no [21:04:03.819] checking test program... cross-compiling [21:04:03.819] checking size of void *... 8 [21:04:04.092] checking size of size_t... 8 [21:04:04.357] checking size of long... 4 [21:04:04.567] checking size of long long... 8 [21:04:04.846] checking alignment of short... 2 [21:04:04.986] checking alignment of int... 4 [21:04:05.201] checking alignment of long... 4 [21:04:05.409] checking alignment of int64_t... 8 [21:04:05.685] checking alignment of double... 8 [21:04:05.968] checking for __int128... yes [21:04:06.020] checking for __int128 alignment bug... assuming ok [21:04:06.020] checking alignment of PG_INT128_TYPE... 16 [21:04:06.368] checking for builtin __sync char locking functions... yes [21:04:06.412] checking for builtin __sync int32 locking functions... yes [21:04:06.455] checking for builtin __sync int32 atomic operations... yes [21:04:06.498] checking for builtin __sync int64 atomic operations... yes [21:04:06.544] checking for builtin __atomic int32 atomic operations... yes [21:04:06.588] checking for builtin __atomic int64 atomic operations... yes [21:04:06.633] checking for __get_cpuid... yes [21:04:06.681] checking for __get_cpuid_count... yes [21:04:06.726] checking for __cpuid... no [21:04:07.139] checking for __cpuidex... no [21:04:07.561] checking for _xgetbv... yes [21:04:07.975] checking for _mm512_popcnt_epi64... yes [21:04:08.391] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:04:08.496] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:04:08.521] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:04:08.542] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:04:08.562] 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:04:08.621] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:04:08.621] checking for _mm512_clmulepi64_epi128... yes [21:04:09.038] checking for vectorized CRC-32C... AVX-512 with runtime check [21:04:09.038] checking which random number source to use... Windows native [21:04:09.040] checking for xmllint... /usr/bin/xmllint [21:04:09.041] checking for xsltproc... /usr/bin/xsltproc [21:04:09.041] checking for fop... /usr/bin/fop [21:04:09.041] checking for dbtoepub... no [21:04:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:04:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:04:09.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:04:09.053] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:04:09.053] 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:04:09.053] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:04:09.053] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:04:09.146] configure: creating ./config.status [21:04:09.236] config.status: creating GNUmakefile [21:04:09.249] config.status: creating src/Makefile.global [21:04:09.266] config.status: creating src/include/pg_config.h [21:04:09.279] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:04:09.295] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:04:09.303] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:04:09.310] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:04:09.317] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:04:09.325] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:04:09.329] config.status: executing check_win32_symlinks commands [21:04:09.364] [21:04:09.364] real 0m16.676s [21:04:09.364] user 0m11.181s [21:04:09.364] sys 0m5.165s [21:04:09.364] make -s -j${BUILD_JOBS} clean [21:04:09.883] time make -s -j${BUILD_JOBS} world-bin [21:04:14.068] gininsert.c: In function ‘_gin_parallel_merge’: [21:04:14.068] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [21:04:14.068] 1673 | MemoryContext oldCtx; [21:04:14.068] | ^~~~~~ [21:04:14.068] gininsert.c:1619:23: note: shadowed declaration is here [21:04:14.068] 1619 | MemoryContext oldCtx; [21:04:14.068] | ^~~~~~ [21:04:14.068] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [21:04:14.068] cc1: all warnings being treated as errors [21:04:14.068] make[4]: *** [: gininsert.o] Error 1 [21:04:14.068] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [21:04:14.069] make[2]: *** [common.mk:37: access-recursive] Error 2 [21:04:14.069] make[2]: *** Waiting for unfinished jobs.... [21:04:14.292] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:04:14.293] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:04:14.293] [21:04:14.293] real 0m4.410s [21:04:14.293] user 0m7.571s [21:04:14.293] sys 0m4.984s [21:04:14.293] [21:04:14.293] Exit status: 2