[10:15:48.293] time ./configure \ [10:15:48.293] --host=x86_64-w64-mingw32 \ [10:15:48.293] --enable-cassert \ [10:15:48.293] --without-icu \ [10:15:48.293] CC="ccache x86_64-w64-mingw32-gcc" \ [10:15:48.293] CXX="ccache x86_64-w64-mingw32-g++" [10:15:48.356] checking build system type... x86_64-pc-linux-gnu [10:15:48.525] checking host system type... x86_64-w64-mingw32 [10:15:48.528] checking which template to use... win32 [10:15:48.529] checking whether NLS is wanted... no [10:15:48.529] checking for default port number... 5432 [10:15:48.533] checking for block size... 8kB [10:15:48.533] checking for segment size... 1GB [10:15:48.535] checking for WAL block size... 8kB [10:15:48.535] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:15:48.556] checking whether the C compiler works... yes [10:15:48.693] checking for C compiler default output file name... a.exe [10:15:48.694] checking for suffix of executables... .exe [10:15:48.723] checking whether we are cross compiling... yes [10:15:48.780] checking for suffix of object files... o [10:15:48.785] checking whether we are using the GNU C compiler... yes [10:15:48.790] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:15:48.794] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:15:48.800] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:15:48.845] checking whether we are using the GNU C++ compiler... yes [10:15:48.850] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:15:48.891] checking for gawk... no [10:15:48.891] checking for mawk... mawk [10:15:48.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:15:48.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:15:48.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:15:48.930] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:15:49.075] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:15:49.079] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:15:49.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:15:49.088] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:15:49.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:15:49.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:15:49.100] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:15:49.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:15:49.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:15:49.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:15:49.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:15:49.119] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:15:49.122] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:15:49.126] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:15:49.130] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:15:49.134] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:15:49.138] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:15:49.142] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:15:49.155] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:15:49.159] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:15:49.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:15:49.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:15:49.209] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:15:49.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:15:49.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:15:49.240] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:15:49.245] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:15:49.249] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:15:49.255] checking whether the C compiler still works... yes [10:15:49.299] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:15:49.341] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:15:49.342] checking pkg-config is at least version 0.9.0... yes [10:15:49.356] checking whether to build with ICU support... no [10:15:49.356] checking whether to build with Tcl... no [10:15:49.356] checking whether to build Perl modules... no [10:15:49.356] checking whether to build Python modules... no [10:15:49.356] checking whether to build with GSSAPI support... no [10:15:49.357] checking whether to build with PAM support... no [10:15:49.357] checking whether to build with BSD Authentication support... no [10:15:49.357] checking whether to build with LDAP support... no [10:15:49.357] checking whether to build with Bonjour support... no [10:15:49.357] checking whether to build with SELinux support... no [10:15:49.357] checking whether to build with systemd support... no [10:15:49.358] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:15:49.358] checking whether to build with XML support... no [10:15:49.358] checking whether to build with LZ4 support... no [10:15:49.358] checking whether to build with ZSTD support... no [10:15:49.358] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:15:49.359] checking whether it is possible to strip libraries... yes [10:15:49.367] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:15:49.368] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:15:49.368] checking for a BSD-compatible install... /usr/bin/install -c [10:15:49.374] checking for tar... /usr/bin/tar [10:15:49.374] checking whether ln -s works... yes [10:15:49.374] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:15:49.376] checking for bison... /usr/bin/bison [10:15:49.377] configure: using bison (GNU Bison) 3.7.5 [10:15:49.379] checking for flex... /usr/bin/flex [10:15:49.388] configure: using flex 2.6.4 [10:15:49.388] checking for perl... /usr/bin/perl [10:15:49.390] configure: using perl 5.32.1 [10:15:49.392] checking for zic... /usr/sbin/zic [10:15:49.392] checking for a sed that does not truncate output... /usr/bin/sed [10:15:49.395] checking for grep that handles long lines and -e... /usr/bin/grep [10:15:49.397] checking for egrep... /usr/bin/grep -E [10:15:49.398] checking for ANSI C header files... yes [10:15:49.431] checking for sys/types.h... yes [10:15:49.441] checking for sys/stat.h... yes [10:15:49.453] checking for stdlib.h... yes [10:15:49.462] checking for string.h... yes [10:15:49.471] checking for memory.h... yes [10:15:49.481] checking for strings.h... yes [10:15:49.491] checking for inttypes.h... yes [10:15:49.502] checking for stdint.h... yes [10:15:49.511] checking for unistd.h... yes [10:15:49.521] checking for main in -lm... yes [10:15:49.552] checking for library containing setproctitle... no [10:15:49.613] checking for library containing dlsym... no [10:15:49.673] checking for library containing socket... -lws2_32 [10:15:49.765] checking for library containing getopt_long... none required [10:15:49.800] checking for library containing shm_open... no [10:15:49.861] checking for library containing shm_unlink... no [10:15:49.921] checking for library containing clock_gettime... no [10:15:49.981] checking for library containing shmget... no [10:15:50.039] checking for library containing backtrace_symbols... no [10:15:50.098] checking for library containing pthread_barrier_wait... -lpthread [10:15:50.158] checking for inflate in -lz... yes [10:15:50.188] checking for stdbool.h that conforms to C99... yes [10:15:50.195] checking for _Bool... yes [10:15:50.244] checking atomic.h usability... no [10:15:50.283] checking atomic.h presence... no [10:15:50.294] checking for atomic.h... no [10:15:50.296] checking copyfile.h usability... no [10:15:50.335] checking copyfile.h presence... no [10:15:50.346] checking for copyfile.h... no [10:15:50.349] checking execinfo.h usability... no [10:15:50.386] checking execinfo.h presence... no [10:15:50.397] checking for execinfo.h... no [10:15:50.399] checking getopt.h usability... yes [10:15:50.403] checking getopt.h presence... yes [10:15:50.413] checking for getopt.h... yes [10:15:50.418] checking ifaddrs.h usability... no [10:15:50.458] checking ifaddrs.h presence... no [10:15:50.470] checking for ifaddrs.h... no [10:15:50.472] checking langinfo.h usability... no [10:15:50.513] checking langinfo.h presence... no [10:15:50.524] checking for langinfo.h... no [10:15:50.526] checking mbarrier.h usability... no [10:15:50.567] checking mbarrier.h presence... no [10:15:50.580] checking for mbarrier.h... no [10:15:50.583] checking sys/epoll.h usability... no [10:15:50.626] checking sys/epoll.h presence... no [10:15:50.639] checking for sys/epoll.h... no [10:15:50.641] checking sys/event.h usability... no [10:15:50.681] checking sys/event.h presence... no [10:15:50.694] checking for sys/event.h... no [10:15:50.697] checking sys/personality.h usability... no [10:15:50.735] checking sys/personality.h presence... no [10:15:50.748] checking for sys/personality.h... no [10:15:50.750] checking sys/prctl.h usability... no [10:15:50.788] checking sys/prctl.h presence... no [10:15:50.799] checking for sys/prctl.h... no [10:15:50.801] checking sys/procctl.h usability... no [10:15:50.838] checking sys/procctl.h presence... no [10:15:50.850] checking for sys/procctl.h... no [10:15:50.852] checking sys/signalfd.h usability... no [10:15:50.890] checking sys/signalfd.h presence... no [10:15:50.901] checking for sys/signalfd.h... no [10:15:50.903] checking sys/ucred.h usability... no [10:15:50.942] checking sys/ucred.h presence... no [10:15:50.954] checking for sys/ucred.h... no [10:15:50.956] checking termios.h usability... no [10:15:50.996] checking termios.h presence... no [10:15:51.008] checking for termios.h... no [10:15:51.010] checking ucred.h usability... no [10:15:51.049] checking ucred.h presence... no [10:15:51.061] checking for ucred.h... no [10:15:51.063] checking zlib.h usability... yes [10:15:51.069] checking zlib.h presence... yes [10:15:51.083] checking for zlib.h... yes [10:15:51.083] checking for lz4... /usr/bin/lz4 [10:15:51.083] checking for zstd... /usr/bin/zstd [10:15:51.083] checking for openssl... /usr/bin/openssl [10:15:51.086] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [10:15:51.087] checking crtdefs.h usability... yes [10:15:51.092] checking crtdefs.h presence... yes [10:15:51.101] checking for crtdefs.h... yes [10:15:51.102] checking whether byte ordering is bigendian... no [10:15:51.146] checking for inline... inline [10:15:51.150] checking for printf format archetype... gnu_printf [10:15:51.155] checking for _Static_assert... yes [10:15:51.183] checking for typeof... typeof [10:15:51.187] checking for __builtin_types_compatible_p... yes [10:15:51.193] checking for __builtin_constant_p... yes [10:15:51.199] checking for __builtin_unreachable... yes [10:15:51.227] checking for computed goto support... yes [10:15:51.231] checking for struct tm.tm_zone... no [10:15:51.277] checking for union semun... no [10:15:51.296] checking for socklen_t... yes [10:15:52.116] checking for struct sockaddr.sa_len... no [10:15:53.463] checking for locale_t... no [10:15:53.499] checking for C/C++ restrict keyword... __restrict [10:15:53.506] checking for struct option... yes [10:15:53.530] checking whether assembler supports x86_64 popcntq... yes [10:15:53.534] checking size of off_t... 4 [10:15:53.662] 0 [10:15:53.662] checking size of bool... 1 [10:15:53.687] checking for int timezone... yes [10:15:53.719] checking for wcstombs_l declaration... no [10:15:53.771] checking for backtrace_symbols... no [10:15:53.805] checking for copyfile... no [10:15:53.836] checking for copy_file_range... no [10:15:53.866] checking for getifaddrs... no [10:15:53.896] checking for getpeerucred... no [10:15:53.927] checking for inet_pton... yes [10:15:53.957] checking for kqueue... no [10:15:53.987] checking for mbstowcs_l... no [10:15:54.017] checking for memset_s... no [10:15:54.047] checking for posix_fallocate... no [10:15:54.077] checking for ppoll... no [10:15:54.107] checking for pthread_is_threaded_np... no [10:15:54.137] checking for setproctitle... no [10:15:54.167] checking for setproctitle_fast... no [10:15:54.196] checking for strchrnul... no [10:15:54.226] checking for strsignal... no [10:15:54.256] checking for syncfs... no [10:15:54.286] checking for sync_file_range... no [10:15:54.316] checking for uselocale... no [10:15:54.345] checking for wcstombs_l... no [10:15:54.374] checking for __builtin_bswap16... yes [10:15:54.404] checking for __builtin_bswap32... yes [10:15:54.433] checking for __builtin_bswap64... yes [10:15:54.462] checking for __builtin_clz... yes [10:15:54.491] checking for __builtin_ctz... yes [10:15:54.520] checking for __builtin_popcount... yes [10:15:54.549] checking for __builtin_frame_address... yes [10:15:54.578] checking for _LARGEFILE_SOURCE value needed for large files... no [10:15:54.614] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:15:54.632] checking for posix_fadvise... no [10:15:54.663] checking whether posix_fadvise is declared... no [10:15:54.691] checking whether fdatasync is declared... no [10:15:54.718] checking whether strlcat is declared... no [10:15:54.758] checking whether strlcpy is declared... no [10:15:54.798] checking whether strnlen is declared... yes [10:15:54.806] checking whether preadv is declared... no [10:15:54.827] checking whether pwritev is declared... no [10:15:54.847] checking whether F_FULLFSYNC is declared... no [10:15:54.870] checking for explicit_bzero... no [10:15:54.899] checking for getopt... yes [10:15:54.929] checking for getpeereid... no [10:15:54.959] checking for inet_aton... no [10:15:54.991] checking for mkdtemp... no [10:15:55.022] checking for strlcat... no [10:15:55.052] checking for strlcpy... no [10:15:55.082] checking for strnlen... yes [10:15:55.116] checking for pthread_barrier_wait... yes [10:15:55.144] configure: On mingw32 we will use our strtof wrapper. [10:15:55.144] checking for getopt_long... yes [10:15:55.173] checking for _configthreadlocale... yes [10:15:55.203] checking for syslog... no [10:15:55.233] checking for opterr... yes [10:15:55.266] checking for optreset... no [10:15:55.301] checking test program... cross-compiling [10:15:55.301] checking whether long int is 64 bits... no [10:15:55.320] checking whether long long int is 64 bits... yes [10:15:55.325] checking for __builtin_mul_overflow... yes [10:15:55.356] checking size of void *... 8 [10:15:55.544] checking size of size_t... 8 [10:15:55.732] checking size of long... 4 [10:15:55.882] checking alignment of short... 2 [10:15:55.980] checking alignment of int... 4 [10:15:56.125] checking alignment of long... 4 [10:15:56.272] checking alignment of long long int... 8 [10:15:56.449] checking alignment of double... 8 [10:15:56.631] checking for int8... no [10:15:56.659] checking for uint8... no [10:15:56.685] checking for int64... no [10:15:56.711] checking for uint64... no [10:15:56.737] checking for __int128... yes [10:15:56.768] checking for __int128 alignment bug... assuming ok [10:15:56.768] checking alignment of PG_INT128_TYPE... 16 [10:15:56.978] checking for builtin __sync char locking functions... yes [10:15:57.006] checking for builtin __sync int32 locking functions... yes [10:15:57.032] checking for builtin __sync int32 atomic operations... yes [10:15:57.061] checking for builtin __sync int64 atomic operations... yes [10:15:57.089] checking for builtin __atomic int32 atomic operations... yes [10:15:57.117] checking for builtin __atomic int64 atomic operations... yes [10:15:57.144] checking for __get_cpuid... yes [10:15:57.174] checking for __cpuid... no [10:15:57.404] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [10:15:57.433] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [10:15:57.490] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:15:57.502] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:15:57.512] 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 [10:15:57.546] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:15:57.546] checking which random number source to use... Windows native [10:15:57.548] checking for xmllint... /usr/bin/xmllint [10:15:57.548] checking for xsltproc... /usr/bin/xsltproc [10:15:57.548] checking for fop... /usr/bin/fop [10:15:57.548] checking for dbtoepub... no [10:15:57.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:15:57.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:15:57.555] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [10:15:57.555] 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 [10:15:57.555] configure: using CPPFLAGS= -I./src/include/port/win32 [10:15:57.555] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:15:57.606] configure: creating ./config.status [10:15:57.652] config.status: creating GNUmakefile [10:15:57.659] config.status: creating src/Makefile.global [10:15:57.667] config.status: creating src/include/pg_config.h [10:15:57.674] config.status: creating src/include/pg_config_ext.h [10:15:57.680] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:15:57.689] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:15:57.693] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:15:57.696] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:15:57.700] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:15:57.704] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:15:57.706] config.status: executing check_win32_symlinks commands [10:15:57.729] [10:15:57.729] real 0m9.436s [10:15:57.729] user 0m7.021s [10:15:57.729] sys 0m2.045s [10:15:57.729] make -s -j${BUILD_JOBS} clean [10:15:58.076] time make -s -j${BUILD_JOBS} world-bin [10:16:07.470] command.c: In function ‘exec_command’: [10:16:07.470] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [10:16:07.470] 312 | curcmd = cmd; [10:16:07.470] | ^ [10:16:07.470] cc1: all warnings being treated as errors [10:16:07.471] make[3]: *** [: command.o] Error 1 [10:16:07.472] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [10:16:07.472] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [10:16:07.472] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:16:07.472] [10:16:07.472] real 0m9.396s [10:16:07.472] user 0m15.463s [10:16:07.472] sys 0m4.357s [10:16:07.473] [10:16:07.473] Exit status: 2