[00:46:08.777] time ./configure \ [00:46:08.777] --host=x86_64-w64-mingw32 \ [00:46:08.777] --enable-cassert \ [00:46:08.777] --without-icu \ [00:46:08.777] CC="ccache x86_64-w64-mingw32-gcc" \ [00:46:08.777] CXX="ccache x86_64-w64-mingw32-g++" [00:46:08.863] checking build system type... x86_64-pc-linux-gnu [00:46:09.050] checking host system type... x86_64-w64-mingw32 [00:46:09.056] checking which template to use... win32 [00:46:09.056] checking whether NLS is wanted... no [00:46:09.056] checking for default port number... 5432 [00:46:09.062] checking for block size... 8kB [00:46:09.063] checking for segment size... 1GB [00:46:09.065] checking for WAL block size... 8kB [00:46:09.066] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:46:09.091] checking whether the C compiler works... yes [00:46:09.241] checking for C compiler default output file name... a.exe [00:46:09.242] checking for suffix of executables... .exe [00:46:09.276] checking whether we are cross compiling... yes [00:46:09.339] checking for suffix of object files... o [00:46:09.345] checking whether we are using the GNU C compiler... yes [00:46:09.350] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:46:09.383] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:46:09.391] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:46:09.459] checking whether we are using the GNU C++ compiler... yes [00:46:09.602] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:46:09.657] checking for gawk... no [00:46:09.657] checking for mawk... mawk [00:46:09.660] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:46:09.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:46:09.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:46:09.707] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:46:09.741] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:46:09.747] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:46:09.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:46:09.757] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:46:09.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:46:09.767] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:46:09.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:46:09.834] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:46:09.839] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:46:09.844] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:46:09.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:46:09.864] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:46:09.877] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:46:09.882] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:46:09.894] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:46:09.922] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:46:09.927] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:46:09.933] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:46:09.950] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:46:09.956] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:46:09.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:46:09.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:46:10.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:46:10.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:46:10.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:46:10.072] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:46:10.085] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:46:10.090] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:46:10.097] checking whether the C compiler still works... yes [00:46:10.150] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:46:10.207] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:46:10.207] checking pkg-config is at least version 0.9.0... yes [00:46:10.221] checking whether to build with ICU support... no [00:46:10.221] checking whether to build with Tcl... no [00:46:10.221] checking whether to build Perl modules... no [00:46:10.221] checking whether to build Python modules... no [00:46:10.221] checking whether to build with GSSAPI support... no [00:46:10.222] checking whether to build with PAM support... no [00:46:10.222] checking whether to build with BSD Authentication support... no [00:46:10.222] checking whether to build with LDAP support... no [00:46:10.223] checking whether to build with Bonjour support... no [00:46:10.223] checking whether to build with SELinux support... no [00:46:10.223] checking whether to build with systemd support... no [00:46:10.223] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:46:10.223] checking whether to build with XML support... no [00:46:10.223] checking whether to build with LZ4 support... no [00:46:10.224] checking whether to build with ZSTD support... no [00:46:10.224] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:46:10.224] checking whether it is possible to strip libraries... yes [00:46:10.232] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:46:10.232] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:46:10.232] checking for a BSD-compatible install... /usr/bin/install -c [00:46:10.238] checking for tar... /usr/bin/tar [00:46:10.238] checking whether ln -s works... yes [00:46:10.239] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:46:10.240] checking for bison... /usr/bin/bison [00:46:10.242] configure: using bison (GNU Bison) 3.7.5 [00:46:10.244] checking for flex... /usr/bin/flex [00:46:10.254] configure: using flex 2.6.4 [00:46:10.255] checking for perl... /usr/bin/perl [00:46:10.257] configure: using perl 5.32.1 [00:46:10.259] checking for zic... /usr/sbin/zic [00:46:10.259] checking for a sed that does not truncate output... /usr/bin/sed [00:46:10.263] checking for grep that handles long lines and -e... /usr/bin/grep [00:46:10.265] checking for egrep... /usr/bin/grep -E [00:46:10.266] checking for ANSI C header files... yes [00:46:10.303] checking for sys/types.h... yes [00:46:10.351] checking for sys/stat.h... yes [00:46:10.364] checking for stdlib.h... yes [00:46:10.375] checking for string.h... yes [00:46:10.386] checking for memory.h... yes [00:46:10.398] checking for strings.h... yes [00:46:10.410] checking for inttypes.h... yes [00:46:10.424] checking for stdint.h... yes [00:46:10.435] checking for unistd.h... yes [00:46:10.448] checking for main in -lm... yes [00:46:10.485] checking for library containing setproctitle... no [00:46:10.552] checking for library containing dlsym... no [00:46:10.619] checking for library containing socket... -lws2_32 [00:46:10.722] checking for library containing getopt_long... none required [00:46:10.764] checking for library containing shm_open... no [00:46:10.831] checking for library containing shm_unlink... no [00:46:10.896] checking for library containing clock_gettime... no [00:46:10.964] checking for library containing shmget... no [00:46:11.031] checking for library containing backtrace_symbols... no [00:46:11.110] checking for library containing pthread_barrier_wait... -lpthread [00:46:11.182] checking for inflate in -lz... yes [00:46:11.220] checking for stdbool.h that conforms to C99... yes [00:46:11.228] checking for _Bool... yes [00:46:11.327] checking atomic.h usability... no [00:46:11.370] checking atomic.h presence... no [00:46:11.384] checking for atomic.h... no [00:46:11.387] checking copyfile.h usability... no [00:46:11.432] checking copyfile.h presence... no [00:46:11.446] checking for copyfile.h... no [00:46:11.449] checking execinfo.h usability... no [00:46:11.492] checking execinfo.h presence... no [00:46:11.506] checking for execinfo.h... no [00:46:11.508] checking getopt.h usability... yes [00:46:11.514] checking getopt.h presence... yes [00:46:11.525] checking for getopt.h... yes [00:46:11.530] checking ifaddrs.h usability... no [00:46:11.576] checking ifaddrs.h presence... no [00:46:11.590] checking for ifaddrs.h... no [00:46:11.592] checking langinfo.h usability... no [00:46:11.635] checking langinfo.h presence... no [00:46:11.648] checking for langinfo.h... no [00:46:11.650] checking mbarrier.h usability... no [00:46:11.693] checking mbarrier.h presence... no [00:46:11.707] checking for mbarrier.h... no [00:46:11.709] checking sys/epoll.h usability... no [00:46:11.752] checking sys/epoll.h presence... no [00:46:11.765] checking for sys/epoll.h... no [00:46:11.768] checking sys/event.h usability... no [00:46:11.811] checking sys/event.h presence... no [00:46:11.823] checking for sys/event.h... no [00:46:11.825] checking sys/personality.h usability... no [00:46:11.868] checking sys/personality.h presence... no [00:46:11.883] checking for sys/personality.h... no [00:46:11.885] checking sys/prctl.h usability... no [00:46:11.929] checking sys/prctl.h presence... no [00:46:11.942] checking for sys/prctl.h... no [00:46:11.945] checking sys/procctl.h usability... no [00:46:11.989] checking sys/procctl.h presence... no [00:46:12.002] checking for sys/procctl.h... no [00:46:12.004] checking sys/signalfd.h usability... no [00:46:12.046] checking sys/signalfd.h presence... no [00:46:12.059] checking for sys/signalfd.h... no [00:46:12.061] checking sys/ucred.h usability... no [00:46:12.110] checking sys/ucred.h presence... no [00:46:12.128] checking for sys/ucred.h... no [00:46:12.130] checking termios.h usability... no [00:46:12.175] checking termios.h presence... no [00:46:12.189] checking for termios.h... no [00:46:12.191] checking ucred.h usability... no [00:46:12.235] checking ucred.h presence... no [00:46:12.249] checking for ucred.h... no [00:46:12.251] checking zlib.h usability... yes [00:46:12.258] checking zlib.h presence... yes [00:46:12.273] checking for zlib.h... yes [00:46:12.273] checking for lz4... /usr/bin/lz4 [00:46:12.273] checking for zstd... /usr/bin/zstd [00:46:12.274] checking for openssl... /usr/bin/openssl [00:46:12.277] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [00:46:12.278] checking crtdefs.h usability... yes [00:46:12.283] checking crtdefs.h presence... yes [00:46:12.295] checking for crtdefs.h... yes [00:46:12.296] checking whether byte ordering is bigendian... no [00:46:12.353] checking for inline... inline [00:46:12.377] checking for printf format archetype... gnu_printf [00:46:12.406] checking for _Static_assert... yes [00:46:12.437] checking for typeof... typeof [00:46:12.442] checking for __builtin_types_compatible_p... yes [00:46:12.450] checking for __builtin_constant_p... yes [00:46:12.458] checking for __builtin_unreachable... yes [00:46:12.491] checking for computed goto support... yes [00:46:12.520] checking for struct tm.tm_zone... no [00:46:12.580] checking for union semun... no [00:46:12.607] checking for socklen_t... yes [00:46:13.497] checking for struct sockaddr.sa_len... no [00:46:15.030] checking for locale_t... no [00:46:15.074] checking for C/C++ restrict keyword... __restrict [00:46:15.101] checking for struct option... yes [00:46:15.125] checking whether assembler supports x86_64 popcntq... yes [00:46:15.130] checking size of off_t... 4 [00:46:15.301] 0 [00:46:15.301] checking size of bool... 1 [00:46:15.331] checking for int timezone... yes [00:46:15.363] checking for wcstombs_l declaration... no [00:46:15.414] checking for backtrace_symbols... no [00:46:15.445] checking for copyfile... no [00:46:15.477] checking for copy_file_range... no [00:46:15.510] checking for getifaddrs... no [00:46:15.542] checking for getpeerucred... no [00:46:15.574] checking for inet_pton... yes [00:46:15.607] checking for kqueue... no [00:46:15.639] checking for mbstowcs_l... no [00:46:15.671] checking for memset_s... no [00:46:15.704] checking for posix_fallocate... no [00:46:15.738] checking for ppoll... no [00:46:15.772] checking for pthread_is_threaded_np... no [00:46:15.805] checking for setproctitle... no [00:46:15.837] checking for setproctitle_fast... no [00:46:15.871] checking for strchrnul... no [00:46:15.906] checking for strsignal... no [00:46:15.939] checking for syncfs... no [00:46:15.972] checking for sync_file_range... no [00:46:16.007] checking for uselocale... no [00:46:16.039] checking for wcstombs_l... no [00:46:16.079] checking for __builtin_bswap16... yes [00:46:16.111] checking for __builtin_bswap32... yes [00:46:16.142] checking for __builtin_bswap64... yes [00:46:16.174] checking for __builtin_clz... yes [00:46:16.206] checking for __builtin_ctz... yes [00:46:16.236] checking for __builtin_popcount... yes [00:46:16.267] checking for __builtin_frame_address... yes [00:46:16.299] checking for _LARGEFILE_SOURCE value needed for large files... no [00:46:16.337] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:46:16.355] checking for posix_fadvise... no [00:46:16.393] checking whether posix_fadvise is declared... no [00:46:16.425] checking whether fdatasync is declared... no [00:46:16.456] checking whether strlcat is declared... no [00:46:16.502] checking whether strlcpy is declared... no [00:46:16.547] checking whether strnlen is declared... yes [00:46:16.557] checking whether preadv is declared... no [00:46:16.582] checking whether pwritev is declared... no [00:46:16.605] checking whether F_FULLFSYNC is declared... no [00:46:16.629] checking for explicit_bzero... no [00:46:16.663] checking for getopt... yes [00:46:16.694] checking for getpeereid... no [00:46:16.725] checking for inet_aton... no [00:46:16.756] checking for mkdtemp... no [00:46:16.787] checking for strlcat... no [00:46:16.817] checking for strlcpy... no [00:46:16.846] checking for strnlen... yes [00:46:16.879] checking for pthread_barrier_wait... yes [00:46:16.909] configure: On mingw32 we will use our strtof wrapper. [00:46:16.909] checking for getopt_long... yes [00:46:16.938] checking for _configthreadlocale... yes [00:46:16.968] checking for syslog... no [00:46:16.999] checking for opterr... yes [00:46:17.032] checking for optreset... no [00:46:17.067] checking test program... cross-compiling [00:46:17.067] checking whether long int is 64 bits... no [00:46:17.087] checking whether long long int is 64 bits... yes [00:46:17.112] checking for __builtin_mul_overflow... yes [00:46:17.140] checking size of void *... 8 [00:46:17.343] checking size of size_t... 8 [00:46:17.568] checking size of long... 4 [00:46:17.719] checking alignment of short... 2 [00:46:17.861] checking alignment of int... 4 [00:46:18.012] checking alignment of long... 4 [00:46:18.170] checking alignment of long long int... 8 [00:46:18.432] checking alignment of double... 8 [00:46:18.685] checking for int8... no [00:46:18.714] checking for uint8... no [00:46:18.745] checking for int64... no [00:46:18.773] checking for uint64... no [00:46:18.802] checking for __int128... yes [00:46:18.835] checking for __int128 alignment bug... assuming ok [00:46:18.836] checking alignment of PG_INT128_TYPE... 16 [00:46:19.058] checking for builtin __sync char locking functions... yes [00:46:19.088] checking for builtin __sync int32 locking functions... yes [00:46:19.117] checking for builtin __sync int32 atomic operations... yes [00:46:19.145] checking for builtin __sync int64 atomic operations... yes [00:46:19.176] checking for builtin __atomic int32 atomic operations... yes [00:46:19.204] checking for builtin __atomic int64 atomic operations... yes [00:46:19.233] checking for __get_cpuid... yes [00:46:19.265] checking for __cpuid... no [00:46:19.493] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:46:19.526] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:46:19.590] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:46:19.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:46:19.615] 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 [00:46:19.651] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:46:19.652] checking which random number source to use... Windows native [00:46:19.653] checking for xmllint... /usr/bin/xmllint [00:46:19.653] checking for xsltproc... /usr/bin/xsltproc [00:46:19.654] checking for fop... /usr/bin/fop [00:46:19.654] checking for dbtoepub... no [00:46:19.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:46:19.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:46:19.661] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [00:46:19.661] 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 [00:46:19.661] configure: using CPPFLAGS= -I./src/include/port/win32 [00:46:19.661] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:46:19.721] configure: creating ./config.status [00:46:19.773] config.status: creating GNUmakefile [00:46:19.780] config.status: creating src/Makefile.global [00:46:19.790] config.status: creating src/include/pg_config.h [00:46:19.798] config.status: creating src/include/pg_config_ext.h [00:46:19.806] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:46:19.815] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:46:19.819] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:46:19.824] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:46:19.828] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:46:19.833] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:46:19.835] config.status: executing check_win32_symlinks commands [00:46:19.860] [00:46:19.860] real 0m11.083s [00:46:19.860] user 0m8.159s [00:46:19.860] sys 0m2.538s [00:46:19.860] make -s -j${BUILD_JOBS} clean [00:46:20.226] time make -s -j${BUILD_JOBS} world-bin [00:47:12.831] In file included from ../../../../src/include/nodes/primnodes.h:22, [00:47:12.831] from ../../../../src/include/catalog/namespace.h:17, [00:47:12.831] from prepqual.c:34: [00:47:12.831] prepqual.c: In function ‘or_transformation’: [00:47:12.831] prepqual.c:563:12: error: declaration of ‘lc__state’ shadows a previous local [-Werror=shadow=compatible-local] [00:47:12.831] 563 | foreach(lc, entry->consts) [00:47:12.831] | ^~ [00:47:12.831] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [00:47:12.831] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [00:47:12.831] | ^~~~ [00:47:12.831] prepqual.c:515:11: note: shadowed declaration is here [00:47:12.831] 515 | foreach (lc, entries) [00:47:12.831] | ^~ [00:47:12.831] ../../../../src/include/nodes/pg_list.h:374:20: note: in definition of macro ‘foreach’ [00:47:12.831] 374 | for (ForEachState cell##__state = {(lst), 0}; \ [00:47:12.831] | ^~~~ [00:47:12.831] cc1: all warnings being treated as errors [00:47:12.832] make[4]: *** [: prepqual.o] Error 1 [00:47:12.832] make[3]: *** [../../../src/backend/common.mk:37: prep-recursive] Error 2 [00:47:12.832] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [00:47:12.832] make[2]: *** Waiting for unfinished jobs.... [00:47:20.893] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:47:20.893] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:47:20.893] [00:47:20.893] real 1m0.667s [00:47:20.893] user 3m24.777s [00:47:20.893] sys 0m26.106s [00:47:20.893] [00:47:20.893] Exit status: 2