[03:27:43.172] time ./configure \ [03:27:43.172] --host=x86_64-w64-mingw32 \ [03:27:43.172] --enable-cassert \ [03:27:43.172] --without-icu \ [03:27:43.172] CC="ccache x86_64-w64-mingw32-gcc" \ [03:27:43.172] CXX="ccache x86_64-w64-mingw32-g++" [03:27:43.239] checking build system type... x86_64-pc-linux-gnu [03:27:43.405] checking host system type... x86_64-w64-mingw32 [03:27:43.408] checking which template to use... win32 [03:27:43.409] checking whether NLS is wanted... no [03:27:43.409] checking for default port number... 5432 [03:27:43.414] checking for block size... 8kB [03:27:43.415] checking for segment size... 1GB [03:27:43.416] checking for WAL block size... 8kB [03:27:43.417] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:27:43.439] checking whether the C compiler works... yes [03:27:43.574] checking for C compiler default output file name... a.exe [03:27:43.575] checking for suffix of executables... .exe [03:27:43.602] checking whether we are cross compiling... yes [03:27:43.662] checking for suffix of object files... o [03:27:43.667] checking whether we are using the GNU C compiler... yes [03:27:43.687] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:27:43.691] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:27:43.697] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:27:43.738] checking whether we are using the GNU C++ compiler... yes [03:27:43.742] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:27:43.783] checking for gawk... no [03:27:43.783] checking for mawk... mawk [03:27:43.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:27:43.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:27:43.800] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:27:43.831] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:27:43.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:27:43.977] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:27:43.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:27:43.986] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:27:43.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:27:44.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:27:44.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:27:44.089] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:27:44.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:27:44.138] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:27:44.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:27:44.173] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:27:44.196] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:27:44.200] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:27:44.205] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:27:44.216] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:27:44.222] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:27:44.226] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:27:44.240] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:27:44.245] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:27:44.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:27:44.274] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:27:44.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:27:44.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:27:44.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:27:44.367] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:27:44.389] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:27:44.395] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:27:44.401] checking whether the C compiler still works... yes [03:27:44.448] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:27:44.496] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:27:44.497] checking pkg-config is at least version 0.9.0... yes [03:27:44.510] checking whether to build with ICU support... no [03:27:44.510] checking whether to build with Tcl... no [03:27:44.510] checking whether to build Perl modules... no [03:27:44.510] checking whether to build Python modules... no [03:27:44.510] checking whether to build with GSSAPI support... no [03:27:44.511] checking whether to build with PAM support... no [03:27:44.511] checking whether to build with BSD Authentication support... no [03:27:44.511] checking whether to build with LDAP support... no [03:27:44.511] checking whether to build with Bonjour support... no [03:27:44.511] checking whether to build with SELinux support... no [03:27:44.511] checking whether to build with systemd support... no [03:27:44.511] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:27:44.511] checking whether to build with XML support... no [03:27:44.512] checking whether to build with LZ4 support... no [03:27:44.512] checking whether to build with ZSTD support... no [03:27:44.512] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:27:44.513] checking whether it is possible to strip libraries... yes [03:27:44.520] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:27:44.520] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:27:44.520] checking for a BSD-compatible install... /usr/bin/install -c [03:27:44.526] checking for tar... /usr/bin/tar [03:27:44.526] checking whether ln -s works... yes [03:27:44.526] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:27:44.527] checking for bison... /usr/bin/bison [03:27:44.529] configure: using bison (GNU Bison) 3.7.5 [03:27:44.531] checking for flex... /usr/bin/flex [03:27:44.539] configure: using flex 2.6.4 [03:27:44.539] checking for perl... /usr/bin/perl [03:27:44.540] configure: using perl 5.32.1 [03:27:44.542] checking for zic... /usr/sbin/zic [03:27:44.542] checking for a sed that does not truncate output... /usr/bin/sed [03:27:44.545] checking for grep that handles long lines and -e... /usr/bin/grep [03:27:44.546] checking for egrep... /usr/bin/grep -E [03:27:44.547] checking for ANSI C header files... yes [03:27:44.581] checking for sys/types.h... yes [03:27:44.593] checking for sys/stat.h... yes [03:27:44.641] checking for stdlib.h... yes [03:27:44.664] checking for string.h... yes [03:27:44.672] checking for memory.h... yes [03:27:44.712] checking for strings.h... yes [03:27:44.721] checking for inttypes.h... yes [03:27:44.730] checking for stdint.h... yes [03:27:44.738] checking for unistd.h... yes [03:27:44.762] checking for main in -lm... yes [03:27:44.793] checking for library containing setproctitle... no [03:27:44.854] checking for library containing dlsym... no [03:27:44.912] checking for library containing socket... -lws2_32 [03:27:44.998] checking for library containing getopt_long... none required [03:27:45.035] checking for library containing shm_open... no [03:27:45.100] checking for library containing shm_unlink... no [03:27:45.162] checking for library containing clock_gettime... no [03:27:45.229] checking for library containing shmget... no [03:27:45.292] checking for library containing backtrace_symbols... no [03:27:45.353] checking for library containing pthread_barrier_wait... -lpthread [03:27:45.415] checking for inflate in -lz... yes [03:27:45.446] checking for stdbool.h that conforms to C99... yes [03:27:45.452] checking for _Bool... yes [03:27:45.498] checking atomic.h usability... no [03:27:45.536] checking atomic.h presence... no [03:27:45.549] checking for atomic.h... no [03:27:45.551] checking copyfile.h usability... no [03:27:45.591] checking copyfile.h presence... no [03:27:45.603] checking for copyfile.h... no [03:27:45.605] checking execinfo.h usability... no [03:27:45.643] checking execinfo.h presence... no [03:27:45.654] checking for execinfo.h... no [03:27:45.656] checking getopt.h usability... yes [03:27:45.697] checking getopt.h presence... yes [03:27:45.706] checking for getopt.h... yes [03:27:45.709] checking ifaddrs.h usability... no [03:27:45.749] checking ifaddrs.h presence... no [03:27:45.761] checking for ifaddrs.h... no [03:27:45.763] checking langinfo.h usability... no [03:27:45.802] checking langinfo.h presence... no [03:27:45.813] checking for langinfo.h... no [03:27:45.815] checking mbarrier.h usability... no [03:27:45.853] checking mbarrier.h presence... no [03:27:45.865] checking for mbarrier.h... no [03:27:45.867] checking sys/epoll.h usability... no [03:27:45.905] checking sys/epoll.h presence... no [03:27:45.916] checking for sys/epoll.h... no [03:27:45.918] checking sys/event.h usability... no [03:27:45.960] checking sys/event.h presence... no [03:27:45.971] checking for sys/event.h... no [03:27:45.974] checking sys/personality.h usability... no [03:27:46.012] checking sys/personality.h presence... no [03:27:46.024] checking for sys/personality.h... no [03:27:46.026] checking sys/prctl.h usability... no [03:27:46.063] checking sys/prctl.h presence... no [03:27:46.074] checking for sys/prctl.h... no [03:27:46.075] checking sys/procctl.h usability... no [03:27:46.114] checking sys/procctl.h presence... no [03:27:46.127] checking for sys/procctl.h... no [03:27:46.130] checking sys/signalfd.h usability... no [03:27:46.171] checking sys/signalfd.h presence... no [03:27:46.184] checking for sys/signalfd.h... no [03:27:46.186] checking sys/ucred.h usability... no [03:27:46.225] checking sys/ucred.h presence... no [03:27:46.236] checking for sys/ucred.h... no [03:27:46.238] checking termios.h usability... no [03:27:46.278] checking termios.h presence... no [03:27:46.289] checking for termios.h... no [03:27:46.291] checking ucred.h usability... no [03:27:46.327] checking ucred.h presence... no [03:27:46.337] checking for ucred.h... no [03:27:46.338] checking zlib.h usability... yes [03:27:46.344] checking zlib.h presence... yes [03:27:46.357] checking for zlib.h... yes [03:27:46.357] checking for lz4... /usr/bin/lz4 [03:27:46.357] checking for zstd... /usr/bin/zstd [03:27:46.358] checking for openssl... /usr/bin/openssl [03:27:46.361] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [03:27:46.361] checking crtdefs.h usability... yes [03:27:46.365] checking crtdefs.h presence... yes [03:27:46.375] checking for crtdefs.h... yes [03:27:46.376] checking whether byte ordering is bigendian... no [03:27:46.422] checking for inline... inline [03:27:46.435] checking for printf format archetype... gnu_printf [03:27:46.441] checking for _Static_assert... yes [03:27:46.471] checking for typeof... typeof [03:27:46.476] checking for __builtin_types_compatible_p... yes [03:27:46.505] checking for __builtin_constant_p... yes [03:27:46.529] checking for __builtin_unreachable... yes [03:27:46.559] checking for computed goto support... yes [03:27:46.585] checking for struct tm.tm_zone... no [03:27:46.639] checking for union semun... no [03:27:46.663] checking for socklen_t... yes [03:27:48.185] checking for struct sockaddr.sa_len... no [03:27:49.667] checking for locale_t... no [03:27:49.713] checking for C/C++ restrict keyword... __restrict [03:27:49.744] checking for struct option... yes [03:27:49.776] checking whether assembler supports x86_64 popcntq... yes [03:27:49.788] checking size of off_t... 4 [03:27:49.950] 0 [03:27:49.950] checking size of bool... 1 [03:27:49.999] checking for int timezone... yes [03:27:50.033] checking for wcstombs_l declaration... no [03:27:50.085] checking for backtrace_symbols... no [03:27:50.120] checking for copyfile... no [03:27:50.157] checking for copy_file_range... no [03:27:50.195] checking for getifaddrs... no [03:27:50.232] checking for getpeerucred... no [03:27:50.268] checking for inet_pton... yes [03:27:50.305] checking for kqueue... no [03:27:50.341] checking for mbstowcs_l... no [03:27:50.377] checking for memset_s... no [03:27:50.413] checking for posix_fallocate... no [03:27:50.449] checking for ppoll... no [03:27:50.486] checking for pthread_is_threaded_np... no [03:27:50.523] checking for setproctitle... no [03:27:50.558] checking for setproctitle_fast... no [03:27:50.593] checking for strchrnul... no [03:27:50.627] checking for strsignal... no [03:27:50.661] checking for syncfs... no [03:27:50.695] checking for sync_file_range... no [03:27:50.728] checking for uselocale... no [03:27:50.760] checking for wcstombs_l... no [03:27:50.791] checking for __builtin_bswap16... yes [03:27:50.827] checking for __builtin_bswap32... yes [03:27:50.860] checking for __builtin_bswap64... yes [03:27:50.891] checking for __builtin_clz... yes [03:27:50.922] checking for __builtin_ctz... yes [03:27:50.953] checking for __builtin_popcount... yes [03:27:50.987] checking for __builtin_frame_address... yes [03:27:51.020] checking for _LARGEFILE_SOURCE value needed for large files... no [03:27:51.061] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:27:51.081] checking for posix_fadvise... no [03:27:51.115] checking whether posix_fadvise is declared... no [03:27:51.146] checking whether fdatasync is declared... no [03:27:51.177] checking whether strlcat is declared... no [03:27:51.220] checking whether strlcpy is declared... no [03:27:51.271] checking whether strnlen is declared... yes [03:27:51.281] checking whether preadv is declared... no [03:27:51.307] checking whether pwritev is declared... no [03:27:51.333] checking whether F_FULLFSYNC is declared... no [03:27:51.361] checking for explicit_bzero... no [03:27:51.395] checking for getopt... yes [03:27:51.425] checking for getpeereid... no [03:27:51.460] checking for inet_aton... no [03:27:51.495] checking for mkdtemp... no [03:27:51.531] checking for strlcat... no [03:27:51.566] checking for strlcpy... no [03:27:51.601] checking for strnlen... yes [03:27:51.639] checking for pthread_barrier_wait... yes [03:27:51.670] configure: On mingw32 we will use our strtof wrapper. [03:27:51.671] checking for getopt_long... yes [03:27:51.704] checking for _configthreadlocale... yes [03:27:51.737] checking for syslog... no [03:27:51.770] checking for opterr... yes [03:27:51.805] checking for optreset... no [03:27:51.844] checking test program... cross-compiling [03:27:51.844] checking whether long int is 64 bits... no [03:27:51.866] checking whether long long int is 64 bits... yes [03:27:51.871] checking for __builtin_mul_overflow... yes [03:27:51.903] checking size of void *... 8 [03:27:52.176] checking size of size_t... 8 [03:27:52.424] checking size of long... 4 [03:27:52.612] checking alignment of short... 2 [03:27:52.805] checking alignment of int... 4 [03:27:53.021] checking alignment of long... 4 [03:27:53.213] checking alignment of long long int... 8 [03:27:53.438] checking alignment of double... 8 [03:27:53.633] checking for int8... no [03:27:53.664] checking for uint8... no [03:27:53.695] checking for int64... no [03:27:53.724] checking for uint64... no [03:27:53.752] checking for __int128... yes [03:27:53.786] checking for __int128 alignment bug... assuming ok [03:27:53.786] checking alignment of PG_INT128_TYPE... 16 [03:27:54.075] checking for builtin __sync char locking functions... yes [03:27:54.109] checking for builtin __sync int32 locking functions... yes [03:27:54.143] checking for builtin __sync int32 atomic operations... yes [03:27:54.173] checking for builtin __sync int64 atomic operations... yes [03:27:54.202] checking for builtin __atomic int32 atomic operations... yes [03:27:54.232] checking for builtin __atomic int64 atomic operations... yes [03:27:54.260] checking for __get_cpuid... yes [03:27:54.293] checking for __get_cpuid_count... yes [03:27:54.325] checking for __cpuid... no [03:27:54.557] checking for __cpuidex... no [03:27:54.788] checking for _xgetbv with CFLAGS=... no [03:27:54.988] checking for _xgetbv with CFLAGS=-mxsave... yes [03:27:55.207] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:27:55.403] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:27:55.591] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:27:55.624] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:27:55.688] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:27:55.702] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:27:55.712] 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 [03:27:55.747] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:27:55.748] checking which random number source to use... Windows native [03:27:55.749] checking for xmllint... /usr/bin/xmllint [03:27:55.749] checking for xsltproc... /usr/bin/xsltproc [03:27:55.749] checking for fop... /usr/bin/fop [03:27:55.749] checking for dbtoepub... no [03:27:55.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:27:55.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:27:55.757] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [03:27:55.757] 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 [03:27:55.757] configure: using CPPFLAGS= -I./src/include/port/win32 [03:27:55.757] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:27:55.813] configure: creating ./config.status [03:27:55.859] config.status: creating GNUmakefile [03:27:55.866] config.status: creating src/Makefile.global [03:27:55.875] config.status: creating src/include/pg_config.h [03:27:55.881] config.status: creating src/include/pg_config_ext.h [03:27:55.888] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:27:55.896] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:27:55.902] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:27:55.907] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:27:55.912] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:27:55.917] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:27:55.919] config.status: executing check_win32_symlinks commands [03:27:55.946] [03:27:55.946] real 0m12.774s [03:27:55.946] user 0m9.625s [03:27:55.946] sys 0m2.801s [03:27:55.946] make -s -j${BUILD_JOBS} clean [03:27:56.327] time make -s -j${BUILD_JOBS} world-bin [03:28:42.564] In file included from ../../../../src/include/nodes/primnodes.h:22, [03:28:42.564] from ../../../../src/include/catalog/namespace.h:17, [03:28:42.564] from prepqual.c:34: [03:28:42.564] prepqual.c: In function ‘or_transformation’: [03:28:42.564] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [03:28:42.564] 563 | foreach(lc, entry->consts) [03:28:42.564] | ^~ [03:28:42.564] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [03:28:42.564] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [03:28:42.564] | ^~~~ [03:28:42.564] prepqual.c:515:11: note: shadowed declaration is here [03:28:42.564] 515 | foreach (lc, entries) [03:28:42.564] | ^~ [03:28:42.564] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [03:28:42.564] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [03:28:42.564] | ^~~~ [03:28:42.564] cc1: all warnings being treated as errors [03:28:42.564] make[4]: *** [: prepqual.o] Error 1 [03:28:42.564] make[4]: *** Waiting for unfinished jobs.... [03:28:42.813] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [03:28:42.813] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [03:28:42.813] make[2]: *** Waiting for unfinished jobs.... [03:28:43.961] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:28:43.962] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:28:43.962] [03:28:43.962] real 0m47.635s [03:28:43.962] user 2m35.214s [03:28:43.962] sys 0m19.868s [03:28:43.962] [03:28:43.962] Exit status: 2