[19:50:51.754] time ./configure \ [19:50:51.754] --host=x86_64-w64-mingw32 \ [19:50:51.754] --enable-cassert \ [19:50:51.754] --without-icu \ [19:50:51.754] CC="ccache x86_64-w64-mingw32-gcc" \ [19:50:51.754] CXX="ccache x86_64-w64-mingw32-g++" [19:50:51.824] checking build system type... x86_64-pc-linux-gnu [19:50:51.991] checking host system type... x86_64-w64-mingw32 [19:50:51.995] checking which template to use... win32 [19:50:51.995] checking whether NLS is wanted... no [19:50:51.996] checking for default port number... 5432 [19:50:52.000] checking for block size... 8kB [19:50:52.000] checking for segment size... 1GB [19:50:52.002] checking for WAL block size... 8kB [19:50:52.002] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:50:52.023] checking whether the C compiler works... yes [19:50:52.152] checking for C compiler default output file name... a.exe [19:50:52.152] checking for suffix of executables... .exe [19:50:52.184] checking whether we are cross compiling... yes [19:50:52.251] checking for suffix of object files... o [19:50:52.256] checking whether we are using the GNU C compiler... yes [19:50:52.260] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:50:52.264] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:50:52.271] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:50:52.318] checking whether we are using the GNU C++ compiler... yes [19:50:52.323] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:50:52.513] checking for gawk... no [19:50:52.513] checking for mawk... mawk [19:50:52.515] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:50:52.520] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:50:52.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:50:52.584] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:50:52.618] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:50:52.645] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:50:52.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:50:52.677] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:50:52.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:50:52.708] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:50:52.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:50:52.718] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:50:52.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:50:52.729] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:50:52.735] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:50:52.740] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:50:52.745] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:50:52.773] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:50:52.778] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:50:52.784] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:50:52.790] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:50:52.795] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:50:52.812] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:50:52.817] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:50:52.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:50:52.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:50:52.874] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:50:52.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:50:52.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:50:52.909] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:50:52.915] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:50:52.920] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:50:52.925] checking whether the C compiler still works... yes [19:50:52.973] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:50:53.016] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:50:53.016] checking pkg-config is at least version 0.9.0... yes [19:50:53.030] checking whether to build with ICU support... no [19:50:53.030] checking whether to build with Tcl... no [19:50:53.030] checking whether to build Perl modules... no [19:50:53.030] checking whether to build Python modules... no [19:50:53.030] checking whether to build with GSSAPI support... no [19:50:53.031] checking whether to build with PAM support... no [19:50:53.031] checking whether to build with BSD Authentication support... no [19:50:53.031] checking whether to build with LDAP support... no [19:50:53.031] checking whether to build with Bonjour support... no [19:50:53.031] checking whether to build with SELinux support... no [19:50:53.031] checking whether to build with systemd support... no [19:50:53.031] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:50:53.031] checking whether to build with XML support... no [19:50:53.032] checking whether to build with LZ4 support... no [19:50:53.032] checking whether to build with ZSTD support... no [19:50:53.032] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:50:53.032] checking whether it is possible to strip libraries... yes [19:50:53.039] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:50:53.040] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:50:53.040] checking for a BSD-compatible install... /usr/bin/install -c [19:50:53.045] checking for tar... /usr/bin/tar [19:50:53.045] checking whether ln -s works... yes [19:50:53.045] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:50:53.046] checking for bison... /usr/bin/bison [19:50:53.048] configure: using bison (GNU Bison) 3.7.5 [19:50:53.051] checking for flex... /usr/bin/flex [19:50:53.059] configure: using flex 2.6.4 [19:50:53.059] checking for perl... /usr/bin/perl [19:50:53.061] configure: using perl 5.32.1 [19:50:53.064] checking for zic... /usr/sbin/zic [19:50:53.064] checking for a sed that does not truncate output... /usr/bin/sed [19:50:53.069] checking for grep that handles long lines and -e... /usr/bin/grep [19:50:53.070] checking for egrep... /usr/bin/grep -E [19:50:53.072] checking for ANSI C header files... yes [19:50:53.107] checking for sys/types.h... yes [19:50:53.119] checking for sys/stat.h... yes [19:50:53.129] checking for stdlib.h... yes [19:50:53.139] checking for string.h... yes [19:50:53.148] checking for memory.h... yes [19:50:53.159] checking for strings.h... yes [19:50:53.186] checking for inttypes.h... yes [19:50:53.237] checking for stdint.h... yes [19:50:53.247] checking for unistd.h... yes [19:50:53.259] checking for main in -lm... yes [19:50:53.293] checking for library containing setproctitle... no [19:50:53.363] checking for library containing dlsym... no [19:50:53.433] checking for library containing socket... -lws2_32 [19:50:53.537] checking for library containing getopt_long... none required [19:50:53.577] checking for library containing shm_open... no [19:50:53.646] checking for library containing shm_unlink... no [19:50:53.717] checking for library containing clock_gettime... no [19:50:53.783] checking for library containing shmget... no [19:50:53.851] checking for library containing backtrace_symbols... no [19:50:53.916] checking for library containing pthread_barrier_wait... -lpthread [19:50:53.985] checking for inflate in -lz... yes [19:50:54.022] checking for stdbool.h that conforms to C99... yes [19:50:54.030] checking for _Bool... yes [19:50:54.082] checking atomic.h usability... no [19:50:54.123] checking atomic.h presence... no [19:50:54.136] checking for atomic.h... no [19:50:54.139] checking copyfile.h usability... no [19:50:54.184] checking copyfile.h presence... no [19:50:54.198] checking for copyfile.h... no [19:50:54.200] checking execinfo.h usability... no [19:50:54.244] checking execinfo.h presence... no [19:50:54.258] checking for execinfo.h... no [19:50:54.261] checking getopt.h usability... yes [19:50:54.266] checking getopt.h presence... yes [19:50:54.277] checking for getopt.h... yes [19:50:54.282] checking ifaddrs.h usability... no [19:50:54.324] checking ifaddrs.h presence... no [19:50:54.337] checking for ifaddrs.h... no [19:50:54.340] checking langinfo.h usability... no [19:50:54.382] checking langinfo.h presence... no [19:50:54.397] checking for langinfo.h... no [19:50:54.400] checking mbarrier.h usability... no [19:50:54.462] checking mbarrier.h presence... no [19:50:54.478] checking for mbarrier.h... no [19:50:54.480] checking sys/epoll.h usability... no [19:50:54.526] checking sys/epoll.h presence... no [19:50:54.541] checking for sys/epoll.h... no [19:50:54.543] checking sys/event.h usability... no [19:50:54.587] checking sys/event.h presence... no [19:50:54.603] checking for sys/event.h... no [19:50:54.605] checking sys/personality.h usability... no [19:50:54.648] checking sys/personality.h presence... no [19:50:54.661] checking for sys/personality.h... no [19:50:54.664] checking sys/prctl.h usability... no [19:50:54.708] checking sys/prctl.h presence... no [19:50:54.722] checking for sys/prctl.h... no [19:50:54.724] checking sys/procctl.h usability... no [19:50:54.766] checking sys/procctl.h presence... no [19:50:54.779] checking for sys/procctl.h... no [19:50:54.782] checking sys/signalfd.h usability... no [19:50:54.823] checking sys/signalfd.h presence... no [19:50:54.836] checking for sys/signalfd.h... no [19:50:54.839] checking sys/ucred.h usability... no [19:50:54.881] checking sys/ucred.h presence... no [19:50:54.894] checking for sys/ucred.h... no [19:50:54.896] checking termios.h usability... no [19:50:54.939] checking termios.h presence... no [19:50:54.954] checking for termios.h... no [19:50:54.956] checking ucred.h usability... no [19:50:55.001] checking ucred.h presence... no [19:50:55.016] checking for ucred.h... no [19:50:55.018] checking zlib.h usability... yes [19:50:55.046] checking zlib.h presence... yes [19:50:55.060] checking for zlib.h... yes [19:50:55.060] checking for lz4... /usr/bin/lz4 [19:50:55.060] checking for zstd... /usr/bin/zstd [19:50:55.060] checking for openssl... /usr/bin/openssl [19:50:55.064] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [19:50:55.065] checking crtdefs.h usability... yes [19:50:55.071] checking crtdefs.h presence... yes [19:50:55.082] checking for crtdefs.h... yes [19:50:55.083] checking whether byte ordering is bigendian... no [19:50:55.136] checking for inline... inline [19:50:55.142] checking for printf format archetype... gnu_printf [19:50:55.147] checking for _Static_assert... yes [19:50:55.179] checking for typeof... typeof [19:50:55.185] checking for __builtin_types_compatible_p... yes [19:50:55.199] checking for __builtin_constant_p... yes [19:50:55.206] checking for __builtin_unreachable... yes [19:50:55.239] checking for computed goto support... yes [19:50:55.245] checking for struct tm.tm_zone... no [19:50:55.306] checking for union semun... no [19:50:55.332] checking for socklen_t... yes [19:50:56.255] checking for struct sockaddr.sa_len... no [19:50:57.730] checking for locale_t... no [19:50:57.773] checking for C/C++ restrict keyword... __restrict [19:50:57.783] checking for struct option... yes [19:50:57.813] checking whether assembler supports x86_64 popcntq... yes [19:50:57.838] checking size of off_t... 4 [19:50:58.026] 0 [19:50:58.026] checking size of bool... 1 [19:50:58.053] checking for int timezone... yes [19:50:58.092] checking for wcstombs_l declaration... no [19:50:58.157] checking for backtrace_symbols... no [19:50:58.192] checking for copyfile... no [19:50:58.225] checking for copy_file_range... no [19:50:58.258] checking for getifaddrs... no [19:50:58.292] checking for getpeerucred... no [19:50:58.330] checking for inet_pton... yes [19:50:58.366] checking for kqueue... no [19:50:58.403] checking for mbstowcs_l... no [19:50:58.438] checking for memset_s... no [19:50:58.477] checking for posix_fallocate... no [19:50:58.516] checking for ppoll... no [19:50:58.551] checking for pthread_is_threaded_np... no [19:50:58.590] checking for setproctitle... no [19:50:58.627] checking for setproctitle_fast... no [19:50:58.663] checking for strchrnul... no [19:50:58.697] checking for strsignal... no [19:50:58.730] checking for syncfs... no [19:50:58.764] checking for sync_file_range... no [19:50:58.802] checking for uselocale... no [19:50:58.840] checking for wcstombs_l... no [19:50:58.875] checking for __builtin_bswap16... yes [19:50:58.911] checking for __builtin_bswap32... yes [19:50:58.945] checking for __builtin_bswap64... yes [19:50:58.983] checking for __builtin_clz... yes [19:50:59.019] checking for __builtin_ctz... yes [19:50:59.056] checking for __builtin_popcount... yes [19:50:59.093] checking for __builtin_frame_address... yes [19:50:59.127] checking for _LARGEFILE_SOURCE value needed for large files... no [19:50:59.169] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:50:59.192] checking for posix_fadvise... no [19:50:59.230] checking whether posix_fadvise is declared... no [19:50:59.265] checking whether fdatasync is declared... no [19:50:59.302] checking whether strlcat is declared... no [19:50:59.351] checking whether strlcpy is declared... no [19:50:59.399] checking whether strnlen is declared... yes [19:50:59.456] checking whether preadv is declared... no [19:50:59.484] checking whether pwritev is declared... no [19:50:59.511] checking whether F_FULLFSYNC is declared... no [19:50:59.542] checking for explicit_bzero... no [19:50:59.579] checking for getopt... yes [19:50:59.613] checking for getpeereid... no [19:50:59.646] checking for inet_aton... no [19:50:59.680] checking for mkdtemp... no [19:50:59.716] checking for strlcat... no [19:50:59.755] checking for strlcpy... no [19:50:59.792] checking for strnlen... yes [19:50:59.836] checking for pthread_barrier_wait... yes [19:50:59.873] configure: On mingw32 we will use our strtof wrapper. [19:50:59.873] checking for getopt_long... yes [19:50:59.910] checking for _configthreadlocale... yes [19:50:59.947] checking for syslog... no [19:50:59.984] checking for opterr... yes [19:51:00.023] checking for optreset... no [19:51:00.065] checking test program... cross-compiling [19:51:00.065] checking whether long int is 64 bits... no [19:51:00.087] checking whether long long int is 64 bits... yes [19:51:00.093] checking for __builtin_mul_overflow... yes [19:51:00.126] checking size of void *... 8 [19:51:00.379] checking size of size_t... 8 [19:51:00.630] checking size of long... 4 [19:51:00.784] checking alignment of short... 2 [19:51:00.883] checking alignment of int... 4 [19:51:01.091] checking alignment of long... 4 [19:51:01.296] checking alignment of long long int... 8 [19:51:01.585] checking alignment of double... 8 [19:51:01.829] checking for int8... no [19:51:01.865] checking for uint8... no [19:51:01.898] checking for int64... no [19:51:01.932] checking for uint64... no [19:51:01.964] checking for __int128... yes [19:51:02.002] checking for __int128 alignment bug... assuming ok [19:51:02.002] checking alignment of PG_INT128_TYPE... 16 [19:51:02.283] checking for builtin __sync char locking functions... yes [19:51:02.313] checking for builtin __sync int32 locking functions... yes [19:51:02.345] checking for builtin __sync int32 atomic operations... yes [19:51:02.377] checking for builtin __sync int64 atomic operations... yes [19:51:02.412] checking for builtin __atomic int32 atomic operations... yes [19:51:02.444] checking for builtin __atomic int64 atomic operations... yes [19:51:02.479] checking for __get_cpuid... yes [19:51:02.516] checking for __get_cpuid_count... yes [19:51:02.549] checking for __cpuid... no [19:51:02.799] checking for __cpuidex... no [19:51:03.045] checking for _xgetbv with CFLAGS=... no [19:51:03.254] checking for _xgetbv with CFLAGS=-mxsave... yes [19:51:03.476] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:51:03.684] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:51:03.882] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:51:03.918] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:51:03.988] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:51:04.004] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:51:04.018] 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 [19:51:04.060] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:51:04.060] checking which random number source to use... Windows native [19:51:04.062] checking for xmllint... /usr/bin/xmllint [19:51:04.062] checking for xsltproc... /usr/bin/xsltproc [19:51:04.062] checking for fop... /usr/bin/fop [19:51:04.062] checking for dbtoepub... no [19:51:04.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:51:04.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:51:04.071] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [19:51:04.071] 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 [19:51:04.071] configure: using CPPFLAGS= -I./src/include/port/win32 [19:51:04.071] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:51:04.129] configure: creating ./config.status [19:51:04.182] config.status: creating GNUmakefile [19:51:04.189] config.status: creating src/Makefile.global [19:51:04.199] config.status: creating src/include/pg_config.h [19:51:04.207] config.status: creating src/include/pg_config_ext.h [19:51:04.216] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:51:04.226] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:51:04.231] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:51:04.235] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:51:04.240] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:51:04.245] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:51:04.247] config.status: executing check_win32_symlinks commands [19:51:04.277] [19:51:04.277] real 0m12.523s [19:51:04.277] user 0m9.223s [19:51:04.277] sys 0m2.965s [19:51:04.277] make -s -j${BUILD_JOBS} clean [19:51:04.669] time make -s -j${BUILD_JOBS} world-bin [19:51:35.404] In file included from ../../../../src/include/nodes/primnodes.h:22, [19:51:35.404] from ../../../../src/include/catalog/namespace.h:17, [19:51:35.404] from prepqual.c:34: [19:51:35.404] prepqual.c: In function ‘or_transformation’: [19:51:35.404] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [19:51:35.404] 563 | foreach(lc, entry->consts) [19:51:35.404] | ^~ [19:51:35.404] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [19:51:35.404] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [19:51:35.404] | ^~~~ [19:51:35.404] prepqual.c:515:11: note: shadowed declaration is here [19:51:35.404] 515 | foreach (lc, entries) [19:51:35.404] | ^~ [19:51:35.404] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [19:51:35.404] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [19:51:35.404] | ^~~~ [19:51:35.404] cc1: all warnings being treated as errors [19:51:35.405] make[4]: *** [: prepqual.o] Error 1 [19:51:35.405] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [19:51:35.405] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [19:51:35.405] make[2]: *** Waiting for unfinished jobs.... [19:51:40.086] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:51:40.086] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:51:40.086] [19:51:40.086] real 0m35.417s [19:51:40.086] user 1m55.048s [19:51:40.086] sys 0m15.044s [19:51:40.086] [19:51:40.086] Exit status: 2