[07:24:02.560] time ./configure \ [07:24:02.560] --host=x86_64-w64-mingw32 \ [07:24:02.560] --enable-cassert \ [07:24:02.560] --without-icu \ [07:24:02.560] CC="ccache x86_64-w64-mingw32-gcc" \ [07:24:02.560] CXX="ccache x86_64-w64-mingw32-g++" [07:24:02.644] checking build system type... x86_64-pc-linux-gnu [07:24:02.824] checking host system type... x86_64-w64-mingw32 [07:24:02.828] checking which template to use... win32 [07:24:02.828] checking whether NLS is wanted... no [07:24:02.828] checking for default port number... 5432 [07:24:02.834] checking for block size... 8kB [07:24:02.834] checking for segment size... 1GB [07:24:02.836] checking for WAL block size... 8kB [07:24:02.837] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:24:02.861] checking whether the C compiler works... yes [07:24:03.007] checking for C compiler default output file name... a.exe [07:24:03.008] checking for suffix of executables... .exe [07:24:03.042] checking whether we are cross compiling... yes [07:24:03.108] checking for suffix of object files... o [07:24:03.136] checking whether we are using the GNU C compiler... yes [07:24:03.141] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:24:03.146] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:24:03.154] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:24:03.204] checking whether we are using the GNU C++ compiler... yes [07:24:03.399] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:24:03.479] checking for gawk... no [07:24:03.479] checking for mawk... mawk [07:24:03.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:24:03.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:24:03.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:24:03.528] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:24:03.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:24:03.575] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:24:03.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:24:03.593] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:24:03.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:24:03.616] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:24:03.640] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:24:03.666] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:24:03.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:24:03.676] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:24:03.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:24:03.694] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:24:03.699] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:24:03.704] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:24:03.731] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:24:03.736] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:24:03.742] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:24:03.747] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:24:03.765] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:24:03.771] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:24:03.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:24:03.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:24:03.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:24:03.833] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:24:03.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:24:03.885] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:24:03.891] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:24:03.896] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:24:03.903] checking whether the C compiler still works... yes [07:24:03.956] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:24:04.018] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:24:04.018] checking pkg-config is at least version 0.9.0... yes [07:24:04.033] checking whether to build with ICU support... no [07:24:04.033] checking whether to build with Tcl... no [07:24:04.034] checking whether to build Perl modules... no [07:24:04.034] checking whether to build Python modules... no [07:24:04.034] checking whether to build with GSSAPI support... no [07:24:04.035] checking whether to build with PAM support... no [07:24:04.035] checking whether to build with BSD Authentication support... no [07:24:04.035] checking whether to build with LDAP support... no [07:24:04.035] checking whether to build with Bonjour support... no [07:24:04.035] checking whether to build with SELinux support... no [07:24:04.035] checking whether to build with systemd support... no [07:24:04.035] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:24:04.035] checking whether to build with XML support... no [07:24:04.036] checking whether to build with LZ4 support... no [07:24:04.036] checking whether to build with ZSTD support... no [07:24:04.036] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:24:04.036] checking whether it is possible to strip libraries... yes [07:24:04.043] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:24:04.044] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:24:04.044] checking for a BSD-compatible install... /usr/bin/install -c [07:24:04.050] checking for tar... /usr/bin/tar [07:24:04.050] checking whether ln -s works... yes [07:24:04.050] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:24:04.052] checking for bison... /usr/bin/bison [07:24:04.054] configure: using bison (GNU Bison) 3.7.5 [07:24:04.057] checking for flex... /usr/bin/flex [07:24:04.066] configure: using flex 2.6.4 [07:24:04.066] checking for perl... /usr/bin/perl [07:24:04.069] configure: using perl 5.32.1 [07:24:04.071] checking for zic... /usr/sbin/zic [07:24:04.071] checking for a sed that does not truncate output... /usr/bin/sed [07:24:04.075] checking for grep that handles long lines and -e... /usr/bin/grep [07:24:04.076] checking for egrep... /usr/bin/grep -E [07:24:04.077] checking for ANSI C header files... yes [07:24:04.115] checking for sys/types.h... yes [07:24:04.128] checking for sys/stat.h... yes [07:24:04.141] checking for stdlib.h... yes [07:24:04.152] checking for string.h... yes [07:24:04.162] checking for memory.h... yes [07:24:04.173] checking for strings.h... yes [07:24:04.184] checking for inttypes.h... yes [07:24:04.195] checking for stdint.h... yes [07:24:04.244] checking for unistd.h... yes [07:24:04.272] checking for main in -lm... yes [07:24:04.304] checking for library containing setproctitle... no [07:24:04.370] checking for library containing dlsym... no [07:24:04.435] checking for library containing socket... -lws2_32 [07:24:04.534] checking for library containing getopt_long... none required [07:24:04.572] checking for library containing shm_open... no [07:24:04.640] checking for library containing shm_unlink... no [07:24:04.707] checking for library containing clock_gettime... no [07:24:04.772] checking for library containing shmget... no [07:24:04.838] checking for library containing backtrace_symbols... no [07:24:04.904] checking for library containing pthread_barrier_wait... -lpthread [07:24:04.974] checking for inflate in -lz... yes [07:24:05.010] checking for stdbool.h that conforms to C99... yes [07:24:05.016] checking for _Bool... yes [07:24:05.070] checking atomic.h usability... no [07:24:05.113] checking atomic.h presence... no [07:24:05.128] checking for atomic.h... no [07:24:05.131] checking copyfile.h usability... no [07:24:05.176] checking copyfile.h presence... no [07:24:05.191] checking for copyfile.h... no [07:24:05.193] checking execinfo.h usability... no [07:24:05.236] checking execinfo.h presence... no [07:24:05.251] checking for execinfo.h... no [07:24:05.253] checking getopt.h usability... yes [07:24:05.274] checking getopt.h presence... yes [07:24:05.286] checking for getopt.h... yes [07:24:05.292] checking ifaddrs.h usability... no [07:24:05.340] checking ifaddrs.h presence... no [07:24:05.354] checking for ifaddrs.h... no [07:24:05.357] checking langinfo.h usability... no [07:24:05.403] checking langinfo.h presence... no [07:24:05.417] checking for langinfo.h... no [07:24:05.420] checking mbarrier.h usability... no [07:24:05.466] checking mbarrier.h presence... no [07:24:05.481] checking for mbarrier.h... no [07:24:05.484] checking sys/epoll.h usability... no [07:24:05.528] checking sys/epoll.h presence... no [07:24:05.544] checking for sys/epoll.h... no [07:24:05.546] checking sys/event.h usability... no [07:24:05.591] checking sys/event.h presence... no [07:24:05.604] checking for sys/event.h... no [07:24:05.606] checking sys/personality.h usability... no [07:24:05.650] checking sys/personality.h presence... no [07:24:05.665] checking for sys/personality.h... no [07:24:05.668] checking sys/prctl.h usability... no [07:24:05.712] checking sys/prctl.h presence... no [07:24:05.726] checking for sys/prctl.h... no [07:24:05.729] checking sys/procctl.h usability... no [07:24:05.773] checking sys/procctl.h presence... no [07:24:05.787] checking for sys/procctl.h... no [07:24:05.790] checking sys/signalfd.h usability... no [07:24:05.834] checking sys/signalfd.h presence... no [07:24:05.847] checking for sys/signalfd.h... no [07:24:05.849] checking sys/ucred.h usability... no [07:24:05.890] checking sys/ucred.h presence... no [07:24:05.903] checking for sys/ucred.h... no [07:24:05.906] checking termios.h usability... no [07:24:05.950] checking termios.h presence... no [07:24:05.965] checking for termios.h... no [07:24:05.967] checking ucred.h usability... no [07:24:06.013] checking ucred.h presence... no [07:24:06.027] checking for ucred.h... no [07:24:06.030] checking zlib.h usability... yes [07:24:06.038] checking zlib.h presence... yes [07:24:06.053] checking for zlib.h... yes [07:24:06.054] checking for lz4... /usr/bin/lz4 [07:24:06.054] checking for zstd... /usr/bin/zstd [07:24:06.054] checking for openssl... /usr/bin/openssl [07:24:06.058] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [07:24:06.058] checking crtdefs.h usability... yes [07:24:06.064] checking crtdefs.h presence... yes [07:24:06.076] checking for crtdefs.h... yes [07:24:06.078] checking whether byte ordering is bigendian... no [07:24:06.133] checking for inline... inline [07:24:06.138] checking for printf format archetype... gnu_printf [07:24:06.151] checking for _Static_assert... yes [07:24:06.183] checking for typeof... typeof [07:24:06.188] checking for __builtin_types_compatible_p... yes [07:24:06.196] checking for __builtin_constant_p... yes [07:24:06.204] checking for __builtin_unreachable... yes [07:24:06.238] checking for computed goto support... yes [07:24:06.244] checking for struct tm.tm_zone... no [07:24:06.306] checking for union semun... no [07:24:06.332] checking for socklen_t... yes [07:24:08.337] checking for struct sockaddr.sa_len... no [07:24:10.188] checking for locale_t... no [07:24:10.242] checking for C/C++ restrict keyword... __restrict [07:24:10.279] checking for struct option... yes [07:24:10.316] checking whether assembler supports x86_64 popcntq... yes [07:24:10.322] checking size of off_t... 4 [07:24:10.502] 0 [07:24:10.502] checking size of bool... 1 [07:24:10.561] checking for int timezone... yes [07:24:10.604] checking for wcstombs_l declaration... no [07:24:10.675] checking for backtrace_symbols... no [07:24:10.714] checking for copyfile... no [07:24:10.754] checking for copy_file_range... no [07:24:10.793] checking for getifaddrs... no [07:24:10.835] checking for getpeerucred... no [07:24:10.870] checking for inet_pton... yes [07:24:10.906] checking for kqueue... no [07:24:10.946] checking for mbstowcs_l... no [07:24:10.988] checking for memset_s... no [07:24:11.025] checking for posix_fallocate... no [07:24:11.066] checking for ppoll... no [07:24:11.103] checking for pthread_is_threaded_np... no [07:24:11.142] checking for setproctitle... no [07:24:11.182] checking for setproctitle_fast... no [07:24:11.222] checking for strchrnul... no [07:24:11.263] checking for strsignal... no [07:24:11.306] checking for syncfs... no [07:24:11.343] checking for sync_file_range... no [07:24:11.382] checking for uselocale... no [07:24:11.421] checking for wcstombs_l... no [07:24:11.457] checking for __builtin_bswap16... yes [07:24:11.495] checking for __builtin_bswap32... yes [07:24:11.530] checking for __builtin_bswap64... yes [07:24:11.569] checking for __builtin_clz... yes [07:24:11.606] checking for __builtin_ctz... yes [07:24:11.643] checking for __builtin_popcount... yes [07:24:11.682] checking for __builtin_frame_address... yes [07:24:11.717] checking for _LARGEFILE_SOURCE value needed for large files... no [07:24:11.759] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:24:11.781] checking for posix_fadvise... no [07:24:11.819] checking whether posix_fadvise is declared... no [07:24:11.853] checking whether fdatasync is declared... no [07:24:11.885] checking whether strlcat is declared... no [07:24:11.931] checking whether strlcpy is declared... no [07:24:11.977] checking whether strnlen is declared... yes [07:24:11.987] checking whether preadv is declared... no [07:24:12.015] checking whether pwritev is declared... no [07:24:12.039] checking whether F_FULLFSYNC is declared... no [07:24:12.065] checking for explicit_bzero... no [07:24:12.099] checking for getopt... yes [07:24:12.130] checking for getpeereid... no [07:24:12.167] checking for inet_aton... no [07:24:12.203] checking for mkdtemp... no [07:24:12.238] checking for strlcat... no [07:24:12.271] checking for strlcpy... no [07:24:12.304] checking for strnlen... yes [07:24:12.340] checking for pthread_barrier_wait... yes [07:24:12.372] configure: On mingw32 we will use our strtof wrapper. [07:24:12.373] checking for getopt_long... yes [07:24:12.405] checking for _configthreadlocale... yes [07:24:12.436] checking for syslog... no [07:24:12.468] checking for opterr... yes [07:24:12.502] checking for optreset... no [07:24:12.539] checking test program... cross-compiling [07:24:12.539] checking whether long int is 64 bits... no [07:24:12.562] checking whether long long int is 64 bits... yes [07:24:12.572] checking for __builtin_mul_overflow... yes [07:24:12.604] checking size of void *... 8 [07:24:12.783] checking size of size_t... 8 [07:24:13.045] checking size of long... 4 [07:24:13.222] checking alignment of short... 2 [07:24:13.374] checking alignment of int... 4 [07:24:13.605] checking alignment of long... 4 [07:24:13.874] checking alignment of long long int... 8 [07:24:14.088] checking alignment of double... 8 [07:24:14.362] checking for int8... no [07:24:14.397] checking for uint8... no [07:24:14.434] checking for int64... no [07:24:14.470] checking for uint64... no [07:24:14.506] checking for __int128... yes [07:24:14.549] checking for __int128 alignment bug... assuming ok [07:24:14.549] checking alignment of PG_INT128_TYPE... 16 [07:24:15.003] checking for builtin __sync char locking functions... yes [07:24:15.046] checking for builtin __sync int32 locking functions... yes [07:24:15.083] checking for builtin __sync int32 atomic operations... yes [07:24:15.119] checking for builtin __sync int64 atomic operations... yes [07:24:15.157] checking for builtin __atomic int32 atomic operations... yes [07:24:15.190] checking for builtin __atomic int64 atomic operations... yes [07:24:15.230] checking for __get_cpuid... yes [07:24:15.275] checking for __cpuid... no [07:24:15.565] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:24:15.606] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:24:15.681] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:24:15.702] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:24:15.718] 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 [07:24:15.764] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:24:15.764] checking which random number source to use... Windows native [07:24:15.766] checking for xmllint... /usr/bin/xmllint [07:24:15.766] checking for xsltproc... /usr/bin/xsltproc [07:24:15.766] checking for fop... /usr/bin/fop [07:24:15.767] checking for dbtoepub... no [07:24:15.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:24:15.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:24:15.776] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [07:24:15.776] 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 [07:24:15.776] configure: using CPPFLAGS= -I./src/include/port/win32 [07:24:15.776] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:24:15.848] configure: creating ./config.status [07:24:15.911] config.status: creating GNUmakefile [07:24:15.920] config.status: creating src/Makefile.global [07:24:15.932] config.status: creating src/include/pg_config.h [07:24:15.942] config.status: creating src/include/pg_config_ext.h [07:24:15.952] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:24:15.961] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:24:15.966] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:24:15.971] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:24:15.977] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:24:15.982] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:24:15.984] config.status: executing check_win32_symlinks commands [07:24:16.011] [07:24:16.011] real 0m13.451s [07:24:16.011] user 0m9.859s [07:24:16.011] sys 0m3.235s [07:24:16.011] make -s -j${BUILD_JOBS} clean [07:24:16.396] time make -s -j${BUILD_JOBS} world-bin [07:26:14.887] pg_dump.c: In function ‘dumpTableSchema’: [07:26:14.887] pg_dump.c:16714:42: error: passing argument 3 of ‘dumpRelationStats’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [07:26:14.887] 16714 | dumpRelationStats(fout, &tbinfo->dobj, reltypename); [07:26:14.887] | ^~~~~~~~~~~ [07:26:14.887] pg_dump.c:10238:68: note: expected ‘char *’ but argument is of type ‘const char *’ [07:26:14.887] 10238 | dumpRelationStats(Archive *fout, const DumpableObject *dobj, char *reltypename) [07:26:14.887] | ~~~~~~^~~~~~~~~~~ [07:26:14.887] cc1: all warnings being treated as errors [07:26:14.887] make[3]: *** [: pg_dump.o] Error 1 [07:26:14.887] make[2]: *** [Makefile:45: all-pg_dump-recurse] Error 2 [07:26:14.887] make[2]: *** Waiting for unfinished jobs.... [07:26:16.570] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [07:26:16.570] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:26:16.570] [07:26:16.570] real 2m0.174s [07:26:16.570] user 6m42.887s [07:26:16.570] sys 0m50.150s [07:26:16.570] [07:26:16.570] Exit status: 2