[13:41:50.430] time ./configure \ [13:41:50.430] --host=x86_64-w64-mingw32 \ [13:41:50.430] --enable-cassert \ [13:41:50.430] --without-icu \ [13:41:50.430] CC="ccache x86_64-w64-mingw32-gcc" \ [13:41:50.430] CXX="ccache x86_64-w64-mingw32-g++" [13:41:50.502] checking build system type... x86_64-pc-linux-gnu [13:41:50.690] checking host system type... x86_64-w64-mingw32 [13:41:50.694] checking which template to use... win32 [13:41:50.695] checking whether NLS is wanted... no [13:41:50.695] checking for default port number... 5432 [13:41:50.700] checking for block size... 8kB [13:41:50.701] checking for segment size... 1GB [13:41:50.702] checking for WAL block size... 8kB [13:41:50.703] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:41:50.726] checking whether the C compiler works... yes [13:41:50.864] checking for C compiler default output file name... a.exe [13:41:50.865] checking for suffix of executables... .exe [13:41:50.896] checking whether we are cross compiling... yes [13:41:50.962] checking for suffix of object files... o [13:41:50.968] checking whether we are using the GNU C compiler... yes [13:41:50.972] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:41:50.977] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:41:50.984] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:41:51.047] checking whether we are using the GNU C++ compiler... yes [13:41:51.051] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:41:51.095] checking for gawk... no [13:41:51.095] checking for mawk... mawk [13:41:51.097] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:41:51.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:41:51.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:41:51.137] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:41:51.297] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:41:51.302] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:41:51.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:41:51.327] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:41:51.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:41:51.335] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:41:51.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:41:51.344] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:41:51.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:41:51.353] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:41:51.357] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:41:51.361] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:41:51.365] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:41:51.369] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:41:51.429] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:41:51.433] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:41:51.438] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:41:51.442] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:41:51.457] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:41:51.461] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:41:51.465] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:41:51.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:41:51.518] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:41:51.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:41:51.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:41:51.548] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:41:51.552] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:41:51.556] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:41:51.561] checking whether the C compiler still works... yes [13:41:51.608] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:41:51.651] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:41:51.651] checking pkg-config is at least version 0.9.0... yes [13:41:51.665] checking whether to build with ICU support... no [13:41:51.665] checking whether to build with Tcl... no [13:41:51.665] checking whether to build Perl modules... no [13:41:51.665] checking whether to build Python modules... no [13:41:51.665] checking whether to build with GSSAPI support... no [13:41:51.666] checking whether to build with PAM support... no [13:41:51.666] checking whether to build with BSD Authentication support... no [13:41:51.666] checking whether to build with LDAP support... no [13:41:51.667] checking whether to build with Bonjour support... no [13:41:51.667] checking whether to build with SELinux support... no [13:41:51.667] checking whether to build with systemd support... no [13:41:51.667] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:41:51.667] checking whether to build with XML support... no [13:41:51.667] checking whether to build with LZ4 support... no [13:41:51.668] checking whether to build with ZSTD support... no [13:41:51.668] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:41:51.668] checking whether it is possible to strip libraries... yes [13:41:51.675] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:41:51.675] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:41:51.676] checking for a BSD-compatible install... /usr/bin/install -c [13:41:51.681] checking for tar... /usr/bin/tar [13:41:51.681] checking whether ln -s works... yes [13:41:51.681] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:41:51.683] checking for bison... /usr/bin/bison [13:41:51.684] configure: using bison (GNU Bison) 3.7.5 [13:41:51.686] checking for flex... /usr/bin/flex [13:41:51.695] configure: using flex 2.6.4 [13:41:51.695] checking for perl... /usr/bin/perl [13:41:51.697] configure: using perl 5.32.1 [13:41:51.698] checking for zic... /usr/sbin/zic [13:41:51.699] checking for a sed that does not truncate output... /usr/bin/sed [13:41:51.702] checking for grep that handles long lines and -e... /usr/bin/grep [13:41:51.703] checking for egrep... /usr/bin/grep -E [13:41:51.704] checking for ANSI C header files... yes [13:41:51.734] checking for sys/types.h... yes [13:41:51.745] checking for sys/stat.h... yes [13:41:51.755] checking for stdlib.h... yes [13:41:51.763] checking for string.h... yes [13:41:51.771] checking for memory.h... yes [13:41:51.781] checking for strings.h... yes [13:41:51.790] checking for inttypes.h... yes [13:41:51.800] checking for stdint.h... yes [13:41:51.809] checking for unistd.h... yes [13:41:51.819] checking for main in -lm... yes [13:41:51.850] checking for library containing setproctitle... no [13:41:51.907] checking for library containing dlsym... no [13:41:51.966] checking for library containing socket... -lws2_32 [13:41:52.055] checking for library containing getopt_long... none required [13:41:52.091] checking for library containing shm_open... no [13:41:52.149] checking for library containing shm_unlink... no [13:41:52.210] checking for library containing clock_gettime... no [13:41:52.271] checking for library containing shmget... no [13:41:52.329] checking for library containing backtrace_symbols... no [13:41:52.388] checking for library containing pthread_barrier_wait... -lpthread [13:41:52.451] checking for inflate in -lz... yes [13:41:52.485] checking for stdbool.h that conforms to C99... yes [13:41:52.492] checking for _Bool... yes [13:41:52.546] checking atomic.h usability... no [13:41:52.587] checking atomic.h presence... no [13:41:52.600] checking for atomic.h... no [13:41:52.602] checking copyfile.h usability... no [13:41:52.640] checking copyfile.h presence... no [13:41:52.651] checking for copyfile.h... no [13:41:52.653] checking execinfo.h usability... no [13:41:52.692] checking execinfo.h presence... no [13:41:52.702] checking for execinfo.h... no [13:41:52.704] checking getopt.h usability... yes [13:41:52.709] checking getopt.h presence... yes [13:41:52.718] checking for getopt.h... yes [13:41:52.723] checking ifaddrs.h usability... no [13:41:52.764] checking ifaddrs.h presence... no [13:41:52.775] checking for ifaddrs.h... no [13:41:52.777] checking langinfo.h usability... no [13:41:52.817] checking langinfo.h presence... no [13:41:52.828] checking for langinfo.h... no [13:41:52.830] checking mbarrier.h usability... no [13:41:52.870] checking mbarrier.h presence... no [13:41:52.881] checking for mbarrier.h... no [13:41:52.883] checking sys/epoll.h usability... no [13:41:52.921] checking sys/epoll.h presence... no [13:41:52.934] checking for sys/epoll.h... no [13:41:52.936] checking sys/event.h usability... no [13:41:52.977] checking sys/event.h presence... no [13:41:52.988] checking for sys/event.h... no [13:41:52.990] checking sys/personality.h usability... no [13:41:53.029] checking sys/personality.h presence... no [13:41:53.040] checking for sys/personality.h... no [13:41:53.042] checking sys/prctl.h usability... no [13:41:53.082] checking sys/prctl.h presence... no [13:41:53.093] checking for sys/prctl.h... no [13:41:53.095] checking sys/procctl.h usability... no [13:41:53.134] checking sys/procctl.h presence... no [13:41:53.144] checking for sys/procctl.h... no [13:41:53.146] checking sys/signalfd.h usability... no [13:41:53.188] checking sys/signalfd.h presence... no [13:41:53.200] checking for sys/signalfd.h... no [13:41:53.202] checking sys/ucred.h usability... no [13:41:53.242] checking sys/ucred.h presence... no [13:41:53.253] checking for sys/ucred.h... no [13:41:53.255] checking termios.h usability... no [13:41:53.295] checking termios.h presence... no [13:41:53.306] checking for termios.h... no [13:41:53.308] checking ucred.h usability... no [13:41:53.346] checking ucred.h presence... no [13:41:53.357] checking for ucred.h... no [13:41:53.359] checking zlib.h usability... yes [13:41:53.365] checking zlib.h presence... yes [13:41:53.378] checking for zlib.h... yes [13:41:53.379] checking for lz4... /usr/bin/lz4 [13:41:53.379] checking for zstd... /usr/bin/zstd [13:41:53.379] checking for openssl... /usr/bin/openssl [13:41:53.382] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [13:41:53.383] checking crtdefs.h usability... yes [13:41:53.387] checking crtdefs.h presence... yes [13:41:53.396] checking for crtdefs.h... yes [13:41:53.397] checking whether byte ordering is bigendian... no [13:41:53.445] checking for inline... inline [13:41:53.449] checking for printf format archetype... gnu_printf [13:41:53.454] checking for _Static_assert... yes [13:41:53.483] checking for typeof... typeof [13:41:53.487] checking for __builtin_types_compatible_p... yes [13:41:53.494] checking for __builtin_constant_p... yes [13:41:53.500] checking for __builtin_unreachable... yes [13:41:53.530] checking for computed goto support... yes [13:41:53.535] checking for struct tm.tm_zone... no [13:41:53.587] checking for union semun... no [13:41:53.609] checking for socklen_t... yes [13:41:54.471] checking for struct sockaddr.sa_len... no [13:41:55.978] checking for locale_t... no [13:41:56.025] checking for C/C++ restrict keyword... __restrict [13:41:56.034] checking for struct option... yes [13:41:56.063] checking whether assembler supports x86_64 popcntq... yes [13:41:56.068] checking size of off_t... 4 [13:41:56.228] 0 [13:41:56.228] checking size of bool... 1 [13:41:56.254] checking for int timezone... yes [13:41:56.289] checking for wcstombs_l declaration... no [13:41:56.343] checking for backtrace_symbols... no [13:41:56.378] checking for copyfile... no [13:41:56.411] checking for copy_file_range... no [13:41:56.446] checking for getifaddrs... no [13:41:56.482] checking for getpeerucred... no [13:41:56.519] checking for inet_pton... yes [13:41:56.558] checking for kqueue... no [13:41:56.593] checking for mbstowcs_l... no [13:41:56.628] checking for memset_s... no [13:41:56.661] checking for posix_fallocate... no [13:41:56.695] checking for ppoll... no [13:41:56.729] checking for pthread_is_threaded_np... no [13:41:56.760] checking for setproctitle... no [13:41:56.794] checking for setproctitle_fast... no [13:41:56.827] checking for strchrnul... no [13:41:56.859] checking for strsignal... no [13:41:56.892] checking for syncfs... no [13:41:56.926] checking for sync_file_range... no [13:41:56.962] checking for uselocale... no [13:41:56.996] checking for wcstombs_l... no [13:41:57.029] checking for __builtin_bswap16... yes [13:41:57.064] checking for __builtin_bswap32... yes [13:41:57.097] checking for __builtin_bswap64... yes [13:41:57.130] checking for __builtin_clz... yes [13:41:57.161] checking for __builtin_ctz... yes [13:41:57.192] checking for __builtin_popcount... yes [13:41:57.236] checking for __builtin_frame_address... yes [13:41:57.271] checking for _LARGEFILE_SOURCE value needed for large files... no [13:41:57.314] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:41:57.336] checking for posix_fadvise... no [13:41:57.373] checking whether posix_fadvise is declared... no [13:41:57.407] checking whether fdatasync is declared... no [13:41:57.439] checking whether strlcat is declared... no [13:41:57.482] checking whether strlcpy is declared... no [13:41:57.527] checking whether strnlen is declared... yes [13:41:57.535] checking whether preadv is declared... no [13:41:57.559] checking whether pwritev is declared... no [13:41:57.581] checking whether F_FULLFSYNC is declared... no [13:41:57.608] checking for explicit_bzero... no [13:41:57.640] checking for getopt... yes [13:41:57.672] checking for getpeereid... no [13:41:57.704] checking for inet_aton... no [13:41:57.736] checking for mkdtemp... no [13:41:57.768] checking for strlcat... no [13:41:57.800] checking for strlcpy... no [13:41:57.832] checking for strnlen... yes [13:41:57.868] checking for pthread_barrier_wait... yes [13:41:57.901] configure: On mingw32 we will use our strtof wrapper. [13:41:57.901] checking for getopt_long... yes [13:41:57.934] checking for _configthreadlocale... yes [13:41:57.968] checking for syslog... no [13:41:58.001] checking for opterr... yes [13:41:58.037] checking for optreset... no [13:41:58.073] checking test program... cross-compiling [13:41:58.073] checking whether long int is 64 bits... no [13:41:58.092] checking whether long long int is 64 bits... yes [13:41:58.103] checking for __builtin_mul_overflow... yes [13:41:58.135] checking size of void *... 8 [13:41:58.314] checking size of size_t... 8 [13:41:58.518] checking size of long... 4 [13:41:58.676] checking alignment of short... 2 [13:41:58.769] checking alignment of int... 4 [13:41:58.906] checking alignment of long... 4 [13:41:59.044] checking alignment of long long int... 8 [13:41:59.230] checking alignment of double... 8 [13:41:59.465] checking for int8... no [13:41:59.495] checking for uint8... no [13:41:59.524] checking for int64... no [13:41:59.553] checking for uint64... no [13:41:59.581] checking for __int128... yes [13:41:59.616] checking for __int128 alignment bug... assuming ok [13:41:59.616] checking alignment of PG_INT128_TYPE... 16 [13:41:59.840] checking for builtin __sync char locking functions... yes [13:41:59.871] checking for builtin __sync int32 locking functions... yes [13:41:59.900] checking for builtin __sync int32 atomic operations... yes [13:41:59.929] checking for builtin __sync int64 atomic operations... yes [13:41:59.960] checking for builtin __atomic int32 atomic operations... yes [13:41:59.992] checking for builtin __atomic int64 atomic operations... yes [13:42:00.024] checking for __get_cpuid... yes [13:42:00.060] checking for __get_cpuid_count... yes [13:42:00.092] checking for __cpuid... no [13:42:00.325] checking for __cpuidex... no [13:42:00.560] checking for _xgetbv with CFLAGS=... no [13:42:00.763] checking for _xgetbv with CFLAGS=-mxsave... yes [13:42:00.979] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:42:01.185] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:42:01.377] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:42:01.412] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:42:01.486] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:42:01.503] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:42:01.516] 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 [13:42:01.560] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:42:01.560] checking which random number source to use... Windows native [13:42:01.562] checking for xmllint... /usr/bin/xmllint [13:42:01.562] checking for xsltproc... /usr/bin/xsltproc [13:42:01.562] checking for fop... /usr/bin/fop [13:42:01.562] checking for dbtoepub... no [13:42:01.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:42:01.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:42:01.570] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [13:42:01.570] 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 [13:42:01.570] configure: using CPPFLAGS= -I./src/include/port/win32 [13:42:01.570] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:42:01.630] configure: creating ./config.status [13:42:01.682] config.status: creating GNUmakefile [13:42:01.690] config.status: creating src/Makefile.global [13:42:01.699] config.status: creating src/include/pg_config.h [13:42:01.707] config.status: creating src/include/pg_config_ext.h [13:42:01.714] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:42:01.723] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:42:01.728] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:42:01.732] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:42:01.736] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:42:01.740] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:42:01.742] config.status: executing check_win32_symlinks commands [13:42:01.768] [13:42:01.768] real 0m11.338s [13:42:01.768] user 0m8.569s [13:42:01.768] sys 0m2.325s [13:42:01.768] make -s -j${BUILD_JOBS} clean [13:42:02.131] time make -s -j${BUILD_JOBS} world-bin [13:42:33.506] In file included from ../../../../src/include/nodes/primnodes.h:22, [13:42:33.506] from ../../../../src/include/catalog/namespace.h:17, [13:42:33.506] from prepqual.c:34: [13:42:33.506] prepqual.c: In function ‘or_transformation’: [13:42:33.506] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [13:42:33.506] 563 | foreach(lc, entry->consts) [13:42:33.506] | ^~ [13:42:33.506] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [13:42:33.506] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [13:42:33.506] | ^~~~ [13:42:33.506] prepqual.c:515:11: note: shadowed declaration is here [13:42:33.506] 515 | foreach (lc, entries) [13:42:33.506] | ^~ [13:42:33.506] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [13:42:33.506] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [13:42:33.506] | ^~~~ [13:42:33.506] cc1: all warnings being treated as errors [13:42:33.507] make[4]: *** [: prepqual.o] Error 1 [13:42:33.507] make[4]: *** Waiting for unfinished jobs.... [13:42:33.634] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [13:42:33.634] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [13:42:33.634] make[2]: *** Waiting for unfinished jobs.... [13:42:43.031] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:42:43.031] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:42:43.032] [13:42:43.032] real 0m40.901s [13:42:43.032] user 2m18.565s [13:42:43.032] sys 0m15.929s [13:42:43.032] [13:42:43.032] Exit status: 2