[16:45:10.884] time ./configure \ [16:45:10.884] --host=x86_64-w64-mingw32 \ [16:45:10.884] --enable-cassert \ [16:45:10.884] --without-icu \ [16:45:10.884] CC="ccache x86_64-w64-mingw32-gcc" \ [16:45:10.884] CXX="ccache x86_64-w64-mingw32-g++" [16:45:10.971] checking build system type... x86_64-pc-linux-gnu [16:45:11.152] checking host system type... x86_64-w64-mingw32 [16:45:11.157] checking which template to use... win32 [16:45:11.158] checking whether NLS is wanted... no [16:45:11.158] checking for default port number... 5432 [16:45:11.163] checking for block size... 8kB [16:45:11.164] checking for segment size... 1GB [16:45:11.166] checking for WAL block size... 8kB [16:45:11.167] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:45:11.190] checking whether the C compiler works... yes [16:45:11.335] checking for C compiler default output file name... a.exe [16:45:11.336] checking for suffix of executables... .exe [16:45:11.369] checking whether we are cross compiling... yes [16:45:11.433] checking for suffix of object files... o [16:45:11.439] checking whether we are using the GNU C compiler... yes [16:45:11.443] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:45:11.447] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:45:11.456] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:45:11.520] checking whether we are using the GNU C++ compiler... yes [16:45:11.524] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:45:11.570] checking for gawk... no [16:45:11.570] checking for mawk... mawk [16:45:11.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:45:11.577] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:45:11.582] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:45:11.615] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:45:11.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:45:11.780] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:45:11.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:45:11.806] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:45:11.812] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:45:11.816] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:45:11.821] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:45:11.826] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:45:11.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:45:11.843] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:45:11.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:45:11.852] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:45:11.864] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:45:11.869] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:45:11.934] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:45:11.939] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:45:11.944] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:45:11.950] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:45:11.967] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:45:11.973] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:45:11.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:45:12.022] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:45:12.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:45:12.070] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:45:12.075] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:45:12.098] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:45:12.122] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:45:12.128] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:45:12.134] checking whether the C compiler still works... yes [16:45:12.186] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:45:12.235] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:45:12.236] checking pkg-config is at least version 0.9.0... yes [16:45:12.249] checking whether to build with ICU support... no [16:45:12.249] checking whether to build with Tcl... no [16:45:12.249] checking whether to build Perl modules... no [16:45:12.250] checking whether to build Python modules... no [16:45:12.250] checking whether to build with GSSAPI support... no [16:45:12.251] checking whether to build with PAM support... no [16:45:12.251] checking whether to build with BSD Authentication support... no [16:45:12.251] checking whether to build with LDAP support... no [16:45:12.251] checking whether to build with Bonjour support... no [16:45:12.251] checking whether to build with SELinux support... no [16:45:12.251] checking whether to build with systemd support... no [16:45:12.251] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:45:12.251] checking whether to build with XML support... no [16:45:12.251] checking whether to build with LZ4 support... no [16:45:12.252] checking whether to build with ZSTD support... no [16:45:12.252] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:45:12.252] checking whether it is possible to strip libraries... yes [16:45:12.259] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:45:12.259] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:45:12.259] checking for a BSD-compatible install... /usr/bin/install -c [16:45:12.266] checking for tar... /usr/bin/tar [16:45:12.266] checking whether ln -s works... yes [16:45:12.266] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:45:12.267] checking for bison... /usr/bin/bison [16:45:12.269] configure: using bison (GNU Bison) 3.7.5 [16:45:12.271] checking for flex... /usr/bin/flex [16:45:12.281] configure: using flex 2.6.4 [16:45:12.281] checking for perl... /usr/bin/perl [16:45:12.283] configure: using perl 5.32.1 [16:45:12.284] checking for zic... /usr/sbin/zic [16:45:12.285] checking for a sed that does not truncate output... /usr/bin/sed [16:45:12.288] checking for grep that handles long lines and -e... /usr/bin/grep [16:45:12.289] checking for egrep... /usr/bin/grep -E [16:45:12.290] checking for ANSI C header files... yes [16:45:12.322] checking for sys/types.h... yes [16:45:12.336] checking for sys/stat.h... yes [16:45:12.347] checking for stdlib.h... yes [16:45:12.357] checking for string.h... yes [16:45:12.408] checking for memory.h... yes [16:45:12.436] checking for strings.h... yes [16:45:12.446] checking for inttypes.h... yes [16:45:12.459] checking for stdint.h... yes [16:45:12.468] checking for unistd.h... yes [16:45:12.517] checking for main in -lm... yes [16:45:12.550] checking for library containing setproctitle... no [16:45:12.614] checking for library containing dlsym... no [16:45:12.678] checking for library containing socket... -lws2_32 [16:45:12.774] checking for library containing getopt_long... none required [16:45:12.813] checking for library containing shm_open... no [16:45:12.880] checking for library containing shm_unlink... no [16:45:12.945] checking for library containing clock_gettime... no [16:45:13.009] checking for library containing shmget... no [16:45:13.075] checking for library containing backtrace_symbols... no [16:45:13.143] checking for library containing pthread_barrier_wait... -lpthread [16:45:13.216] checking for inflate in -lz... yes [16:45:13.251] checking for stdbool.h that conforms to C99... yes [16:45:13.258] checking for _Bool... yes [16:45:13.309] checking atomic.h usability... no [16:45:13.351] checking atomic.h presence... no [16:45:13.364] checking for atomic.h... no [16:45:13.366] checking copyfile.h usability... no [16:45:13.407] checking copyfile.h presence... no [16:45:13.421] checking for copyfile.h... no [16:45:13.423] checking execinfo.h usability... no [16:45:13.466] checking execinfo.h presence... no [16:45:13.479] checking for execinfo.h... no [16:45:13.481] checking getopt.h usability... yes [16:45:13.486] checking getopt.h presence... yes [16:45:13.497] checking for getopt.h... yes [16:45:13.501] checking ifaddrs.h usability... no [16:45:13.540] checking ifaddrs.h presence... no [16:45:13.552] checking for ifaddrs.h... no [16:45:13.554] checking langinfo.h usability... no [16:45:13.593] checking langinfo.h presence... no [16:45:13.605] checking for langinfo.h... no [16:45:13.607] checking mbarrier.h usability... no [16:45:13.646] checking mbarrier.h presence... no [16:45:13.658] checking for mbarrier.h... no [16:45:13.660] checking sys/epoll.h usability... no [16:45:13.703] checking sys/epoll.h presence... no [16:45:13.715] checking for sys/epoll.h... no [16:45:13.718] checking sys/event.h usability... no [16:45:13.760] checking sys/event.h presence... no [16:45:13.773] checking for sys/event.h... no [16:45:13.775] checking sys/personality.h usability... no [16:45:13.817] checking sys/personality.h presence... no [16:45:13.831] checking for sys/personality.h... no [16:45:13.833] checking sys/prctl.h usability... no [16:45:13.876] checking sys/prctl.h presence... no [16:45:13.889] checking for sys/prctl.h... no [16:45:13.891] checking sys/procctl.h usability... no [16:45:13.934] checking sys/procctl.h presence... no [16:45:13.947] checking for sys/procctl.h... no [16:45:13.949] checking sys/signalfd.h usability... no [16:45:13.990] checking sys/signalfd.h presence... no [16:45:14.002] checking for sys/signalfd.h... no [16:45:14.005] checking sys/ucred.h usability... no [16:45:14.044] checking sys/ucred.h presence... no [16:45:14.057] checking for sys/ucred.h... no [16:45:14.059] checking termios.h usability... no [16:45:14.106] checking termios.h presence... no [16:45:14.120] checking for termios.h... no [16:45:14.123] checking ucred.h usability... no [16:45:14.168] checking ucred.h presence... no [16:45:14.184] checking for ucred.h... no [16:45:14.186] checking zlib.h usability... yes [16:45:14.194] checking zlib.h presence... yes [16:45:14.210] checking for zlib.h... yes [16:45:14.210] checking for lz4... /usr/bin/lz4 [16:45:14.211] checking for zstd... /usr/bin/zstd [16:45:14.211] checking for openssl... /usr/bin/openssl [16:45:14.214] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [16:45:14.215] checking crtdefs.h usability... yes [16:45:14.261] checking crtdefs.h presence... yes [16:45:14.274] checking for crtdefs.h... yes [16:45:14.275] checking whether byte ordering is bigendian... no [16:45:14.341] checking for inline... inline [16:45:14.362] checking for printf format archetype... gnu_printf [16:45:14.405] checking for _Static_assert... yes [16:45:14.440] checking for typeof... typeof [16:45:14.446] checking for __builtin_types_compatible_p... yes [16:45:14.453] checking for __builtin_constant_p... yes [16:45:14.461] checking for __builtin_unreachable... yes [16:45:14.494] checking for computed goto support... yes [16:45:14.522] checking for struct tm.tm_zone... no [16:45:14.577] checking for union semun... no [16:45:14.599] checking for socklen_t... yes [16:45:15.494] checking for struct sockaddr.sa_len... no [16:45:17.045] checking for locale_t... no [16:45:17.092] checking for C/C++ restrict keyword... __restrict [16:45:17.100] checking for struct option... yes [16:45:17.127] checking whether assembler supports x86_64 popcntq... yes [16:45:17.132] checking size of off_t... 4 [16:45:17.312] 0 [16:45:17.312] checking size of bool... 1 [16:45:17.341] checking for int timezone... yes [16:45:17.379] checking for wcstombs_l declaration... no [16:45:17.444] checking for backtrace_symbols... no [16:45:17.483] checking for copyfile... no [16:45:17.522] checking for copy_file_range... no [16:45:17.561] checking for getifaddrs... no [16:45:17.602] checking for getpeerucred... no [16:45:17.640] checking for inet_pton... yes [16:45:17.679] checking for kqueue... no [16:45:17.717] checking for mbstowcs_l... no [16:45:17.754] checking for memset_s... no [16:45:17.793] checking for posix_fallocate... no [16:45:17.835] checking for ppoll... no [16:45:17.874] checking for pthread_is_threaded_np... no [16:45:17.915] checking for setproctitle... no [16:45:17.955] checking for setproctitle_fast... no [16:45:17.994] checking for strchrnul... no [16:45:18.037] checking for strsignal... no [16:45:18.078] checking for syncfs... no [16:45:18.118] checking for sync_file_range... no [16:45:18.159] checking for uselocale... no [16:45:18.198] checking for wcstombs_l... no [16:45:18.236] checking for __builtin_bswap16... yes [16:45:18.274] checking for __builtin_bswap32... yes [16:45:18.312] checking for __builtin_bswap64... yes [16:45:18.349] checking for __builtin_clz... yes [16:45:18.386] checking for __builtin_ctz... yes [16:45:18.421] checking for __builtin_popcount... yes [16:45:18.458] checking for __builtin_frame_address... yes [16:45:18.495] checking for _LARGEFILE_SOURCE value needed for large files... no [16:45:18.540] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:45:18.566] checking for posix_fadvise... no [16:45:18.606] checking whether posix_fadvise is declared... no [16:45:18.638] checking whether fdatasync is declared... no [16:45:18.672] checking whether strlcat is declared... no [16:45:18.722] checking whether strlcpy is declared... no [16:45:18.770] checking whether strnlen is declared... yes [16:45:18.781] checking whether preadv is declared... no [16:45:18.811] checking whether pwritev is declared... no [16:45:18.839] checking whether F_FULLFSYNC is declared... no [16:45:18.866] checking for explicit_bzero... no [16:45:18.901] checking for getopt... yes [16:45:18.935] checking for getpeereid... no [16:45:18.972] checking for inet_aton... no [16:45:19.009] checking for mkdtemp... no [16:45:19.048] checking for strlcat... no [16:45:19.086] checking for strlcpy... no [16:45:19.121] checking for strnlen... yes [16:45:19.159] checking for pthread_barrier_wait... yes [16:45:19.192] configure: On mingw32 we will use our strtof wrapper. [16:45:19.192] checking for getopt_long... yes [16:45:19.226] checking for _configthreadlocale... yes [16:45:19.260] checking for syslog... no [16:45:19.296] checking for opterr... yes [16:45:19.331] checking for optreset... no [16:45:19.367] checking test program... cross-compiling [16:45:19.367] checking whether long int is 64 bits... no [16:45:19.396] checking whether long long int is 64 bits... yes [16:45:19.410] checking for __builtin_mul_overflow... yes [16:45:19.443] checking size of void *... 8 [16:45:19.651] checking size of size_t... 8 [16:45:19.910] checking size of long... 4 [16:45:20.105] checking alignment of short... 2 [16:45:20.210] checking alignment of int... 4 [16:45:20.355] checking alignment of long... 4 [16:45:20.536] checking alignment of long long int... 8 [16:45:20.756] checking alignment of double... 8 [16:45:21.059] checking for int8... no [16:45:21.092] checking for uint8... no [16:45:21.125] checking for int64... no [16:45:21.158] checking for uint64... no [16:45:21.187] checking for __int128... yes [16:45:21.222] checking for __int128 alignment bug... assuming ok [16:45:21.223] checking alignment of PG_INT128_TYPE... 16 [16:45:21.556] checking for builtin __sync char locking functions... yes [16:45:21.589] checking for builtin __sync int32 locking functions... yes [16:45:21.623] checking for builtin __sync int32 atomic operations... yes [16:45:21.656] checking for builtin __sync int64 atomic operations... yes [16:45:21.690] checking for builtin __atomic int32 atomic operations... yes [16:45:21.723] checking for builtin __atomic int64 atomic operations... yes [16:45:21.758] checking for __get_cpuid... yes [16:45:21.795] checking for __get_cpuid_count... yes [16:45:21.829] checking for __cpuid... no [16:45:22.072] checking for __cpuidex... no [16:45:22.312] checking for _xgetbv with CFLAGS=... no [16:45:22.520] checking for _xgetbv with CFLAGS=-mxsave... yes [16:45:22.735] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:45:22.938] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:45:23.129] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:45:23.165] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:45:23.238] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:45:23.255] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:45:23.268] 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:45:23.310] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:45:23.311] checking which random number source to use... Windows native [16:45:23.312] checking for xmllint... /usr/bin/xmllint [16:45:23.313] checking for xsltproc... /usr/bin/xsltproc [16:45:23.313] checking for fop... /usr/bin/fop [16:45:23.313] checking for dbtoepub... no [16:45:23.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:45:23.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:45:23.322] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [16:45:23.322] 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:45:23.322] configure: using CPPFLAGS= -I./src/include/port/win32 [16:45:23.322] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:45:23.390] configure: creating ./config.status [16:45:23.447] config.status: creating GNUmakefile [16:45:23.456] config.status: creating src/Makefile.global [16:45:23.467] config.status: creating src/include/pg_config.h [16:45:23.477] config.status: creating src/include/pg_config_ext.h [16:45:23.485] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:45:23.497] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:45:23.502] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:45:23.507] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:45:23.512] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:45:23.518] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:45:23.520] config.status: executing check_win32_symlinks commands [16:45:23.550] [16:45:23.550] real 0m12.666s [16:45:23.550] user 0m9.350s [16:45:23.550] sys 0m2.941s [16:45:23.550] make -s -j${BUILD_JOBS} clean [16:45:23.949] time make -s -j${BUILD_JOBS} world-bin [16:45:57.320] In file included from ../../../../src/include/nodes/primnodes.h:22, [16:45:57.320] from ../../../../src/include/catalog/namespace.h:17, [16:45:57.320] from prepqual.c:34: [16:45:57.320] prepqual.c: In function ‘or_transformation’: [16:45:57.320] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [16:45:57.320] 563 | foreach(lc, entry->consts) [16:45:57.320] | ^~ [16:45:57.320] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [16:45:57.320] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [16:45:57.320] | ^~~~ [16:45:57.320] prepqual.c:515:11: note: shadowed declaration is here [16:45:57.320] 515 | foreach (lc, entries) [16:45:57.320] | ^~ [16:45:57.320] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [16:45:57.320] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [16:45:57.320] | ^~~~ [16:45:57.320] cc1: all warnings being treated as errors [16:45:57.320] make[4]: *** [: prepqual.o] Error 1 [16:45:57.320] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [16:45:57.320] make[3]: *** Waiting for unfinished jobs.... [16:46:00.529] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [16:46:00.529] make[2]: *** Waiting for unfinished jobs.... [16:46:07.548] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:46:07.548] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:46:07.548] [16:46:07.548] real 0m43.600s [16:46:07.548] user 2m25.804s [16:46:07.548] sys 0m19.171s [16:46:07.548] [16:46:07.548] Exit status: 2