[14:44:07.705] time ./configure \ [14:44:07.705] --host=x86_64-w64-mingw32 \ [14:44:07.705] --enable-cassert \ [14:44:07.705] --without-icu \ [14:44:07.705] CC="ccache x86_64-w64-mingw32-gcc" \ [14:44:07.705] CXX="ccache x86_64-w64-mingw32-g++" [14:44:07.829] checking build system type... x86_64-pc-linux-gnu [14:44:08.000] checking host system type... x86_64-w64-mingw32 [14:44:08.005] checking which template to use... win32 [14:44:08.005] checking whether NLS is wanted... no [14:44:08.005] checking for default port number... 5432 [14:44:08.013] checking for block size... 8kB [14:44:08.014] checking for segment size... 1GB [14:44:08.017] checking for WAL block size... 8kB [14:44:08.018] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:44:08.054] checking whether the C compiler works... yes [14:44:08.179] checking for C compiler default output file name... a.exe [14:44:08.181] checking for suffix of executables... .exe [14:44:08.224] checking whether we are cross compiling... yes [14:44:08.299] checking for suffix of object files... o [14:44:08.307] checking whether we are using the GNU C compiler... yes [14:44:08.315] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:44:08.323] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:44:08.333] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:44:08.400] checking whether we are using the GNU C++ compiler... yes [14:44:08.407] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:44:08.482] checking for gawk... no [14:44:08.482] checking for mawk... mawk [14:44:08.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:44:08.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:44:08.504] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:44:08.554] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:44:08.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:44:08.720] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:44:08.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:44:08.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:44:08.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:44:08.751] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:44:08.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:44:08.766] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:44:08.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:44:08.782] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:44:08.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:44:08.797] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:44:08.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:44:08.843] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:44:08.851] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:44:08.858] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:44:08.865] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:44:08.873] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:44:08.881] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:44:08.907] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:44:08.914] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:44:08.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:44:08.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:44:09.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:44:09.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:44:09.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:44:09.052] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:44:09.060] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:44:09.067] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:44:09.076] checking whether the C compiler still works... yes [14:44:09.142] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:44:09.217] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:44:09.217] checking pkg-config is at least version 0.9.0... yes [14:44:09.236] checking whether to build with ICU support... no [14:44:09.236] checking whether to build with Tcl... no [14:44:09.236] checking whether to build Perl modules... no [14:44:09.236] checking whether to build Python modules... no [14:44:09.236] checking whether to build with GSSAPI support... no [14:44:09.238] checking whether to build with PAM support... no [14:44:09.238] checking whether to build with BSD Authentication support... no [14:44:09.238] checking whether to build with LDAP support... no [14:44:09.238] checking whether to build with Bonjour support... no [14:44:09.238] checking whether to build with SELinux support... no [14:44:09.238] checking whether to build with systemd support... no [14:44:09.238] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:44:09.238] checking whether to build with liburing support... no [14:44:09.239] checking whether to build with libcurl support... no [14:44:09.239] checking whether to build with libnuma support... no [14:44:09.239] checking whether to build with XML support... no [14:44:09.240] checking whether to build with LZ4 support... no [14:44:09.240] checking whether to build with ZSTD support... no [14:44:09.240] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:44:09.240] checking whether it is possible to strip libraries... yes [14:44:09.247] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:44:09.247] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:44:09.248] checking for a BSD-compatible install... /usr/bin/install -c [14:44:09.257] checking for tar... /usr/bin/tar [14:44:09.258] checking whether ln -s works... yes [14:44:09.258] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:44:09.260] checking for bison... /usr/bin/bison [14:44:09.263] configure: using bison (GNU Bison) 3.8.2 [14:44:09.266] checking for flex... /usr/bin/flex [14:44:09.268] configure: using flex 2.6.4 [14:44:09.268] checking for perl... /usr/bin/perl [14:44:09.271] configure: using perl 5.36.0 [14:44:09.274] checking for zic... /usr/sbin/zic [14:44:09.274] checking for a sed that does not truncate output... /usr/bin/sed [14:44:09.280] checking for grep that handles long lines and -e... /usr/bin/grep [14:44:09.282] checking for egrep... /usr/bin/grep -E [14:44:09.283] checking for ANSI C header files... yes [14:44:09.333] checking for sys/types.h... yes [14:44:09.350] checking for sys/stat.h... yes [14:44:09.366] checking for stdlib.h... yes [14:44:09.381] checking for string.h... yes [14:44:09.395] checking for memory.h... yes [14:44:09.409] checking for strings.h... yes [14:44:09.424] checking for inttypes.h... yes [14:44:09.441] checking for stdint.h... yes [14:44:09.455] checking for unistd.h... yes [14:44:09.469] checking for main in -lm... yes [14:44:09.518] checking for library containing setproctitle... no [14:44:09.612] checking for library containing dlsym... no [14:44:09.705] checking for library containing socket... -lws2_32 [14:44:09.842] checking for library containing getopt_long... none required [14:44:09.893] checking for library containing shm_open... no [14:44:09.986] checking for library containing shm_unlink... no [14:44:10.080] checking for library containing clock_gettime... no [14:44:10.172] checking for library containing shmget... no [14:44:10.264] checking for library containing backtrace_symbols... no [14:44:10.358] checking for library containing pthread_barrier_wait... -lpthread [14:44:10.453] checking for inflate in -lz... yes [14:44:10.506] checking atomic.h usability... no [14:44:10.569] checking atomic.h presence... no [14:44:10.590] checking for atomic.h... no [14:44:10.594] checking copyfile.h usability... no [14:44:10.653] checking copyfile.h presence... no [14:44:10.674] checking for copyfile.h... no [14:44:10.678] checking execinfo.h usability... no [14:44:10.737] checking execinfo.h presence... no [14:44:10.757] checking for execinfo.h... no [14:44:10.761] checking getopt.h usability... yes [14:44:10.769] checking getopt.h presence... yes [14:44:10.786] checking for getopt.h... yes [14:44:10.794] checking ifaddrs.h usability... no [14:44:10.853] checking ifaddrs.h presence... no [14:44:10.874] checking for ifaddrs.h... no [14:44:10.877] checking mbarrier.h usability... no [14:44:10.935] checking mbarrier.h presence... no [14:44:10.956] checking for mbarrier.h... no [14:44:10.959] checking sys/epoll.h usability... no [14:44:11.017] checking sys/epoll.h presence... no [14:44:11.038] checking for sys/epoll.h... no [14:44:11.041] checking sys/event.h usability... no [14:44:11.098] checking sys/event.h presence... no [14:44:11.119] checking for sys/event.h... no [14:44:11.122] checking sys/personality.h usability... no [14:44:11.180] checking sys/personality.h presence... no [14:44:11.201] checking for sys/personality.h... no [14:44:11.204] checking sys/prctl.h usability... no [14:44:11.263] checking sys/prctl.h presence... no [14:44:11.282] checking for sys/prctl.h... no [14:44:11.285] checking sys/procctl.h usability... no [14:44:11.341] checking sys/procctl.h presence... no [14:44:11.359] checking for sys/procctl.h... no [14:44:11.362] checking sys/signalfd.h usability... no [14:44:11.415] checking sys/signalfd.h presence... no [14:44:11.433] checking for sys/signalfd.h... no [14:44:11.437] checking sys/ucred.h usability... no [14:44:11.491] checking sys/ucred.h presence... no [14:44:11.510] checking for sys/ucred.h... no [14:44:11.514] checking termios.h usability... no [14:44:11.571] checking termios.h presence... no [14:44:11.591] checking for termios.h... no [14:44:11.595] checking ucred.h usability... no [14:44:11.653] checking ucred.h presence... no [14:44:11.673] checking for ucred.h... no [14:44:11.677] checking xlocale.h usability... no [14:44:11.735] checking xlocale.h presence... no [14:44:11.754] checking for xlocale.h... no [14:44:11.757] checking zlib.h usability... yes [14:44:11.767] checking zlib.h presence... yes [14:44:11.787] checking for zlib.h... yes [14:44:11.787] checking for lz4... /usr/bin/lz4 [14:44:11.788] checking for zstd... /usr/bin/zstd [14:44:11.788] checking for openssl... /usr/bin/openssl [14:44:11.792] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:44:11.793] checking crtdefs.h usability... yes [14:44:11.801] checking crtdefs.h presence... yes [14:44:11.817] checking for crtdefs.h... yes [14:44:11.819] checking whether byte ordering is bigendian... no [14:44:11.896] checking for inline... inline [14:44:11.904] checking for printf format archetype... gnu_printf [14:44:11.913] checking for _Static_assert... yes [14:44:11.956] checking for typeof... typeof [14:44:11.963] checking for __builtin_types_compatible_p... yes [14:44:11.975] checking for __builtin_constant_p... yes [14:44:11.987] checking for __builtin_mul_overflow... yes [14:44:12.036] checking for __builtin_unreachable... yes [14:44:12.078] checking for computed goto support... yes [14:44:12.086] checking for struct tm.tm_zone... no [14:44:12.171] checking for union semun... no [14:44:12.208] checking for socklen_t... yes [14:44:13.480] checking for struct sockaddr.sa_len... no [14:44:15.668] checking for C/C++ restrict keyword... __restrict [14:44:15.682] checking for struct option... yes [14:44:15.727] checking whether assembler supports x86_64 popcntq... yes [14:44:15.735] checking size of off_t... 4 [14:44:15.948] 0 [14:44:15.948] checking for int timezone... yes [14:44:16.002] checking for backtrace_symbols... no [14:44:16.054] checking for copyfile... no [14:44:16.104] checking for copy_file_range... no [14:44:16.155] checking for elf_aux_info... no [14:44:16.206] checking for getauxval... no [14:44:16.259] checking for getifaddrs... no [14:44:16.311] checking for getpeerucred... no [14:44:16.362] checking for inet_pton... yes [14:44:16.414] checking for kqueue... no [14:44:16.466] checking for localeconv_l... no [14:44:16.519] checking for mbstowcs_l... no [14:44:16.572] checking for memset_s... no [14:44:16.625] checking for posix_fallocate... no [14:44:16.678] checking for ppoll... no [14:44:16.731] checking for pthread_is_threaded_np... no [14:44:16.785] checking for setproctitle... no [14:44:16.839] checking for setproctitle_fast... no [14:44:16.892] checking for strsignal... no [14:44:16.945] checking for syncfs... no [14:44:16.998] checking for sync_file_range... no [14:44:17.051] checking for uselocale... no [14:44:17.103] checking for wcstombs_l... no [14:44:17.153] checking for __builtin_bswap16... yes [14:44:17.203] checking for __builtin_bswap32... yes [14:44:17.254] checking for __builtin_bswap64... yes [14:44:17.304] checking for __builtin_clz... yes [14:44:17.355] checking for __builtin_ctz... yes [14:44:17.407] checking for __builtin_popcount... yes [14:44:17.457] checking for __builtin_frame_address... yes [14:44:17.508] checking for _LARGEFILE_SOURCE value needed for large files... no [14:44:17.564] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:44:17.597] checking for posix_fadvise... no [14:44:17.651] checking whether posix_fadvise is declared... no [14:44:17.699] checking whether fdatasync is declared... no [14:44:17.749] checking whether strlcat is declared... no [14:44:17.818] checking whether strlcpy is declared... no [14:44:17.886] checking whether strnlen is declared... yes [14:44:17.900] checking whether strsep is declared... no [14:44:17.967] checking whether timingsafe_bcmp is declared... no [14:44:18.035] checking whether preadv is declared... no [14:44:18.076] checking whether pwritev is declared... no [14:44:18.116] checking whether strchrnul is declared... no [14:44:18.160] checking whether F_FULLFSYNC is declared... no [14:44:18.203] checking for explicit_bzero... no [14:44:18.252] checking for getopt... yes [14:44:18.297] checking for getpeereid... no [14:44:18.346] checking for inet_aton... no [14:44:18.396] checking for mkdtemp... no [14:44:18.445] checking for strlcat... no [14:44:18.493] checking for strlcpy... no [14:44:18.547] checking for strnlen... yes [14:44:18.597] checking for strsep... no [14:44:18.645] checking for timingsafe_bcmp... no [14:44:18.695] checking for pthread_barrier_wait... yes [14:44:18.740] configure: On mingw32 we will use our strtof wrapper. [14:44:18.740] checking for getopt_long... yes [14:44:18.785] checking for syslog... no [14:44:18.836] checking for opterr... yes [14:44:18.887] checking for optreset... no [14:44:18.939] checking test program... cross-compiling [14:44:18.939] checking size of void *... 8 [14:44:19.230] checking size of size_t... 8 [14:44:19.516] checking size of long... 4 [14:44:19.736] checking size of long long... 8 [14:44:20.021] checking alignment of short... 2 [14:44:20.169] checking alignment of int... 4 [14:44:20.381] checking alignment of long... 4 [14:44:20.587] checking alignment of int64_t... 8 [14:44:20.871] checking alignment of double... 8 [14:44:21.161] checking for __int128... yes [14:44:21.215] checking for __int128 alignment bug... assuming ok [14:44:21.215] checking alignment of PG_INT128_TYPE... 16 [14:44:21.559] checking for builtin __sync char locking functions... yes [14:44:21.604] checking for builtin __sync int32 locking functions... yes [14:44:21.649] checking for builtin __sync int32 atomic operations... yes [14:44:21.693] checking for builtin __sync int64 atomic operations... yes [14:44:21.738] checking for builtin __atomic int32 atomic operations... yes [14:44:21.783] checking for builtin __atomic int64 atomic operations... yes [14:44:21.830] checking for __get_cpuid... yes [14:44:21.878] checking for __get_cpuid_count... yes [14:44:21.925] checking for __cpuid... no [14:44:22.337] checking for __cpuidex... no [14:44:22.771] checking for _xgetbv... yes [14:44:23.182] checking for _mm512_popcnt_epi64... yes [14:44:23.605] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:44:23.710] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:44:23.733] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:44:23.752] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:44:23.772] 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 [14:44:23.830] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:44:23.830] checking for _mm512_clmulepi64_epi128... yes [14:44:24.246] checking for vectorized CRC-32C... AVX-512 with runtime check [14:44:24.246] checking which random number source to use... Windows native [14:44:24.248] checking for xmllint... /usr/bin/xmllint [14:44:24.248] checking for xsltproc... /usr/bin/xsltproc [14:44:24.248] checking for fop... /usr/bin/fop [14:44:24.249] checking for dbtoepub... no [14:44:24.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:44:24.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:44:24.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:44:24.261] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:44:24.261] 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 [14:44:24.261] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:44:24.261] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:44:24.354] configure: creating ./config.status [14:44:24.444] config.status: creating GNUmakefile [14:44:24.457] config.status: creating src/Makefile.global [14:44:24.473] config.status: creating src/include/pg_config.h [14:44:24.486] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:44:24.502] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:44:24.510] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:44:24.518] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:44:24.525] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:44:24.533] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:44:24.536] config.status: executing check_win32_symlinks commands [14:44:24.571] [14:44:24.571] real 0m16.866s [14:44:24.571] user 0m11.336s [14:44:24.571] sys 0m5.272s [14:44:24.571] make -s -j${BUILD_JOBS} clean [14:44:25.111] time make -s -j${BUILD_JOBS} world-bin [14:44:30.795] postgres.c: In function ‘exec_simple_query’: [14:44:30.795] postgres.c:1107:33: error: declaration of ‘portal’ shadows a previous local [-Werror=shadow=compatible-local] [14:44:30.795] 1107 | Portal portal; [14:44:30.795] | ^~~~~~ [14:44:30.795] postgres.c:1021:25: note: shadowed declaration is here [14:44:30.795] 1021 | Portal portal; [14:44:30.795] | ^~~~~~ [14:44:30.795] cc1: all warnings being treated as errors [14:44:30.796] make[3]: *** [: postgres.o] Error 1 [14:44:30.796] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [14:44:30.796] make[2]: *** Waiting for unfinished jobs.... [14:44:31.272] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:44:31.272] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:44:31.273] [14:44:31.273] real 0m6.162s [14:44:31.273] user 0m10.446s [14:44:31.273] sys 0m7.023s [14:44:31.273] [14:44:31.273] Exit status: 2