[06:46:39.095] time ./configure \ [06:46:39.095] --host=x86_64-w64-mingw32 \ [06:46:39.095] --enable-cassert \ [06:46:39.095] --without-icu \ [06:46:39.095] CC="ccache x86_64-w64-mingw32-gcc" \ [06:46:39.095] CXX="ccache x86_64-w64-mingw32-g++" [06:46:39.219] checking build system type... x86_64-pc-linux-gnu [06:46:39.410] checking host system type... x86_64-w64-mingw32 [06:46:39.416] checking which template to use... win32 [06:46:39.416] checking whether NLS is wanted... no [06:46:39.416] checking for default port number... 5432 [06:46:39.423] checking for block size... 8kB [06:46:39.424] checking for segment size... 1GB [06:46:39.427] checking for WAL block size... 8kB [06:46:39.428] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:46:39.465] checking whether the C compiler works... yes [06:46:39.605] checking for C compiler default output file name... a.exe [06:46:39.606] checking for suffix of executables... .exe [06:46:39.649] checking whether we are cross compiling... yes [06:46:39.734] checking for suffix of object files... o [06:46:39.743] checking whether we are using the GNU C compiler... yes [06:46:39.751] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:46:39.759] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:46:39.771] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:46:39.833] checking whether we are using the GNU C++ compiler... yes [06:46:39.840] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:46:39.918] checking for gawk... no [06:46:39.918] checking for mawk... mawk [06:46:39.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:46:39.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:46:39.936] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:46:39.985] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:46:40.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:46:40.170] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:46:40.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:46:40.186] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:46:40.194] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:46:40.202] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:46:40.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:46:40.219] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:46:40.227] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:46:40.235] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:46:40.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:46:40.251] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:46:40.260] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:46:40.298] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:46:40.306] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:46:40.314] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:46:40.322] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:46:40.329] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:46:40.337] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:46:40.363] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:46:40.371] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:46:40.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:46:40.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:46:40.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:46:40.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:46:40.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:46:40.516] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:46:40.525] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:46:40.533] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:46:40.543] checking whether the C compiler still works... yes [06:46:40.613] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:46:40.693] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:46:40.693] checking pkg-config is at least version 0.9.0... yes [06:46:40.711] checking whether to build with ICU support... no [06:46:40.711] checking whether to build with Tcl... no [06:46:40.711] checking whether to build Perl modules... no [06:46:40.711] checking whether to build Python modules... no [06:46:40.711] checking whether to build with GSSAPI support... no [06:46:40.713] checking whether to build with PAM support... no [06:46:40.713] checking whether to build with BSD Authentication support... no [06:46:40.713] checking whether to build with LDAP support... no [06:46:40.713] checking whether to build with Bonjour support... no [06:46:40.713] checking whether to build with SELinux support... no [06:46:40.713] checking whether to build with systemd support... no [06:46:40.713] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:46:40.713] checking whether to build with libcurl support... no [06:46:40.714] checking whether to build with XML support... no [06:46:40.714] checking whether to build with LZ4 support... no [06:46:40.714] checking whether to build with ZSTD support... no [06:46:40.714] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:46:40.715] checking whether it is possible to strip libraries... yes [06:46:40.722] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:46:40.722] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:46:40.723] checking for a BSD-compatible install... /usr/bin/install -c [06:46:40.733] checking for tar... /usr/bin/tar [06:46:40.733] checking whether ln -s works... yes [06:46:40.733] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:46:40.735] checking for bison... /usr/bin/bison [06:46:40.738] configure: using bison (GNU Bison) 3.8.2 [06:46:40.741] checking for flex... /usr/bin/flex [06:46:40.743] configure: using flex 2.6.4 [06:46:40.743] checking for perl... /usr/bin/perl [06:46:40.746] configure: using perl 5.36.0 [06:46:40.748] checking for zic... /usr/sbin/zic [06:46:40.748] checking for a sed that does not truncate output... /usr/bin/sed [06:46:40.754] checking for grep that handles long lines and -e... /usr/bin/grep [06:46:40.756] checking for egrep... /usr/bin/grep -E [06:46:40.758] checking for ANSI C header files... yes [06:46:40.809] checking for sys/types.h... yes [06:46:40.826] checking for sys/stat.h... yes [06:46:40.841] checking for stdlib.h... yes [06:46:40.856] checking for string.h... yes [06:46:40.872] checking for memory.h... yes [06:46:40.888] checking for strings.h... yes [06:46:40.904] checking for inttypes.h... yes [06:46:40.922] checking for stdint.h... yes [06:46:40.937] checking for unistd.h... yes [06:46:40.952] checking for main in -lm... yes [06:46:40.999] checking for library containing setproctitle... no [06:46:41.090] checking for library containing dlsym... no [06:46:41.180] checking for library containing socket... -lws2_32 [06:46:41.319] checking for library containing getopt_long... none required [06:46:41.369] checking for library containing shm_open... no [06:46:41.464] checking for library containing shm_unlink... no [06:46:41.561] checking for library containing clock_gettime... no [06:46:41.655] checking for library containing shmget... no [06:46:41.748] checking for library containing backtrace_symbols... no [06:46:41.845] checking for library containing pthread_barrier_wait... -lpthread [06:46:41.941] checking for inflate in -lz... yes [06:46:41.994] checking atomic.h usability... no [06:46:42.058] checking atomic.h presence... no [06:46:42.079] checking for atomic.h... no [06:46:42.083] checking copyfile.h usability... no [06:46:42.143] checking copyfile.h presence... no [06:46:42.164] checking for copyfile.h... no [06:46:42.168] checking execinfo.h usability... no [06:46:42.228] checking execinfo.h presence... no [06:46:42.249] checking for execinfo.h... no [06:46:42.252] checking getopt.h usability... yes [06:46:42.261] checking getopt.h presence... yes [06:46:42.277] checking for getopt.h... yes [06:46:42.286] checking ifaddrs.h usability... no [06:46:42.344] checking ifaddrs.h presence... no [06:46:42.365] checking for ifaddrs.h... no [06:46:42.369] checking mbarrier.h usability... no [06:46:42.428] checking mbarrier.h presence... no [06:46:42.449] checking for mbarrier.h... no [06:46:42.452] checking sys/epoll.h usability... no [06:46:42.511] checking sys/epoll.h presence... no [06:46:42.531] checking for sys/epoll.h... no [06:46:42.535] checking sys/event.h usability... no [06:46:42.593] checking sys/event.h presence... no [06:46:42.614] checking for sys/event.h... no [06:46:42.618] checking sys/personality.h usability... no [06:46:42.677] checking sys/personality.h presence... no [06:46:42.697] checking for sys/personality.h... no [06:46:42.701] checking sys/prctl.h usability... no [06:46:42.758] checking sys/prctl.h presence... no [06:46:42.778] checking for sys/prctl.h... no [06:46:42.781] checking sys/procctl.h usability... no [06:46:42.836] checking sys/procctl.h presence... no [06:46:42.855] checking for sys/procctl.h... no [06:46:42.859] checking sys/signalfd.h usability... no [06:46:42.914] checking sys/signalfd.h presence... no [06:46:42.933] checking for sys/signalfd.h... no [06:46:42.936] checking sys/ucred.h usability... no [06:46:42.991] checking sys/ucred.h presence... no [06:46:43.011] checking for sys/ucred.h... no [06:46:43.015] checking termios.h usability... no [06:46:43.071] checking termios.h presence... no [06:46:43.090] checking for termios.h... no [06:46:43.093] checking ucred.h usability... no [06:46:43.150] checking ucred.h presence... no [06:46:43.170] checking for ucred.h... no [06:46:43.173] checking xlocale.h usability... no [06:46:43.228] checking xlocale.h presence... no [06:46:43.248] checking for xlocale.h... no [06:46:43.251] checking zlib.h usability... yes [06:46:43.260] checking zlib.h presence... yes [06:46:43.279] checking for zlib.h... yes [06:46:43.279] checking for lz4... /usr/bin/lz4 [06:46:43.280] checking for zstd... /usr/bin/zstd [06:46:43.280] checking for openssl... /usr/bin/openssl [06:46:43.284] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:46:43.285] checking crtdefs.h usability... yes [06:46:43.293] checking crtdefs.h presence... yes [06:46:43.309] checking for crtdefs.h... yes [06:46:43.311] checking whether byte ordering is bigendian... no [06:46:43.389] checking for inline... inline [06:46:43.397] checking for printf format archetype... gnu_printf [06:46:43.405] checking for _Static_assert... yes [06:46:43.447] checking for typeof... typeof [06:46:43.454] checking for __builtin_types_compatible_p... yes [06:46:43.465] checking for __builtin_constant_p... yes [06:46:43.477] checking for __builtin_mul_overflow... yes [06:46:43.527] checking for __builtin_unreachable... yes [06:46:43.570] checking for computed goto support... yes [06:46:43.577] checking for struct tm.tm_zone... no [06:46:43.654] checking for union semun... no [06:46:43.689] checking for socklen_t... yes [06:46:44.800] checking for struct sockaddr.sa_len... no [06:46:46.833] checking for C/C++ restrict keyword... __restrict [06:46:46.847] checking for struct option... yes [06:46:46.889] checking whether assembler supports x86_64 popcntq... yes [06:46:46.897] checking size of off_t... 4 [06:46:47.104] 0 [06:46:47.104] checking for int timezone... yes [06:46:47.156] checking for backtrace_symbols... no [06:46:47.208] checking for copyfile... no [06:46:47.259] checking for copy_file_range... no [06:46:47.311] checking for elf_aux_info... no [06:46:47.364] checking for getauxval... no [06:46:47.416] checking for getifaddrs... no [06:46:47.469] checking for getpeerucred... no [06:46:47.521] checking for inet_pton... yes [06:46:47.576] checking for kqueue... no [06:46:47.629] checking for mbstowcs_l... no [06:46:47.683] checking for memset_s... no [06:46:47.737] checking for posix_fallocate... no [06:46:47.792] checking for ppoll... no [06:46:47.846] checking for pthread_is_threaded_np... no [06:46:47.901] checking for setproctitle... no [06:46:47.956] checking for setproctitle_fast... no [06:46:48.010] checking for strchrnul... no [06:46:48.063] checking for strsignal... no [06:46:48.118] checking for syncfs... no [06:46:48.172] checking for sync_file_range... no [06:46:48.226] checking for uselocale... no [06:46:48.282] checking for wcstombs_l... no [06:46:48.332] checking for __builtin_bswap16... yes [06:46:48.382] checking for __builtin_bswap32... yes [06:46:48.432] checking for __builtin_bswap64... yes [06:46:48.482] checking for __builtin_clz... yes [06:46:48.537] checking for __builtin_ctz... yes [06:46:48.586] checking for __builtin_popcount... yes [06:46:48.635] checking for __builtin_frame_address... yes [06:46:48.684] checking for _LARGEFILE_SOURCE value needed for large files... no [06:46:48.738] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:46:48.771] checking for posix_fadvise... no [06:46:48.824] checking whether posix_fadvise is declared... no [06:46:48.870] checking whether fdatasync is declared... no [06:46:48.917] checking whether strlcat is declared... no [06:46:48.983] checking whether strlcpy is declared... no [06:46:49.048] checking whether strnlen is declared... yes [06:46:49.062] checking whether strsep is declared... no [06:46:49.133] checking whether preadv is declared... no [06:46:49.171] checking whether pwritev is declared... no [06:46:49.208] checking whether F_FULLFSYNC is declared... no [06:46:49.249] checking for explicit_bzero... no [06:46:49.297] checking for getopt... yes [06:46:49.343] checking for getpeereid... no [06:46:49.392] checking for inet_aton... no [06:46:49.441] checking for mkdtemp... no [06:46:49.492] checking for strlcat... no [06:46:49.542] checking for strlcpy... no [06:46:49.592] checking for strnlen... yes [06:46:49.643] checking for strsep... no [06:46:49.693] checking for pthread_barrier_wait... yes [06:46:49.740] configure: On mingw32 we will use our strtof wrapper. [06:46:49.740] checking for getopt_long... yes [06:46:49.787] checking for syslog... no [06:46:49.837] checking for opterr... yes [06:46:49.886] checking for optreset... no [06:46:49.936] checking test program... cross-compiling [06:46:49.936] checking size of void *... 8 [06:46:50.211] checking size of size_t... 8 [06:46:50.482] checking size of long... 4 [06:46:50.687] checking size of long long... 8 [06:46:50.966] checking alignment of short... 2 [06:46:51.117] checking alignment of int... 4 [06:46:51.332] checking alignment of long... 4 [06:46:51.545] checking alignment of int64_t... 8 [06:46:51.826] checking alignment of double... 8 [06:46:52.116] checking for __int128... yes [06:46:52.170] checking for __int128 alignment bug... assuming ok [06:46:52.171] checking alignment of PG_INT128_TYPE... 16 [06:46:52.535] checking for builtin __sync char locking functions... yes [06:46:52.580] checking for builtin __sync int32 locking functions... yes [06:46:52.627] checking for builtin __sync int32 atomic operations... yes [06:46:52.673] checking for builtin __sync int64 atomic operations... yes [06:46:52.721] checking for builtin __atomic int32 atomic operations... yes [06:46:52.768] checking for builtin __atomic int64 atomic operations... yes [06:46:52.816] checking for __get_cpuid... yes [06:46:52.867] checking for __get_cpuid_count... yes [06:46:52.916] checking for __cpuid... no [06:46:53.327] checking for __cpuidex... no [06:46:53.771] checking for _xgetbv... yes [06:46:54.178] checking for _mm512_popcnt_epi64... yes [06:46:54.618] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:46:54.728] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:46:54.753] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:46:54.774] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:46:54.796] 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 [06:46:54.856] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:46:54.856] checking which random number source to use... Windows native [06:46:54.859] checking for xmllint... /usr/bin/xmllint [06:46:54.859] checking for xsltproc... /usr/bin/xsltproc [06:46:54.860] checking for fop... /usr/bin/fop [06:46:54.860] checking for dbtoepub... no [06:46:54.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:46:54.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:46:54.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:46:54.873] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:46:54.873] 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 [06:46:54.873] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:46:54.873] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:46:54.971] configure: creating ./config.status [06:46:55.069] config.status: creating GNUmakefile [06:46:55.083] config.status: creating src/Makefile.global [06:46:55.101] config.status: creating src/include/pg_config.h [06:46:55.115] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:46:55.132] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:46:55.141] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:46:55.150] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:46:55.158] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:46:55.167] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:46:55.170] config.status: executing check_win32_symlinks commands [06:46:55.208] [06:46:55.208] real 0m16.113s [06:46:55.208] user 0m10.650s [06:46:55.208] sys 0m5.152s [06:46:55.208] make -s -j${BUILD_JOBS} clean [06:46:55.738] time make -s -j${BUILD_JOBS} world-bin [06:47:00.901] tablesync.c: In function ‘copy_table’: [06:47:00.901] tablesync.c:1133:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [06:47:00.901] 1133 | TupleDesc tupdesc = RelationGetDescr(rel); [06:47:00.901] | ^~~~~~~~~ [06:47:00.901] cc1: all warnings being treated as errors [06:47:00.902] make[4]: *** [: tablesync.o] Error 1 [06:47:00.902] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [06:47:00.902] make[2]: *** [common.mk:37: replication-recursive] Error 2 [06:47:00.902] make[2]: *** Waiting for unfinished jobs.... [06:47:00.985] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:47:00.985] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:47:00.986] [06:47:00.986] real 0m5.247s [06:47:00.986] user 0m8.944s [06:47:00.986] sys 0m6.911s [06:47:00.986] [06:47:00.986] Exit status: 2