[13:05:44.196] time ./configure \ [13:05:44.196] --host=x86_64-w64-mingw32 \ [13:05:44.196] --enable-cassert \ [13:05:44.196] --without-icu \ [13:05:44.196] CC="ccache x86_64-w64-mingw32-gcc" \ [13:05:44.196] CXX="ccache x86_64-w64-mingw32-g++" [13:05:44.293] checking build system type... x86_64-pc-linux-gnu [13:05:44.493] checking host system type... x86_64-w64-mingw32 [13:05:44.498] checking which template to use... win32 [13:05:44.498] checking whether NLS is wanted... no [13:05:44.498] checking for default port number... 5432 [13:05:44.504] checking for block size... 8kB [13:05:44.505] checking for segment size... 1GB [13:05:44.507] checking for WAL block size... 8kB [13:05:44.509] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:05:44.540] checking whether the C compiler works... yes [13:05:44.697] checking for C compiler default output file name... a.exe [13:05:44.698] checking for suffix of executables... .exe [13:05:44.738] checking whether we are cross compiling... yes [13:05:44.813] checking for suffix of object files... o [13:05:44.821] checking whether we are using the GNU C compiler... yes [13:05:44.828] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:05:44.834] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:05:44.843] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:05:44.904] checking whether we are using the GNU C++ compiler... yes [13:05:45.112] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:05:45.175] checking for gawk... no [13:05:45.175] checking for mawk... mawk [13:05:45.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:05:45.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:05:45.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:05:45.231] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:05:45.270] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:05:45.277] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:05:45.283] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:05:45.291] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:05:45.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:05:45.314] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:05:45.321] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:05:45.329] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:05:45.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:05:45.342] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:05:45.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:05:45.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:05:45.362] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:05:45.370] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:05:45.377] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:05:45.394] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:05:45.402] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:05:45.409] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:05:45.431] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:05:45.438] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:05:45.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:05:45.473] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:05:45.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:05:45.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:05:45.542] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:05:45.571] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:05:45.578] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:05:45.584] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:05:45.592] checking whether the C compiler still works... yes [13:05:45.653] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:05:45.723] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:05:45.724] checking pkg-config is at least version 0.9.0... yes [13:05:45.743] checking whether to build with ICU support... no [13:05:45.744] checking whether to build with Tcl... no [13:05:45.744] checking whether to build Perl modules... no [13:05:45.744] checking whether to build Python modules... no [13:05:45.744] checking whether to build with GSSAPI support... no [13:05:45.745] checking whether to build with PAM support... no [13:05:45.745] checking whether to build with BSD Authentication support... no [13:05:45.745] checking whether to build with LDAP support... no [13:05:45.745] checking whether to build with Bonjour support... no [13:05:45.746] checking whether to build with SELinux support... no [13:05:45.746] checking whether to build with systemd support... no [13:05:45.746] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:05:45.746] checking whether to build with XML support... no [13:05:45.746] checking whether to build with LZ4 support... no [13:05:45.747] checking whether to build with ZSTD support... no [13:05:45.747] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:05:45.747] checking whether it is possible to strip libraries... yes [13:05:45.756] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:05:45.756] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:05:45.756] checking for a BSD-compatible install... /usr/bin/install -c [13:05:45.765] checking for tar... /usr/bin/tar [13:05:45.766] checking whether ln -s works... yes [13:05:45.766] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:05:45.768] checking for bison... /usr/bin/bison [13:05:45.771] configure: using bison (GNU Bison) 3.7.5 [13:05:45.774] checking for flex... /usr/bin/flex [13:05:45.787] configure: using flex 2.6.4 [13:05:45.787] checking for perl... /usr/bin/perl [13:05:45.790] configure: using perl 5.32.1 [13:05:45.793] checking for zic... /usr/sbin/zic [13:05:45.793] checking for a sed that does not truncate output... /usr/bin/sed [13:05:45.798] checking for grep that handles long lines and -e... /usr/bin/grep [13:05:45.800] checking for egrep... /usr/bin/grep -E [13:05:45.802] checking for ANSI C header files... yes [13:05:45.848] checking for sys/types.h... yes [13:05:45.865] checking for sys/stat.h... yes [13:05:45.882] checking for stdlib.h... yes [13:05:45.897] checking for string.h... yes [13:05:45.913] checking for memory.h... yes [13:05:45.973] checking for strings.h... yes [13:05:45.988] checking for inttypes.h... yes [13:05:46.005] checking for stdint.h... yes [13:05:46.020] checking for unistd.h... yes [13:05:46.036] checking for main in -lm... yes [13:05:46.080] checking for library containing setproctitle... no [13:05:46.162] checking for library containing dlsym... no [13:05:46.245] checking for library containing socket... -lws2_32 [13:05:46.365] checking for library containing getopt_long... none required [13:05:46.411] checking for library containing shm_open... no [13:05:46.492] checking for library containing shm_unlink... no [13:05:46.573] checking for library containing clock_gettime... no [13:05:46.661] checking for library containing shmget... no [13:05:46.748] checking for library containing backtrace_symbols... no [13:05:46.832] checking for library containing pthread_barrier_wait... -lpthread [13:05:46.920] checking for inflate in -lz... yes [13:05:46.963] checking for stdbool.h that conforms to C99... yes [13:05:46.973] checking for _Bool... yes [13:05:47.037] checking atomic.h usability... no [13:05:47.084] checking atomic.h presence... no [13:05:47.103] checking for atomic.h... no [13:05:47.107] checking copyfile.h usability... no [13:05:47.155] checking copyfile.h presence... no [13:05:47.173] checking for copyfile.h... no [13:05:47.176] checking execinfo.h usability... no [13:05:47.227] checking execinfo.h presence... no [13:05:47.245] checking for execinfo.h... no [13:05:47.248] checking getopt.h usability... yes [13:05:47.255] checking getopt.h presence... yes [13:05:47.269] checking for getopt.h... yes [13:05:47.277] checking ifaddrs.h usability... no [13:05:47.327] checking ifaddrs.h presence... no [13:05:47.344] checking for ifaddrs.h... no [13:05:47.347] checking langinfo.h usability... no [13:05:47.396] checking langinfo.h presence... no [13:05:47.412] checking for langinfo.h... no [13:05:47.415] checking mbarrier.h usability... no [13:05:47.464] checking mbarrier.h presence... no [13:05:47.481] checking for mbarrier.h... no [13:05:47.484] checking sys/epoll.h usability... no [13:05:47.536] checking sys/epoll.h presence... no [13:05:47.556] checking for sys/epoll.h... no [13:05:47.559] checking sys/event.h usability... no [13:05:47.610] checking sys/event.h presence... no [13:05:47.628] checking for sys/event.h... no [13:05:47.632] checking sys/personality.h usability... no [13:05:47.683] checking sys/personality.h presence... no [13:05:47.700] checking for sys/personality.h... no [13:05:47.704] checking sys/prctl.h usability... no [13:05:47.755] checking sys/prctl.h presence... no [13:05:47.772] checking for sys/prctl.h... no [13:05:47.776] checking sys/procctl.h usability... no [13:05:47.825] checking sys/procctl.h presence... no [13:05:47.843] checking for sys/procctl.h... no [13:05:47.846] checking sys/signalfd.h usability... no [13:05:47.894] checking sys/signalfd.h presence... no [13:05:47.913] checking for sys/signalfd.h... no [13:05:47.916] checking sys/ucred.h usability... no [13:05:47.967] checking sys/ucred.h presence... no [13:05:47.984] checking for sys/ucred.h... no [13:05:47.987] checking termios.h usability... no [13:05:48.037] checking termios.h presence... no [13:05:48.055] checking for termios.h... no [13:05:48.058] checking ucred.h usability... no [13:05:48.109] checking ucred.h presence... no [13:05:48.127] checking for ucred.h... no [13:05:48.129] checking zlib.h usability... yes [13:05:48.139] checking zlib.h presence... yes [13:05:48.157] checking for zlib.h... yes [13:05:48.157] checking for lz4... /usr/bin/lz4 [13:05:48.157] checking for zstd... /usr/bin/zstd [13:05:48.158] checking for openssl... /usr/bin/openssl [13:05:48.164] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [13:05:48.164] checking crtdefs.h usability... yes [13:05:48.171] checking crtdefs.h presence... yes [13:05:48.186] checking for crtdefs.h... yes [13:05:48.187] checking whether byte ordering is bigendian... no [13:05:48.278] checking for inline... inline [13:05:48.285] checking for printf format archetype... gnu_printf [13:05:48.292] checking for _Static_assert... yes [13:05:48.330] checking for typeof... typeof [13:05:48.338] checking for __builtin_types_compatible_p... yes [13:05:48.348] checking for __builtin_constant_p... yes [13:05:48.359] checking for __builtin_unreachable... yes [13:05:48.396] checking for computed goto support... yes [13:05:48.403] checking for struct tm.tm_zone... no [13:05:48.475] checking for union semun... no [13:05:48.506] checking for socklen_t... yes [13:05:49.486] checking for struct sockaddr.sa_len... no [13:05:51.134] checking for locale_t... no [13:05:51.195] checking for C/C++ restrict keyword... __restrict [13:05:51.207] checking for struct option... yes [13:05:51.247] checking whether assembler supports x86_64 popcntq... yes [13:05:51.254] checking size of off_t... 4 [13:05:51.440] 0 [13:05:51.441] checking size of bool... 1 [13:05:51.484] checking for int timezone... yes [13:05:51.530] checking for wcstombs_l declaration... no [13:05:51.611] checking for backtrace_symbols... no [13:05:51.657] checking for copyfile... no [13:05:51.706] checking for copy_file_range... no [13:05:51.754] checking for getifaddrs... no [13:05:51.799] checking for getpeerucred... no [13:05:51.847] checking for inet_pton... yes [13:05:51.895] checking for kqueue... no [13:05:51.943] checking for mbstowcs_l... no [13:05:51.991] checking for memset_s... no [13:05:52.038] checking for posix_fallocate... no [13:05:52.082] checking for ppoll... no [13:05:52.127] checking for pthread_is_threaded_np... no [13:05:52.174] checking for setproctitle... no [13:05:52.222] checking for setproctitle_fast... no [13:05:52.270] checking for strchrnul... no [13:05:52.319] checking for strsignal... no [13:05:52.368] checking for syncfs... no [13:05:52.415] checking for sync_file_range... no [13:05:52.462] checking for uselocale... no [13:05:52.508] checking for wcstombs_l... no [13:05:52.556] checking for __builtin_bswap16... yes [13:05:52.603] checking for __builtin_bswap32... yes [13:05:52.649] checking for __builtin_bswap64... yes [13:05:52.695] checking for __builtin_clz... yes [13:05:52.741] checking for __builtin_ctz... yes [13:05:52.785] checking for __builtin_popcount... yes [13:05:52.831] checking for __builtin_frame_address... yes [13:05:52.878] checking for _LARGEFILE_SOURCE value needed for large files... no [13:05:52.931] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:05:52.957] checking for posix_fadvise... no [13:05:53.006] checking whether posix_fadvise is declared... no [13:05:53.052] checking whether fdatasync is declared... no [13:05:53.095] checking whether strlcat is declared... no [13:05:53.152] checking whether strlcpy is declared... no [13:05:53.207] checking whether strnlen is declared... yes [13:05:53.218] checking whether preadv is declared... no [13:05:53.247] checking whether pwritev is declared... no [13:05:53.277] checking whether F_FULLFSYNC is declared... no [13:05:53.313] checking for explicit_bzero... no [13:05:53.360] checking for getopt... yes [13:05:53.409] checking for getpeereid... no [13:05:53.457] checking for inet_aton... no [13:05:53.504] checking for mkdtemp... no [13:05:53.551] checking for strlcat... no [13:05:53.599] checking for strlcpy... no [13:05:53.645] checking for strnlen... yes [13:05:53.692] checking for pthread_barrier_wait... yes [13:05:53.735] configure: On mingw32 we will use our strtof wrapper. [13:05:53.735] checking for getopt_long... yes [13:05:53.779] checking for _configthreadlocale... yes [13:05:53.822] checking for syslog... no [13:05:53.867] checking for opterr... yes [13:05:53.913] checking for optreset... no [13:05:53.963] checking test program... cross-compiling [13:05:53.964] checking whether long int is 64 bits... no [13:05:53.995] checking whether long long int is 64 bits... yes [13:05:54.003] checking for __builtin_mul_overflow... yes [13:05:54.044] checking size of void *... 8 [13:05:54.288] checking size of size_t... 8 [13:05:54.582] checking size of long... 4 [13:05:54.773] checking alignment of short... 2 [13:05:54.902] checking alignment of int... 4 [13:05:55.083] checking alignment of long... 4 [13:05:55.257] checking alignment of long long int... 8 [13:05:55.493] checking alignment of double... 8 [13:05:55.719] checking for int8... no [13:05:55.755] checking for uint8... no [13:05:55.790] checking for int64... no [13:05:55.827] checking for uint64... no [13:05:55.864] checking for __int128... yes [13:05:55.911] checking for __int128 alignment bug... assuming ok [13:05:55.911] checking alignment of PG_INT128_TYPE... 16 [13:05:56.313] checking for builtin __sync char locking functions... yes [13:05:56.355] checking for builtin __sync int32 locking functions... yes [13:05:56.397] checking for builtin __sync int32 atomic operations... yes [13:05:56.435] checking for builtin __sync int64 atomic operations... yes [13:05:56.473] checking for builtin __atomic int32 atomic operations... yes [13:05:56.511] checking for builtin __atomic int64 atomic operations... yes [13:05:56.553] checking for __get_cpuid... yes [13:05:56.598] checking for __get_cpuid_count... yes [13:05:56.643] checking for __cpuid... no [13:05:56.895] checking for __cpuidex... no [13:05:57.165] checking for _xgetbv with CFLAGS=... no [13:05:57.386] checking for _xgetbv with CFLAGS=-mxsave... yes [13:05:57.623] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:05:57.846] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:05:58.056] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:05:58.097] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:05:58.177] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:05:58.198] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:05:58.213] 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:05:58.260] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:05:58.260] checking which random number source to use... Windows native [13:05:58.262] checking for xmllint... /usr/bin/xmllint [13:05:58.262] checking for xsltproc... /usr/bin/xsltproc [13:05:58.262] checking for fop... /usr/bin/fop [13:05:58.262] checking for dbtoepub... no [13:05:58.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:05:58.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:05:58.272] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [13:05:58.272] 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:05:58.272] configure: using CPPFLAGS= -I./src/include/port/win32 [13:05:58.272] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:05:58.353] configure: creating ./config.status [13:05:58.427] config.status: creating GNUmakefile [13:05:58.437] config.status: creating src/Makefile.global [13:05:58.450] config.status: creating src/include/pg_config.h [13:05:58.461] config.status: creating src/include/pg_config_ext.h [13:05:58.471] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:05:58.483] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:05:58.489] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:05:58.495] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:05:58.502] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:05:58.509] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:05:58.512] config.status: executing check_win32_symlinks commands [13:05:58.545] [13:05:58.545] real 0m14.348s [13:05:58.545] user 0m9.670s [13:05:58.545] sys 0m4.338s [13:05:58.545] make -s -j${BUILD_JOBS} clean [13:05:59.013] time make -s -j${BUILD_JOBS} world-bin [13:06:26.931] In file included from ../../../../src/include/nodes/primnodes.h:22, [13:06:26.931] from ../../../../src/include/catalog/namespace.h:17, [13:06:26.931] from prepqual.c:34: [13:06:26.931] prepqual.c: In function ‘or_transformation’: [13:06:26.931] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [13:06:26.931] 563 | foreach(lc, entry->consts) [13:06:26.931] | ^~ [13:06:26.931] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [13:06:26.931] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [13:06:26.931] | ^~~~ [13:06:26.931] prepqual.c:515:11: note: shadowed declaration is here [13:06:26.931] 515 | foreach (lc, entries) [13:06:26.931] | ^~ [13:06:26.931] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [13:06:26.931] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [13:06:26.931] | ^~~~ [13:06:26.931] cc1: all warnings being treated as errors [13:06:26.931] make[4]: *** [: prepqual.o] Error 1 [13:06:26.931] make[4]: *** Waiting for unfinished jobs.... [13:06:27.206] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [13:06:27.206] make[3]: *** Waiting for unfinished jobs.... [13:06:31.023] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [13:06:31.023] make[2]: *** Waiting for unfinished jobs.... [13:06:32.571] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:06:32.571] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:06:32.571] [13:06:32.571] real 0m33.559s [13:06:32.571] user 1m45.027s [13:06:32.571] sys 0m19.624s [13:06:32.572] [13:06:32.572] Exit status: 2