[14:04:14.734] time ./configure \ [14:04:14.734] --host=x86_64-w64-mingw32 \ [14:04:14.734] --enable-cassert \ [14:04:14.734] --without-icu \ [14:04:14.734] CC="ccache x86_64-w64-mingw32-gcc" \ [14:04:14.734] CXX="ccache x86_64-w64-mingw32-g++" [14:04:14.809] checking build system type... x86_64-pc-linux-gnu [14:04:14.987] checking host system type... x86_64-w64-mingw32 [14:04:14.991] checking which template to use... win32 [14:04:14.991] checking whether NLS is wanted... no [14:04:14.991] checking for default port number... 5432 [14:04:14.995] checking for block size... 8kB [14:04:14.996] checking for segment size... 1GB [14:04:14.998] checking for WAL block size... 8kB [14:04:14.998] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:04:15.021] checking whether the C compiler works... yes [14:04:15.162] checking for C compiler default output file name... a.exe [14:04:15.163] checking for suffix of executables... .exe [14:04:15.194] checking whether we are cross compiling... yes [14:04:15.256] checking for suffix of object files... o [14:04:15.262] checking whether we are using the GNU C compiler... yes [14:04:15.266] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:04:15.271] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:04:15.278] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:04:15.322] checking whether we are using the GNU C++ compiler... yes [14:04:15.327] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:04:15.371] checking for gawk... no [14:04:15.371] checking for mawk... mawk [14:04:15.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:04:15.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:04:15.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:04:15.414] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:04:15.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:04:15.585] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:04:15.589] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:04:15.593] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:04:15.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:04:15.608] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:04:15.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:04:15.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:04:15.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:04:15.647] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:04:15.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:04:15.664] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:04:15.733] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:04:15.757] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:04:15.762] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:04:15.773] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:04:15.777] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:04:15.787] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:04:15.800] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:04:15.805] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:04:15.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:04:15.835] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:04:15.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:04:15.864] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:04:15.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:04:15.911] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:04:15.917] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:04:15.922] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:04:15.928] checking whether the C compiler still works... yes [14:04:15.979] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:04:16.035] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:04:16.035] checking pkg-config is at least version 0.9.0... yes [14:04:16.050] checking whether to build with ICU support... no [14:04:16.050] checking whether to build with Tcl... no [14:04:16.050] checking whether to build Perl modules... no [14:04:16.050] checking whether to build Python modules... no [14:04:16.050] checking whether to build with GSSAPI support... no [14:04:16.051] checking whether to build with PAM support... no [14:04:16.051] checking whether to build with BSD Authentication support... no [14:04:16.051] checking whether to build with LDAP support... no [14:04:16.051] checking whether to build with Bonjour support... no [14:04:16.051] checking whether to build with SELinux support... no [14:04:16.051] checking whether to build with systemd support... no [14:04:16.051] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:04:16.052] checking whether to build with XML support... no [14:04:16.052] checking whether to build with LZ4 support... no [14:04:16.052] checking whether to build with ZSTD support... no [14:04:16.052] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:04:16.053] checking whether it is possible to strip libraries... yes [14:04:16.062] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:04:16.062] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:04:16.063] checking for a BSD-compatible install... /usr/bin/install -c [14:04:16.069] checking for tar... /usr/bin/tar [14:04:16.069] checking whether ln -s works... yes [14:04:16.069] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:04:16.071] checking for bison... /usr/bin/bison [14:04:16.073] configure: using bison (GNU Bison) 3.7.5 [14:04:16.075] checking for flex... /usr/bin/flex [14:04:16.085] configure: using flex 2.6.4 [14:04:16.085] checking for perl... /usr/bin/perl [14:04:16.087] configure: using perl 5.32.1 [14:04:16.089] checking for zic... /usr/sbin/zic [14:04:16.089] checking for a sed that does not truncate output... /usr/bin/sed [14:04:16.092] checking for grep that handles long lines and -e... /usr/bin/grep [14:04:16.094] checking for egrep... /usr/bin/grep -E [14:04:16.095] checking for ANSI C header files... yes [14:04:16.132] checking for sys/types.h... yes [14:04:16.145] checking for sys/stat.h... yes [14:04:16.157] checking for stdlib.h... yes [14:04:16.184] checking for string.h... yes [14:04:16.193] checking for memory.h... yes [14:04:16.243] checking for strings.h... yes [14:04:16.269] checking for inttypes.h... yes [14:04:16.320] checking for stdint.h... yes [14:04:16.331] checking for unistd.h... yes [14:04:16.359] checking for main in -lm... yes [14:04:16.393] checking for library containing setproctitle... no [14:04:16.458] checking for library containing dlsym... no [14:04:16.522] checking for library containing socket... -lws2_32 [14:04:16.608] checking for library containing getopt_long... none required [14:04:16.646] checking for library containing shm_open... no [14:04:16.709] checking for library containing shm_unlink... no [14:04:16.771] checking for library containing clock_gettime... no [14:04:16.830] checking for library containing shmget... no [14:04:16.892] checking for library containing backtrace_symbols... no [14:04:16.957] checking for library containing pthread_barrier_wait... -lpthread [14:04:17.027] checking for inflate in -lz... yes [14:04:17.063] checking for stdbool.h that conforms to C99... yes [14:04:17.070] checking for _Bool... yes [14:04:17.121] checking atomic.h usability... no [14:04:17.163] checking atomic.h presence... no [14:04:17.177] checking for atomic.h... no [14:04:17.179] checking copyfile.h usability... no [14:04:17.223] checking copyfile.h presence... no [14:04:17.238] checking for copyfile.h... no [14:04:17.241] checking execinfo.h usability... no [14:04:17.284] checking execinfo.h presence... no [14:04:17.299] checking for execinfo.h... no [14:04:17.301] checking getopt.h usability... yes [14:04:17.307] checking getopt.h presence... yes [14:04:17.319] checking for getopt.h... yes [14:04:17.325] checking ifaddrs.h usability... no [14:04:17.367] checking ifaddrs.h presence... no [14:04:17.380] checking for ifaddrs.h... no [14:04:17.382] checking langinfo.h usability... no [14:04:17.423] checking langinfo.h presence... no [14:04:17.437] checking for langinfo.h... no [14:04:17.440] checking mbarrier.h usability... no [14:04:17.482] checking mbarrier.h presence... no [14:04:17.495] checking for mbarrier.h... no [14:04:17.498] checking sys/epoll.h usability... no [14:04:17.540] checking sys/epoll.h presence... no [14:04:17.554] checking for sys/epoll.h... no [14:04:17.557] checking sys/event.h usability... no [14:04:17.600] checking sys/event.h presence... no [14:04:17.613] checking for sys/event.h... no [14:04:17.616] checking sys/personality.h usability... no [14:04:17.660] checking sys/personality.h presence... no [14:04:17.674] checking for sys/personality.h... no [14:04:17.676] checking sys/prctl.h usability... no [14:04:17.717] checking sys/prctl.h presence... no [14:04:17.731] checking for sys/prctl.h... no [14:04:17.733] checking sys/procctl.h usability... no [14:04:17.776] checking sys/procctl.h presence... no [14:04:17.789] checking for sys/procctl.h... no [14:04:17.791] checking sys/signalfd.h usability... no [14:04:17.835] checking sys/signalfd.h presence... no [14:04:17.848] checking for sys/signalfd.h... no [14:04:17.850] checking sys/ucred.h usability... no [14:04:17.892] checking sys/ucred.h presence... no [14:04:17.907] checking for sys/ucred.h... no [14:04:17.909] checking termios.h usability... no [14:04:17.954] checking termios.h presence... no [14:04:17.969] checking for termios.h... no [14:04:17.972] checking ucred.h usability... no [14:04:18.016] checking ucred.h presence... no [14:04:18.031] checking for ucred.h... no [14:04:18.033] checking zlib.h usability... yes [14:04:18.041] checking zlib.h presence... yes [14:04:18.056] checking for zlib.h... yes [14:04:18.056] checking for lz4... /usr/bin/lz4 [14:04:18.056] checking for zstd... /usr/bin/zstd [14:04:18.057] checking for openssl... /usr/bin/openssl [14:04:18.060] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [14:04:18.061] checking crtdefs.h usability... yes [14:04:18.066] checking crtdefs.h presence... yes [14:04:18.078] checking for crtdefs.h... yes [14:04:18.079] checking whether byte ordering is bigendian... no [14:04:18.136] checking for inline... inline [14:04:18.141] checking for printf format archetype... gnu_printf [14:04:18.147] checking for _Static_assert... yes [14:04:18.179] checking for typeof... typeof [14:04:18.185] checking for __builtin_types_compatible_p... yes [14:04:18.193] checking for __builtin_constant_p... yes [14:04:18.219] checking for __builtin_unreachable... yes [14:04:18.251] checking for computed goto support... yes [14:04:18.256] checking for struct tm.tm_zone... no [14:04:18.318] checking for union semun... no [14:04:18.347] checking for socklen_t... yes [14:04:20.110] checking for struct sockaddr.sa_len... no [14:04:21.743] checking for locale_t... no [14:04:21.789] checking for C/C++ restrict keyword... __restrict [14:04:21.798] checking for struct option... yes [14:04:21.828] checking whether assembler supports x86_64 popcntq... yes [14:04:21.833] checking size of off_t... 4 [14:04:21.984] 0 [14:04:21.984] checking size of bool... 1 [14:04:22.011] checking for int timezone... yes [14:04:22.047] checking for wcstombs_l declaration... no [14:04:22.102] checking for backtrace_symbols... no [14:04:22.138] checking for copyfile... no [14:04:22.179] checking for copy_file_range... no [14:04:22.219] checking for getifaddrs... no [14:04:22.259] checking for getpeerucred... no [14:04:22.299] checking for inet_pton... yes [14:04:22.340] checking for kqueue... no [14:04:22.379] checking for mbstowcs_l... no [14:04:22.415] checking for memset_s... no [14:04:22.452] checking for posix_fallocate... no [14:04:22.491] checking for ppoll... no [14:04:22.529] checking for pthread_is_threaded_np... no [14:04:22.567] checking for setproctitle... no [14:04:22.605] checking for setproctitle_fast... no [14:04:22.644] checking for strchrnul... no [14:04:22.683] checking for strsignal... no [14:04:22.721] checking for syncfs... no [14:04:22.758] checking for sync_file_range... no [14:04:22.797] checking for uselocale... no [14:04:22.838] checking for wcstombs_l... no [14:04:22.873] checking for __builtin_bswap16... yes [14:04:22.909] checking for __builtin_bswap32... yes [14:04:22.942] checking for __builtin_bswap64... yes [14:04:22.974] checking for __builtin_clz... yes [14:04:23.010] checking for __builtin_ctz... yes [14:04:23.046] checking for __builtin_popcount... yes [14:04:23.084] checking for __builtin_frame_address... yes [14:04:23.119] checking for _LARGEFILE_SOURCE value needed for large files... no [14:04:23.164] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:04:23.186] checking for posix_fadvise... no [14:04:23.226] checking whether posix_fadvise is declared... no [14:04:23.260] checking whether fdatasync is declared... no [14:04:23.298] checking whether strlcat is declared... no [14:04:23.348] checking whether strlcpy is declared... no [14:04:23.398] checking whether strnlen is declared... yes [14:04:23.452] checking whether preadv is declared... no [14:04:23.481] checking whether pwritev is declared... no [14:04:23.509] checking whether F_FULLFSYNC is declared... no [14:04:23.541] checking for explicit_bzero... no [14:04:23.577] checking for getopt... yes [14:04:23.613] checking for getpeereid... no [14:04:23.649] checking for inet_aton... no [14:04:23.683] checking for mkdtemp... no [14:04:23.717] checking for strlcat... no [14:04:23.753] checking for strlcpy... no [14:04:23.792] checking for strnlen... yes [14:04:23.829] checking for pthread_barrier_wait... yes [14:04:23.864] configure: On mingw32 we will use our strtof wrapper. [14:04:23.864] checking for getopt_long... yes [14:04:23.898] checking for _configthreadlocale... yes [14:04:23.933] checking for syslog... no [14:04:23.970] checking for opterr... yes [14:04:24.008] checking for optreset... no [14:04:24.048] checking test program... cross-compiling [14:04:24.048] checking whether long int is 64 bits... no [14:04:24.071] checking whether long long int is 64 bits... yes [14:04:24.078] checking for __builtin_mul_overflow... yes [14:04:24.113] checking size of void *... 8 [14:04:24.361] checking size of size_t... 8 [14:04:24.655] checking size of long... 4 [14:04:24.807] checking alignment of short... 2 [14:04:25.006] checking alignment of int... 4 [14:04:25.163] checking alignment of long... 4 [14:04:25.318] checking alignment of long long int... 8 [14:04:25.609] checking alignment of double... 8 [14:04:25.871] checking for int8... no [14:04:25.904] checking for uint8... no [14:04:25.937] checking for int64... no [14:04:25.970] checking for uint64... no [14:04:26.003] checking for __int128... yes [14:04:26.039] checking for __int128 alignment bug... assuming ok [14:04:26.039] checking alignment of PG_INT128_TYPE... 16 [14:04:26.367] checking for builtin __sync char locking functions... yes [14:04:26.400] checking for builtin __sync int32 locking functions... yes [14:04:26.430] checking for builtin __sync int32 atomic operations... yes [14:04:26.461] checking for builtin __sync int64 atomic operations... yes [14:04:26.492] checking for builtin __atomic int32 atomic operations... yes [14:04:26.522] checking for builtin __atomic int64 atomic operations... yes [14:04:26.554] checking for __get_cpuid... yes [14:04:26.587] checking for __get_cpuid_count... yes [14:04:26.617] checking for __cpuid... no [14:04:26.854] checking for __cpuidex... no [14:04:27.086] checking for _xgetbv with CFLAGS=... no [14:04:27.300] checking for _xgetbv with CFLAGS=-mxsave... yes [14:04:27.523] checking for _mm512_popcnt_epi64 with CFLAGS=... no [14:04:27.732] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [14:04:27.923] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:04:27.957] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:04:28.028] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:04:28.044] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:04:28.059] 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:04:28.102] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:04:28.102] checking which random number source to use... Windows native [14:04:28.104] checking for xmllint... /usr/bin/xmllint [14:04:28.104] checking for xsltproc... /usr/bin/xsltproc [14:04:28.104] checking for fop... /usr/bin/fop [14:04:28.104] checking for dbtoepub... no [14:04:28.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:04:28.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:04:28.113] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [14:04:28.113] 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:04:28.113] configure: using CPPFLAGS= -I./src/include/port/win32 [14:04:28.113] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:04:28.186] configure: creating ./config.status [14:04:28.244] config.status: creating GNUmakefile [14:04:28.251] config.status: creating src/Makefile.global [14:04:28.262] config.status: creating src/include/pg_config.h [14:04:28.269] config.status: creating src/include/pg_config_ext.h [14:04:28.276] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:04:28.287] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:04:28.293] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:04:28.298] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:04:28.304] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:04:28.309] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:04:28.312] config.status: executing check_win32_symlinks commands [14:04:28.340] [14:04:28.340] real 0m13.606s [14:04:28.340] user 0m10.353s [14:04:28.340] sys 0m2.878s [14:04:28.340] make -s -j${BUILD_JOBS} clean [14:04:28.737] time make -s -j${BUILD_JOBS} world-bin [14:05:05.076] In file included from ../../../../src/include/nodes/primnodes.h:22, [14:05:05.076] from ../../../../src/include/catalog/namespace.h:17, [14:05:05.076] from prepqual.c:34: [14:05:05.076] prepqual.c: In function ‘or_transformation’: [14:05:05.076] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [14:05:05.076] 563 | foreach(lc, entry->consts) [14:05:05.076] | ^~ [14:05:05.076] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [14:05:05.076] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [14:05:05.076] | ^~~~ [14:05:05.076] prepqual.c:515:11: note: shadowed declaration is here [14:05:05.076] 515 | foreach (lc, entries) [14:05:05.076] | ^~ [14:05:05.076] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [14:05:05.076] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [14:05:05.076] | ^~~~ [14:05:05.076] cc1: all warnings being treated as errors [14:05:05.077] make[4]: *** [: prepqual.o] Error 1 [14:05:05.077] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [14:05:05.077] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [14:05:05.077] make[2]: *** Waiting for unfinished jobs.... [14:05:13.074] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:05:13.074] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:05:13.074] [14:05:13.074] real 0m44.337s [14:05:13.074] user 2m27.737s [14:05:13.074] sys 0m19.028s [14:05:13.074] [14:05:13.074] Exit status: 2