[11:14:08.948] time ./configure \ [11:14:08.948] --host=x86_64-w64-mingw32 \ [11:14:08.948] --enable-cassert \ [11:14:08.948] --without-icu \ [11:14:08.948] CC="ccache x86_64-w64-mingw32-gcc" \ [11:14:08.948] CXX="ccache x86_64-w64-mingw32-g++" [11:14:09.009] checking build system type... x86_64-pc-linux-gnu [11:14:09.180] checking host system type... x86_64-w64-mingw32 [11:14:09.184] checking which template to use... win32 [11:14:09.184] checking whether NLS is wanted... no [11:14:09.184] checking for default port number... 5432 [11:14:09.188] checking for block size... 8kB [11:14:09.188] checking for segment size... 1GB [11:14:09.190] checking for WAL block size... 8kB [11:14:09.190] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:14:09.210] checking whether the C compiler works... yes [11:14:09.333] checking for C compiler default output file name... a.exe [11:14:09.334] checking for suffix of executables... .exe [11:14:09.361] checking whether we are cross compiling... yes [11:14:09.427] checking for suffix of object files... o [11:14:09.432] checking whether we are using the GNU C compiler... yes [11:14:09.436] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:14:09.439] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:14:09.445] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:14:09.486] checking whether we are using the GNU C++ compiler... yes [11:14:09.489] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:14:09.526] checking for gawk... no [11:14:09.527] checking for mawk... mawk [11:14:09.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:14:09.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:14:09.536] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:14:09.563] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:14:09.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:14:09.720] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:14:09.724] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:14:09.727] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:14:09.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:14:09.735] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:14:09.738] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:14:09.742] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:14:09.746] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:14:09.749] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:14:09.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:14:09.756] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:14:09.821] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:14:09.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:14:09.828] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:14:09.832] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:14:09.852] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:14:09.856] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:14:09.867] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:14:09.871] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:14:09.874] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:14:09.896] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:14:09.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:14:09.921] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:14:09.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:14:09.945] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:14:09.949] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:14:09.953] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:14:09.957] checking whether the C compiler still works... yes [11:14:10.000] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:14:10.039] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:14:10.039] checking pkg-config is at least version 0.9.0... yes [11:14:10.052] checking whether to build with ICU support... no [11:14:10.052] checking whether to build with Tcl... no [11:14:10.053] checking whether to build Perl modules... no [11:14:10.053] checking whether to build Python modules... no [11:14:10.053] checking whether to build with GSSAPI support... no [11:14:10.053] checking whether to build with PAM support... no [11:14:10.053] checking whether to build with BSD Authentication support... no [11:14:10.054] checking whether to build with LDAP support... no [11:14:10.054] checking whether to build with Bonjour support... no [11:14:10.054] checking whether to build with SELinux support... no [11:14:10.054] checking whether to build with systemd support... no [11:14:10.054] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:14:10.054] checking whether to build with XML support... no [11:14:10.054] checking whether to build with LZ4 support... no [11:14:10.054] checking whether to build with ZSTD support... no [11:14:10.055] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:14:10.055] checking whether it is possible to strip libraries... yes [11:14:10.061] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:14:10.061] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:14:10.061] checking for a BSD-compatible install... /usr/bin/install -c [11:14:10.066] checking for tar... /usr/bin/tar [11:14:10.066] checking whether ln -s works... yes [11:14:10.066] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:14:10.067] checking for bison... /usr/bin/bison [11:14:10.069] configure: using bison (GNU Bison) 3.7.5 [11:14:10.070] checking for flex... /usr/bin/flex [11:14:10.078] configure: using flex 2.6.4 [11:14:10.078] checking for perl... /usr/bin/perl [11:14:10.079] configure: using perl 5.32.1 [11:14:10.081] checking for zic... /usr/sbin/zic [11:14:10.081] checking for a sed that does not truncate output... /usr/bin/sed [11:14:10.084] checking for grep that handles long lines and -e... /usr/bin/grep [11:14:10.085] checking for egrep... /usr/bin/grep -E [11:14:10.086] checking for ANSI C header files... yes [11:14:10.116] checking for sys/types.h... yes [11:14:10.125] checking for sys/stat.h... yes [11:14:10.134] checking for stdlib.h... yes [11:14:10.154] checking for string.h... yes [11:14:10.161] checking for memory.h... yes [11:14:10.170] checking for strings.h... yes [11:14:10.210] checking for inttypes.h... yes [11:14:10.219] checking for stdint.h... yes [11:14:10.226] checking for unistd.h... yes [11:14:10.235] checking for main in -lm... yes [11:14:10.263] checking for library containing setproctitle... no [11:14:10.314] checking for library containing dlsym... no [11:14:10.368] checking for library containing socket... -lws2_32 [11:14:10.462] checking for library containing getopt_long... none required [11:14:10.492] checking for library containing shm_open... no [11:14:10.544] checking for library containing shm_unlink... no [11:14:10.595] checking for library containing clock_gettime... no [11:14:10.648] checking for library containing shmget... no [11:14:10.700] checking for library containing backtrace_symbols... no [11:14:10.754] checking for library containing pthread_barrier_wait... -lpthread [11:14:10.814] checking for inflate in -lz... yes [11:14:10.843] checking for stdbool.h that conforms to C99... yes [11:14:10.849] checking for _Bool... yes [11:14:10.896] checking atomic.h usability... no [11:14:10.935] checking atomic.h presence... no [11:14:10.946] checking for atomic.h... no [11:14:10.948] checking copyfile.h usability... no [11:14:10.986] checking copyfile.h presence... no [11:14:10.997] checking for copyfile.h... no [11:14:10.999] checking execinfo.h usability... no [11:14:11.036] checking execinfo.h presence... no [11:14:11.048] checking for execinfo.h... no [11:14:11.050] checking getopt.h usability... yes [11:14:11.054] checking getopt.h presence... yes [11:14:11.063] checking for getopt.h... yes [11:14:11.067] checking ifaddrs.h usability... no [11:14:11.104] checking ifaddrs.h presence... no [11:14:11.115] checking for ifaddrs.h... no [11:14:11.116] checking langinfo.h usability... no [11:14:11.151] checking langinfo.h presence... no [11:14:11.162] checking for langinfo.h... no [11:14:11.164] checking mbarrier.h usability... no [11:14:11.201] checking mbarrier.h presence... no [11:14:11.211] checking for mbarrier.h... no [11:14:11.213] checking sys/epoll.h usability... no [11:14:11.249] checking sys/epoll.h presence... no [11:14:11.259] checking for sys/epoll.h... no [11:14:11.261] checking sys/event.h usability... no [11:14:11.296] checking sys/event.h presence... no [11:14:11.306] checking for sys/event.h... no [11:14:11.308] checking sys/personality.h usability... no [11:14:11.343] checking sys/personality.h presence... no [11:14:11.353] checking for sys/personality.h... no [11:14:11.355] checking sys/prctl.h usability... no [11:14:11.390] checking sys/prctl.h presence... no [11:14:11.400] checking for sys/prctl.h... no [11:14:11.402] checking sys/procctl.h usability... no [11:14:11.440] checking sys/procctl.h presence... no [11:14:11.451] checking for sys/procctl.h... no [11:14:11.453] checking sys/signalfd.h usability... no [11:14:11.488] checking sys/signalfd.h presence... no [11:14:11.499] checking for sys/signalfd.h... no [11:14:11.501] checking sys/ucred.h usability... no [11:14:11.536] checking sys/ucred.h presence... no [11:14:11.546] checking for sys/ucred.h... no [11:14:11.548] checking termios.h usability... no [11:14:11.583] checking termios.h presence... no [11:14:11.593] checking for termios.h... no [11:14:11.594] checking ucred.h usability... no [11:14:11.629] checking ucred.h presence... no [11:14:11.640] checking for ucred.h... no [11:14:11.641] checking zlib.h usability... yes [11:14:11.647] checking zlib.h presence... yes [11:14:11.658] checking for zlib.h... yes [11:14:11.659] checking for lz4... /usr/bin/lz4 [11:14:11.659] checking for zstd... /usr/bin/zstd [11:14:11.659] checking for openssl... /usr/bin/openssl [11:14:11.662] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [11:14:11.662] checking crtdefs.h usability... yes [11:14:11.666] checking crtdefs.h presence... yes [11:14:11.674] checking for crtdefs.h... yes [11:14:11.675] checking whether byte ordering is bigendian... no [11:14:11.715] checking for inline... inline [11:14:11.719] checking for printf format archetype... gnu_printf [11:14:11.723] checking for _Static_assert... yes [11:14:11.749] checking for typeof... typeof [11:14:11.753] checking for __builtin_types_compatible_p... yes [11:14:11.759] checking for __builtin_constant_p... yes [11:14:11.764] checking for __builtin_unreachable... yes [11:14:11.790] checking for computed goto support... yes [11:14:11.794] checking for struct tm.tm_zone... no [11:14:11.839] checking for union semun... no [11:14:11.857] checking for socklen_t... yes [11:14:12.906] checking for struct sockaddr.sa_len... no [11:14:14.251] checking for locale_t... no [11:14:14.292] checking for C/C++ restrict keyword... __restrict [11:14:14.300] checking for struct option... yes [11:14:14.333] checking whether assembler supports x86_64 popcntq... yes [11:14:14.337] checking size of off_t... 4 [11:14:14.463] 0 [11:14:14.463] checking size of bool... 1 [11:14:14.487] checking for int timezone... yes [11:14:14.518] checking for wcstombs_l declaration... no [11:14:14.567] checking for backtrace_symbols... no [11:14:14.596] checking for copyfile... no [11:14:14.627] checking for copy_file_range... no [11:14:14.658] checking for getifaddrs... no [11:14:14.691] checking for getpeerucred... no [11:14:14.721] checking for inet_pton... yes [11:14:14.753] checking for kqueue... no [11:14:14.783] checking for mbstowcs_l... no [11:14:14.813] checking for memset_s... no [11:14:14.844] checking for posix_fallocate... no [11:14:14.875] checking for ppoll... no [11:14:14.907] checking for pthread_is_threaded_np... no [11:14:14.938] checking for setproctitle... no [11:14:14.968] checking for setproctitle_fast... no [11:14:14.998] checking for strchrnul... no [11:14:15.028] checking for strsignal... no [11:14:15.059] checking for syncfs... no [11:14:15.089] checking for sync_file_range... no [11:14:15.119] checking for uselocale... no [11:14:15.150] checking for wcstombs_l... no [11:14:15.178] checking for __builtin_bswap16... yes [11:14:15.209] checking for __builtin_bswap32... yes [11:14:15.239] checking for __builtin_bswap64... yes [11:14:15.268] checking for __builtin_clz... yes [11:14:15.297] checking for __builtin_ctz... yes [11:14:15.327] checking for __builtin_popcount... yes [11:14:15.356] checking for __builtin_frame_address... yes [11:14:15.386] checking for _LARGEFILE_SOURCE value needed for large files... no [11:14:15.428] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:14:15.447] checking for posix_fadvise... no [11:14:15.480] checking whether posix_fadvise is declared... no [11:14:15.508] checking whether fdatasync is declared... no [11:14:15.535] checking whether strlcat is declared... no [11:14:15.574] checking whether strlcpy is declared... no [11:14:15.614] checking whether strnlen is declared... yes [11:14:15.621] checking whether preadv is declared... no [11:14:15.641] checking whether pwritev is declared... no [11:14:15.661] checking whether F_FULLFSYNC is declared... no [11:14:15.684] checking for explicit_bzero... no [11:14:15.713] checking for getopt... yes [11:14:15.741] checking for getpeereid... no [11:14:15.770] checking for inet_aton... no [11:14:15.799] checking for mkdtemp... no [11:14:15.829] checking for strlcat... no [11:14:15.859] checking for strlcpy... no [11:14:15.889] checking for strnlen... yes [11:14:15.921] checking for pthread_barrier_wait... yes [11:14:15.949] configure: On mingw32 we will use our strtof wrapper. [11:14:15.949] checking for getopt_long... yes [11:14:15.977] checking for _configthreadlocale... yes [11:14:16.006] checking for syslog... no [11:14:16.035] checking for opterr... yes [11:14:16.066] checking for optreset... no [11:14:16.098] checking test program... cross-compiling [11:14:16.098] checking whether long int is 64 bits... no [11:14:16.115] checking whether long long int is 64 bits... yes [11:14:16.120] checking for __builtin_mul_overflow... yes [11:14:16.149] checking size of void *... 8 [11:14:16.316] checking size of size_t... 8 [11:14:16.482] checking size of long... 4 [11:14:16.610] checking alignment of short... 2 [11:14:16.699] checking alignment of int... 4 [11:14:16.839] checking alignment of long... 4 [11:14:17.005] checking alignment of long long int... 8 [11:14:17.219] checking alignment of double... 8 [11:14:17.385] checking for int8... no [11:14:17.411] checking for uint8... no [11:14:17.436] checking for int64... no [11:14:17.461] checking for uint64... no [11:14:17.486] checking for __int128... yes [11:14:17.516] checking for __int128 alignment bug... assuming ok [11:14:17.517] checking alignment of PG_INT128_TYPE... 16 [11:14:17.735] checking for builtin __sync char locking functions... yes [11:14:17.762] checking for builtin __sync int32 locking functions... yes [11:14:17.790] checking for builtin __sync int32 atomic operations... yes [11:14:17.816] checking for builtin __sync int64 atomic operations... yes [11:14:17.842] checking for builtin __atomic int32 atomic operations... yes [11:14:17.869] checking for builtin __atomic int64 atomic operations... yes [11:14:17.896] checking for __get_cpuid... yes [11:14:17.926] checking for __get_cpuid_count... yes [11:14:17.953] checking for __cpuid... no [11:14:18.180] checking for __cpuidex... no [11:14:18.402] checking for _xgetbv with CFLAGS=... no [11:14:18.593] checking for _xgetbv with CFLAGS=-mxsave... yes [11:14:18.800] checking for _mm512_popcnt_epi64 with CFLAGS=... no [11:14:19.000] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [11:14:19.185] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:14:19.214] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:14:19.271] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:14:19.284] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:14:19.293] 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 [11:14:19.328] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:14:19.328] checking which random number source to use... Windows native [11:14:19.329] checking for xmllint... /usr/bin/xmllint [11:14:19.329] checking for xsltproc... /usr/bin/xsltproc [11:14:19.329] checking for fop... /usr/bin/fop [11:14:19.330] checking for dbtoepub... no [11:14:19.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:14:19.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:14:19.336] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [11:14:19.336] 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 [11:14:19.336] configure: using CPPFLAGS= -I./src/include/port/win32 [11:14:19.336] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:14:19.387] configure: creating ./config.status [11:14:19.432] config.status: creating GNUmakefile [11:14:19.439] config.status: creating src/Makefile.global [11:14:19.447] config.status: creating src/include/pg_config.h [11:14:19.454] config.status: creating src/include/pg_config_ext.h [11:14:19.460] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:14:19.468] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:14:19.472] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:14:19.476] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:14:19.480] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:14:19.483] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:14:19.485] config.status: executing check_win32_symlinks commands [11:14:19.508] [11:14:19.508] real 0m10.560s [11:14:19.508] user 0m8.018s [11:14:19.508] sys 0m2.105s [11:14:19.508] make -s -j${BUILD_JOBS} clean [11:14:19.858] time make -s -j${BUILD_JOBS} world-bin [11:14:58.013] In file included from ../../../../src/include/nodes/primnodes.h:22, [11:14:58.013] from ../../../../src/include/catalog/namespace.h:17, [11:14:58.013] from prepqual.c:34: [11:14:58.013] prepqual.c: In function ‘or_transformation’: [11:14:58.013] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [11:14:58.013] 563 | foreach(lc, entry->consts) [11:14:58.013] | ^~ [11:14:58.013] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [11:14:58.013] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [11:14:58.013] | ^~~~ [11:14:58.013] prepqual.c:515:11: note: shadowed declaration is here [11:14:58.013] 515 | foreach (lc, entries) [11:14:58.013] | ^~ [11:14:58.013] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [11:14:58.013] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [11:14:58.013] | ^~~~ [11:14:58.013] cc1: all warnings being treated as errors [11:14:58.014] make[4]: *** [: prepqual.o] Error 1 [11:14:58.014] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [11:14:58.014] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [11:14:58.014] make[2]: *** Waiting for unfinished jobs.... [11:15:00.066] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:15:00.066] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:15:00.066] [11:15:00.066] real 0m40.208s [11:15:00.066] user 2m13.843s [11:15:00.066] sys 0m15.459s [11:15:00.066] [11:15:00.066] Exit status: 2