[07:45:48.844] time ./configure \ [07:45:48.844] --host=x86_64-w64-mingw32 \ [07:45:48.844] --enable-cassert \ [07:45:48.844] --without-icu \ [07:45:48.844] CC="ccache x86_64-w64-mingw32-gcc" \ [07:45:48.844] CXX="ccache x86_64-w64-mingw32-g++" [07:45:48.969] checking build system type... x86_64-pc-linux-gnu [07:45:49.185] checking host system type... x86_64-w64-mingw32 [07:45:49.190] checking which template to use... win32 [07:45:49.191] checking whether NLS is wanted... no [07:45:49.191] checking for default port number... 5432 [07:45:49.199] checking for block size... 8kB [07:45:49.200] checking for segment size... 1GB [07:45:49.203] checking for WAL block size... 8kB [07:45:49.205] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:45:49.242] checking whether the C compiler works... yes [07:45:49.396] checking for C compiler default output file name... a.exe [07:45:49.397] checking for suffix of executables... .exe [07:45:49.439] checking whether we are cross compiling... yes [07:45:49.519] checking for suffix of object files... o [07:45:49.528] checking whether we are using the GNU C compiler... yes [07:45:49.535] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:45:49.541] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:45:49.627] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:45:49.692] checking whether we are using the GNU C++ compiler... yes [07:45:49.699] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:45:49.769] checking for gawk... no [07:45:49.770] checking for mawk... mawk [07:45:49.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:45:49.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:45:49.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:45:49.833] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:45:50.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:45:50.031] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:45:50.039] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:45:50.046] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:45:50.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:45:50.059] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:45:50.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:45:50.075] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:45:50.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:45:50.089] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:45:50.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:45:50.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:45:50.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:45:50.150] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:45:50.157] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:45:50.163] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:45:50.170] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:45:50.177] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:45:50.184] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:45:50.208] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:45:50.225] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:45:50.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:45:50.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:45:50.310] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:45:50.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:45:50.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:45:50.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:45:50.399] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:45:50.406] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:45:50.414] checking whether the C compiler still works... yes [07:45:50.466] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:45:50.537] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:45:50.537] checking pkg-config is at least version 0.9.0... yes [07:45:50.553] checking whether to build with ICU support... no [07:45:50.553] checking whether to build with Tcl... no [07:45:50.553] checking whether to build Perl modules... no [07:45:50.553] checking whether to build Python modules... no [07:45:50.553] checking whether to build with GSSAPI support... no [07:45:50.554] checking whether to build with PAM support... no [07:45:50.555] checking whether to build with BSD Authentication support... no [07:45:50.555] checking whether to build with LDAP support... no [07:45:50.555] checking whether to build with Bonjour support... no [07:45:50.555] checking whether to build with SELinux support... no [07:45:50.555] checking whether to build with systemd support... no [07:45:50.555] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:45:50.555] checking whether to build with XML support... no [07:45:50.556] checking whether to build with LZ4 support... no [07:45:50.556] checking whether to build with ZSTD support... no [07:45:50.556] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:45:50.556] checking whether it is possible to strip libraries... yes [07:45:50.565] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:45:50.565] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:45:50.566] checking for a BSD-compatible install... /usr/bin/install -c [07:45:50.574] checking for tar... /usr/bin/tar [07:45:50.575] checking whether ln -s works... yes [07:45:50.575] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:45:50.577] checking for bison... /usr/bin/bison [07:45:50.579] configure: using bison (GNU Bison) 3.8.2 [07:45:50.582] checking for flex... /usr/bin/flex [07:45:50.595] configure: using flex 2.6.4 [07:45:50.595] checking for perl... /usr/bin/perl [07:45:50.598] configure: using perl 5.36.0 [07:45:50.600] checking for zic... /usr/sbin/zic [07:45:50.600] checking for a sed that does not truncate output... /usr/bin/sed [07:45:50.605] checking for grep that handles long lines and -e... /usr/bin/grep [07:45:50.607] checking for egrep... /usr/bin/grep -E [07:45:50.609] checking for ANSI C header files... yes [07:45:50.658] checking for sys/types.h... yes [07:45:50.676] checking for sys/stat.h... yes [07:45:50.739] checking for stdlib.h... yes [07:45:50.754] checking for string.h... yes [07:45:50.769] checking for memory.h... yes [07:45:50.784] checking for strings.h... yes [07:45:50.820] checking for inttypes.h... yes [07:45:50.859] checking for stdint.h... yes [07:45:50.873] checking for unistd.h... yes [07:45:50.889] checking for main in -lm... yes [07:45:50.938] checking for library containing setproctitle... no [07:45:51.032] checking for library containing dlsym... no [07:45:51.127] checking for library containing socket... -lws2_32 [07:45:51.264] checking for library containing getopt_long... none required [07:45:51.315] checking for library containing shm_open... no [07:45:51.412] checking for library containing shm_unlink... no [07:45:51.506] checking for library containing clock_gettime... no [07:45:51.597] checking for library containing shmget... no [07:45:51.686] checking for library containing backtrace_symbols... no [07:45:51.780] checking for library containing pthread_barrier_wait... -lpthread [07:45:51.878] checking for inflate in -lz... yes [07:45:51.928] checking for stdbool.h that conforms to C99... yes [07:45:51.940] checking for _Bool... yes [07:45:52.015] checking atomic.h usability... no [07:45:52.071] checking atomic.h presence... no [07:45:52.089] checking for atomic.h... no [07:45:52.093] checking copyfile.h usability... no [07:45:52.149] checking copyfile.h presence... no [07:45:52.170] checking for copyfile.h... no [07:45:52.173] checking execinfo.h usability... no [07:45:52.232] checking execinfo.h presence... no [07:45:52.252] checking for execinfo.h... no [07:45:52.256] checking getopt.h usability... yes [07:45:52.264] checking getopt.h presence... yes [07:45:52.280] checking for getopt.h... yes [07:45:52.288] checking ifaddrs.h usability... no [07:45:52.348] checking ifaddrs.h presence... no [07:45:52.375] checking for ifaddrs.h... no [07:45:52.378] checking mbarrier.h usability... no [07:45:52.439] checking mbarrier.h presence... no [07:45:52.459] checking for mbarrier.h... no [07:45:52.463] checking sys/epoll.h usability... no [07:45:52.521] checking sys/epoll.h presence... no [07:45:52.540] checking for sys/epoll.h... no [07:45:52.544] checking sys/event.h usability... no [07:45:52.601] checking sys/event.h presence... no [07:45:52.620] checking for sys/event.h... no [07:45:52.623] checking sys/personality.h usability... no [07:45:52.679] checking sys/personality.h presence... no [07:45:52.698] checking for sys/personality.h... no [07:45:52.701] checking sys/prctl.h usability... no [07:45:52.759] checking sys/prctl.h presence... no [07:45:52.779] checking for sys/prctl.h... no [07:45:52.782] checking sys/procctl.h usability... no [07:45:52.839] checking sys/procctl.h presence... no [07:45:52.859] checking for sys/procctl.h... no [07:45:52.862] checking sys/signalfd.h usability... no [07:45:52.921] checking sys/signalfd.h presence... no [07:45:52.940] checking for sys/signalfd.h... no [07:45:52.943] checking sys/ucred.h usability... no [07:45:53.004] checking sys/ucred.h presence... no [07:45:53.025] checking for sys/ucred.h... no [07:45:53.029] checking termios.h usability... no [07:45:53.090] checking termios.h presence... no [07:45:53.110] checking for termios.h... no [07:45:53.114] checking ucred.h usability... no [07:45:53.177] checking ucred.h presence... no [07:45:53.198] checking for ucred.h... no [07:45:53.201] checking zlib.h usability... yes [07:45:53.268] checking zlib.h presence... yes [07:45:53.289] checking for zlib.h... yes [07:45:53.290] checking for lz4... /usr/bin/lz4 [07:45:53.290] checking for zstd... /usr/bin/zstd [07:45:53.290] checking for openssl... /usr/bin/openssl [07:45:53.295] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [07:45:53.295] checking crtdefs.h usability... yes [07:45:53.303] checking crtdefs.h presence... yes [07:45:53.318] checking for crtdefs.h... yes [07:45:53.319] checking whether byte ordering is bigendian... no [07:45:53.396] checking for inline... inline [07:45:53.412] checking for printf format archetype... gnu_printf [07:45:53.420] checking for _Static_assert... yes [07:45:53.463] checking for typeof... typeof [07:45:53.470] checking for __builtin_types_compatible_p... yes [07:45:53.482] checking for __builtin_constant_p... yes [07:45:53.493] checking for __builtin_unreachable... yes [07:45:53.536] checking for computed goto support... yes [07:45:53.544] checking for struct tm.tm_zone... no [07:45:53.629] checking for union semun... no [07:45:53.663] checking for socklen_t... yes [07:45:55.897] checking for struct sockaddr.sa_len... no [07:45:58.029] checking for locale_t... no [07:45:58.097] checking for C/C++ restrict keyword... __restrict [07:45:58.111] checking for struct option... yes [07:45:58.156] checking whether assembler supports x86_64 popcntq... yes [07:45:58.165] checking size of off_t... 4 [07:45:58.408] 0 [07:45:58.409] checking size of bool... 1 [07:45:58.490] checking for int timezone... yes [07:45:58.542] checking for wcstombs_l declaration... no [07:45:58.634] checking for backtrace_symbols... no [07:45:58.687] checking for copyfile... no [07:45:58.740] checking for copy_file_range... no [07:45:58.795] checking for getifaddrs... no [07:45:58.848] checking for getpeerucred... no [07:45:58.904] checking for inet_pton... yes [07:45:58.960] checking for kqueue... no [07:45:59.015] checking for mbstowcs_l... no [07:45:59.070] checking for memset_s... no [07:45:59.124] checking for posix_fallocate... no [07:45:59.181] checking for ppoll... no [07:45:59.239] checking for pthread_is_threaded_np... no [07:45:59.293] checking for setproctitle... no [07:45:59.350] checking for setproctitle_fast... no [07:45:59.405] checking for strchrnul... no [07:45:59.458] checking for strsignal... no [07:45:59.512] checking for syncfs... no [07:45:59.567] checking for sync_file_range... no [07:45:59.619] checking for uselocale... no [07:45:59.671] checking for wcstombs_l... no [07:45:59.721] checking for __builtin_bswap16... yes [07:45:59.772] checking for __builtin_bswap32... yes [07:45:59.823] checking for __builtin_bswap64... yes [07:45:59.875] checking for __builtin_clz... yes [07:45:59.925] checking for __builtin_ctz... yes [07:45:59.977] checking for __builtin_popcount... yes [07:46:00.025] checking for __builtin_frame_address... yes [07:46:00.075] checking for _LARGEFILE_SOURCE value needed for large files... no [07:46:00.133] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:46:00.166] checking for posix_fadvise... no [07:46:00.220] checking whether posix_fadvise is declared... no [07:46:00.266] checking whether fdatasync is declared... no [07:46:00.313] checking whether strlcat is declared... no [07:46:00.381] checking whether strlcpy is declared... no [07:46:00.448] checking whether strnlen is declared... yes [07:46:00.487] checking whether strsep is declared... no [07:46:00.556] checking whether preadv is declared... no [07:46:00.594] checking whether pwritev is declared... no [07:46:00.633] checking whether F_FULLFSYNC is declared... no [07:46:00.673] checking for explicit_bzero... no [07:46:00.722] checking for getopt... yes [07:46:00.768] checking for getpeereid... no [07:46:00.818] checking for inet_aton... no [07:46:00.867] checking for mkdtemp... no [07:46:00.918] checking for strlcat... no [07:46:00.971] checking for strlcpy... no [07:46:01.025] checking for strnlen... yes [07:46:01.077] checking for strsep... no [07:46:01.131] checking for pthread_barrier_wait... yes [07:46:01.179] configure: On mingw32 we will use our strtof wrapper. [07:46:01.179] checking for getopt_long... yes [07:46:01.227] checking for _configthreadlocale... yes [07:46:01.275] checking for syslog... no [07:46:01.325] checking for opterr... yes [07:46:01.378] checking for optreset... no [07:46:01.433] checking test program... cross-compiling [07:46:01.433] checking whether long int is 64 bits... no [07:46:01.469] checking whether long long int is 64 bits... yes [07:46:01.480] checking for __builtin_mul_overflow... yes [07:46:01.528] checking size of void *... 8 [07:46:01.823] checking size of size_t... 8 [07:46:02.108] checking size of long... 4 [07:46:02.388] checking alignment of short... 2 [07:46:02.533] checking alignment of int... 4 [07:46:02.801] checking alignment of long... 4 [07:46:03.021] checking alignment of long long int... 8 [07:46:03.304] checking alignment of double... 8 [07:46:03.611] checking for int8... no [07:46:03.656] checking for uint8... no [07:46:03.700] checking for int64... no [07:46:03.744] checking for uint64... no [07:46:03.791] checking for __int128... yes [07:46:03.844] checking for __int128 alignment bug... assuming ok [07:46:03.844] checking alignment of PG_INT128_TYPE... 16 [07:46:04.197] checking for builtin __sync char locking functions... yes [07:46:04.242] checking for builtin __sync int32 locking functions... yes [07:46:04.285] checking for builtin __sync int32 atomic operations... yes [07:46:04.328] checking for builtin __sync int64 atomic operations... yes [07:46:04.372] checking for builtin __atomic int32 atomic operations... yes [07:46:04.417] checking for builtin __atomic int64 atomic operations... yes [07:46:04.461] checking for __get_cpuid... yes [07:46:04.511] checking for __get_cpuid_count... yes [07:46:04.559] checking for __cpuid... no [07:46:04.968] checking for __cpuidex... no [07:46:05.394] checking for _xgetbv with CFLAGS=... no [07:46:05.776] checking for _xgetbv with CFLAGS=-mxsave... yes [07:46:06.180] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:46:06.567] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:46:06.915] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:46:06.968] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:46:07.070] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:46:07.095] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:46:07.118] 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:46:07.180] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:46:07.180] checking which random number source to use... Windows native [07:46:07.182] checking for xmllint... /usr/bin/xmllint [07:46:07.183] checking for xsltproc... /usr/bin/xsltproc [07:46:07.183] checking for fop... /usr/bin/fop [07:46:07.183] checking for dbtoepub... no [07:46:07.184] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:46:07.184] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:46:07.184] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:46:07.196] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:46:07.196] 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:46:07.196] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:46:07.196] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:46:07.294] configure: creating ./config.status [07:46:07.388] config.status: creating GNUmakefile [07:46:07.401] config.status: creating src/Makefile.global [07:46:07.416] config.status: creating src/include/pg_config.h [07:46:07.429] config.status: creating src/include/pg_config_ext.h [07:46:07.440] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:46:07.457] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:46:07.465] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:46:07.472] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:46:07.479] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:46:07.486] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:46:07.490] config.status: executing check_win32_symlinks commands [07:46:07.525] [07:46:07.525] real 0m18.682s [07:46:07.525] user 0m12.614s [07:46:07.525] sys 0m5.618s [07:46:07.525] make -s -j${BUILD_JOBS} clean [07:46:08.067] time make -s -j${BUILD_JOBS} world-bin [07:46:27.386] cluster.c: In function ‘get_catalog_state’: [07:46:27.386] cluster.c:2771:33: error: declaration of ‘td_src’ shadows a previous local [-Werror=shadow=compatible-local] [07:46:27.386] 2771 | TupleDesc td_src, td_dst; [07:46:27.386] | ^~~~~~ [07:46:27.386] cluster.c:2741:25: note: shadowed declaration is here [07:46:27.386] 2741 | TupleDesc td_src = RelationGetDescr(rel); [07:46:27.386] | ^~~~~~ [07:46:27.386] cc1: all warnings being treated as errors [07:46:27.388] make[3]: *** [: cluster.o] Error 1 [07:46:27.388] make[2]: *** [common.mk:37: commands-recursive] Error 2 [07:46:27.388] make[2]: *** Waiting for unfinished jobs.... [07:47:00.251] make[1]: *** [Makefile:43: all-backend-recurse] Error 2 [07:47:00.251] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:47:00.251] [07:47:00.251] real 0m52.184s [07:47:00.251] user 2m43.466s [07:47:00.251] sys 0m31.589s [07:47:00.252] [07:47:00.252] Exit status: 2