[16:20:53.885] time ./configure \ [16:20:53.885] --host=x86_64-w64-mingw32 \ [16:20:53.885] --enable-cassert \ [16:20:53.885] --without-icu \ [16:20:53.885] CC="ccache x86_64-w64-mingw32-gcc" \ [16:20:53.885] CXX="ccache x86_64-w64-mingw32-g++" [16:20:53.999] checking build system type... x86_64-pc-linux-gnu [16:20:54.179] checking host system type... x86_64-w64-mingw32 [16:20:54.184] checking which template to use... win32 [16:20:54.184] checking whether NLS is wanted... no [16:20:54.185] checking for default port number... 5432 [16:20:54.191] checking for block size... 8kB [16:20:54.192] checking for segment size... 1GB [16:20:54.194] checking for WAL block size... 8kB [16:20:54.195] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:20:54.227] checking whether the C compiler works... yes [16:20:54.348] checking for C compiler default output file name... a.exe [16:20:54.349] checking for suffix of executables... .exe [16:20:54.391] checking whether we are cross compiling... yes [16:20:54.466] checking for suffix of object files... o [16:20:54.475] checking whether we are using the GNU C compiler... yes [16:20:54.481] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:20:54.488] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:20:54.498] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:20:54.557] checking whether we are using the GNU C++ compiler... yes [16:20:54.563] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:20:54.632] checking for gawk... no [16:20:54.632] checking for mawk... mawk [16:20:54.635] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:20:54.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:20:54.648] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:20:54.693] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:20:54.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:20:54.862] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:20:54.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:20:54.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:20:54.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:20:54.888] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:20:54.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:20:54.901] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:20:54.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:20:54.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:20:54.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:20:54.927] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:20:54.933] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:20:54.969] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:20:54.976] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:20:54.982] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:20:54.989] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:20:54.995] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:20:55.001] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:20:55.024] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:20:55.030] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:20:55.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:20:55.073] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:20:55.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:20:55.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:20:55.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:20:55.160] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:20:55.167] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:20:55.174] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:20:55.181] checking whether the C compiler still works... yes [16:20:55.244] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:20:55.312] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:20:55.312] checking pkg-config is at least version 0.9.0... yes [16:20:55.328] checking whether to build with ICU support... no [16:20:55.329] checking whether to build with Tcl... no [16:20:55.329] checking whether to build Perl modules... no [16:20:55.329] checking whether to build Python modules... no [16:20:55.329] checking whether to build with GSSAPI support... no [16:20:55.330] checking whether to build with PAM support... no [16:20:55.330] checking whether to build with BSD Authentication support... no [16:20:55.331] checking whether to build with LDAP support... no [16:20:55.331] checking whether to build with Bonjour support... no [16:20:55.331] checking whether to build with SELinux support... no [16:20:55.331] checking whether to build with systemd support... no [16:20:55.331] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:20:55.331] checking whether to build with liburing support... no [16:20:55.331] checking whether to build with libcurl support... no [16:20:55.331] checking whether to build with libnuma support... no [16:20:55.332] checking whether to build with XML support... no [16:20:55.332] checking whether to build with LZ4 support... no [16:20:55.332] checking whether to build with ZSTD support... no [16:20:55.332] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:20:55.333] checking whether it is possible to strip libraries... yes [16:20:55.340] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:20:55.340] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:20:55.341] checking for a BSD-compatible install... /usr/bin/install -c [16:20:55.349] checking for tar... /usr/bin/tar [16:20:55.349] checking whether ln -s works... yes [16:20:55.349] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:20:55.351] checking for bison... /usr/bin/bison [16:20:55.353] configure: using bison (GNU Bison) 3.8.2 [16:20:55.356] checking for flex... /usr/bin/flex [16:20:55.358] configure: using flex 2.6.4 [16:20:55.358] checking for perl... /usr/bin/perl [16:20:55.360] configure: using perl 5.36.0 [16:20:55.362] checking for zic... /usr/sbin/zic [16:20:55.362] checking for a sed that does not truncate output... /usr/bin/sed [16:20:55.367] checking for grep that handles long lines and -e... /usr/bin/grep [16:20:55.369] checking for egrep... /usr/bin/grep -E [16:20:55.370] checking for ANSI C header files... yes [16:20:55.413] checking for sys/types.h... yes [16:20:55.429] checking for sys/stat.h... yes [16:20:55.444] checking for stdlib.h... yes [16:20:55.457] checking for string.h... yes [16:20:55.469] checking for memory.h... yes [16:20:55.483] checking for strings.h... yes [16:20:55.496] checking for inttypes.h... yes [16:20:55.513] checking for stdint.h... yes [16:20:55.527] checking for unistd.h... yes [16:20:55.542] checking for main in -lm... yes [16:20:55.588] checking for library containing setproctitle... no [16:20:55.678] checking for library containing dlsym... no [16:20:55.766] checking for library containing socket... -lws2_32 [16:20:55.894] checking for library containing getopt_long... none required [16:20:55.939] checking for library containing shm_open... no [16:20:56.026] checking for library containing shm_unlink... no [16:20:56.110] checking for library containing clock_gettime... no [16:20:56.194] checking for library containing shmget... no [16:20:56.283] checking for library containing backtrace_symbols... no [16:20:56.372] checking for library containing pthread_barrier_wait... -lpthread [16:20:56.453] checking for inflate in -lz... yes [16:20:56.499] checking atomic.h usability... no [16:20:56.557] checking atomic.h presence... no [16:20:56.577] checking for atomic.h... no [16:20:56.581] checking copyfile.h usability... no [16:20:56.638] checking copyfile.h presence... no [16:20:56.656] checking for copyfile.h... no [16:20:56.659] checking execinfo.h usability... no [16:20:56.712] checking execinfo.h presence... no [16:20:56.730] checking for execinfo.h... no [16:20:56.732] checking getopt.h usability... yes [16:20:56.739] checking getopt.h presence... yes [16:20:56.754] checking for getopt.h... yes [16:20:56.760] checking ifaddrs.h usability... no [16:20:56.813] checking ifaddrs.h presence... no [16:20:56.831] checking for ifaddrs.h... no [16:20:56.834] checking mbarrier.h usability... no [16:20:56.889] checking mbarrier.h presence... no [16:20:56.906] checking for mbarrier.h... no [16:20:56.909] checking sys/epoll.h usability... no [16:20:56.962] checking sys/epoll.h presence... no [16:20:56.980] checking for sys/epoll.h... no [16:20:56.983] checking sys/event.h usability... no [16:20:57.036] checking sys/event.h presence... no [16:20:57.055] checking for sys/event.h... no [16:20:57.059] checking sys/personality.h usability... no [16:20:57.114] checking sys/personality.h presence... no [16:20:57.132] checking for sys/personality.h... no [16:20:57.135] checking sys/prctl.h usability... no [16:20:57.187] checking sys/prctl.h presence... no [16:20:57.204] checking for sys/prctl.h... no [16:20:57.207] checking sys/procctl.h usability... no [16:20:57.261] checking sys/procctl.h presence... no [16:20:57.279] checking for sys/procctl.h... no [16:20:57.282] checking sys/signalfd.h usability... no [16:20:57.334] checking sys/signalfd.h presence... no [16:20:57.351] checking for sys/signalfd.h... no [16:20:57.354] checking sys/ucred.h usability... no [16:20:57.405] checking sys/ucred.h presence... no [16:20:57.422] checking for sys/ucred.h... no [16:20:57.425] checking termios.h usability... no [16:20:57.475] checking termios.h presence... no [16:20:57.493] checking for termios.h... no [16:20:57.496] checking ucred.h usability... no [16:20:57.548] checking ucred.h presence... no [16:20:57.567] checking for ucred.h... no [16:20:57.570] checking xlocale.h usability... no [16:20:57.625] checking xlocale.h presence... no [16:20:57.644] checking for xlocale.h... no [16:20:57.647] checking zlib.h usability... yes [16:20:57.656] checking zlib.h presence... yes [16:20:57.676] checking for zlib.h... yes [16:20:57.676] checking for lz4... /usr/bin/lz4 [16:20:57.676] checking for zstd... /usr/bin/zstd [16:20:57.677] checking for openssl... /usr/bin/openssl [16:20:57.681] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:20:57.682] checking crtdefs.h usability... yes [16:20:57.690] checking crtdefs.h presence... yes [16:20:57.705] checking for crtdefs.h... yes [16:20:57.706] checking whether byte ordering is bigendian... no [16:20:57.775] checking for inline... inline [16:20:57.782] checking for printf format archetype... gnu_printf [16:20:57.790] checking for _Static_assert... yes [16:20:57.829] checking for typeof... typeof [16:20:57.836] checking for __builtin_types_compatible_p... yes [16:20:57.847] checking for __builtin_constant_p... yes [16:20:57.857] checking for __builtin_mul_overflow... yes [16:20:57.904] checking for __builtin_unreachable... yes [16:20:57.943] checking for computed goto support... yes [16:20:57.950] checking for struct tm.tm_zone... no [16:20:58.026] checking for union semun... no [16:20:58.059] checking for socklen_t... yes [16:20:59.230] checking for struct sockaddr.sa_len... no [16:21:01.401] checking for C/C++ restrict keyword... __restrict [16:21:01.415] checking for struct option... yes [16:21:01.459] checking whether assembler supports x86_64 popcntq... yes [16:21:01.466] checking size of off_t... 4 [16:21:01.678] 0 [16:21:01.678] checking for int timezone... yes [16:21:01.733] checking for backtrace_symbols... no [16:21:01.786] checking for copyfile... no [16:21:01.838] checking for copy_file_range... no [16:21:01.891] checking for elf_aux_info... no [16:21:01.945] checking for getauxval... no [16:21:01.998] checking for getifaddrs... no [16:21:02.050] checking for getpeerucred... no [16:21:02.103] checking for inet_pton... yes [16:21:02.156] checking for kqueue... no [16:21:02.210] checking for localeconv_l... no [16:21:02.262] checking for mbstowcs_l... no [16:21:02.313] checking for memset_s... no [16:21:02.362] checking for posix_fallocate... no [16:21:02.411] checking for ppoll... no [16:21:02.460] checking for pthread_is_threaded_np... no [16:21:02.510] checking for setproctitle... no [16:21:02.561] checking for setproctitle_fast... no [16:21:02.611] checking for strsignal... no [16:21:02.664] checking for syncfs... no [16:21:02.717] checking for sync_file_range... no [16:21:02.766] checking for uselocale... no [16:21:02.816] checking for wcstombs_l... no [16:21:02.862] checking for __builtin_bswap16... yes [16:21:02.912] checking for __builtin_bswap32... yes [16:21:02.962] checking for __builtin_bswap64... yes [16:21:03.010] checking for __builtin_clz... yes [16:21:03.061] checking for __builtin_ctz... yes [16:21:03.110] checking for __builtin_popcount... yes [16:21:03.160] checking for __builtin_frame_address... yes [16:21:03.211] checking for _LARGEFILE_SOURCE value needed for large files... no [16:21:03.265] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:21:03.298] checking for posix_fadvise... no [16:21:03.349] checking whether posix_fadvise is declared... no [16:21:03.397] checking whether fdatasync is declared... no [16:21:03.447] checking whether strlcat is declared... no [16:21:03.512] checking whether strlcpy is declared... no [16:21:03.576] checking whether strnlen is declared... yes [16:21:03.589] checking whether strsep is declared... no [16:21:03.654] checking whether timingsafe_bcmp is declared... no [16:21:03.721] checking whether preadv is declared... no [16:21:03.757] checking whether pwritev is declared... no [16:21:03.794] checking whether strchrnul is declared... no [16:21:03.839] checking whether F_FULLFSYNC is declared... no [16:21:03.879] checking for explicit_bzero... no [16:21:03.926] checking for getopt... yes [16:21:03.972] checking for getpeereid... no [16:21:04.020] checking for inet_aton... no [16:21:04.069] checking for mkdtemp... no [16:21:04.118] checking for strlcat... no [16:21:04.164] checking for strlcpy... no [16:21:04.210] checking for strnlen... yes [16:21:04.257] checking for strsep... no [16:21:04.305] checking for timingsafe_bcmp... no [16:21:04.351] checking for pthread_barrier_wait... yes [16:21:04.392] configure: On mingw32 we will use our strtof wrapper. [16:21:04.392] checking for getopt_long... yes [16:21:04.435] checking for syslog... no [16:21:04.479] checking for opterr... yes [16:21:04.525] checking for optreset... no [16:21:04.577] checking test program... cross-compiling [16:21:04.577] checking size of void *... 8 [16:21:04.851] checking size of size_t... 8 [16:21:05.124] checking size of long... 4 [16:21:05.331] checking size of long long... 8 [16:21:05.612] checking alignment of short... 2 [16:21:05.756] checking alignment of int... 4 [16:21:05.956] checking alignment of long... 4 [16:21:06.164] checking alignment of int64_t... 8 [16:21:06.427] checking alignment of double... 8 [16:21:06.712] checking for __int128... yes [16:21:06.760] checking for __int128 alignment bug... assuming ok [16:21:06.760] checking alignment of PG_INT128_TYPE... 16 [16:21:07.101] checking for builtin __sync char locking functions... yes [16:21:07.145] checking for builtin __sync int32 locking functions... yes [16:21:07.190] checking for builtin __sync int32 atomic operations... yes [16:21:07.233] checking for builtin __sync int64 atomic operations... yes [16:21:07.277] checking for builtin __atomic int32 atomic operations... yes [16:21:07.320] checking for builtin __atomic int64 atomic operations... yes [16:21:07.366] checking for __get_cpuid... yes [16:21:07.414] checking for __get_cpuid_count... yes [16:21:07.460] checking for __cpuid... no [16:21:07.855] checking for __cpuidex... no [16:21:08.291] checking for _xgetbv... yes [16:21:08.699] checking for _mm512_popcnt_epi64... yes [16:21:09.119] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:21:09.221] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:21:09.245] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:21:09.265] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:21:09.283] 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 [16:21:09.338] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:21:09.338] checking for _mm512_clmulepi64_epi128... yes [16:21:09.741] checking for vectorized CRC-32C... AVX-512 with runtime check [16:21:09.742] checking which random number source to use... Windows native [16:21:09.743] checking for xmllint... /usr/bin/xmllint [16:21:09.744] checking for xsltproc... /usr/bin/xsltproc [16:21:09.744] checking for fop... /usr/bin/fop [16:21:09.744] checking for dbtoepub... no [16:21:09.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:21:09.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:21:09.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:21:09.755] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:21:09.755] 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 [16:21:09.755] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:21:09.755] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:21:09.836] configure: creating ./config.status [16:21:09.918] config.status: creating GNUmakefile [16:21:09.929] config.status: creating src/Makefile.global [16:21:09.944] config.status: creating src/include/pg_config.h [16:21:09.955] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:21:09.969] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:21:09.976] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:21:09.982] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:21:09.989] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:21:09.995] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:21:09.998] config.status: executing check_win32_symlinks commands [16:21:10.030] [16:21:10.030] real 0m16.145s [16:21:10.030] user 0m10.622s [16:21:10.030] sys 0m5.218s [16:21:10.030] make -s -j${BUILD_JOBS} clean [16:21:10.561] time make -s -j${BUILD_JOBS} world-bin [16:21:16.477] postgres.c: In function ‘exec_simple_query’: [16:21:16.477] postgres.c:1107:33: error: declaration of ‘portal’ shadows a previous local [-Werror=shadow=compatible-local] [16:21:16.477] 1107 | Portal portal; [16:21:16.477] | ^~~~~~ [16:21:16.477] postgres.c:1021:25: note: shadowed declaration is here [16:21:16.477] 1021 | Portal portal; [16:21:16.477] | ^~~~~~ [16:21:16.477] cc1: all warnings being treated as errors [16:21:16.478] make[3]: *** [: postgres.o] Error 1 [16:21:16.478] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [16:21:16.478] make[2]: *** Waiting for unfinished jobs.... [16:21:17.668] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:21:17.668] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:21:17.668] [16:21:17.668] real 0m7.107s [16:21:17.668] user 0m13.079s [16:21:17.668] sys 0m7.800s [16:21:17.668] [16:21:17.668] Exit status: 2