[09:45:42.747] time ./configure \ [09:45:42.747] --host=x86_64-w64-mingw32 \ [09:45:42.747] --enable-cassert \ [09:45:42.747] --without-icu \ [09:45:42.747] CC="ccache x86_64-w64-mingw32-gcc" \ [09:45:42.747] CXX="ccache x86_64-w64-mingw32-g++" [09:45:42.853] checking build system type... x86_64-pc-linux-gnu [09:45:43.016] checking host system type... x86_64-w64-mingw32 [09:45:43.021] checking which template to use... win32 [09:45:43.022] checking whether NLS is wanted... no [09:45:43.022] checking for default port number... 5432 [09:45:43.028] checking for block size... 8kB [09:45:43.029] checking for segment size... 1GB [09:45:43.031] checking for WAL block size... 8kB [09:45:43.032] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:45:43.062] checking whether the C compiler works... yes [09:45:43.177] checking for C compiler default output file name... a.exe [09:45:43.178] checking for suffix of executables... .exe [09:45:43.214] checking whether we are cross compiling... yes [09:45:43.282] checking for suffix of object files... o [09:45:43.290] checking whether we are using the GNU C compiler... yes [09:45:43.296] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:45:43.302] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:45:43.313] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:45:43.364] checking whether we are using the GNU C++ compiler... yes [09:45:43.370] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:45:43.428] checking for gawk... no [09:45:43.429] checking for mawk... mawk [09:45:43.431] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:45:43.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:45:43.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:45:43.483] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:45:43.626] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:45:43.632] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:45:43.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:45:43.644] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:45:43.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:45:43.656] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:45:43.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:45:43.668] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:45:43.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:45:43.680] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:45:43.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:45:43.693] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:45:43.700] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:45:43.734] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:45:43.740] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:45:43.747] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:45:43.753] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:45:43.759] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:45:43.765] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:45:43.786] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:45:43.792] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:45:43.798] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:45:43.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:45:43.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:45:43.877] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:45:43.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:45:43.917] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:45:43.924] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:45:43.931] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:45:43.938] checking whether the C compiler still works... yes [09:45:43.996] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:45:44.059] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:45:44.060] checking pkg-config is at least version 0.9.0... yes [09:45:44.074] checking whether to build with ICU support... no [09:45:44.075] checking whether to build with Tcl... no [09:45:44.075] checking whether to build Perl modules... no [09:45:44.075] checking whether to build Python modules... no [09:45:44.075] checking whether to build with GSSAPI support... no [09:45:44.076] checking whether to build with PAM support... no [09:45:44.076] checking whether to build with BSD Authentication support... no [09:45:44.076] checking whether to build with LDAP support... no [09:45:44.076] checking whether to build with Bonjour support... no [09:45:44.076] checking whether to build with SELinux support... no [09:45:44.076] checking whether to build with systemd support... no [09:45:44.077] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:45:44.077] checking whether to build with libcurl support... no [09:45:44.077] checking whether to build with XML support... no [09:45:44.077] checking whether to build with LZ4 support... no [09:45:44.077] checking whether to build with ZSTD support... no [09:45:44.078] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:45:44.078] checking whether it is possible to strip libraries... yes [09:45:44.086] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:45:44.086] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:45:44.086] checking for a BSD-compatible install... /usr/bin/install -c [09:45:44.095] checking for tar... /usr/bin/tar [09:45:44.095] checking whether ln -s works... yes [09:45:44.095] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:45:44.097] checking for bison... /usr/bin/bison [09:45:44.100] configure: using bison (GNU Bison) 3.8.2 [09:45:44.102] checking for flex... /usr/bin/flex [09:45:44.104] configure: using flex 2.6.4 [09:45:44.104] checking for perl... /usr/bin/perl [09:45:44.107] configure: using perl 5.36.0 [09:45:44.109] checking for zic... /usr/sbin/zic [09:45:44.109] checking for a sed that does not truncate output... /usr/bin/sed [09:45:44.114] checking for grep that handles long lines and -e... /usr/bin/grep [09:45:44.116] checking for egrep... /usr/bin/grep -E [09:45:44.117] checking for ANSI C header files... yes [09:45:44.164] checking for sys/types.h... yes [09:45:44.180] checking for sys/stat.h... yes [09:45:44.193] checking for stdlib.h... yes [09:45:44.207] checking for string.h... yes [09:45:44.221] checking for memory.h... yes [09:45:44.235] checking for strings.h... yes [09:45:44.248] checking for inttypes.h... yes [09:45:44.263] checking for stdint.h... yes [09:45:44.276] checking for unistd.h... yes [09:45:44.290] checking for main in -lm... yes [09:45:44.335] checking for library containing setproctitle... no [09:45:44.416] checking for library containing dlsym... no [09:45:44.495] checking for library containing socket... -lws2_32 [09:45:44.617] checking for library containing getopt_long... none required [09:45:44.659] checking for library containing shm_open... no [09:45:44.743] checking for library containing shm_unlink... no [09:45:44.821] checking for library containing clock_gettime... no [09:45:44.900] checking for library containing shmget... no [09:45:44.979] checking for library containing backtrace_symbols... no [09:45:45.054] checking for library containing pthread_barrier_wait... -lpthread [09:45:45.132] checking for inflate in -lz... yes [09:45:45.176] checking atomic.h usability... no [09:45:45.231] checking atomic.h presence... no [09:45:45.249] checking for atomic.h... no [09:45:45.252] checking copyfile.h usability... no [09:45:45.302] checking copyfile.h presence... no [09:45:45.320] checking for copyfile.h... no [09:45:45.323] checking execinfo.h usability... no [09:45:45.376] checking execinfo.h presence... no [09:45:45.395] checking for execinfo.h... no [09:45:45.398] checking getopt.h usability... yes [09:45:45.405] checking getopt.h presence... yes [09:45:45.418] checking for getopt.h... yes [09:45:45.425] checking ifaddrs.h usability... no [09:45:45.474] checking ifaddrs.h presence... no [09:45:45.490] checking for ifaddrs.h... no [09:45:45.493] checking mbarrier.h usability... no [09:45:45.541] checking mbarrier.h presence... no [09:45:45.558] checking for mbarrier.h... no [09:45:45.561] checking sys/epoll.h usability... no [09:45:45.611] checking sys/epoll.h presence... no [09:45:45.629] checking for sys/epoll.h... no [09:45:45.632] checking sys/event.h usability... no [09:45:45.682] checking sys/event.h presence... no [09:45:45.700] checking for sys/event.h... no [09:45:45.703] checking sys/personality.h usability... no [09:45:45.754] checking sys/personality.h presence... no [09:45:45.771] checking for sys/personality.h... no [09:45:45.774] checking sys/prctl.h usability... no [09:45:45.826] checking sys/prctl.h presence... no [09:45:45.844] checking for sys/prctl.h... no [09:45:45.847] checking sys/procctl.h usability... no [09:45:45.897] checking sys/procctl.h presence... no [09:45:45.914] checking for sys/procctl.h... no [09:45:45.917] checking sys/signalfd.h usability... no [09:45:45.967] checking sys/signalfd.h presence... no [09:45:45.984] checking for sys/signalfd.h... no [09:45:45.987] checking sys/ucred.h usability... no [09:45:46.036] checking sys/ucred.h presence... no [09:45:46.052] checking for sys/ucred.h... no [09:45:46.056] checking termios.h usability... no [09:45:46.105] checking termios.h presence... no [09:45:46.121] checking for termios.h... no [09:45:46.124] checking ucred.h usability... no [09:45:46.174] checking ucred.h presence... no [09:45:46.192] checking for ucred.h... no [09:45:46.195] checking xlocale.h usability... no [09:45:46.243] checking xlocale.h presence... no [09:45:46.259] checking for xlocale.h... no [09:45:46.262] checking zlib.h usability... yes [09:45:46.270] checking zlib.h presence... yes [09:45:46.288] checking for zlib.h... yes [09:45:46.288] checking for lz4... /usr/bin/lz4 [09:45:46.289] checking for zstd... /usr/bin/zstd [09:45:46.289] checking for openssl... /usr/bin/openssl [09:45:46.293] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:45:46.293] checking crtdefs.h usability... yes [09:45:46.300] checking crtdefs.h presence... yes [09:45:46.314] checking for crtdefs.h... yes [09:45:46.315] checking whether byte ordering is bigendian... no [09:45:46.377] checking for inline... inline [09:45:46.383] checking for printf format archetype... gnu_printf [09:45:46.391] checking for _Static_assert... yes [09:45:46.428] checking for typeof... typeof [09:45:46.434] checking for __builtin_types_compatible_p... yes [09:45:46.444] checking for __builtin_constant_p... yes [09:45:46.454] checking for __builtin_mul_overflow... yes [09:45:46.498] checking for __builtin_unreachable... yes [09:45:46.535] checking for computed goto support... yes [09:45:46.541] checking for struct tm.tm_zone... no [09:45:46.616] checking for union semun... no [09:45:46.647] checking for socklen_t... yes [09:45:47.684] checking for struct sockaddr.sa_len... no [09:45:49.492] checking for C/C++ restrict keyword... __restrict [09:45:49.505] checking for struct option... yes [09:45:49.543] checking whether assembler supports x86_64 popcntq... yes [09:45:49.550] checking size of off_t... 4 [09:45:49.742] 0 [09:45:49.742] checking for int timezone... yes [09:45:49.790] checking for backtrace_symbols... no [09:45:49.837] checking for copyfile... no [09:45:49.885] checking for copy_file_range... no [09:45:49.931] checking for elf_aux_info... no [09:45:49.975] checking for getauxval... no [09:45:50.019] checking for getifaddrs... no [09:45:50.065] checking for getpeerucred... no [09:45:50.111] checking for inet_pton... yes [09:45:50.160] checking for kqueue... no [09:45:50.206] checking for mbstowcs_l... no [09:45:50.254] checking for memset_s... no [09:45:50.299] checking for posix_fallocate... no [09:45:50.346] checking for ppoll... no [09:45:50.393] checking for pthread_is_threaded_np... no [09:45:50.439] checking for setproctitle... no [09:45:50.488] checking for setproctitle_fast... no [09:45:50.537] checking for strchrnul... no [09:45:50.583] checking for strsignal... no [09:45:50.628] checking for syncfs... no [09:45:50.675] checking for sync_file_range... no [09:45:50.722] checking for uselocale... no [09:45:50.767] checking for wcstombs_l... no [09:45:50.809] checking for __builtin_bswap16... yes [09:45:50.854] checking for __builtin_bswap32... yes [09:45:50.895] checking for __builtin_bswap64... yes [09:45:50.936] checking for __builtin_clz... yes [09:45:50.980] checking for __builtin_ctz... yes [09:45:51.022] checking for __builtin_popcount... yes [09:45:51.065] checking for __builtin_frame_address... yes [09:45:51.107] checking for _LARGEFILE_SOURCE value needed for large files... no [09:45:51.152] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:45:51.178] checking for posix_fadvise... no [09:45:51.223] checking whether posix_fadvise is declared... no [09:45:51.263] checking whether fdatasync is declared... no [09:45:51.305] checking whether strlcat is declared... no [09:45:51.365] checking whether strlcpy is declared... no [09:45:51.423] checking whether strnlen is declared... yes [09:45:51.435] checking whether strsep is declared... no [09:45:51.493] checking whether preadv is declared... no [09:45:51.526] checking whether pwritev is declared... no [09:45:51.559] checking whether F_FULLFSYNC is declared... no [09:45:51.595] checking for explicit_bzero... no [09:45:51.638] checking for getopt... yes [09:45:51.677] checking for getpeereid... no [09:45:51.720] checking for inet_aton... no [09:45:51.762] checking for mkdtemp... no [09:45:51.806] checking for strlcat... no [09:45:51.852] checking for strlcpy... no [09:45:51.894] checking for strnlen... yes [09:45:51.940] checking for strsep... no [09:45:51.990] checking for pthread_barrier_wait... yes [09:45:52.033] configure: On mingw32 we will use our strtof wrapper. [09:45:52.033] checking for getopt_long... yes [09:45:52.079] checking for syslog... no [09:45:52.126] checking for opterr... yes [09:45:52.175] checking for optreset... no [09:45:52.225] checking test program... cross-compiling [09:45:52.226] checking size of void *... 8 [09:45:52.472] checking size of size_t... 8 [09:45:52.722] checking size of long... 4 [09:45:52.970] checking size of long long... 8 [09:45:53.211] checking alignment of short... 2 [09:45:53.356] checking alignment of int... 4 [09:45:53.541] checking alignment of long... 4 [09:45:53.751] checking alignment of int64_t... 8 [09:45:53.999] checking alignment of double... 8 [09:45:54.256] checking for __int128... yes [09:45:54.303] checking for __int128 alignment bug... assuming ok [09:45:54.303] checking alignment of PG_INT128_TYPE... 16 [09:45:54.620] checking for builtin __sync char locking functions... yes [09:45:54.659] checking for builtin __sync int32 locking functions... yes [09:45:54.703] checking for builtin __sync int32 atomic operations... yes [09:45:54.744] checking for builtin __sync int64 atomic operations... yes [09:45:54.785] checking for builtin __atomic int32 atomic operations... yes [09:45:54.825] checking for builtin __atomic int64 atomic operations... yes [09:45:54.869] checking for __get_cpuid... yes [09:45:54.912] checking for __get_cpuid_count... yes [09:45:54.954] checking for __cpuid... no [09:45:55.334] checking for __cpuidex... no [09:45:55.732] checking for _xgetbv... yes [09:45:56.104] checking for _mm512_popcnt_epi64... yes [09:45:56.487] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:45:56.578] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:45:56.599] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:45:56.616] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:45:56.633] 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 [09:45:56.684] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:45:56.684] checking which random number source to use... Windows native [09:45:56.686] checking for xmllint... /usr/bin/xmllint [09:45:56.686] checking for xsltproc... /usr/bin/xsltproc [09:45:56.686] checking for fop... /usr/bin/fop [09:45:56.687] checking for dbtoepub... no [09:45:56.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:45:56.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:45:56.687] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:45:56.698] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:45:56.698] 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 [09:45:56.698] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:45:56.698] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:45:56.775] configure: creating ./config.status [09:45:56.856] config.status: creating GNUmakefile [09:45:56.868] config.status: creating src/Makefile.global [09:45:56.882] config.status: creating src/include/pg_config.h [09:45:56.893] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:45:56.908] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:45:56.915] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:45:56.921] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:45:56.928] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:45:56.934] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:45:56.937] config.status: executing check_win32_symlinks commands [09:45:56.970] [09:45:56.970] real 0m14.223s [09:45:56.970] user 0m9.338s [09:45:56.970] sys 0m4.629s [09:45:56.970] make -s -j${BUILD_JOBS} clean [09:45:57.458] time make -s -j${BUILD_JOBS} world-bin [09:47:59.270] tablesync.c: In function ‘copy_table’: [09:47:59.270] tablesync.c:1132:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [09:47:59.270] 1132 | TupleDesc tupdesc = RelationGetDescr(rel); [09:47:59.270] | ^~~~~~~~~ [09:47:59.270] cc1: all warnings being treated as errors [09:47:59.271] make[4]: *** [: tablesync.o] Error 1 [09:47:59.271] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [09:47:59.271] make[2]: *** [common.mk:37: replication-recursive] Error 2 [09:47:59.271] make[2]: *** Waiting for unfinished jobs.... [09:48:07.956] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:48:07.956] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:48:07.956] [09:48:07.956] real 2m10.498s [09:48:07.956] user 7m1.644s [09:48:07.956] sys 1m23.599s [09:48:07.956] [09:48:07.956] Exit status: 2