[22:43:26.799] time ./configure \ [22:43:26.799] --host=x86_64-w64-mingw32 \ [22:43:26.799] --enable-cassert \ [22:43:26.799] --without-icu \ [22:43:26.799] CC="ccache x86_64-w64-mingw32-gcc" \ [22:43:26.799] CXX="ccache x86_64-w64-mingw32-g++" [22:43:26.921] checking build system type... x86_64-pc-linux-gnu [22:43:27.112] checking host system type... x86_64-w64-mingw32 [22:43:27.117] checking which template to use... win32 [22:43:27.118] checking whether NLS is wanted... no [22:43:27.118] checking for default port number... 5432 [22:43:27.124] checking for block size... 8kB [22:43:27.126] checking for segment size... 1GB [22:43:27.128] checking for WAL block size... 8kB [22:43:27.129] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:43:27.164] checking whether the C compiler works... yes [22:43:27.293] checking for C compiler default output file name... a.exe [22:43:27.294] checking for suffix of executables... .exe [22:43:27.336] checking whether we are cross compiling... yes [22:43:27.413] checking for suffix of object files... o [22:43:27.421] checking whether we are using the GNU C compiler... yes [22:43:27.428] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:43:27.434] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:43:27.444] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:43:27.501] checking whether we are using the GNU C++ compiler... yes [22:43:27.508] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:43:27.575] checking for gawk... no [22:43:27.575] checking for mawk... mawk [22:43:27.578] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:43:27.585] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:43:27.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:43:27.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:43:27.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:43:27.802] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:43:27.808] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:43:27.815] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:43:27.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:43:27.829] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:43:27.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:43:27.843] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:43:27.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:43:27.858] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:43:27.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:43:27.873] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:43:27.879] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:43:27.917] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:43:27.923] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:43:27.930] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:43:27.937] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:43:27.943] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:43:27.950] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:43:27.977] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:43:27.985] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:43:27.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:43:28.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:43:28.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:43:28.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:43:28.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:43:28.125] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:43:28.133] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:43:28.141] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:43:28.150] checking whether the C compiler still works... yes [22:43:28.216] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:43:28.293] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:43:28.293] checking pkg-config is at least version 0.9.0... yes [22:43:28.309] checking whether to build with ICU support... no [22:43:28.309] checking whether to build with Tcl... no [22:43:28.310] checking whether to build Perl modules... no [22:43:28.310] checking whether to build Python modules... no [22:43:28.310] checking whether to build with GSSAPI support... no [22:43:28.311] checking whether to build with PAM support... no [22:43:28.311] checking whether to build with BSD Authentication support... no [22:43:28.311] checking whether to build with LDAP support... no [22:43:28.311] checking whether to build with Bonjour support... no [22:43:28.311] checking whether to build with SELinux support... no [22:43:28.312] checking whether to build with systemd support... no [22:43:28.312] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:43:28.312] checking whether to build with liburing support... no [22:43:28.312] checking whether to build with libcurl support... no [22:43:28.312] checking whether to build with libnuma support... no [22:43:28.313] checking whether to build with XML support... no [22:43:28.313] checking whether to build with LZ4 support... no [22:43:28.313] checking whether to build with ZSTD support... no [22:43:28.313] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:43:28.314] checking whether it is possible to strip libraries... yes [22:43:28.323] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:43:28.323] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:43:28.324] checking for a BSD-compatible install... /usr/bin/install -c [22:43:28.333] checking for tar... /usr/bin/tar [22:43:28.333] checking whether ln -s works... yes [22:43:28.333] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:43:28.335] checking for bison... /usr/bin/bison [22:43:28.337] configure: using bison (GNU Bison) 3.8.2 [22:43:28.340] checking for flex... /usr/bin/flex [22:43:28.343] configure: using flex 2.6.4 [22:43:28.343] checking for perl... /usr/bin/perl [22:43:28.346] configure: using perl 5.36.0 [22:43:28.348] checking for zic... /usr/sbin/zic [22:43:28.348] checking for a sed that does not truncate output... /usr/bin/sed [22:43:28.354] checking for grep that handles long lines and -e... /usr/bin/grep [22:43:28.356] checking for egrep... /usr/bin/grep -E [22:43:28.358] checking for ANSI C header files... yes [22:43:28.408] checking for sys/types.h... yes [22:43:28.426] checking for sys/stat.h... yes [22:43:28.443] checking for stdlib.h... yes [22:43:28.459] checking for string.h... yes [22:43:28.476] checking for memory.h... yes [22:43:28.496] checking for strings.h... yes [22:43:28.513] checking for inttypes.h... yes [22:43:28.531] checking for stdint.h... yes [22:43:28.548] checking for unistd.h... yes [22:43:28.568] checking for main in -lm... yes [22:43:28.619] checking for library containing setproctitle... no [22:43:28.711] checking for library containing dlsym... no [22:43:28.799] checking for library containing socket... -lws2_32 [22:43:28.931] checking for library containing getopt_long... none required [22:43:28.981] checking for library containing shm_open... no [22:43:29.071] checking for library containing shm_unlink... no [22:43:29.159] checking for library containing clock_gettime... no [22:43:29.248] checking for library containing shmget... no [22:43:29.342] checking for library containing backtrace_symbols... no [22:43:29.436] checking for library containing pthread_barrier_wait... -lpthread [22:43:29.527] checking for inflate in -lz... yes [22:43:29.577] checking atomic.h usability... no [22:43:29.636] checking atomic.h presence... no [22:43:29.656] checking for atomic.h... no [22:43:29.660] checking copyfile.h usability... no [22:43:29.717] checking copyfile.h presence... no [22:43:29.737] checking for copyfile.h... no [22:43:29.741] checking execinfo.h usability... no [22:43:29.801] checking execinfo.h presence... no [22:43:29.822] checking for execinfo.h... no [22:43:29.825] checking getopt.h usability... yes [22:43:29.833] checking getopt.h presence... yes [22:43:29.849] checking for getopt.h... yes [22:43:29.857] checking ifaddrs.h usability... no [22:43:29.916] checking ifaddrs.h presence... no [22:43:29.938] checking for ifaddrs.h... no [22:43:29.942] checking mbarrier.h usability... no [22:43:30.002] checking mbarrier.h presence... no [22:43:30.022] checking for mbarrier.h... no [22:43:30.026] checking sys/epoll.h usability... no [22:43:30.085] checking sys/epoll.h presence... no [22:43:30.107] checking for sys/epoll.h... no [22:43:30.110] checking sys/event.h usability... no [22:43:30.169] checking sys/event.h presence... no [22:43:30.190] checking for sys/event.h... no [22:43:30.194] checking sys/personality.h usability... no [22:43:30.253] checking sys/personality.h presence... no [22:43:30.274] checking for sys/personality.h... no [22:43:30.278] checking sys/prctl.h usability... no [22:43:30.336] checking sys/prctl.h presence... no [22:43:30.357] checking for sys/prctl.h... no [22:43:30.360] checking sys/procctl.h usability... no [22:43:30.418] checking sys/procctl.h presence... no [22:43:30.439] checking for sys/procctl.h... no [22:43:30.442] checking sys/signalfd.h usability... no [22:43:30.501] checking sys/signalfd.h presence... no [22:43:30.523] checking for sys/signalfd.h... no [22:43:30.527] checking sys/ucred.h usability... no [22:43:30.586] checking sys/ucred.h presence... no [22:43:30.607] checking for sys/ucred.h... no [22:43:30.610] checking termios.h usability... no [22:43:30.668] checking termios.h presence... no [22:43:30.690] checking for termios.h... no [22:43:30.694] checking ucred.h usability... no [22:43:30.753] checking ucred.h presence... no [22:43:30.774] checking for ucred.h... no [22:43:30.777] checking xlocale.h usability... no [22:43:30.836] checking xlocale.h presence... no [22:43:30.856] checking for xlocale.h... no [22:43:30.859] checking zlib.h usability... yes [22:43:30.869] checking zlib.h presence... yes [22:43:30.889] checking for zlib.h... yes [22:43:30.890] checking for lz4... /usr/bin/lz4 [22:43:30.890] checking for zstd... /usr/bin/zstd [22:43:30.890] checking for openssl... /usr/bin/openssl [22:43:30.895] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:43:30.895] checking crtdefs.h usability... yes [22:43:30.904] checking crtdefs.h presence... yes [22:43:30.920] checking for crtdefs.h... yes [22:43:30.922] checking whether byte ordering is bigendian... no [22:43:31.005] checking for inline... inline [22:43:31.013] checking for printf format archetype... gnu_printf [22:43:31.023] checking for _Static_assert... yes [22:43:31.067] checking for typeof... typeof [22:43:31.075] checking for __builtin_types_compatible_p... yes [22:43:31.088] checking for __builtin_constant_p... yes [22:43:31.100] checking for __builtin_mul_overflow... yes [22:43:31.151] checking for __builtin_unreachable... yes [22:43:31.195] checking for computed goto support... yes [22:43:31.203] checking for struct tm.tm_zone... no [22:43:31.288] checking for union semun... no [22:43:31.326] checking for socklen_t... yes [22:43:32.596] checking for struct sockaddr.sa_len... no [22:43:34.821] checking for C/C++ restrict keyword... __restrict [22:43:34.836] checking for struct option... yes [22:43:34.882] checking whether assembler supports x86_64 popcntq... yes [22:43:34.890] checking size of off_t... 4 [22:43:35.106] 0 [22:43:35.106] checking for int timezone... yes [22:43:35.160] checking for backtrace_symbols... no [22:43:35.215] checking for copyfile... no [22:43:35.266] checking for copy_file_range... no [22:43:35.317] checking for elf_aux_info... no [22:43:35.365] checking for getauxval... no [22:43:35.415] checking for getifaddrs... no [22:43:35.464] checking for getpeerucred... no [22:43:35.514] checking for inet_pton... yes [22:43:35.565] checking for kqueue... no [22:43:35.616] checking for localeconv_l... no [22:43:35.669] checking for mbstowcs_l... no [22:43:35.720] checking for memset_s... no [22:43:35.769] checking for posix_fallocate... no [22:43:35.817] checking for ppoll... no [22:43:35.867] checking for pthread_is_threaded_np... no [22:43:35.919] checking for setproctitle... no [22:43:35.971] checking for setproctitle_fast... no [22:43:36.022] checking for strsignal... no [22:43:36.073] checking for syncfs... no [22:43:36.125] checking for sync_file_range... no [22:43:36.176] checking for uselocale... no [22:43:36.227] checking for wcstombs_l... no [22:43:36.277] checking for __builtin_bswap16... yes [22:43:36.329] checking for __builtin_bswap32... yes [22:43:36.380] checking for __builtin_bswap64... yes [22:43:36.433] checking for __builtin_clz... yes [22:43:36.486] checking for __builtin_ctz... yes [22:43:36.536] checking for __builtin_popcount... yes [22:43:36.587] checking for __builtin_frame_address... yes [22:43:36.638] checking for _LARGEFILE_SOURCE value needed for large files... no [22:43:36.695] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:43:36.731] checking for posix_fadvise... no [22:43:36.786] checking whether posix_fadvise is declared... no [22:43:36.835] checking whether fdatasync is declared... no [22:43:36.887] checking whether strlcat is declared... no [22:43:36.956] checking whether strlcpy is declared... no [22:43:37.023] checking whether strnlen is declared... yes [22:43:37.038] checking whether strsep is declared... no [22:43:37.106] checking whether timingsafe_bcmp is declared... no [22:43:37.174] checking whether preadv is declared... no [22:43:37.211] checking whether pwritev is declared... no [22:43:37.246] checking whether strchrnul is declared... no [22:43:37.289] checking whether F_FULLFSYNC is declared... no [22:43:37.330] checking for explicit_bzero... no [22:43:37.378] checking for getopt... yes [22:43:37.423] checking for getpeereid... no [22:43:37.471] checking for inet_aton... no [22:43:37.518] checking for mkdtemp... no [22:43:37.567] checking for strlcat... no [22:43:37.618] checking for strlcpy... no [22:43:37.667] checking for strnlen... yes [22:43:37.716] checking for strsep... no [22:43:37.764] checking for timingsafe_bcmp... no [22:43:37.815] checking for pthread_barrier_wait... yes [22:43:37.861] configure: On mingw32 we will use our strtof wrapper. [22:43:37.861] checking for getopt_long... yes [22:43:37.906] checking for syslog... no [22:43:37.956] checking for opterr... yes [22:43:38.006] checking for optreset... no [22:43:38.060] checking test program... cross-compiling [22:43:38.060] checking size of void *... 8 [22:43:38.341] checking size of size_t... 8 [22:43:38.617] checking size of long... 4 [22:43:38.836] checking size of long long... 8 [22:43:39.120] checking alignment of short... 2 [22:43:39.269] checking alignment of int... 4 [22:43:39.484] checking alignment of long... 4 [22:43:39.698] checking alignment of int64_t... 8 [22:43:39.972] checking alignment of double... 8 [22:43:40.245] checking for __int128... yes [22:43:40.300] checking for __int128 alignment bug... assuming ok [22:43:40.300] checking alignment of PG_INT128_TYPE... 16 [22:43:40.653] checking for builtin __sync char locking functions... yes [22:43:40.698] checking for builtin __sync int32 locking functions... yes [22:43:40.742] checking for builtin __sync int32 atomic operations... yes [22:43:40.787] checking for builtin __sync int64 atomic operations... yes [22:43:40.832] checking for builtin __atomic int32 atomic operations... yes [22:43:40.875] checking for builtin __atomic int64 atomic operations... yes [22:43:40.922] checking for __get_cpuid... yes [22:43:40.974] checking for __get_cpuid_count... yes [22:43:41.022] checking for __cpuid... no [22:43:41.434] checking for __cpuidex... no [22:43:41.870] checking for _xgetbv... yes [22:43:42.279] checking for _mm512_popcnt_epi64... yes [22:43:42.705] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:43:42.812] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:43:42.836] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:43:42.857] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:43:42.878] 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 [22:43:42.938] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:43:42.938] checking for _mm512_clmulepi64_epi128... yes [22:43:43.360] checking for vectorized CRC-32C... AVX-512 with runtime check [22:43:43.360] checking which random number source to use... Windows native [22:43:43.362] checking for xmllint... /usr/bin/xmllint [22:43:43.362] checking for xsltproc... /usr/bin/xsltproc [22:43:43.363] checking for fop... /usr/bin/fop [22:43:43.363] checking for dbtoepub... no [22:43:43.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:43:43.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:43:43.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:43:43.376] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:43:43.376] 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 [22:43:43.376] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:43:43.376] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:43:43.474] configure: creating ./config.status [22:43:43.569] config.status: creating GNUmakefile [22:43:43.582] config.status: creating src/Makefile.global [22:43:43.599] config.status: creating src/include/pg_config.h [22:43:43.614] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:43:43.631] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:43:43.639] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:43:43.648] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:43:43.656] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:43:43.664] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:43:43.668] config.status: executing check_win32_symlinks commands [22:43:43.710] [22:43:43.710] real 0m16.910s [22:43:43.710] user 0m11.238s [22:43:43.710] sys 0m5.378s [22:43:43.710] make -s -j${BUILD_JOBS} clean [22:43:44.245] time make -s -j${BUILD_JOBS} world-bin [22:43:49.527] tablesync.c: In function ‘copy_table’: [22:43:49.527] tablesync.c:1132:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:43:49.527] 1132 | TupleDesc tupdesc = RelationGetDescr(rel); [22:43:49.527] | ^~~~~~~~~ [22:43:49.527] cc1: all warnings being treated as errors [22:43:49.529] make[4]: *** [: tablesync.o] Error 1 [22:43:49.529] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [22:43:49.529] make[3]: *** Waiting for unfinished jobs.... [22:43:49.532] make[2]: *** [common.mk:37: replication-recursive] Error 2 [22:43:49.532] make[2]: *** Waiting for unfinished jobs.... [22:43:49.596] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:43:49.597] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:43:49.597] [22:43:49.597] real 0m5.352s [22:43:49.597] user 0m9.289s [22:43:49.597] sys 0m6.972s [22:43:49.597] [22:43:49.597] Exit status: 2