[22:50:03.211] time ./configure \ [22:50:03.211] --host=x86_64-w64-mingw32 \ [22:50:03.211] --enable-cassert \ [22:50:03.211] --without-icu \ [22:50:03.211] CC="ccache x86_64-w64-mingw32-gcc" \ [22:50:03.211] CXX="ccache x86_64-w64-mingw32-g++" [22:50:03.281] checking build system type... x86_64-pc-linux-gnu [22:50:03.448] checking host system type... x86_64-w64-mingw32 [22:50:03.451] checking which template to use... win32 [22:50:03.452] checking whether NLS is wanted... no [22:50:03.452] checking for default port number... 5432 [22:50:03.456] checking for block size... 8kB [22:50:03.456] checking for segment size... 1GB [22:50:03.458] checking for WAL block size... 8kB [22:50:03.459] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:50:03.480] checking whether the C compiler works... yes [22:50:03.615] checking for C compiler default output file name... a.exe [22:50:03.616] checking for suffix of executables... .exe [22:50:03.647] checking whether we are cross compiling... yes [22:50:03.709] checking for suffix of object files... o [22:50:03.714] checking whether we are using the GNU C compiler... yes [22:50:03.718] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:50:03.722] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:50:03.730] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:50:03.846] checking whether we are using the GNU C++ compiler... yes [22:50:03.850] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:50:03.894] checking for gawk... no [22:50:03.894] checking for mawk... mawk [22:50:03.896] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:50:03.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:50:03.921] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:50:03.953] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:50:04.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:50:04.119] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:50:04.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:50:04.127] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:50:04.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:50:04.136] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:50:04.140] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:50:04.144] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:50:04.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:50:04.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:50:04.158] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:50:04.169] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:50:04.238] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:50:04.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:50:04.247] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:50:04.251] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:50:04.256] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:50:04.260] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:50:04.274] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:50:04.279] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:50:04.284] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:50:04.307] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:50:04.332] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:50:04.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:50:04.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:50:04.362] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:50:04.366] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:50:04.371] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:50:04.376] checking whether the C compiler still works... yes [22:50:04.411] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:50:04.459] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:50:04.459] checking pkg-config is at least version 0.9.0... yes [22:50:04.473] checking whether to build with ICU support... no [22:50:04.473] checking whether to build with Tcl... no [22:50:04.473] checking whether to build Perl modules... no [22:50:04.473] checking whether to build Python modules... no [22:50:04.473] checking whether to build with GSSAPI support... no [22:50:04.474] checking whether to build with PAM support... no [22:50:04.474] checking whether to build with BSD Authentication support... no [22:50:04.474] checking whether to build with LDAP support... no [22:50:04.474] checking whether to build with Bonjour support... no [22:50:04.474] checking whether to build with SELinux support... no [22:50:04.475] checking whether to build with systemd support... no [22:50:04.475] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:50:04.475] checking whether to build with XML support... no [22:50:04.475] checking whether to build with LZ4 support... no [22:50:04.475] checking whether to build with ZSTD support... no [22:50:04.475] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:50:04.476] checking whether it is possible to strip libraries... yes [22:50:04.482] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:50:04.483] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:50:04.483] checking for a BSD-compatible install... /usr/bin/install -c [22:50:04.488] checking for tar... /usr/bin/tar [22:50:04.489] checking whether ln -s works... yes [22:50:04.489] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:50:04.490] checking for bison... /usr/bin/bison [22:50:04.492] configure: using bison (GNU Bison) 3.7.5 [22:50:04.493] checking for flex... /usr/bin/flex [22:50:04.501] configure: using flex 2.6.4 [22:50:04.501] checking for perl... /usr/bin/perl [22:50:04.502] configure: using perl 5.32.1 [22:50:04.504] checking for zic... /usr/sbin/zic [22:50:04.504] checking for a sed that does not truncate output... /usr/bin/sed [22:50:04.508] checking for grep that handles long lines and -e... /usr/bin/grep [22:50:04.509] checking for egrep... /usr/bin/grep -E [22:50:04.510] checking for ANSI C header files... yes [22:50:04.543] checking for sys/types.h... yes [22:50:04.553] checking for sys/stat.h... yes [22:50:04.562] checking for stdlib.h... yes [22:50:04.586] checking for string.h... yes [22:50:04.594] checking for memory.h... yes [22:50:04.603] checking for strings.h... yes [22:50:04.611] checking for inttypes.h... yes [22:50:04.621] checking for stdint.h... yes [22:50:04.630] checking for unistd.h... yes [22:50:04.640] checking for main in -lm... yes [22:50:04.671] checking for library containing setproctitle... no [22:50:04.731] checking for library containing dlsym... no [22:50:04.795] checking for library containing socket... -lws2_32 [22:50:04.897] checking for library containing getopt_long... none required [22:50:04.935] checking for library containing shm_open... no [22:50:05.001] checking for library containing shm_unlink... no [22:50:05.067] checking for library containing clock_gettime... no [22:50:05.130] checking for library containing shmget... no [22:50:05.194] checking for library containing backtrace_symbols... no [22:50:05.256] checking for library containing pthread_barrier_wait... -lpthread [22:50:05.340] checking for inflate in -lz... yes [22:50:05.373] checking for stdbool.h that conforms to C99... yes [22:50:05.380] checking for _Bool... yes [22:50:05.428] checking atomic.h usability... no [22:50:05.469] checking atomic.h presence... no [22:50:05.482] checking for atomic.h... no [22:50:05.484] checking copyfile.h usability... no [22:50:05.525] checking copyfile.h presence... no [22:50:05.538] checking for copyfile.h... no [22:50:05.541] checking execinfo.h usability... no [22:50:05.583] checking execinfo.h presence... no [22:50:05.595] checking for execinfo.h... no [22:50:05.597] checking getopt.h usability... yes [22:50:05.602] checking getopt.h presence... yes [22:50:05.612] checking for getopt.h... yes [22:50:05.617] checking ifaddrs.h usability... no [22:50:05.658] checking ifaddrs.h presence... no [22:50:05.671] checking for ifaddrs.h... no [22:50:05.673] checking langinfo.h usability... no [22:50:05.716] checking langinfo.h presence... no [22:50:05.729] checking for langinfo.h... no [22:50:05.730] checking mbarrier.h usability... no [22:50:05.773] checking mbarrier.h presence... no [22:50:05.786] checking for mbarrier.h... no [22:50:05.789] checking sys/epoll.h usability... no [22:50:05.827] checking sys/epoll.h presence... no [22:50:05.840] checking for sys/epoll.h... no [22:50:05.843] checking sys/event.h usability... no [22:50:05.884] checking sys/event.h presence... no [22:50:05.897] checking for sys/event.h... no [22:50:05.899] checking sys/personality.h usability... no [22:50:05.940] checking sys/personality.h presence... no [22:50:05.952] checking for sys/personality.h... no [22:50:05.954] checking sys/prctl.h usability... no [22:50:05.996] checking sys/prctl.h presence... no [22:50:06.009] checking for sys/prctl.h... no [22:50:06.010] checking sys/procctl.h usability... no [22:50:06.054] checking sys/procctl.h presence... no [22:50:06.067] checking for sys/procctl.h... no [22:50:06.069] checking sys/signalfd.h usability... no [22:50:06.113] checking sys/signalfd.h presence... no [22:50:06.127] checking for sys/signalfd.h... no [22:50:06.130] checking sys/ucred.h usability... no [22:50:06.171] checking sys/ucred.h presence... no [22:50:06.185] checking for sys/ucred.h... no [22:50:06.187] checking termios.h usability... no [22:50:06.229] checking termios.h presence... no [22:50:06.241] checking for termios.h... no [22:50:06.243] checking ucred.h usability... no [22:50:06.284] checking ucred.h presence... no [22:50:06.296] checking for ucred.h... no [22:50:06.298] checking zlib.h usability... yes [22:50:06.304] checking zlib.h presence... yes [22:50:06.318] checking for zlib.h... yes [22:50:06.318] checking for lz4... /usr/bin/lz4 [22:50:06.318] checking for zstd... /usr/bin/zstd [22:50:06.318] checking for openssl... /usr/bin/openssl [22:50:06.321] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [22:50:06.322] checking crtdefs.h usability... yes [22:50:06.328] checking crtdefs.h presence... yes [22:50:06.339] checking for crtdefs.h... yes [22:50:06.340] checking whether byte ordering is bigendian... no [22:50:06.399] checking for inline... inline [22:50:06.404] checking for printf format archetype... gnu_printf [22:50:06.431] checking for _Static_assert... yes [22:50:06.462] checking for typeof... typeof [22:50:06.467] checking for __builtin_types_compatible_p... yes [22:50:06.474] checking for __builtin_constant_p... yes [22:50:06.498] checking for __builtin_unreachable... yes [22:50:06.530] checking for computed goto support... yes [22:50:06.535] checking for struct tm.tm_zone... no [22:50:06.594] checking for union semun... no [22:50:06.618] checking for socklen_t... yes [22:50:07.547] checking for struct sockaddr.sa_len... no [22:50:09.216] checking for locale_t... no [22:50:09.264] checking for C/C++ restrict keyword... __restrict [22:50:09.272] checking for struct option... yes [22:50:09.323] checking whether assembler supports x86_64 popcntq... yes [22:50:09.328] checking size of off_t... 4 [22:50:09.472] 0 [22:50:09.472] checking size of bool... 1 [22:50:09.503] checking for int timezone... yes [22:50:09.541] checking for wcstombs_l declaration... no [22:50:09.608] checking for backtrace_symbols... no [22:50:09.646] checking for copyfile... no [22:50:09.682] checking for copy_file_range... no [22:50:09.721] checking for getifaddrs... no [22:50:09.758] checking for getpeerucred... no [22:50:09.795] checking for inet_pton... yes [22:50:09.832] checking for kqueue... no [22:50:09.871] checking for mbstowcs_l... no [22:50:09.906] checking for memset_s... no [22:50:09.942] checking for posix_fallocate... no [22:50:09.978] checking for ppoll... no [22:50:10.013] checking for pthread_is_threaded_np... no [22:50:10.047] checking for setproctitle... no [22:50:10.081] checking for setproctitle_fast... no [22:50:10.116] checking for strchrnul... no [22:50:10.151] checking for strsignal... no [22:50:10.187] checking for syncfs... no [22:50:10.223] checking for sync_file_range... no [22:50:10.258] checking for uselocale... no [22:50:10.297] checking for wcstombs_l... no [22:50:10.330] checking for __builtin_bswap16... yes [22:50:10.362] checking for __builtin_bswap32... yes [22:50:10.396] checking for __builtin_bswap64... yes [22:50:10.427] checking for __builtin_clz... yes [22:50:10.457] checking for __builtin_ctz... yes [22:50:10.487] checking for __builtin_popcount... yes [22:50:10.518] checking for __builtin_frame_address... yes [22:50:10.548] checking for _LARGEFILE_SOURCE value needed for large files... no [22:50:10.589] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:50:10.612] checking for posix_fadvise... no [22:50:10.648] checking whether posix_fadvise is declared... no [22:50:10.680] checking whether fdatasync is declared... no [22:50:10.714] checking whether strlcat is declared... no [22:50:10.765] checking whether strlcpy is declared... no [22:50:10.814] checking whether strnlen is declared... yes [22:50:10.824] checking whether preadv is declared... no [22:50:10.850] checking whether pwritev is declared... no [22:50:10.876] checking whether F_FULLFSYNC is declared... no [22:50:10.906] checking for explicit_bzero... no [22:50:10.942] checking for getopt... yes [22:50:10.977] checking for getpeereid... no [22:50:11.013] checking for inet_aton... no [22:50:11.049] checking for mkdtemp... no [22:50:11.087] checking for strlcat... no [22:50:11.121] checking for strlcpy... no [22:50:11.157] checking for strnlen... yes [22:50:11.194] checking for pthread_barrier_wait... yes [22:50:11.227] configure: On mingw32 we will use our strtof wrapper. [22:50:11.227] checking for getopt_long... yes [22:50:11.264] checking for _configthreadlocale... yes [22:50:11.299] checking for syslog... no [22:50:11.337] checking for opterr... yes [22:50:11.375] checking for optreset... no [22:50:11.414] checking test program... cross-compiling [22:50:11.414] checking whether long int is 64 bits... no [22:50:11.438] checking whether long long int is 64 bits... yes [22:50:11.445] checking for __builtin_mul_overflow... yes [22:50:11.477] checking size of void *... 8 [22:50:11.745] checking size of size_t... 8 [22:50:11.989] checking size of long... 4 [22:50:12.143] checking alignment of short... 2 [22:50:12.261] checking alignment of int... 4 [22:50:12.419] checking alignment of long... 4 [22:50:12.566] checking alignment of long long int... 8 [22:50:12.806] checking alignment of double... 8 [22:50:13.024] checking for int8... no [22:50:13.055] checking for uint8... no [22:50:13.088] checking for int64... no [22:50:13.120] checking for uint64... no [22:50:13.153] checking for __int128... yes [22:50:13.189] checking for __int128 alignment bug... assuming ok [22:50:13.189] checking alignment of PG_INT128_TYPE... 16 [22:50:13.574] checking for builtin __sync char locking functions... yes [22:50:13.606] checking for builtin __sync int32 locking functions... yes [22:50:13.637] checking for builtin __sync int32 atomic operations... yes [22:50:13.669] checking for builtin __sync int64 atomic operations... yes [22:50:13.700] checking for builtin __atomic int32 atomic operations... yes [22:50:13.732] checking for builtin __atomic int64 atomic operations... yes [22:50:13.764] checking for __get_cpuid... yes [22:50:13.797] checking for __get_cpuid_count... yes [22:50:13.832] checking for __cpuid... no [22:50:14.076] checking for __cpuidex... no [22:50:14.318] checking for _xgetbv with CFLAGS=... no [22:50:14.529] checking for _xgetbv with CFLAGS=-mxsave... yes [22:50:14.747] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:50:14.950] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:50:15.144] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:50:15.180] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:50:15.247] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:50:15.262] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:50:15.276] 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 [22:50:15.319] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:50:15.320] checking which random number source to use... Windows native [22:50:15.321] checking for xmllint... /usr/bin/xmllint [22:50:15.321] checking for xsltproc... /usr/bin/xsltproc [22:50:15.322] checking for fop... /usr/bin/fop [22:50:15.322] checking for dbtoepub... no [22:50:15.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:50:15.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:50:15.330] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [22:50:15.330] 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 [22:50:15.330] configure: using CPPFLAGS= -I./src/include/port/win32 [22:50:15.330] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:50:15.392] configure: creating ./config.status [22:50:15.450] config.status: creating GNUmakefile [22:50:15.457] config.status: creating src/Makefile.global [22:50:15.468] config.status: creating src/include/pg_config.h [22:50:15.477] config.status: creating src/include/pg_config_ext.h [22:50:15.485] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:50:15.495] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:50:15.500] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:50:15.505] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:50:15.510] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:50:15.514] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:50:15.517] config.status: executing check_win32_symlinks commands [22:50:15.543] [22:50:15.543] real 0m12.332s [22:50:15.543] user 0m9.028s [22:50:15.543] sys 0m2.919s [22:50:15.543] make -s -j${BUILD_JOBS} clean [22:50:15.905] time make -s -j${BUILD_JOBS} world-bin [22:50:47.172] In file included from ../../../../src/include/nodes/primnodes.h:22, [22:50:47.172] from ../../../../src/include/catalog/namespace.h:17, [22:50:47.172] from prepqual.c:34: [22:50:47.172] prepqual.c: In function ‘or_transformation’: [22:50:47.172] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [22:50:47.172] 563 | foreach(lc, entry->consts) [22:50:47.172] | ^~ [22:50:47.172] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [22:50:47.172] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [22:50:47.172] | ^~~~ [22:50:47.172] prepqual.c:515:11: note: shadowed declaration is here [22:50:47.172] 515 | foreach (lc, entries) [22:50:47.172] | ^~ [22:50:47.172] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [22:50:47.172] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [22:50:47.172] | ^~~~ [22:50:47.172] cc1: all warnings being treated as errors [22:50:47.173] make[4]: *** [: prepqual.o] Error 1 [22:50:47.173] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [22:50:47.173] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [22:50:47.173] make[2]: *** Waiting for unfinished jobs.... [22:50:49.188] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:50:49.188] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:50:49.188] [22:50:49.188] real 0m33.284s [22:50:49.188] user 1m48.115s [22:50:49.188] sys 0m14.021s [22:50:49.189] [22:50:49.189] Exit status: 2