[00:21:31.350] time ./configure \ [00:21:31.350] --host=x86_64-w64-mingw32 \ [00:21:31.350] --enable-cassert \ [00:21:31.350] --without-icu \ [00:21:31.350] CC="ccache x86_64-w64-mingw32-gcc" \ [00:21:31.350] CXX="ccache x86_64-w64-mingw32-g++" [00:21:31.469] checking build system type... x86_64-pc-linux-gnu [00:21:31.672] checking host system type... x86_64-w64-mingw32 [00:21:31.678] checking which template to use... win32 [00:21:31.678] checking whether NLS is wanted... no [00:21:31.678] checking for default port number... 5432 [00:21:31.685] checking for block size... 8kB [00:21:31.686] checking for segment size... 1GB [00:21:31.689] checking for WAL block size... 8kB [00:21:31.690] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:21:31.724] checking whether the C compiler works... yes [00:21:31.856] checking for C compiler default output file name... a.exe [00:21:31.857] checking for suffix of executables... .exe [00:21:31.899] checking whether we are cross compiling... yes [00:21:31.978] checking for suffix of object files... o [00:21:31.986] checking whether we are using the GNU C compiler... yes [00:21:31.993] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:21:32.000] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:21:32.010] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:21:32.069] checking whether we are using the GNU C++ compiler... yes [00:21:32.076] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:21:32.145] checking for gawk... no [00:21:32.145] checking for mawk... mawk [00:21:32.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:21:32.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:21:32.161] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:21:32.206] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:21:32.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:21:32.382] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:21:32.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:21:32.397] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:21:32.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:21:32.410] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:21:32.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:21:32.425] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:21:32.431] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:21:32.438] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:21:32.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:21:32.452] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:21:32.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:21:32.495] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:21:32.502] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:21:32.509] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:21:32.516] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:21:32.523] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:21:32.529] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:21:32.552] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:21:32.558] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:21:32.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:21:32.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:21:32.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:21:32.648] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:21:32.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:21:32.689] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:21:32.697] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:21:32.704] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:21:32.712] checking whether the C compiler still works... yes [00:21:32.776] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:21:32.844] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:21:32.844] checking pkg-config is at least version 0.9.0... yes [00:21:32.861] checking whether to build with ICU support... no [00:21:32.861] checking whether to build with Tcl... no [00:21:32.861] checking whether to build Perl modules... no [00:21:32.861] checking whether to build Python modules... no [00:21:32.861] checking whether to build with GSSAPI support... no [00:21:32.862] checking whether to build with PAM support... no [00:21:32.862] checking whether to build with BSD Authentication support... no [00:21:32.862] checking whether to build with LDAP support... no [00:21:32.863] checking whether to build with Bonjour support... no [00:21:32.863] checking whether to build with SELinux support... no [00:21:32.863] checking whether to build with systemd support... no [00:21:32.863] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:21:32.863] checking whether to build with XML support... no [00:21:32.863] checking whether to build with LZ4 support... no [00:21:32.863] checking whether to build with ZSTD support... no [00:21:32.864] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:21:32.864] checking whether it is possible to strip libraries... yes [00:21:32.882] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:21:32.882] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:21:32.882] checking for a BSD-compatible install... /usr/bin/install -c [00:21:32.892] checking for tar... /usr/bin/tar [00:21:32.892] checking whether ln -s works... yes [00:21:32.893] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:21:32.895] checking for bison... /usr/bin/bison [00:21:32.897] configure: using bison (GNU Bison) 3.8.2 [00:21:32.901] checking for flex... /usr/bin/flex [00:21:32.913] configure: using flex 2.6.4 [00:21:32.913] checking for perl... /usr/bin/perl [00:21:32.916] configure: using perl 5.36.0 [00:21:32.918] checking for zic... /usr/sbin/zic [00:21:32.918] checking for a sed that does not truncate output... /usr/bin/sed [00:21:32.924] checking for grep that handles long lines and -e... /usr/bin/grep [00:21:32.926] checking for egrep... /usr/bin/grep -E [00:21:32.927] checking for ANSI C header files... yes [00:21:32.975] checking for sys/types.h... yes [00:21:32.994] checking for sys/stat.h... yes [00:21:33.010] checking for stdlib.h... yes [00:21:33.025] checking for string.h... yes [00:21:33.038] checking for memory.h... yes [00:21:33.054] checking for strings.h... yes [00:21:33.068] checking for inttypes.h... yes [00:21:33.086] checking for stdint.h... yes [00:21:33.100] checking for unistd.h... yes [00:21:33.120] checking for main in -lm... yes [00:21:33.165] checking for library containing setproctitle... no [00:21:33.253] checking for library containing dlsym... no [00:21:33.341] checking for library containing socket... -lws2_32 [00:21:33.469] checking for library containing getopt_long... none required [00:21:33.516] checking for library containing shm_open... no [00:21:33.606] checking for library containing shm_unlink... no [00:21:33.692] checking for library containing clock_gettime... no [00:21:33.780] checking for library containing shmget... no [00:21:33.866] checking for library containing backtrace_symbols... no [00:21:33.954] checking for library containing pthread_barrier_wait... -lpthread [00:21:34.050] checking for inflate in -lz... yes [00:21:34.098] checking atomic.h usability... no [00:21:34.155] checking atomic.h presence... no [00:21:34.174] checking for atomic.h... no [00:21:34.177] checking copyfile.h usability... no [00:21:34.232] checking copyfile.h presence... no [00:21:34.250] checking for copyfile.h... no [00:21:34.254] checking execinfo.h usability... no [00:21:34.307] checking execinfo.h presence... no [00:21:34.325] checking for execinfo.h... no [00:21:34.329] checking getopt.h usability... yes [00:21:34.336] checking getopt.h presence... yes [00:21:34.350] checking for getopt.h... yes [00:21:34.357] checking ifaddrs.h usability... no [00:21:34.414] checking ifaddrs.h presence... no [00:21:34.432] checking for ifaddrs.h... no [00:21:34.436] checking mbarrier.h usability... no [00:21:34.490] checking mbarrier.h presence... no [00:21:34.509] checking for mbarrier.h... no [00:21:34.512] checking sys/epoll.h usability... no [00:21:34.568] checking sys/epoll.h presence... no [00:21:34.588] checking for sys/epoll.h... no [00:21:34.592] checking sys/event.h usability... no [00:21:34.647] checking sys/event.h presence... no [00:21:34.665] checking for sys/event.h... no [00:21:34.668] checking sys/personality.h usability... no [00:21:34.725] checking sys/personality.h presence... no [00:21:34.744] checking for sys/personality.h... no [00:21:34.748] checking sys/prctl.h usability... no [00:21:34.804] checking sys/prctl.h presence... no [00:21:34.824] checking for sys/prctl.h... no [00:21:34.827] checking sys/procctl.h usability... no [00:21:34.882] checking sys/procctl.h presence... no [00:21:34.901] checking for sys/procctl.h... no [00:21:34.905] checking sys/signalfd.h usability... no [00:21:34.960] checking sys/signalfd.h presence... no [00:21:34.979] checking for sys/signalfd.h... no [00:21:34.982] checking sys/ucred.h usability... no [00:21:35.036] checking sys/ucred.h presence... no [00:21:35.054] checking for sys/ucred.h... no [00:21:35.057] checking termios.h usability... no [00:21:35.112] checking termios.h presence... no [00:21:35.131] checking for termios.h... no [00:21:35.134] checking ucred.h usability... no [00:21:35.188] checking ucred.h presence... no [00:21:35.209] checking for ucred.h... no [00:21:35.213] checking xlocale.h usability... no [00:21:35.269] checking xlocale.h presence... no [00:21:35.288] checking for xlocale.h... no [00:21:35.291] checking zlib.h usability... yes [00:21:35.301] checking zlib.h presence... yes [00:21:35.319] checking for zlib.h... yes [00:21:35.320] checking for lz4... /usr/bin/lz4 [00:21:35.320] checking for zstd... /usr/bin/zstd [00:21:35.320] checking for openssl... /usr/bin/openssl [00:21:35.324] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:21:35.325] checking crtdefs.h usability... yes [00:21:35.333] checking crtdefs.h presence... yes [00:21:35.348] checking for crtdefs.h... yes [00:21:35.349] checking whether byte ordering is bigendian... no [00:21:35.420] checking for inline... inline [00:21:35.427] checking for printf format archetype... gnu_printf [00:21:35.435] checking for _Static_assert... yes [00:21:35.476] checking for typeof... typeof [00:21:35.483] checking for __builtin_types_compatible_p... yes [00:21:35.494] checking for __builtin_constant_p... yes [00:21:35.505] checking for __builtin_mul_overflow... yes [00:21:35.553] checking for __builtin_unreachable... yes [00:21:35.593] checking for computed goto support... yes [00:21:35.601] checking for struct tm.tm_zone... no [00:21:35.678] checking for union semun... no [00:21:35.713] checking for socklen_t... yes [00:21:36.883] checking for struct sockaddr.sa_len... no [00:21:38.884] checking for C/C++ restrict keyword... __restrict [00:21:38.898] checking for struct option... yes [00:21:38.940] checking whether assembler supports x86_64 popcntq... yes [00:21:38.947] checking size of off_t... 4 [00:21:39.149] 0 [00:21:39.150] checking for int timezone... yes [00:21:39.201] checking for backtrace_symbols... no [00:21:39.250] checking for copyfile... no [00:21:39.301] checking for copy_file_range... no [00:21:39.350] checking for elf_aux_info... no [00:21:39.401] checking for getauxval... no [00:21:39.450] checking for getifaddrs... no [00:21:39.501] checking for getpeerucred... no [00:21:39.550] checking for inet_pton... yes [00:21:39.601] checking for kqueue... no [00:21:39.652] checking for mbstowcs_l... no [00:21:39.703] checking for memset_s... no [00:21:39.752] checking for posix_fallocate... no [00:21:39.803] checking for ppoll... no [00:21:39.852] checking for pthread_is_threaded_np... no [00:21:39.904] checking for setproctitle... no [00:21:39.955] checking for setproctitle_fast... no [00:21:40.005] checking for strchrnul... no [00:21:40.055] checking for strsignal... no [00:21:40.106] checking for syncfs... no [00:21:40.156] checking for sync_file_range... no [00:21:40.212] checking for uselocale... no [00:21:40.262] checking for wcstombs_l... no [00:21:40.310] checking for __builtin_bswap16... yes [00:21:40.358] checking for __builtin_bswap32... yes [00:21:40.407] checking for __builtin_bswap64... yes [00:21:40.453] checking for __builtin_clz... yes [00:21:40.501] checking for __builtin_ctz... yes [00:21:40.548] checking for __builtin_popcount... yes [00:21:40.597] checking for __builtin_frame_address... yes [00:21:40.644] checking for _LARGEFILE_SOURCE value needed for large files... no [00:21:40.697] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:21:40.729] checking for posix_fadvise... no [00:21:40.780] checking whether posix_fadvise is declared... no [00:21:40.824] checking whether fdatasync is declared... no [00:21:40.870] checking whether strlcat is declared... no [00:21:40.935] checking whether strlcpy is declared... no [00:21:40.999] checking whether strnlen is declared... yes [00:21:41.013] checking whether strsep is declared... no [00:21:41.076] checking whether preadv is declared... no [00:21:41.113] checking whether pwritev is declared... no [00:21:41.149] checking whether F_FULLFSYNC is declared... no [00:21:41.188] checking for explicit_bzero... no [00:21:41.234] checking for getopt... yes [00:21:41.277] checking for getpeereid... no [00:21:41.323] checking for inet_aton... no [00:21:41.368] checking for mkdtemp... no [00:21:41.415] checking for strlcat... no [00:21:41.460] checking for strlcpy... no [00:21:41.508] checking for strnlen... yes [00:21:41.554] checking for strsep... no [00:21:41.602] checking for pthread_barrier_wait... yes [00:21:41.644] configure: On mingw32 we will use our strtof wrapper. [00:21:41.644] checking for getopt_long... yes [00:21:41.688] checking for syslog... no [00:21:41.736] checking for opterr... yes [00:21:41.782] checking for optreset... no [00:21:41.834] checking test program... cross-compiling [00:21:41.834] checking size of void *... 8 [00:21:42.096] checking size of size_t... 8 [00:21:42.362] checking size of long... 4 [00:21:42.565] checking size of long long... 8 [00:21:42.837] checking alignment of short... 2 [00:21:42.979] checking alignment of int... 4 [00:21:43.179] checking alignment of long... 4 [00:21:43.381] checking alignment of int64_t... 8 [00:21:43.647] checking alignment of double... 8 [00:21:43.911] checking for __int128... yes [00:21:43.960] checking for __int128 alignment bug... assuming ok [00:21:43.960] checking alignment of PG_INT128_TYPE... 16 [00:21:44.298] checking for builtin __sync char locking functions... yes [00:21:44.341] checking for builtin __sync int32 locking functions... yes [00:21:44.383] checking for builtin __sync int32 atomic operations... yes [00:21:44.424] checking for builtin __sync int64 atomic operations... yes [00:21:44.467] checking for builtin __atomic int32 atomic operations... yes [00:21:44.510] checking for builtin __atomic int64 atomic operations... yes [00:21:44.553] checking for __get_cpuid... yes [00:21:44.599] checking for __get_cpuid_count... yes [00:21:44.641] checking for __cpuid... no [00:21:45.034] checking for __cpuidex... no [00:21:45.445] checking for _xgetbv... yes [00:21:45.846] checking for _mm512_popcnt_epi64... yes [00:21:46.263] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:21:46.362] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:21:46.386] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:21:46.405] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:21:46.423] 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:21:46.478] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:21:46.478] checking which random number source to use... Windows native [00:21:46.480] checking for xmllint... /usr/bin/xmllint [00:21:46.480] checking for xsltproc... /usr/bin/xsltproc [00:21:46.480] checking for fop... /usr/bin/fop [00:21:46.481] checking for dbtoepub... no [00:21:46.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:21:46.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:21:46.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:21:46.493] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:21:46.493] 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:21:46.493] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:21:46.493] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:21:46.578] configure: creating ./config.status [00:21:46.665] config.status: creating GNUmakefile [00:21:46.677] config.status: creating src/Makefile.global [00:21:46.693] config.status: creating src/include/pg_config.h [00:21:46.707] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:21:46.722] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:21:46.729] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:21:46.736] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:21:46.743] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:21:46.750] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:21:46.753] config.status: executing check_win32_symlinks commands [00:21:46.789] [00:21:46.789] real 0m15.439s [00:21:46.789] user 0m10.058s [00:21:46.789] sys 0m5.020s [00:21:46.789] make -s -j${BUILD_JOBS} clean [00:21:47.291] time make -s -j${BUILD_JOBS} world-bin [00:21:52.182] In file included from ../../../src/include/postgres.h:46, [00:21:52.182] from copyfrom.c:21: [00:21:52.182] copyfrom.c: In function ‘CopyFrom’: [00:21:52.182] copyfrom.c:1036:64: error: too many arguments for format [-Werror=format-extra-args] [00:21:52.182] 1036 | errmsg("failed to replace column containing erroneous data with null", [00:21:52.182] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:21:52.182] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [00:21:52.182] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [00:21:52.182] | ^~~~~~~~~~~ [00:21:52.182] copyfrom.c:1034:41: note: in expansion of macro ‘ereport’ [00:21:52.182] 1034 | ereport(ERROR, [00:21:52.182] | ^~~~~~~ [00:21:52.182] cc1: all warnings being treated as errors [00:21:52.183] make[3]: *** [: copyfrom.o] Error 1 [00:21:52.183] make[3]: *** Waiting for unfinished jobs.... [00:21:52.502] make[2]: *** [common.mk:37: commands-recursive] Error 2 [00:21:52.502] make[2]: *** Waiting for unfinished jobs.... [00:21:53.219] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:21:53.220] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:21:53.220] [00:21:53.220] real 0m5.928s [00:21:53.220] user 0m11.516s [00:21:53.220] sys 0m5.549s [00:21:53.220] [00:21:53.220] Exit status: 2