[20:10:08.870] time ./configure \ [20:10:08.870] --host=x86_64-w64-mingw32 \ [20:10:08.870] --enable-cassert \ [20:10:08.870] --without-icu \ [20:10:08.870] CC="ccache x86_64-w64-mingw32-gcc" \ [20:10:08.870] CXX="ccache x86_64-w64-mingw32-g++" [20:10:08.932] checking build system type... x86_64-pc-linux-gnu [20:10:09.113] checking host system type... x86_64-w64-mingw32 [20:10:09.116] checking which template to use... win32 [20:10:09.117] checking whether NLS is wanted... no [20:10:09.117] checking for default port number... 5432 [20:10:09.121] checking for block size... 8kB [20:10:09.121] checking for segment size... 1GB [20:10:09.123] checking for WAL block size... 8kB [20:10:09.124] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:10:09.145] checking whether the C compiler works... yes [20:10:09.281] checking for C compiler default output file name... a.exe [20:10:09.282] checking for suffix of executables... .exe [20:10:09.308] checking whether we are cross compiling... yes [20:10:09.366] checking for suffix of object files... o [20:10:09.371] checking whether we are using the GNU C compiler... yes [20:10:09.374] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:10:09.378] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:10:09.393] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:10:09.432] checking whether we are using the GNU C++ compiler... yes [20:10:09.436] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:10:09.473] checking for gawk... no [20:10:09.473] checking for mawk... mawk [20:10:09.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:10:09.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:10:09.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:10:09.511] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:10:09.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:10:09.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:10:09.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:10:09.735] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:10:09.744] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:10:09.753] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:10:09.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:10:09.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:10:09.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:10:09.773] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:10:09.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:10:09.780] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:10:09.783] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:10:09.787] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:10:09.791] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:10:09.794] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:10:09.798] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:10:09.801] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:10:09.814] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:10:09.818] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:10:09.840] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:10:09.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:10:09.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:10:09.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:10:09.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:10:09.913] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:10:09.917] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:10:09.920] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:10:09.925] checking whether the C compiler still works... yes [20:10:09.967] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:10:10.006] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:10:10.007] checking pkg-config is at least version 0.9.0... yes [20:10:10.019] checking whether to build with ICU support... no [20:10:10.020] checking whether to build with Tcl... no [20:10:10.020] checking whether to build Perl modules... no [20:10:10.020] checking whether to build Python modules... no [20:10:10.020] checking whether to build with GSSAPI support... no [20:10:10.021] checking whether to build with PAM support... no [20:10:10.021] checking whether to build with BSD Authentication support... no [20:10:10.021] checking whether to build with LDAP support... no [20:10:10.021] checking whether to build with Bonjour support... no [20:10:10.021] checking whether to build with SELinux support... no [20:10:10.021] checking whether to build with systemd support... no [20:10:10.021] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:10:10.021] checking whether to build with XML support... no [20:10:10.022] checking whether to build with LZ4 support... no [20:10:10.022] checking whether to build with ZSTD support... no [20:10:10.022] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:10:10.022] checking whether it is possible to strip libraries... yes [20:10:10.028] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:10:10.029] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:10:10.029] checking for a BSD-compatible install... /usr/bin/install -c [20:10:10.033] checking for tar... /usr/bin/tar [20:10:10.034] checking whether ln -s works... yes [20:10:10.034] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:10:10.035] checking for bison... /usr/bin/bison [20:10:10.036] configure: using bison (GNU Bison) 3.7.5 [20:10:10.038] checking for flex... /usr/bin/flex [20:10:10.045] configure: using flex 2.6.4 [20:10:10.045] checking for perl... /usr/bin/perl [20:10:10.047] configure: using perl 5.32.1 [20:10:10.048] checking for zic... /usr/sbin/zic [20:10:10.048] checking for a sed that does not truncate output... /usr/bin/sed [20:10:10.051] checking for grep that handles long lines and -e... /usr/bin/grep [20:10:10.052] checking for egrep... /usr/bin/grep -E [20:10:10.053] checking for ANSI C header files... yes [20:10:10.080] checking for sys/types.h... yes [20:10:10.089] checking for sys/stat.h... yes [20:10:10.100] checking for stdlib.h... yes [20:10:10.107] checking for string.h... yes [20:10:10.146] checking for memory.h... yes [20:10:10.154] checking for strings.h... yes [20:10:10.163] checking for inttypes.h... yes [20:10:10.173] checking for stdint.h... yes [20:10:10.181] checking for unistd.h... yes [20:10:10.221] checking for main in -lm... yes [20:10:10.248] checking for library containing setproctitle... no [20:10:10.299] checking for library containing dlsym... no [20:10:10.349] checking for library containing socket... -lws2_32 [20:10:10.430] checking for library containing getopt_long... none required [20:10:10.463] checking for library containing shm_open... no [20:10:10.522] checking for library containing shm_unlink... no [20:10:10.578] checking for library containing clock_gettime... no [20:10:10.632] checking for library containing shmget... no [20:10:10.688] checking for library containing backtrace_symbols... no [20:10:10.741] checking for library containing pthread_barrier_wait... -lpthread [20:10:10.798] checking for inflate in -lz... yes [20:10:10.827] checking for stdbool.h that conforms to C99... yes [20:10:10.834] checking for _Bool... yes [20:10:10.881] checking atomic.h usability... no [20:10:10.918] checking atomic.h presence... no [20:10:10.929] checking for atomic.h... no [20:10:10.931] checking copyfile.h usability... no [20:10:10.968] checking copyfile.h presence... no [20:10:10.980] checking for copyfile.h... no [20:10:10.983] checking execinfo.h usability... no [20:10:11.020] checking execinfo.h presence... no [20:10:11.031] checking for execinfo.h... no [20:10:11.033] checking getopt.h usability... yes [20:10:11.038] checking getopt.h presence... yes [20:10:11.047] checking for getopt.h... yes [20:10:11.051] checking ifaddrs.h usability... no [20:10:11.088] checking ifaddrs.h presence... no [20:10:11.098] checking for ifaddrs.h... no [20:10:11.101] checking langinfo.h usability... no [20:10:11.137] checking langinfo.h presence... no [20:10:11.148] checking for langinfo.h... no [20:10:11.150] checking mbarrier.h usability... no [20:10:11.191] checking mbarrier.h presence... no [20:10:11.203] checking for mbarrier.h... no [20:10:11.205] checking sys/epoll.h usability... no [20:10:11.244] checking sys/epoll.h presence... no [20:10:11.257] checking for sys/epoll.h... no [20:10:11.259] checking sys/event.h usability... no [20:10:11.296] checking sys/event.h presence... no [20:10:11.308] checking for sys/event.h... no [20:10:11.310] checking sys/personality.h usability... no [20:10:11.346] checking sys/personality.h presence... no [20:10:11.357] checking for sys/personality.h... no [20:10:11.359] checking sys/prctl.h usability... no [20:10:11.398] checking sys/prctl.h presence... no [20:10:11.409] checking for sys/prctl.h... no [20:10:11.411] checking sys/procctl.h usability... no [20:10:11.450] checking sys/procctl.h presence... no [20:10:11.461] checking for sys/procctl.h... no [20:10:11.463] checking sys/signalfd.h usability... no [20:10:11.501] checking sys/signalfd.h presence... no [20:10:11.513] checking for sys/signalfd.h... no [20:10:11.515] checking sys/ucred.h usability... no [20:10:11.553] checking sys/ucred.h presence... no [20:10:11.565] checking for sys/ucred.h... no [20:10:11.567] checking termios.h usability... no [20:10:11.607] checking termios.h presence... no [20:10:11.620] checking for termios.h... no [20:10:11.622] checking ucred.h usability... no [20:10:11.661] checking ucred.h presence... no [20:10:11.672] checking for ucred.h... no [20:10:11.674] checking zlib.h usability... yes [20:10:11.681] checking zlib.h presence... yes [20:10:11.692] checking for zlib.h... yes [20:10:11.692] checking for lz4... /usr/bin/lz4 [20:10:11.693] checking for zstd... /usr/bin/zstd [20:10:11.693] checking for openssl... /usr/bin/openssl [20:10:11.696] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [20:10:11.696] checking crtdefs.h usability... yes [20:10:11.732] checking crtdefs.h presence... yes [20:10:11.741] checking for crtdefs.h... yes [20:10:11.741] checking whether byte ordering is bigendian... no [20:10:11.781] checking for inline... inline [20:10:11.785] checking for printf format archetype... gnu_printf [20:10:11.790] checking for _Static_assert... yes [20:10:11.816] checking for typeof... typeof [20:10:11.826] checking for __builtin_types_compatible_p... yes [20:10:11.832] checking for __builtin_constant_p... yes [20:10:11.838] checking for __builtin_unreachable... yes [20:10:11.867] checking for computed goto support... yes [20:10:11.872] checking for struct tm.tm_zone... no [20:10:11.921] checking for union semun... no [20:10:11.943] checking for socklen_t... yes [20:10:12.760] checking for struct sockaddr.sa_len... no [20:10:14.119] checking for locale_t... no [20:10:14.156] checking for C/C++ restrict keyword... __restrict [20:10:14.163] checking for struct option... yes [20:10:14.185] checking whether assembler supports x86_64 popcntq... yes [20:10:14.189] checking size of off_t... 4 [20:10:14.313] 0 [20:10:14.313] checking size of bool... 1 [20:10:14.337] checking for int timezone... yes [20:10:14.370] checking for wcstombs_l declaration... no [20:10:14.418] checking for backtrace_symbols... no [20:10:14.448] checking for copyfile... no [20:10:14.479] checking for copy_file_range... no [20:10:14.511] checking for getifaddrs... no [20:10:14.543] checking for getpeerucred... no [20:10:14.573] checking for inet_pton... yes [20:10:14.604] checking for kqueue... no [20:10:14.634] checking for mbstowcs_l... no [20:10:14.669] checking for memset_s... no [20:10:14.700] checking for posix_fallocate... no [20:10:14.733] checking for ppoll... no [20:10:14.764] checking for pthread_is_threaded_np... no [20:10:14.794] checking for setproctitle... no [20:10:14.824] checking for setproctitle_fast... no [20:10:14.854] checking for strchrnul... no [20:10:14.884] checking for strsignal... no [20:10:14.917] checking for syncfs... no [20:10:14.950] checking for sync_file_range... no [20:10:14.981] checking for uselocale... no [20:10:15.011] checking for wcstombs_l... no [20:10:15.041] checking for __builtin_bswap16... yes [20:10:15.072] checking for __builtin_bswap32... yes [20:10:15.101] checking for __builtin_bswap64... yes [20:10:15.130] checking for __builtin_clz... yes [20:10:15.160] checking for __builtin_ctz... yes [20:10:15.188] checking for __builtin_popcount... yes [20:10:15.220] checking for __builtin_frame_address... yes [20:10:15.249] checking for _LARGEFILE_SOURCE value needed for large files... no [20:10:15.286] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:10:15.303] checking for posix_fadvise... no [20:10:15.333] checking whether posix_fadvise is declared... no [20:10:15.359] checking whether fdatasync is declared... no [20:10:15.385] checking whether strlcat is declared... no [20:10:15.424] checking whether strlcpy is declared... no [20:10:15.464] checking whether strnlen is declared... yes [20:10:15.471] checking whether preadv is declared... no [20:10:15.492] checking whether pwritev is declared... no [20:10:15.511] checking whether F_FULLFSYNC is declared... no [20:10:15.536] checking for explicit_bzero... no [20:10:15.565] checking for getopt... yes [20:10:15.593] checking for getpeereid... no [20:10:15.621] checking for inet_aton... no [20:10:15.651] checking for mkdtemp... no [20:10:15.681] checking for strlcat... no [20:10:15.709] checking for strlcpy... no [20:10:15.738] checking for strnlen... yes [20:10:15.767] checking for pthread_barrier_wait... yes [20:10:15.795] configure: On mingw32 we will use our strtof wrapper. [20:10:15.795] checking for getopt_long... yes [20:10:15.825] checking for _configthreadlocale... yes [20:10:15.855] checking for syslog... no [20:10:15.885] checking for opterr... yes [20:10:15.916] checking for optreset... no [20:10:15.952] checking test program... cross-compiling [20:10:15.952] checking whether long int is 64 bits... no [20:10:15.974] checking whether long long int is 64 bits... yes [20:10:15.980] checking for __builtin_mul_overflow... yes [20:10:16.010] checking size of void *... 8 [20:10:16.180] checking size of size_t... 8 [20:10:16.358] checking size of long... 4 [20:10:16.482] checking alignment of short... 2 [20:10:16.567] checking alignment of int... 4 [20:10:16.692] checking alignment of long... 4 [20:10:16.817] checking alignment of long long int... 8 [20:10:16.981] checking alignment of double... 8 [20:10:17.216] checking for int8... no [20:10:17.243] checking for uint8... no [20:10:17.269] checking for int64... no [20:10:17.295] checking for uint64... no [20:10:17.324] checking for __int128... yes [20:10:17.356] checking for __int128 alignment bug... assuming ok [20:10:17.356] checking alignment of PG_INT128_TYPE... 16 [20:10:17.566] checking for builtin __sync char locking functions... yes [20:10:17.595] checking for builtin __sync int32 locking functions... yes [20:10:17.622] checking for builtin __sync int32 atomic operations... yes [20:10:17.648] checking for builtin __sync int64 atomic operations... yes [20:10:17.675] checking for builtin __atomic int32 atomic operations... yes [20:10:17.702] checking for builtin __atomic int64 atomic operations... yes [20:10:17.728] checking for __get_cpuid... yes [20:10:17.758] checking for __get_cpuid_count... yes [20:10:17.786] checking for __cpuid... no [20:10:18.011] checking for __cpuidex... no [20:10:18.235] checking for _xgetbv with CFLAGS=... no [20:10:18.425] checking for _xgetbv with CFLAGS=-mxsave... yes [20:10:18.633] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:10:18.832] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:10:19.016] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:10:19.046] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:10:19.104] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:10:19.117] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:10:19.127] 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 [20:10:19.161] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:10:19.161] checking which random number source to use... Windows native [20:10:19.163] checking for xmllint... /usr/bin/xmllint [20:10:19.163] checking for xsltproc... /usr/bin/xsltproc [20:10:19.163] checking for fop... /usr/bin/fop [20:10:19.163] checking for dbtoepub... no [20:10:19.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:10:19.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:10:19.170] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [20:10:19.170] 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 [20:10:19.170] configure: using CPPFLAGS= -I./src/include/port/win32 [20:10:19.170] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:10:19.222] configure: creating ./config.status [20:10:19.267] config.status: creating GNUmakefile [20:10:19.273] config.status: creating src/Makefile.global [20:10:19.282] config.status: creating src/include/pg_config.h [20:10:19.288] config.status: creating src/include/pg_config_ext.h [20:10:19.295] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:10:19.303] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:10:19.307] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:10:19.310] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:10:19.314] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:10:19.318] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:10:19.320] config.status: executing check_win32_symlinks commands [20:10:19.342] [20:10:19.342] real 0m10.471s [20:10:19.342] user 0m7.935s [20:10:19.342] sys 0m2.083s [20:10:19.342] make -s -j${BUILD_JOBS} clean [20:10:19.698] time make -s -j${BUILD_JOBS} world-bin [20:10:46.590] In file included from ../../../../src/include/nodes/primnodes.h:22, [20:10:46.590] from ../../../../src/include/catalog/namespace.h:17, [20:10:46.590] from prepqual.c:34: [20:10:46.590] prepqual.c: In function ‘or_transformation’: [20:10:46.590] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [20:10:46.590] 563 | foreach(lc, entry->consts) [20:10:46.590] | ^~ [20:10:46.590] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [20:10:46.590] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [20:10:46.590] | ^~~~ [20:10:46.590] prepqual.c:515:11: note: shadowed declaration is here [20:10:46.590] 515 | foreach (lc, entries) [20:10:46.590] | ^~ [20:10:46.590] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [20:10:46.590] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [20:10:46.590] | ^~~~ [20:10:46.590] cc1: all warnings being treated as errors [20:10:46.590] make[4]: *** [: prepqual.o] Error 1 [20:10:46.590] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [20:10:46.590] make[3]: *** Waiting for unfinished jobs.... [20:10:49.791] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [20:10:49.791] make[2]: *** Waiting for unfinished jobs.... [20:10:54.605] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:10:54.605] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:10:54.606] [20:10:54.606] real 0m34.908s [20:10:54.606] user 1m55.006s [20:10:54.606] sys 0m13.493s [20:10:54.606] [20:10:54.606] Exit status: 2