[07:16:57.603] time ./configure \ [07:16:57.603] --host=x86_64-w64-mingw32 \ [07:16:57.603] --enable-cassert \ [07:16:57.603] --without-icu \ [07:16:57.603] CC="ccache x86_64-w64-mingw32-gcc" \ [07:16:57.603] CXX="ccache x86_64-w64-mingw32-g++" [07:16:57.689] checking build system type... x86_64-pc-linux-gnu [07:16:57.888] checking host system type... x86_64-w64-mingw32 [07:16:57.893] checking which template to use... win32 [07:16:57.893] checking whether NLS is wanted... no [07:16:57.893] checking for default port number... 5432 [07:16:57.900] checking for block size... 8kB [07:16:57.901] checking for segment size... 1GB [07:16:57.903] checking for WAL block size... 8kB [07:16:57.904] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:16:57.931] checking whether the C compiler works... yes [07:16:58.098] checking for C compiler default output file name... a.exe [07:16:58.099] checking for suffix of executables... .exe [07:16:58.135] checking whether we are cross compiling... yes [07:16:58.216] checking for suffix of object files... o [07:16:58.221] checking whether we are using the GNU C compiler... yes [07:16:58.227] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:16:58.233] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:16:58.241] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:16:58.297] checking whether we are using the GNU C++ compiler... yes [07:16:58.303] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:16:58.372] checking for gawk... no [07:16:58.372] checking for mawk... mawk [07:16:58.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:16:58.380] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:16:58.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:16:58.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:16:58.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:16:58.614] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:16:58.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:16:58.625] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:16:58.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:16:58.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:16:58.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:16:58.647] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:16:58.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:16:58.657] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:16:58.661] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:16:58.667] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:16:58.672] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:16:58.677] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:16:58.682] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:16:58.687] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:16:58.692] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:16:58.696] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:16:58.712] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:16:58.716] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:16:58.720] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:16:58.744] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:16:58.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:16:58.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:16:58.779] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:16:58.802] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:16:58.808] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:16:58.813] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:16:58.820] checking whether the C compiler still works... yes [07:16:58.874] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:16:58.938] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:16:58.938] checking pkg-config is at least version 0.9.0... yes [07:16:58.953] checking whether to build with ICU support... no [07:16:58.954] checking whether to build with Tcl... no [07:16:58.954] checking whether to build Perl modules... no [07:16:58.954] checking whether to build Python modules... no [07:16:58.954] checking whether to build with GSSAPI support... no [07:16:58.955] checking whether to build with PAM support... no [07:16:58.955] checking whether to build with BSD Authentication support... no [07:16:58.955] checking whether to build with LDAP support... no [07:16:58.955] checking whether to build with Bonjour support... no [07:16:58.955] checking whether to build with SELinux support... no [07:16:58.955] checking whether to build with systemd support... no [07:16:58.955] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:16:58.955] checking whether to build with XML support... no [07:16:58.956] checking whether to build with LZ4 support... no [07:16:58.956] checking whether to build with ZSTD support... no [07:16:58.956] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:16:58.956] checking whether it is possible to strip libraries... yes [07:16:58.965] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:16:58.966] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:16:58.966] checking for a BSD-compatible install... /usr/bin/install -c [07:16:58.972] checking for tar... /usr/bin/tar [07:16:58.972] checking whether ln -s works... yes [07:16:58.972] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:16:58.974] checking for bison... /usr/bin/bison [07:16:58.976] configure: using bison (GNU Bison) 3.7.5 [07:16:58.979] checking for flex... /usr/bin/flex [07:16:58.988] configure: using flex 2.6.4 [07:16:58.988] checking for perl... /usr/bin/perl [07:16:58.990] configure: using perl 5.32.1 [07:16:58.992] checking for zic... /usr/sbin/zic [07:16:58.992] checking for a sed that does not truncate output... /usr/bin/sed [07:16:58.997] checking for grep that handles long lines and -e... /usr/bin/grep [07:16:58.999] checking for egrep... /usr/bin/grep -E [07:16:59.000] checking for ANSI C header files... yes [07:16:59.040] checking for sys/types.h... yes [07:16:59.055] checking for sys/stat.h... yes [07:16:59.069] checking for stdlib.h... yes [07:16:59.080] checking for string.h... yes [07:16:59.090] checking for memory.h... yes [07:16:59.099] checking for strings.h... yes [07:16:59.151] checking for inttypes.h... yes [07:16:59.205] checking for stdint.h... yes [07:16:59.214] checking for unistd.h... yes [07:16:59.225] checking for main in -lm... yes [07:16:59.262] checking for library containing setproctitle... no [07:16:59.329] checking for library containing dlsym... no [07:16:59.401] checking for library containing socket... -lws2_32 [07:16:59.506] checking for library containing getopt_long... none required [07:16:59.548] checking for library containing shm_open... no [07:16:59.612] checking for library containing shm_unlink... no [07:16:59.680] checking for library containing clock_gettime... no [07:16:59.748] checking for library containing shmget... no [07:16:59.820] checking for library containing backtrace_symbols... no [07:16:59.885] checking for library containing pthread_barrier_wait... -lpthread [07:16:59.954] checking for inflate in -lz... yes [07:16:59.989] checking for stdbool.h that conforms to C99... yes [07:16:59.997] checking for _Bool... yes [07:17:00.046] checking atomic.h usability... no [07:17:00.110] checking atomic.h presence... no [07:17:00.127] checking for atomic.h... no [07:17:00.131] checking copyfile.h usability... no [07:17:00.188] checking copyfile.h presence... no [07:17:00.206] checking for copyfile.h... no [07:17:00.209] checking execinfo.h usability... no [07:17:00.257] checking execinfo.h presence... no [07:17:00.272] checking for execinfo.h... no [07:17:00.275] checking getopt.h usability... yes [07:17:00.282] checking getopt.h presence... yes [07:17:00.296] checking for getopt.h... yes [07:17:00.302] checking ifaddrs.h usability... no [07:17:00.349] checking ifaddrs.h presence... no [07:17:00.365] checking for ifaddrs.h... no [07:17:00.367] checking langinfo.h usability... no [07:17:00.416] checking langinfo.h presence... no [07:17:00.433] checking for langinfo.h... no [07:17:00.436] checking mbarrier.h usability... no [07:17:00.484] checking mbarrier.h presence... no [07:17:00.498] checking for mbarrier.h... no [07:17:00.500] checking sys/epoll.h usability... no [07:17:00.550] checking sys/epoll.h presence... no [07:17:00.569] checking for sys/epoll.h... no [07:17:00.572] checking sys/event.h usability... no [07:17:00.620] checking sys/event.h presence... no [07:17:00.636] checking for sys/event.h... no [07:17:00.639] checking sys/personality.h usability... no [07:17:00.683] checking sys/personality.h presence... no [07:17:00.697] checking for sys/personality.h... no [07:17:00.700] checking sys/prctl.h usability... no [07:17:00.753] checking sys/prctl.h presence... no [07:17:00.771] checking for sys/prctl.h... no [07:17:00.775] checking sys/procctl.h usability... no [07:17:00.823] checking sys/procctl.h presence... no [07:17:00.840] checking for sys/procctl.h... no [07:17:00.843] checking sys/signalfd.h usability... no [07:17:00.894] checking sys/signalfd.h presence... no [07:17:00.908] checking for sys/signalfd.h... no [07:17:00.910] checking sys/ucred.h usability... no [07:17:00.957] checking sys/ucred.h presence... no [07:17:00.972] checking for sys/ucred.h... no [07:17:00.974] checking termios.h usability... no [07:17:01.021] checking termios.h presence... no [07:17:01.036] checking for termios.h... no [07:17:01.040] checking ucred.h usability... no [07:17:01.093] checking ucred.h presence... no [07:17:01.109] checking for ucred.h... no [07:17:01.111] checking zlib.h usability... yes [07:17:01.119] checking zlib.h presence... yes [07:17:01.135] checking for zlib.h... yes [07:17:01.135] checking for lz4... /usr/bin/lz4 [07:17:01.135] checking for zstd... /usr/bin/zstd [07:17:01.136] checking for openssl... /usr/bin/openssl [07:17:01.140] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [07:17:01.140] checking crtdefs.h usability... yes [07:17:01.147] checking crtdefs.h presence... yes [07:17:01.160] checking for crtdefs.h... yes [07:17:01.161] checking whether byte ordering is bigendian... no [07:17:01.218] checking for inline... inline [07:17:01.223] checking for printf format archetype... gnu_printf [07:17:01.230] checking for _Static_assert... yes [07:17:01.270] checking for typeof... typeof [07:17:01.278] checking for __builtin_types_compatible_p... yes [07:17:01.287] checking for __builtin_constant_p... yes [07:17:01.294] checking for __builtin_unreachable... yes [07:17:01.328] checking for computed goto support... yes [07:17:01.334] checking for struct tm.tm_zone... no [07:17:01.403] checking for union semun... no [07:17:01.432] checking for socklen_t... yes [07:17:02.463] checking for struct sockaddr.sa_len... no [07:17:04.259] checking for locale_t... no [07:17:04.312] checking for C/C++ restrict keyword... __restrict [07:17:04.322] checking for struct option... yes [07:17:04.355] checking whether assembler supports x86_64 popcntq... yes [07:17:04.360] checking size of off_t... 4 [07:17:04.519] 0 [07:17:04.520] checking size of bool... 1 [07:17:04.555] checking for int timezone... yes [07:17:04.596] checking for wcstombs_l declaration... no [07:17:04.662] checking for backtrace_symbols... no [07:17:04.702] checking for copyfile... no [07:17:04.741] checking for copy_file_range... no [07:17:04.782] checking for getifaddrs... no [07:17:04.822] checking for getpeerucred... no [07:17:04.866] checking for inet_pton... yes [07:17:04.910] checking for kqueue... no [07:17:04.952] checking for mbstowcs_l... no [07:17:04.994] checking for memset_s... no [07:17:05.036] checking for posix_fallocate... no [07:17:05.079] checking for ppoll... no [07:17:05.119] checking for pthread_is_threaded_np... no [07:17:05.158] checking for setproctitle... no [07:17:05.198] checking for setproctitle_fast... no [07:17:05.242] checking for strchrnul... no [07:17:05.287] checking for strsignal... no [07:17:05.330] checking for syncfs... no [07:17:05.370] checking for sync_file_range... no [07:17:05.408] checking for uselocale... no [07:17:05.447] checking for wcstombs_l... no [07:17:05.484] checking for __builtin_bswap16... yes [07:17:05.523] checking for __builtin_bswap32... yes [07:17:05.565] checking for __builtin_bswap64... yes [07:17:05.606] checking for __builtin_clz... yes [07:17:05.646] checking for __builtin_ctz... yes [07:17:05.684] checking for __builtin_popcount... yes [07:17:05.725] checking for __builtin_frame_address... yes [07:17:05.763] checking for _LARGEFILE_SOURCE value needed for large files... no [07:17:05.809] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:17:05.832] checking for posix_fadvise... no [07:17:05.874] checking whether posix_fadvise is declared... no [07:17:05.907] checking whether fdatasync is declared... no [07:17:05.940] checking whether strlcat is declared... no [07:17:05.990] checking whether strlcpy is declared... no [07:17:06.040] checking whether strnlen is declared... yes [07:17:06.097] checking whether preadv is declared... no [07:17:06.120] checking whether pwritev is declared... no [07:17:06.148] checking whether F_FULLFSYNC is declared... no [07:17:06.182] checking for explicit_bzero... no [07:17:06.218] checking for getopt... yes [07:17:06.252] checking for getpeereid... no [07:17:06.291] checking for inet_aton... no [07:17:06.325] checking for mkdtemp... no [07:17:06.364] checking for strlcat... no [07:17:06.402] checking for strlcpy... no [07:17:06.440] checking for strnlen... yes [07:17:06.479] checking for pthread_barrier_wait... yes [07:17:06.513] configure: On mingw32 we will use our strtof wrapper. [07:17:06.513] checking for getopt_long... yes [07:17:06.549] checking for _configthreadlocale... yes [07:17:06.584] checking for syslog... no [07:17:06.620] checking for opterr... yes [07:17:06.660] checking for optreset... no [07:17:06.698] checking test program... cross-compiling [07:17:06.698] checking whether long int is 64 bits... no [07:17:06.719] checking whether long long int is 64 bits... yes [07:17:06.725] checking for __builtin_mul_overflow... yes [07:17:06.765] checking size of void *... 8 [07:17:06.979] checking size of size_t... 8 [07:17:07.178] checking size of long... 4 [07:17:07.339] checking alignment of short... 2 [07:17:07.439] checking alignment of int... 4 [07:17:07.586] checking alignment of long... 4 [07:17:07.738] checking alignment of long long int... 8 [07:17:07.981] checking alignment of double... 8 [07:17:08.191] checking for int8... no [07:17:08.221] checking for uint8... no [07:17:08.252] checking for int64... no [07:17:08.284] checking for uint64... no [07:17:08.319] checking for __int128... yes [07:17:08.355] checking for __int128 alignment bug... assuming ok [07:17:08.355] checking alignment of PG_INT128_TYPE... 16 [07:17:08.620] checking for builtin __sync char locking functions... yes [07:17:08.654] checking for builtin __sync int32 locking functions... yes [07:17:08.688] checking for builtin __sync int32 atomic operations... yes [07:17:08.721] checking for builtin __sync int64 atomic operations... yes [07:17:08.753] checking for builtin __atomic int32 atomic operations... yes [07:17:08.785] checking for builtin __atomic int64 atomic operations... yes [07:17:08.818] checking for __get_cpuid... yes [07:17:08.855] checking for __get_cpuid_count... yes [07:17:08.887] checking for __cpuid... no [07:17:09.133] checking for __cpuidex... no [07:17:09.382] checking for _xgetbv with CFLAGS=... no [07:17:09.595] checking for _xgetbv with CFLAGS=-mxsave... yes [07:17:09.814] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:17:10.025] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:17:10.221] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:17:10.256] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:17:10.330] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:17:10.348] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:17:10.360] 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 [07:17:10.403] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:17:10.404] checking which random number source to use... Windows native [07:17:10.405] checking for xmllint... /usr/bin/xmllint [07:17:10.405] checking for xsltproc... /usr/bin/xsltproc [07:17:10.405] checking for fop... /usr/bin/fop [07:17:10.406] checking for dbtoepub... no [07:17:10.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:17:10.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:17:10.416] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [07:17:10.416] 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 [07:17:10.416] configure: using CPPFLAGS= -I./src/include/port/win32 [07:17:10.416] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:17:10.490] configure: creating ./config.status [07:17:10.543] config.status: creating GNUmakefile [07:17:10.552] config.status: creating src/Makefile.global [07:17:10.564] config.status: creating src/include/pg_config.h [07:17:10.573] config.status: creating src/include/pg_config_ext.h [07:17:10.583] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:17:10.594] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:17:10.598] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:17:10.602] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:17:10.607] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:17:10.612] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:17:10.614] config.status: executing check_win32_symlinks commands [07:17:10.639] [07:17:10.639] real 0m13.036s [07:17:10.639] user 0m9.528s [07:17:10.639] sys 0m3.097s [07:17:10.639] make -s -j${BUILD_JOBS} clean [07:17:11.028] time make -s -j${BUILD_JOBS} world-bin [07:17:32.896] In file included from ../../../../src/include/nodes/primnodes.h:22, [07:17:32.896] from ../../../../src/include/catalog/namespace.h:17, [07:17:32.896] from prepqual.c:34: [07:17:32.896] prepqual.c: In function ‘or_transformation’: [07:17:32.896] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [07:17:32.896] 563 | foreach(lc, entry->consts) [07:17:32.896] | ^~ [07:17:32.896] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [07:17:32.896] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [07:17:32.896] | ^~~~ [07:17:32.896] prepqual.c:515:11: note: shadowed declaration is here [07:17:32.896] 515 | foreach (lc, entries) [07:17:32.896] | ^~ [07:17:32.896] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [07:17:32.896] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [07:17:32.896] | ^~~~ [07:17:32.896] cc1: all warnings being treated as errors [07:17:32.897] make[4]: *** [: prepqual.o] Error 1 [07:17:32.897] make[4]: *** Waiting for unfinished jobs.... [07:17:33.182] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [07:17:33.182] make[3]: *** Waiting for unfinished jobs.... [07:17:36.506] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [07:17:36.506] make[2]: *** Waiting for unfinished jobs.... [07:17:39.571] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:17:39.571] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:17:39.571] [07:17:39.571] real 0m28.543s [07:17:39.571] user 1m31.804s [07:17:39.571] sys 0m12.484s [07:17:39.571] [07:17:39.571] Exit status: 2