[00:57:49.200] time ./configure \ [00:57:49.200] --host=x86_64-w64-mingw32 \ [00:57:49.200] --enable-cassert \ [00:57:49.200] --without-icu \ [00:57:49.200] CC="ccache x86_64-w64-mingw32-gcc" \ [00:57:49.200] CXX="ccache x86_64-w64-mingw32-g++" [00:57:49.306] checking build system type... x86_64-pc-linux-gnu [00:57:49.476] checking host system type... x86_64-w64-mingw32 [00:57:49.481] checking which template to use... win32 [00:57:49.481] checking whether NLS is wanted... no [00:57:49.481] checking for default port number... 5432 [00:57:49.488] checking for block size... 8kB [00:57:49.489] checking for segment size... 1GB [00:57:49.491] checking for WAL block size... 8kB [00:57:49.492] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:57:49.524] checking whether the C compiler works... yes [00:57:49.657] checking for C compiler default output file name... a.exe [00:57:49.658] checking for suffix of executables... .exe [00:57:49.696] checking whether we are cross compiling... yes [00:57:49.768] checking for suffix of object files... o [00:57:49.776] checking whether we are using the GNU C compiler... yes [00:57:49.782] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:57:49.788] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:57:49.798] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:57:49.854] checking whether we are using the GNU C++ compiler... yes [00:57:49.861] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:57:49.929] checking for gawk... no [00:57:49.929] checking for mawk... mawk [00:57:49.931] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:57:49.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:57:49.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:57:49.990] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:57:50.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:57:50.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:57:50.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:57:50.166] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:57:50.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:57:50.179] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:57:50.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:57:50.192] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:57:50.198] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:57:50.205] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:57:50.212] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:57:50.219] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:57:50.226] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:57:50.262] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:57:50.269] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:57:50.276] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:57:50.282] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:57:50.289] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:57:50.296] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:57:50.319] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:57:50.326] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:57:50.332] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:57:50.368] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:57:50.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:57:50.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:57:50.419] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:57:50.454] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:57:50.462] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:57:50.469] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:57:50.477] checking whether the C compiler still works... yes [00:57:50.542] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:57:50.612] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:57:50.613] checking pkg-config is at least version 0.9.0... yes [00:57:50.629] checking whether to build with ICU support... no [00:57:50.629] checking whether to build with Tcl... no [00:57:50.629] checking whether to build Perl modules... no [00:57:50.629] checking whether to build Python modules... no [00:57:50.629] checking whether to build with GSSAPI support... no [00:57:50.631] checking whether to build with PAM support... no [00:57:50.631] checking whether to build with BSD Authentication support... no [00:57:50.631] checking whether to build with LDAP support... no [00:57:50.631] checking whether to build with Bonjour support... no [00:57:50.631] checking whether to build with SELinux support... no [00:57:50.631] checking whether to build with systemd support... no [00:57:50.631] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:57:50.631] checking whether to build with libcurl support... no [00:57:50.631] checking whether to build with XML support... no [00:57:50.632] checking whether to build with LZ4 support... no [00:57:50.632] checking whether to build with ZSTD support... no [00:57:50.632] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:57:50.632] checking whether it is possible to strip libraries... yes [00:57:50.639] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:57:50.640] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:57:50.640] checking for a BSD-compatible install... /usr/bin/install -c [00:57:50.649] checking for tar... /usr/bin/tar [00:57:50.649] checking whether ln -s works... yes [00:57:50.649] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:57:50.651] checking for bison... /usr/bin/bison [00:57:50.654] configure: using bison (GNU Bison) 3.8.2 [00:57:50.657] checking for flex... /usr/bin/flex [00:57:50.659] configure: using flex 2.6.4 [00:57:50.659] checking for perl... /usr/bin/perl [00:57:50.662] configure: using perl 5.36.0 [00:57:50.664] checking for zic... /usr/sbin/zic [00:57:50.664] checking for a sed that does not truncate output... /usr/bin/sed [00:57:50.669] checking for grep that handles long lines and -e... /usr/bin/grep [00:57:50.671] checking for egrep... /usr/bin/grep -E [00:57:50.673] checking for ANSI C header files... yes [00:57:50.719] checking for sys/types.h... yes [00:57:50.736] checking for sys/stat.h... yes [00:57:50.752] checking for stdlib.h... yes [00:57:50.767] checking for string.h... yes [00:57:50.782] checking for memory.h... yes [00:57:50.797] checking for strings.h... yes [00:57:50.812] checking for inttypes.h... yes [00:57:50.827] checking for stdint.h... yes [00:57:50.841] checking for unistd.h... yes [00:57:50.856] checking for main in -lm... yes [00:57:50.904] checking for library containing setproctitle... no [00:57:50.993] checking for library containing dlsym... no [00:57:51.079] checking for library containing socket... -lws2_32 [00:57:51.207] checking for library containing getopt_long... none required [00:57:51.254] checking for library containing shm_open... no [00:57:51.341] checking for library containing shm_unlink... no [00:57:51.427] checking for library containing clock_gettime... no [00:57:51.512] checking for library containing shmget... no [00:57:51.596] checking for library containing backtrace_symbols... no [00:57:51.682] checking for library containing pthread_barrier_wait... -lpthread [00:57:51.768] checking for inflate in -lz... yes [00:57:51.815] checking atomic.h usability... no [00:57:51.872] checking atomic.h presence... no [00:57:51.892] checking for atomic.h... no [00:57:51.895] checking copyfile.h usability... no [00:57:51.951] checking copyfile.h presence... no [00:57:51.971] checking for copyfile.h... no [00:57:51.974] checking execinfo.h usability... no [00:57:52.029] checking execinfo.h presence... no [00:57:52.048] checking for execinfo.h... no [00:57:52.051] checking getopt.h usability... yes [00:57:52.059] checking getopt.h presence... yes [00:57:52.074] checking for getopt.h... yes [00:57:52.080] checking ifaddrs.h usability... no [00:57:52.136] checking ifaddrs.h presence... no [00:57:52.155] checking for ifaddrs.h... no [00:57:52.158] checking mbarrier.h usability... no [00:57:52.213] checking mbarrier.h presence... no [00:57:52.232] checking for mbarrier.h... no [00:57:52.235] checking sys/epoll.h usability... no [00:57:52.289] checking sys/epoll.h presence... no [00:57:52.308] checking for sys/epoll.h... no [00:57:52.311] checking sys/event.h usability... no [00:57:52.365] checking sys/event.h presence... no [00:57:52.384] checking for sys/event.h... no [00:57:52.387] checking sys/personality.h usability... no [00:57:52.439] checking sys/personality.h presence... no [00:57:52.458] checking for sys/personality.h... no [00:57:52.460] checking sys/prctl.h usability... no [00:57:52.514] checking sys/prctl.h presence... no [00:57:52.532] checking for sys/prctl.h... no [00:57:52.535] checking sys/procctl.h usability... no [00:57:52.589] checking sys/procctl.h presence... no [00:57:52.607] checking for sys/procctl.h... no [00:57:52.610] checking sys/signalfd.h usability... no [00:57:52.665] checking sys/signalfd.h presence... no [00:57:52.685] checking for sys/signalfd.h... no [00:57:52.689] checking sys/ucred.h usability... no [00:57:52.746] checking sys/ucred.h presence... no [00:57:52.765] checking for sys/ucred.h... no [00:57:52.768] checking termios.h usability... no [00:57:52.824] checking termios.h presence... no [00:57:52.843] checking for termios.h... no [00:57:52.846] checking ucred.h usability... no [00:57:52.901] checking ucred.h presence... no [00:57:52.920] checking for ucred.h... no [00:57:52.923] checking xlocale.h usability... no [00:57:52.980] checking xlocale.h presence... no [00:57:52.998] checking for xlocale.h... no [00:57:53.001] checking zlib.h usability... yes [00:57:53.010] checking zlib.h presence... yes [00:57:53.029] checking for zlib.h... yes [00:57:53.029] checking for lz4... /usr/bin/lz4 [00:57:53.029] checking for zstd... /usr/bin/zstd [00:57:53.029] checking for openssl... /usr/bin/openssl [00:57:53.034] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:57:53.034] checking crtdefs.h usability... yes [00:57:53.042] checking crtdefs.h presence... yes [00:57:53.057] checking for crtdefs.h... yes [00:57:53.058] checking whether byte ordering is bigendian... no [00:57:53.131] checking for inline... inline [00:57:53.139] checking for printf format archetype... gnu_printf [00:57:53.147] checking for _Static_assert... yes [00:57:53.190] checking for typeof... typeof [00:57:53.197] checking for __builtin_types_compatible_p... yes [00:57:53.208] checking for __builtin_constant_p... yes [00:57:53.219] checking for __builtin_mul_overflow... yes [00:57:53.266] checking for __builtin_unreachable... yes [00:57:53.309] checking for computed goto support... yes [00:57:53.317] checking for struct tm.tm_zone... no [00:57:53.395] checking for union semun... no [00:57:53.428] checking for socklen_t... yes [00:57:54.626] checking for struct sockaddr.sa_len... no [00:57:56.795] checking for C/C++ restrict keyword... __restrict [00:57:56.807] checking for struct option... yes [00:57:56.848] checking whether assembler supports x86_64 popcntq... yes [00:57:56.856] checking size of off_t... 4 [00:57:57.063] 0 [00:57:57.063] checking for int timezone... yes [00:57:57.118] checking for backtrace_symbols... no [00:57:57.171] checking for copyfile... no [00:57:57.222] checking for copy_file_range... no [00:57:57.277] checking for elf_aux_info... no [00:57:57.329] checking for getauxval... no [00:57:57.380] checking for getifaddrs... no [00:57:57.433] checking for getpeerucred... no [00:57:57.485] checking for inet_pton... yes [00:57:57.539] checking for kqueue... no [00:57:57.592] checking for mbstowcs_l... no [00:57:57.644] checking for memset_s... no [00:57:57.696] checking for posix_fallocate... no [00:57:57.748] checking for ppoll... no [00:57:57.800] checking for pthread_is_threaded_np... no [00:57:57.851] checking for setproctitle... no [00:57:57.903] checking for setproctitle_fast... no [00:57:57.954] checking for strchrnul... no [00:57:58.006] checking for strsignal... no [00:57:58.060] checking for syncfs... no [00:57:58.114] checking for sync_file_range... no [00:57:58.167] checking for uselocale... no [00:57:58.220] checking for wcstombs_l... no [00:57:58.268] checking for __builtin_bswap16... yes [00:57:58.320] checking for __builtin_bswap32... yes [00:57:58.369] checking for __builtin_bswap64... yes [00:57:58.418] checking for __builtin_clz... yes [00:57:58.467] checking for __builtin_ctz... yes [00:57:58.516] checking for __builtin_popcount... yes [00:57:58.565] checking for __builtin_frame_address... yes [00:57:58.614] checking for _LARGEFILE_SOURCE value needed for large files... no [00:57:58.667] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:57:58.699] checking for posix_fadvise... no [00:57:58.751] checking whether posix_fadvise is declared... no [00:57:58.797] checking whether fdatasync is declared... no [00:57:58.845] checking whether strlcat is declared... no [00:57:58.910] checking whether strlcpy is declared... no [00:57:58.973] checking whether strnlen is declared... yes [00:57:58.987] checking whether strsep is declared... no [00:57:59.051] checking whether preadv is declared... no [00:57:59.088] checking whether pwritev is declared... no [00:57:59.124] checking whether F_FULLFSYNC is declared... no [00:57:59.164] checking for explicit_bzero... no [00:57:59.210] checking for getopt... yes [00:57:59.253] checking for getpeereid... no [00:57:59.301] checking for inet_aton... no [00:57:59.348] checking for mkdtemp... no [00:57:59.396] checking for strlcat... no [00:57:59.443] checking for strlcpy... no [00:57:59.489] checking for strnlen... yes [00:57:59.536] checking for strsep... no [00:57:59.584] checking for pthread_barrier_wait... yes [00:57:59.627] configure: On mingw32 we will use our strtof wrapper. [00:57:59.627] checking for getopt_long... yes [00:57:59.671] checking for syslog... no [00:57:59.718] checking for opterr... yes [00:57:59.764] checking for optreset... no [00:57:59.817] checking test program... cross-compiling [00:57:59.817] checking size of void *... 8 [00:58:00.088] checking size of size_t... 8 [00:58:00.357] checking size of long... 4 [00:58:00.562] checking size of long long... 8 [00:58:00.834] checking alignment of short... 2 [00:58:00.973] checking alignment of int... 4 [00:58:01.176] checking alignment of long... 4 [00:58:01.379] checking alignment of int64_t... 8 [00:58:01.641] checking alignment of double... 8 [00:58:01.915] checking for __int128... yes [00:58:01.965] checking for __int128 alignment bug... assuming ok [00:58:01.965] checking alignment of PG_INT128_TYPE... 16 [00:58:02.304] checking for builtin __sync char locking functions... yes [00:58:02.345] checking for builtin __sync int32 locking functions... yes [00:58:02.386] checking for builtin __sync int32 atomic operations... yes [00:58:02.428] checking for builtin __sync int64 atomic operations... yes [00:58:02.471] checking for builtin __atomic int32 atomic operations... yes [00:58:02.512] checking for builtin __atomic int64 atomic operations... yes [00:58:02.556] checking for __get_cpuid... yes [00:58:02.602] checking for __get_cpuid_count... yes [00:58:02.645] checking for __cpuid... no [00:58:03.040] checking for __cpuidex... no [00:58:03.463] checking for _xgetbv... yes [00:58:03.857] checking for _mm512_popcnt_epi64... yes [00:58:04.260] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:58:04.359] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:58:04.382] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:58:04.401] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:58:04.420] 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:58:04.475] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:58:04.475] checking which random number source to use... Windows native [00:58:04.477] checking for xmllint... /usr/bin/xmllint [00:58:04.477] checking for xsltproc... /usr/bin/xsltproc [00:58:04.477] checking for fop... /usr/bin/fop [00:58:04.478] checking for dbtoepub... no [00:58:04.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:58:04.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:58:04.478] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:58:04.488] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:58:04.488] 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:58:04.488] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:58:04.488] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:58:04.571] configure: creating ./config.status [00:58:04.653] config.status: creating GNUmakefile [00:58:04.665] config.status: creating src/Makefile.global [00:58:04.680] config.status: creating src/include/pg_config.h [00:58:04.693] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:58:04.709] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:58:04.717] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:58:04.725] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:58:04.733] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:58:04.740] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:58:04.744] config.status: executing check_win32_symlinks commands [00:58:04.779] [00:58:04.779] real 0m15.579s [00:58:04.779] user 0m10.289s [00:58:04.779] sys 0m5.000s [00:58:04.779] make -s -j${BUILD_JOBS} clean [00:58:05.299] time make -s -j${BUILD_JOBS} world-bin [00:58:10.218] tablesync.c: In function ‘copy_table’: [00:58:10.218] tablesync.c:1132:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [00:58:10.218] 1132 | TupleDesc tupdesc = RelationGetDescr(rel); [00:58:10.218] | ^~~~~~~~~ [00:58:10.218] cc1: all warnings being treated as errors [00:58:10.219] make[4]: *** [: tablesync.o] Error 1 [00:58:10.219] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [00:58:10.219] make[3]: *** Waiting for unfinished jobs.... [00:58:10.243] make[2]: *** [common.mk:37: replication-recursive] Error 2 [00:58:10.243] make[2]: *** Waiting for unfinished jobs.... [00:58:10.363] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:58:10.364] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:58:10.364] [00:58:10.364] real 0m5.064s [00:58:10.364] user 0m8.746s [00:58:10.364] sys 0m6.442s [00:58:10.364] [00:58:10.364] Exit status: 2