[12:41:45.162] time ./configure \ [12:41:45.162] --host=x86_64-w64-mingw32 \ [12:41:45.162] --enable-cassert \ [12:41:45.162] --without-icu \ [12:41:45.162] CC="ccache x86_64-w64-mingw32-gcc" \ [12:41:45.162] CXX="ccache x86_64-w64-mingw32-g++" [12:41:45.280] checking build system type... x86_64-pc-linux-gnu [12:41:45.471] checking host system type... x86_64-w64-mingw32 [12:41:45.476] checking which template to use... win32 [12:41:45.477] checking whether NLS is wanted... no [12:41:45.477] checking for default port number... 5432 [12:41:45.484] checking for block size... 8kB [12:41:45.485] checking for segment size... 1GB [12:41:45.487] checking for WAL block size... 8kB [12:41:45.489] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:41:45.523] checking whether the C compiler works... yes [12:41:45.654] checking for C compiler default output file name... a.exe [12:41:45.656] checking for suffix of executables... .exe [12:41:45.698] checking whether we are cross compiling... yes [12:41:45.776] checking for suffix of object files... o [12:41:45.785] checking whether we are using the GNU C compiler... yes [12:41:45.792] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:41:45.799] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:41:45.809] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:41:45.869] checking whether we are using the GNU C++ compiler... yes [12:41:45.876] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:41:45.946] checking for gawk... no [12:41:45.946] checking for mawk... mawk [12:41:45.949] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:41:45.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:41:45.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:41:46.010] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:41:46.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:41:46.185] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:41:46.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:41:46.198] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:41:46.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:41:46.212] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:41:46.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:41:46.227] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:41:46.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:41:46.242] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:41:46.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:41:46.257] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:41:46.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:41:46.303] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:41:46.310] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:41:46.317] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:41:46.324] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:41:46.331] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:41:46.339] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:41:46.363] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:41:46.370] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:41:46.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:41:46.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:41:46.456] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:41:46.464] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:41:46.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:41:46.507] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:41:46.514] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:41:46.521] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:41:46.530] checking whether the C compiler still works... yes [12:41:46.594] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:41:46.668] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:41:46.669] checking pkg-config is at least version 0.9.0... yes [12:41:46.685] checking whether to build with ICU support... no [12:41:46.686] checking whether to build with Tcl... no [12:41:46.686] checking whether to build Perl modules... no [12:41:46.686] checking whether to build Python modules... no [12:41:46.686] checking whether to build with GSSAPI support... no [12:41:46.687] checking whether to build with PAM support... no [12:41:46.687] checking whether to build with BSD Authentication support... no [12:41:46.687] checking whether to build with LDAP support... no [12:41:46.688] checking whether to build with Bonjour support... no [12:41:46.688] checking whether to build with SELinux support... no [12:41:46.688] checking whether to build with systemd support... no [12:41:46.688] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:41:46.688] checking whether to build with liburing support... no [12:41:46.688] checking whether to build with libcurl support... no [12:41:46.688] checking whether to build with libnuma support... no [12:41:46.689] checking whether to build with XML support... no [12:41:46.689] checking whether to build with LZ4 support... no [12:41:46.689] checking whether to build with ZSTD support... no [12:41:46.689] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:41:46.690] checking whether it is possible to strip libraries... yes [12:41:46.702] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:41:46.702] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:41:46.702] checking for a BSD-compatible install... /usr/bin/install -c [12:41:46.712] checking for tar... /usr/bin/tar [12:41:46.712] checking whether ln -s works... yes [12:41:46.712] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:41:46.715] checking for bison... /usr/bin/bison [12:41:46.717] configure: using bison (GNU Bison) 3.8.2 [12:41:46.720] checking for flex... /usr/bin/flex [12:41:46.722] configure: using flex 2.6.4 [12:41:46.722] checking for perl... /usr/bin/perl [12:41:46.725] configure: using perl 5.36.0 [12:41:46.728] checking for zic... /usr/sbin/zic [12:41:46.728] checking for a sed that does not truncate output... /usr/bin/sed [12:41:46.733] checking for grep that handles long lines and -e... /usr/bin/grep [12:41:46.736] checking for egrep... /usr/bin/grep -E [12:41:46.737] checking for ANSI C header files... yes [12:41:46.786] checking for sys/types.h... yes [12:41:46.802] checking for sys/stat.h... yes [12:41:46.819] checking for stdlib.h... yes [12:41:46.834] checking for string.h... yes [12:41:46.848] checking for memory.h... yes [12:41:46.865] checking for strings.h... yes [12:41:46.881] checking for inttypes.h... yes [12:41:46.898] checking for stdint.h... yes [12:41:46.913] checking for unistd.h... yes [12:41:46.930] checking for main in -lm... yes [12:41:46.978] checking for library containing setproctitle... no [12:41:47.070] checking for library containing dlsym... no [12:41:47.158] checking for library containing socket... -lws2_32 [12:41:47.292] checking for library containing getopt_long... none required [12:41:47.340] checking for library containing shm_open... no [12:41:47.436] checking for library containing shm_unlink... no [12:41:47.526] checking for library containing clock_gettime... no [12:41:47.616] checking for library containing shmget... no [12:41:47.707] checking for library containing backtrace_symbols... no [12:41:47.798] checking for library containing pthread_barrier_wait... -lpthread [12:41:47.890] checking for inflate in -lz... yes [12:41:47.940] checking atomic.h usability... no [12:41:48.000] checking atomic.h presence... no [12:41:48.020] checking for atomic.h... no [12:41:48.023] checking copyfile.h usability... no [12:41:48.077] checking copyfile.h presence... no [12:41:48.097] checking for copyfile.h... no [12:41:48.100] checking execinfo.h usability... no [12:41:48.158] checking execinfo.h presence... no [12:41:48.178] checking for execinfo.h... no [12:41:48.182] checking getopt.h usability... yes [12:41:48.190] checking getopt.h presence... yes [12:41:48.206] checking for getopt.h... yes [12:41:48.214] checking ifaddrs.h usability... no [12:41:48.269] checking ifaddrs.h presence... no [12:41:48.289] checking for ifaddrs.h... no [12:41:48.292] checking mbarrier.h usability... no [12:41:48.349] checking mbarrier.h presence... no [12:41:48.368] checking for mbarrier.h... no [12:41:48.372] checking sys/epoll.h usability... no [12:41:48.429] checking sys/epoll.h presence... no [12:41:48.448] checking for sys/epoll.h... no [12:41:48.451] checking sys/event.h usability... no [12:41:48.507] checking sys/event.h presence... no [12:41:48.526] checking for sys/event.h... no [12:41:48.529] checking sys/personality.h usability... no [12:41:48.585] checking sys/personality.h presence... no [12:41:48.604] checking for sys/personality.h... no [12:41:48.607] checking sys/prctl.h usability... no [12:41:48.664] checking sys/prctl.h presence... no [12:41:48.683] checking for sys/prctl.h... no [12:41:48.687] checking sys/procctl.h usability... no [12:41:48.743] checking sys/procctl.h presence... no [12:41:48.762] checking for sys/procctl.h... no [12:41:48.766] checking sys/signalfd.h usability... no [12:41:48.822] checking sys/signalfd.h presence... no [12:41:48.842] checking for sys/signalfd.h... no [12:41:48.845] checking sys/ucred.h usability... no [12:41:48.902] checking sys/ucred.h presence... no [12:41:48.921] checking for sys/ucred.h... no [12:41:48.925] checking termios.h usability... no [12:41:48.980] checking termios.h presence... no [12:41:48.999] checking for termios.h... no [12:41:49.002] checking ucred.h usability... no [12:41:49.059] checking ucred.h presence... no [12:41:49.078] checking for ucred.h... no [12:41:49.081] checking xlocale.h usability... no [12:41:49.138] checking xlocale.h presence... no [12:41:49.157] checking for xlocale.h... no [12:41:49.160] checking zlib.h usability... yes [12:41:49.170] checking zlib.h presence... yes [12:41:49.189] checking for zlib.h... yes [12:41:49.190] checking for lz4... /usr/bin/lz4 [12:41:49.190] checking for zstd... /usr/bin/zstd [12:41:49.190] checking for openssl... /usr/bin/openssl [12:41:49.195] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [12:41:49.195] checking crtdefs.h usability... yes [12:41:49.203] checking crtdefs.h presence... yes [12:41:49.219] checking for crtdefs.h... yes [12:41:49.220] checking whether byte ordering is bigendian... no [12:41:49.298] checking for inline... inline [12:41:49.306] checking for printf format archetype... gnu_printf [12:41:49.314] checking for _Static_assert... yes [12:41:49.355] checking for typeof... typeof [12:41:49.363] checking for __builtin_types_compatible_p... yes [12:41:49.375] checking for __builtin_constant_p... yes [12:41:49.386] checking for __builtin_mul_overflow... yes [12:41:49.434] checking for __builtin_unreachable... yes [12:41:49.476] checking for computed goto support... yes [12:41:49.484] checking for struct tm.tm_zone... no [12:41:49.565] checking for union semun... no [12:41:49.600] checking for socklen_t... yes [12:41:50.825] checking for struct sockaddr.sa_len... no [12:41:52.989] checking for C/C++ restrict keyword... __restrict [12:41:53.002] checking for struct option... yes [12:41:53.046] checking whether assembler supports x86_64 popcntq... yes [12:41:53.055] checking size of off_t... 4 [12:41:53.268] 0 [12:41:53.268] checking for int timezone... yes [12:41:53.323] checking for backtrace_symbols... no [12:41:53.375] checking for copyfile... no [12:41:53.427] checking for copy_file_range... no [12:41:53.479] checking for elf_aux_info... no [12:41:53.530] checking for getauxval... no [12:41:53.582] checking for getifaddrs... no [12:41:53.634] checking for getpeerucred... no [12:41:53.685] checking for inet_pton... yes [12:41:53.736] checking for kqueue... no [12:41:53.789] checking for localeconv_l... no [12:41:53.840] checking for mbstowcs_l... no [12:41:53.892] checking for memset_s... no [12:41:53.945] checking for posix_fallocate... no [12:41:53.997] checking for ppoll... no [12:41:54.046] checking for pthread_is_threaded_np... no [12:41:54.097] checking for setproctitle... no [12:41:54.149] checking for setproctitle_fast... no [12:41:54.201] checking for strsignal... no [12:41:54.253] checking for syncfs... no [12:41:54.305] checking for sync_file_range... no [12:41:54.357] checking for uselocale... no [12:41:54.408] checking for wcstombs_l... no [12:41:54.456] checking for __builtin_bswap16... yes [12:41:54.507] checking for __builtin_bswap32... yes [12:41:54.557] checking for __builtin_bswap64... yes [12:41:54.605] checking for __builtin_clz... yes [12:41:54.655] checking for __builtin_ctz... yes [12:41:54.704] checking for __builtin_popcount... yes [12:41:54.754] checking for __builtin_frame_address... yes [12:41:54.804] checking for _LARGEFILE_SOURCE value needed for large files... no [12:41:54.858] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:41:54.891] checking for posix_fadvise... no [12:41:54.945] checking whether posix_fadvise is declared... no [12:41:54.993] checking whether fdatasync is declared... no [12:41:55.043] checking whether strlcat is declared... no [12:41:55.110] checking whether strlcpy is declared... no [12:41:55.175] checking whether strnlen is declared... yes [12:41:55.189] checking whether strsep is declared... no [12:41:55.255] checking whether timingsafe_bcmp is declared... no [12:41:55.322] checking whether preadv is declared... no [12:41:55.362] checking whether pwritev is declared... no [12:41:55.401] checking whether strchrnul is declared... no [12:41:55.445] checking whether F_FULLFSYNC is declared... no [12:41:55.487] checking for explicit_bzero... no [12:41:55.535] checking for getopt... yes [12:41:55.580] checking for getpeereid... no [12:41:55.629] checking for inet_aton... no [12:41:55.678] checking for mkdtemp... no [12:41:55.727] checking for strlcat... no [12:41:55.776] checking for strlcpy... no [12:41:55.824] checking for strnlen... yes [12:41:55.871] checking for strsep... no [12:41:55.918] checking for timingsafe_bcmp... no [12:41:55.966] checking for pthread_barrier_wait... yes [12:41:56.011] configure: On mingw32 we will use our strtof wrapper. [12:41:56.011] checking for getopt_long... yes [12:41:56.058] checking for syslog... no [12:41:56.107] checking for opterr... yes [12:41:56.155] checking for optreset... no [12:41:56.208] checking test program... cross-compiling [12:41:56.208] checking size of void *... 8 [12:41:56.485] checking size of size_t... 8 [12:41:56.755] checking size of long... 4 [12:41:56.959] checking size of long long... 8 [12:41:57.223] checking alignment of short... 2 [12:41:57.357] checking alignment of int... 4 [12:41:57.561] checking alignment of long... 4 [12:41:57.762] checking alignment of int64_t... 8 [12:41:58.033] checking alignment of double... 8 [12:41:58.303] checking for __int128... yes [12:41:58.354] checking for __int128 alignment bug... assuming ok [12:41:58.354] checking alignment of PG_INT128_TYPE... 16 [12:41:58.683] checking for builtin __sync char locking functions... yes [12:41:58.726] checking for builtin __sync int32 locking functions... yes [12:41:58.768] checking for builtin __sync int32 atomic operations... yes [12:41:58.810] checking for builtin __sync int64 atomic operations... yes [12:41:58.855] checking for builtin __atomic int32 atomic operations... yes [12:41:58.897] checking for builtin __atomic int64 atomic operations... yes [12:41:58.942] checking for __get_cpuid... yes [12:41:58.989] checking for __get_cpuid_count... yes [12:41:59.033] checking for __cpuid... no [12:41:59.425] checking for __cpuidex... no [12:41:59.851] checking for _xgetbv... yes [12:42:00.256] checking for _mm512_popcnt_epi64... yes [12:42:00.671] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:42:00.771] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:42:00.794] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:42:00.814] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:42:00.833] 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 [12:42:00.890] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:42:00.890] checking for _mm512_clmulepi64_epi128... yes [12:42:01.298] checking for vectorized CRC-32C... AVX-512 with runtime check [12:42:01.298] checking which random number source to use... Windows native [12:42:01.300] checking for xmllint... /usr/bin/xmllint [12:42:01.300] checking for xsltproc... /usr/bin/xsltproc [12:42:01.301] checking for fop... /usr/bin/fop [12:42:01.301] checking for dbtoepub... no [12:42:01.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:42:01.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:42:01.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:42:01.312] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:42:01.312] 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 [12:42:01.312] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:42:01.312] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:42:01.395] configure: creating ./config.status [12:42:01.476] config.status: creating GNUmakefile [12:42:01.487] config.status: creating src/Makefile.global [12:42:01.502] config.status: creating src/include/pg_config.h [12:42:01.513] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:42:01.528] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:42:01.534] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:42:01.541] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:42:01.548] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:42:01.554] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:42:01.557] config.status: executing check_win32_symlinks commands [12:42:01.592] [12:42:01.592] real 0m16.430s [12:42:01.592] user 0m10.954s [12:42:01.592] sys 0m5.154s [12:42:01.592] make -s -j${BUILD_JOBS} clean [12:42:02.097] time make -s -j${BUILD_JOBS} world-bin [12:42:06.124] gininsert.c: In function ‘_gin_parallel_merge’: [12:42:06.124] gininsert.c:1673:31: error: declaration of ‘oldCtx’ shadows a previous local [-Werror=shadow=compatible-local] [12:42:06.124] 1673 | MemoryContext oldCtx; [12:42:06.124] | ^~~~~~ [12:42:06.124] gininsert.c:1619:23: note: shadowed declaration is here [12:42:06.124] 1619 | MemoryContext oldCtx; [12:42:06.124] | ^~~~~~ [12:42:06.124] gininsert.c:1619:23: error: unused variable ‘oldCtx’ [-Werror=unused-variable] [12:42:06.124] cc1: all warnings being treated as errors [12:42:06.125] make[4]: *** [: gininsert.o] Error 1 [12:42:06.125] make[3]: *** [../../../src/backend/common.mk:37: gin-recursive] Error 2 [12:42:06.125] make[2]: *** [common.mk:37: access-recursive] Error 2 [12:42:06.125] make[2]: *** Waiting for unfinished jobs.... [12:42:06.269] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:42:06.269] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:42:06.269] [12:42:06.269] real 0m4.172s [12:42:06.269] user 0m7.219s [12:42:06.269] sys 0m4.474s [12:42:06.269] [12:42:06.269] Exit status: 2