[04:12:44.307] time ./configure \ [04:12:44.307] --host=x86_64-w64-mingw32 \ [04:12:44.307] --enable-cassert \ [04:12:44.307] --without-icu \ [04:12:44.307] CC="ccache x86_64-w64-mingw32-gcc" \ [04:12:44.307] CXX="ccache x86_64-w64-mingw32-g++" [04:12:44.373] checking build system type... x86_64-pc-linux-gnu [04:12:44.542] checking host system type... x86_64-w64-mingw32 [04:12:44.547] checking which template to use... win32 [04:12:44.547] checking whether NLS is wanted... no [04:12:44.547] checking for default port number... 5432 [04:12:44.552] checking for block size... 8kB [04:12:44.553] checking for segment size... 1GB [04:12:44.570] checking for WAL block size... 8kB [04:12:44.571] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:12:44.596] checking whether the C compiler works... yes [04:12:44.732] checking for C compiler default output file name... a.exe [04:12:44.733] checking for suffix of executables... .exe [04:12:44.763] checking whether we are cross compiling... yes [04:12:44.820] checking for suffix of object files... o [04:12:44.825] checking whether we are using the GNU C compiler... yes [04:12:44.829] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:12:44.833] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:12:44.840] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:12:44.882] checking whether we are using the GNU C++ compiler... yes [04:12:44.887] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:12:44.932] checking for gawk... no [04:12:44.932] checking for mawk... mawk [04:12:44.934] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:12:44.938] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:12:44.942] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:12:44.971] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:12:45.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:12:45.115] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:12:45.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:12:45.123] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:12:45.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:12:45.130] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:12:45.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:12:45.138] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:12:45.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:12:45.145] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:12:45.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:12:45.153] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:12:45.156] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:12:45.160] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:12:45.164] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:12:45.168] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:12:45.172] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:12:45.176] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:12:45.188] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:12:45.192] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:12:45.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:12:45.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:12:45.241] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:12:45.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:12:45.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:12:45.270] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:12:45.274] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:12:45.278] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:12:45.283] checking whether the C compiler still works... yes [04:12:45.329] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:12:45.373] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:12:45.373] checking pkg-config is at least version 0.9.0... yes [04:12:45.387] checking whether to build with ICU support... no [04:12:45.387] checking whether to build with Tcl... no [04:12:45.387] checking whether to build Perl modules... no [04:12:45.387] checking whether to build Python modules... no [04:12:45.387] checking whether to build with GSSAPI support... no [04:12:45.388] checking whether to build with PAM support... no [04:12:45.388] checking whether to build with BSD Authentication support... no [04:12:45.388] checking whether to build with LDAP support... no [04:12:45.388] checking whether to build with Bonjour support... no [04:12:45.388] checking whether to build with SELinux support... no [04:12:45.388] checking whether to build with systemd support... no [04:12:45.389] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:12:45.389] checking whether to build with XML support... no [04:12:45.389] checking whether to build with LZ4 support... no [04:12:45.389] checking whether to build with ZSTD support... no [04:12:45.390] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:12:45.390] checking whether it is possible to strip libraries... yes [04:12:45.396] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:12:45.396] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:12:45.397] checking for a BSD-compatible install... /usr/bin/install -c [04:12:45.403] checking for tar... /usr/bin/tar [04:12:45.403] checking whether ln -s works... yes [04:12:45.403] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:12:45.405] checking for bison... /usr/bin/bison [04:12:45.407] configure: using bison (GNU Bison) 3.7.5 [04:12:45.409] checking for flex... /usr/bin/flex [04:12:45.417] configure: using flex 2.6.4 [04:12:45.418] checking for perl... /usr/bin/perl [04:12:45.420] configure: using perl 5.32.1 [04:12:45.421] checking for zic... /usr/sbin/zic [04:12:45.421] checking for a sed that does not truncate output... /usr/bin/sed [04:12:45.425] checking for grep that handles long lines and -e... /usr/bin/grep [04:12:45.426] checking for egrep... /usr/bin/grep -E [04:12:45.427] checking for ANSI C header files... yes [04:12:45.460] checking for sys/types.h... yes [04:12:45.471] checking for sys/stat.h... yes [04:12:45.480] checking for stdlib.h... yes [04:12:45.489] checking for string.h... yes [04:12:45.497] checking for memory.h... yes [04:12:45.506] checking for strings.h... yes [04:12:45.515] checking for inttypes.h... yes [04:12:45.525] checking for stdint.h... yes [04:12:45.535] checking for unistd.h... yes [04:12:45.548] checking for main in -lm... yes [04:12:45.583] checking for library containing setproctitle... no [04:12:45.649] checking for library containing dlsym... no [04:12:45.710] checking for library containing socket... -lws2_32 [04:12:45.807] checking for library containing getopt_long... none required [04:12:45.845] checking for library containing shm_open... no [04:12:45.912] checking for library containing shm_unlink... no [04:12:45.975] checking for library containing clock_gettime... no [04:12:46.037] checking for library containing shmget... no [04:12:46.100] checking for library containing backtrace_symbols... no [04:12:46.169] checking for library containing pthread_barrier_wait... -lpthread [04:12:46.242] checking for inflate in -lz... yes [04:12:46.277] checking for stdbool.h that conforms to C99... yes [04:12:46.285] checking for _Bool... yes [04:12:46.340] checking atomic.h usability... no [04:12:46.381] checking atomic.h presence... no [04:12:46.393] checking for atomic.h... no [04:12:46.395] checking copyfile.h usability... no [04:12:46.437] checking copyfile.h presence... no [04:12:46.449] checking for copyfile.h... no [04:12:46.451] checking execinfo.h usability... no [04:12:46.491] checking execinfo.h presence... no [04:12:46.504] checking for execinfo.h... no [04:12:46.507] checking getopt.h usability... yes [04:12:46.512] checking getopt.h presence... yes [04:12:46.523] checking for getopt.h... yes [04:12:46.529] checking ifaddrs.h usability... no [04:12:46.569] checking ifaddrs.h presence... no [04:12:46.581] checking for ifaddrs.h... no [04:12:46.583] checking langinfo.h usability... no [04:12:46.624] checking langinfo.h presence... no [04:12:46.636] checking for langinfo.h... no [04:12:46.638] checking mbarrier.h usability... no [04:12:46.678] checking mbarrier.h presence... no [04:12:46.690] checking for mbarrier.h... no [04:12:46.692] checking sys/epoll.h usability... no [04:12:46.731] checking sys/epoll.h presence... no [04:12:46.743] checking for sys/epoll.h... no [04:12:46.745] checking sys/event.h usability... no [04:12:46.788] checking sys/event.h presence... no [04:12:46.802] checking for sys/event.h... no [04:12:46.805] checking sys/personality.h usability... no [04:12:46.846] checking sys/personality.h presence... no [04:12:46.859] checking for sys/personality.h... no [04:12:46.860] checking sys/prctl.h usability... no [04:12:46.902] checking sys/prctl.h presence... no [04:12:46.913] checking for sys/prctl.h... no [04:12:46.915] checking sys/procctl.h usability... no [04:12:46.953] checking sys/procctl.h presence... no [04:12:46.965] checking for sys/procctl.h... no [04:12:46.967] checking sys/signalfd.h usability... no [04:12:47.005] checking sys/signalfd.h presence... no [04:12:47.017] checking for sys/signalfd.h... no [04:12:47.019] checking sys/ucred.h usability... no [04:12:47.060] checking sys/ucred.h presence... no [04:12:47.072] checking for sys/ucred.h... no [04:12:47.074] checking termios.h usability... no [04:12:47.112] checking termios.h presence... no [04:12:47.123] checking for termios.h... no [04:12:47.125] checking ucred.h usability... no [04:12:47.165] checking ucred.h presence... no [04:12:47.176] checking for ucred.h... no [04:12:47.178] checking zlib.h usability... yes [04:12:47.184] checking zlib.h presence... yes [04:12:47.196] checking for zlib.h... yes [04:12:47.196] checking for lz4... /usr/bin/lz4 [04:12:47.196] checking for zstd... /usr/bin/zstd [04:12:47.197] checking for openssl... /usr/bin/openssl [04:12:47.200] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [04:12:47.200] checking crtdefs.h usability... yes [04:12:47.204] checking crtdefs.h presence... yes [04:12:47.213] checking for crtdefs.h... yes [04:12:47.214] checking whether byte ordering is bigendian... no [04:12:47.263] checking for inline... inline [04:12:47.268] checking for printf format archetype... gnu_printf [04:12:47.272] checking for _Static_assert... yes [04:12:47.301] checking for typeof... typeof [04:12:47.305] checking for __builtin_types_compatible_p... yes [04:12:47.311] checking for __builtin_constant_p... yes [04:12:47.319] checking for __builtin_unreachable... yes [04:12:47.348] checking for computed goto support... yes [04:12:47.353] checking for struct tm.tm_zone... no [04:12:47.405] checking for union semun... no [04:12:47.427] checking for socklen_t... yes [04:12:48.365] checking for struct sockaddr.sa_len... no [04:12:49.872] checking for locale_t... no [04:12:49.920] checking for C/C++ restrict keyword... __restrict [04:12:49.929] checking for struct option... yes [04:12:49.958] checking whether assembler supports x86_64 popcntq... yes [04:12:49.963] checking size of off_t... 4 [04:12:50.112] 0 [04:12:50.112] checking size of bool... 1 [04:12:50.141] checking for int timezone... yes [04:12:50.176] checking for wcstombs_l declaration... no [04:12:50.236] checking for backtrace_symbols... no [04:12:50.269] checking for copyfile... no [04:12:50.300] checking for copy_file_range... no [04:12:50.331] checking for getifaddrs... no [04:12:50.362] checking for getpeerucred... no [04:12:50.394] checking for inet_pton... yes [04:12:50.426] checking for kqueue... no [04:12:50.456] checking for mbstowcs_l... no [04:12:50.487] checking for memset_s... no [04:12:50.518] checking for posix_fallocate... no [04:12:50.549] checking for ppoll... no [04:12:50.581] checking for pthread_is_threaded_np... no [04:12:50.613] checking for setproctitle... no [04:12:50.645] checking for setproctitle_fast... no [04:12:50.681] checking for strchrnul... no [04:12:50.719] checking for strsignal... no [04:12:50.758] checking for syncfs... no [04:12:50.796] checking for sync_file_range... no [04:12:50.833] checking for uselocale... no [04:12:50.870] checking for wcstombs_l... no [04:12:50.904] checking for __builtin_bswap16... yes [04:12:50.938] checking for __builtin_bswap32... yes [04:12:50.969] checking for __builtin_bswap64... yes [04:12:51.000] checking for __builtin_clz... yes [04:12:51.031] checking for __builtin_ctz... yes [04:12:51.063] checking for __builtin_popcount... yes [04:12:51.102] checking for __builtin_frame_address... yes [04:12:51.140] checking for _LARGEFILE_SOURCE value needed for large files... no [04:12:51.187] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:12:51.211] checking for posix_fadvise... no [04:12:51.248] checking whether posix_fadvise is declared... no [04:12:51.277] checking whether fdatasync is declared... no [04:12:51.306] checking whether strlcat is declared... no [04:12:51.350] checking whether strlcpy is declared... no [04:12:51.394] checking whether strnlen is declared... yes [04:12:51.405] checking whether preadv is declared... no [04:12:51.429] checking whether pwritev is declared... no [04:12:51.452] checking whether F_FULLFSYNC is declared... no [04:12:51.477] checking for explicit_bzero... no [04:12:51.507] checking for getopt... yes [04:12:51.538] checking for getpeereid... no [04:12:51.569] checking for inet_aton... no [04:12:51.601] checking for mkdtemp... no [04:12:51.633] checking for strlcat... no [04:12:51.666] checking for strlcpy... no [04:12:51.701] checking for strnlen... yes [04:12:51.738] checking for pthread_barrier_wait... yes [04:12:51.771] configure: On mingw32 we will use our strtof wrapper. [04:12:51.771] checking for getopt_long... yes [04:12:51.803] checking for _configthreadlocale... yes [04:12:51.834] checking for syslog... no [04:12:51.866] checking for opterr... yes [04:12:51.900] checking for optreset... no [04:12:51.933] checking test program... cross-compiling [04:12:51.933] checking whether long int is 64 bits... no [04:12:51.952] checking whether long long int is 64 bits... yes [04:12:51.957] checking for __builtin_mul_overflow... yes [04:12:51.987] checking size of void *... 8 [04:12:52.184] checking size of size_t... 8 [04:12:52.388] checking size of long... 4 [04:12:52.543] checking alignment of short... 2 [04:12:52.646] checking alignment of int... 4 [04:12:52.798] checking alignment of long... 4 [04:12:52.959] checking alignment of long long int... 8 [04:12:53.170] checking alignment of double... 8 [04:12:53.371] checking for int8... no [04:12:53.401] checking for uint8... no [04:12:53.430] checking for int64... no [04:12:53.458] checking for uint64... no [04:12:53.488] checking for __int128... yes [04:12:53.522] checking for __int128 alignment bug... assuming ok [04:12:53.522] checking alignment of PG_INT128_TYPE... 16 [04:12:53.769] checking for builtin __sync char locking functions... yes [04:12:53.801] checking for builtin __sync int32 locking functions... yes [04:12:53.831] checking for builtin __sync int32 atomic operations... yes [04:12:53.859] checking for builtin __sync int64 atomic operations... yes [04:12:53.888] checking for builtin __atomic int32 atomic operations... yes [04:12:53.916] checking for builtin __atomic int64 atomic operations... yes [04:12:53.945] checking for __get_cpuid... yes [04:12:53.980] checking for __cpuid... no [04:12:54.214] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:12:54.247] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:12:54.308] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:12:54.322] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:12:54.335] 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 [04:12:54.374] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:12:54.375] checking which random number source to use... Windows native [04:12:54.376] checking for xmllint... /usr/bin/xmllint [04:12:54.376] checking for xsltproc... /usr/bin/xsltproc [04:12:54.377] checking for fop... /usr/bin/fop [04:12:54.377] checking for dbtoepub... no [04:12:54.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:12:54.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:12:54.384] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [04:12:54.384] 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 [04:12:54.384] configure: using CPPFLAGS= -I./src/include/port/win32 [04:12:54.384] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:12:54.437] configure: creating ./config.status [04:12:54.486] config.status: creating GNUmakefile [04:12:54.493] config.status: creating src/Makefile.global [04:12:54.502] config.status: creating src/include/pg_config.h [04:12:54.509] config.status: creating src/include/pg_config_ext.h [04:12:54.516] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:12:54.525] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:12:54.529] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:12:54.534] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:12:54.538] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:12:54.542] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:12:54.544] config.status: executing check_win32_symlinks commands [04:12:54.569] [04:12:54.569] real 0m10.262s [04:12:54.569] user 0m7.628s [04:12:54.569] sys 0m2.288s [04:12:54.569] make -s -j${BUILD_JOBS} clean [04:12:54.914] time make -s -j${BUILD_JOBS} world-bin [04:13:04.510] command.c: In function ‘exec_command’: [04:13:04.510] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [04:13:04.510] 312 | curcmd = cmd; [04:13:04.510] | ^ [04:13:04.510] cc1: all warnings being treated as errors [04:13:04.511] make[3]: *** [: command.o] Error 1 [04:13:04.511] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [04:13:04.511] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [04:13:04.512] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:13:04.512] [04:13:04.512] real 0m9.597s [04:13:04.512] user 0m15.566s [04:13:04.512] sys 0m4.708s [04:13:04.512] [04:13:04.512] Exit status: 2