[12:02:01.696] time ./configure \ [12:02:01.696] --host=x86_64-w64-mingw32 \ [12:02:01.696] --enable-cassert \ [12:02:01.696] --without-icu \ [12:02:01.696] CC="ccache x86_64-w64-mingw32-gcc" \ [12:02:01.696] CXX="ccache x86_64-w64-mingw32-g++" [12:02:01.786] checking build system type... x86_64-pc-linux-gnu [12:02:01.990] checking host system type... x86_64-w64-mingw32 [12:02:01.994] checking which template to use... win32 [12:02:01.995] checking whether NLS is wanted... no [12:02:01.995] checking for default port number... 5432 [12:02:02.001] checking for block size... 8kB [12:02:02.002] checking for segment size... 1GB [12:02:02.003] checking for WAL block size... 8kB [12:02:02.004] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:02:02.031] checking whether the C compiler works... yes [12:02:02.173] checking for C compiler default output file name... a.exe [12:02:02.174] checking for suffix of executables... .exe [12:02:02.206] checking whether we are cross compiling... yes [12:02:02.270] checking for suffix of object files... o [12:02:02.277] checking whether we are using the GNU C compiler... yes [12:02:02.282] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:02:02.288] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:02:02.296] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:02:02.343] checking whether we are using the GNU C++ compiler... yes [12:02:02.487] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:02:02.538] checking for gawk... no [12:02:02.539] checking for mawk... mawk [12:02:02.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:02:02.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:02:02.550] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:02:02.587] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:02:02.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:02:02.628] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:02:02.633] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:02:02.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:02:02.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:02:02.646] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:02:02.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:02:02.710] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:02:02.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:02:02.721] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:02:02.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:02:02.739] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:02:02.744] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:02:02.750] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:02:02.765] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:02:02.796] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:02:02.801] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:02:02.807] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:02:02.824] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:02:02.829] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:02:02.835] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:02:02.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:02:02.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:02:02.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:02:02.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:02:02.925] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:02:02.940] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:02:02.946] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:02:02.952] checking whether the C compiler still works... yes [12:02:03.032] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:02:03.093] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:02:03.093] checking pkg-config is at least version 0.9.0... yes [12:02:03.111] checking whether to build with ICU support... no [12:02:03.111] checking whether to build with Tcl... no [12:02:03.111] checking whether to build Perl modules... no [12:02:03.111] checking whether to build Python modules... no [12:02:03.111] checking whether to build with GSSAPI support... no [12:02:03.112] checking whether to build with PAM support... no [12:02:03.112] checking whether to build with BSD Authentication support... no [12:02:03.112] checking whether to build with LDAP support... no [12:02:03.112] checking whether to build with Bonjour support... no [12:02:03.113] checking whether to build with SELinux support... no [12:02:03.113] checking whether to build with systemd support... no [12:02:03.113] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:02:03.113] checking whether to build with XML support... no [12:02:03.113] checking whether to build with LZ4 support... no [12:02:03.113] checking whether to build with ZSTD support... no [12:02:03.114] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:02:03.114] checking whether it is possible to strip libraries... yes [12:02:03.121] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:02:03.122] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:02:03.122] checking for a BSD-compatible install... /usr/bin/install -c [12:02:03.129] checking for tar... /usr/bin/tar [12:02:03.129] checking whether ln -s works... yes [12:02:03.129] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:02:03.131] checking for bison... /usr/bin/bison [12:02:03.133] configure: using bison (GNU Bison) 3.7.5 [12:02:03.135] checking for flex... /usr/bin/flex [12:02:03.146] configure: using flex 2.6.4 [12:02:03.146] checking for perl... /usr/bin/perl [12:02:03.149] configure: using perl 5.32.1 [12:02:03.151] checking for zic... /usr/sbin/zic [12:02:03.151] checking for a sed that does not truncate output... /usr/bin/sed [12:02:03.155] checking for grep that handles long lines and -e... /usr/bin/grep [12:02:03.157] checking for egrep... /usr/bin/grep -E [12:02:03.158] checking for ANSI C header files... yes [12:02:03.195] checking for sys/types.h... yes [12:02:03.207] checking for sys/stat.h... yes [12:02:03.221] checking for stdlib.h... yes [12:02:03.233] checking for string.h... yes [12:02:03.245] checking for memory.h... yes [12:02:03.258] checking for strings.h... yes [12:02:03.271] checking for inttypes.h... yes [12:02:03.284] checking for stdint.h... yes [12:02:03.296] checking for unistd.h... yes [12:02:03.309] checking for main in -lm... yes [12:02:03.347] checking for library containing setproctitle... no [12:02:03.420] checking for library containing dlsym... no [12:02:03.488] checking for library containing socket... -lws2_32 [12:02:03.594] checking for library containing getopt_long... none required [12:02:03.638] checking for library containing shm_open... no [12:02:03.713] checking for library containing shm_unlink... no [12:02:03.789] checking for library containing clock_gettime... no [12:02:03.865] checking for library containing shmget... no [12:02:03.936] checking for library containing backtrace_symbols... no [12:02:03.999] checking for library containing pthread_barrier_wait... -lpthread [12:02:04.075] checking for inflate in -lz... yes [12:02:04.113] checking for stdbool.h that conforms to C99... yes [12:02:04.122] checking for _Bool... yes [12:02:04.179] checking atomic.h usability... no [12:02:04.223] checking atomic.h presence... no [12:02:04.237] checking for atomic.h... no [12:02:04.239] checking copyfile.h usability... no [12:02:04.279] checking copyfile.h presence... no [12:02:04.291] checking for copyfile.h... no [12:02:04.293] checking execinfo.h usability... no [12:02:04.335] checking execinfo.h presence... no [12:02:04.348] checking for execinfo.h... no [12:02:04.351] checking getopt.h usability... yes [12:02:04.356] checking getopt.h presence... yes [12:02:04.366] checking for getopt.h... yes [12:02:04.371] checking ifaddrs.h usability... no [12:02:04.417] checking ifaddrs.h presence... no [12:02:04.430] checking for ifaddrs.h... no [12:02:04.432] checking langinfo.h usability... no [12:02:04.479] checking langinfo.h presence... no [12:02:04.492] checking for langinfo.h... no [12:02:04.494] checking mbarrier.h usability... no [12:02:04.543] checking mbarrier.h presence... no [12:02:04.557] checking for mbarrier.h... no [12:02:04.559] checking sys/epoll.h usability... no [12:02:04.603] checking sys/epoll.h presence... no [12:02:04.619] checking for sys/epoll.h... no [12:02:04.621] checking sys/event.h usability... no [12:02:04.664] checking sys/event.h presence... no [12:02:04.676] checking for sys/event.h... no [12:02:04.678] checking sys/personality.h usability... no [12:02:04.719] checking sys/personality.h presence... no [12:02:04.734] checking for sys/personality.h... no [12:02:04.736] checking sys/prctl.h usability... no [12:02:04.778] checking sys/prctl.h presence... no [12:02:04.790] checking for sys/prctl.h... no [12:02:04.793] checking sys/procctl.h usability... no [12:02:04.832] checking sys/procctl.h presence... no [12:02:04.845] checking for sys/procctl.h... no [12:02:04.847] checking sys/signalfd.h usability... no [12:02:04.888] checking sys/signalfd.h presence... no [12:02:04.900] checking for sys/signalfd.h... no [12:02:04.902] checking sys/ucred.h usability... no [12:02:04.943] checking sys/ucred.h presence... no [12:02:04.959] checking for sys/ucred.h... no [12:02:04.961] checking termios.h usability... no [12:02:05.003] checking termios.h presence... no [12:02:05.016] checking for termios.h... no [12:02:05.019] checking ucred.h usability... no [12:02:05.063] checking ucred.h presence... no [12:02:05.078] checking for ucred.h... no [12:02:05.080] checking zlib.h usability... yes [12:02:05.087] checking zlib.h presence... yes [12:02:05.105] checking for zlib.h... yes [12:02:05.105] checking for lz4... /usr/bin/lz4 [12:02:05.105] checking for zstd... /usr/bin/zstd [12:02:05.106] checking for openssl... /usr/bin/openssl [12:02:05.109] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [12:02:05.110] checking crtdefs.h usability... yes [12:02:05.116] checking crtdefs.h presence... yes [12:02:05.130] checking for crtdefs.h... yes [12:02:05.131] checking whether byte ordering is bigendian... no [12:02:05.194] checking for inline... inline [12:02:05.200] checking for printf format archetype... gnu_printf [12:02:05.207] checking for _Static_assert... yes [12:02:05.244] checking for typeof... typeof [12:02:05.250] checking for __builtin_types_compatible_p... yes [12:02:05.258] checking for __builtin_constant_p... yes [12:02:05.266] checking for __builtin_unreachable... yes [12:02:05.303] checking for computed goto support... yes [12:02:05.317] checking for struct tm.tm_zone... no [12:02:05.385] checking for union semun... no [12:02:05.414] checking for socklen_t... yes [12:02:06.366] checking for struct sockaddr.sa_len... no [12:02:07.944] checking for locale_t... no [12:02:08.000] checking for C/C++ restrict keyword... __restrict [12:02:08.037] checking for struct option... yes [12:02:08.072] checking whether assembler supports x86_64 popcntq... yes [12:02:08.078] checking size of off_t... 4 [12:02:08.282] 0 [12:02:08.282] checking size of bool... 1 [12:02:08.331] checking for int timezone... yes [12:02:08.373] checking for wcstombs_l declaration... no [12:02:08.442] checking for backtrace_symbols... no [12:02:08.484] checking for copyfile... no [12:02:08.531] checking for copy_file_range... no [12:02:08.572] checking for getifaddrs... no [12:02:08.613] checking for getpeerucred... no [12:02:08.655] checking for inet_pton... yes [12:02:08.700] checking for kqueue... no [12:02:08.740] checking for mbstowcs_l... no [12:02:08.784] checking for memset_s... no [12:02:08.825] checking for posix_fallocate... no [12:02:08.869] checking for ppoll... no [12:02:08.912] checking for pthread_is_threaded_np... no [12:02:08.951] checking for setproctitle... no [12:02:08.990] checking for setproctitle_fast... no [12:02:09.028] checking for strchrnul... no [12:02:09.069] checking for strsignal... no [12:02:09.111] checking for syncfs... no [12:02:09.152] checking for sync_file_range... no [12:02:09.193] checking for uselocale... no [12:02:09.232] checking for wcstombs_l... no [12:02:09.270] checking for __builtin_bswap16... yes [12:02:09.311] checking for __builtin_bswap32... yes [12:02:09.348] checking for __builtin_bswap64... yes [12:02:09.384] checking for __builtin_clz... yes [12:02:09.423] checking for __builtin_ctz... yes [12:02:09.464] checking for __builtin_popcount... yes [12:02:09.501] checking for __builtin_frame_address... yes [12:02:09.538] checking for _LARGEFILE_SOURCE value needed for large files... no [12:02:09.582] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:02:09.607] checking for posix_fadvise... no [12:02:09.647] checking whether posix_fadvise is declared... no [12:02:09.681] checking whether fdatasync is declared... no [12:02:09.719] checking whether strlcat is declared... no [12:02:09.770] checking whether strlcpy is declared... no [12:02:09.820] checking whether strnlen is declared... yes [12:02:09.830] checking whether preadv is declared... no [12:02:09.857] checking whether pwritev is declared... no [12:02:09.886] checking whether F_FULLFSYNC is declared... no [12:02:09.916] checking for explicit_bzero... no [12:02:09.954] checking for getopt... yes [12:02:09.990] checking for getpeereid... no [12:02:10.028] checking for inet_aton... no [12:02:10.067] checking for mkdtemp... no [12:02:10.106] checking for strlcat... no [12:02:10.144] checking for strlcpy... no [12:02:10.182] checking for strnlen... yes [12:02:10.220] checking for pthread_barrier_wait... yes [12:02:10.254] configure: On mingw32 we will use our strtof wrapper. [12:02:10.254] checking for getopt_long... yes [12:02:10.292] checking for _configthreadlocale... yes [12:02:10.330] checking for syslog... no [12:02:10.368] checking for opterr... yes [12:02:10.408] checking for optreset... no [12:02:10.451] checking test program... cross-compiling [12:02:10.451] checking whether long int is 64 bits... no [12:02:10.477] checking whether long long int is 64 bits... yes [12:02:10.509] checking for __builtin_mul_overflow... yes [12:02:10.547] checking size of void *... 8 [12:02:10.790] checking size of size_t... 8 [12:02:11.012] checking size of long... 4 [12:02:11.181] checking alignment of short... 2 [12:02:11.337] checking alignment of int... 4 [12:02:11.484] checking alignment of long... 4 [12:02:11.642] checking alignment of long long int... 8 [12:02:11.856] checking alignment of double... 8 [12:02:12.070] checking for int8... no [12:02:12.102] checking for uint8... no [12:02:12.134] checking for int64... no [12:02:12.168] checking for uint64... no [12:02:12.202] checking for __int128... yes [12:02:12.241] checking for __int128 alignment bug... assuming ok [12:02:12.241] checking alignment of PG_INT128_TYPE... 16 [12:02:12.500] checking for builtin __sync char locking functions... yes [12:02:12.535] checking for builtin __sync int32 locking functions... yes [12:02:12.569] checking for builtin __sync int32 atomic operations... yes [12:02:12.603] checking for builtin __sync int64 atomic operations... yes [12:02:12.638] checking for builtin __atomic int32 atomic operations... yes [12:02:12.673] checking for builtin __atomic int64 atomic operations... yes [12:02:12.709] checking for __get_cpuid... yes [12:02:12.749] checking for __cpuid... no [12:02:13.005] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:02:13.044] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:02:13.123] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:02:13.144] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:02:13.161] 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 [12:02:13.204] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:02:13.205] checking which random number source to use... Windows native [12:02:13.206] checking for xmllint... /usr/bin/xmllint [12:02:13.207] checking for xsltproc... /usr/bin/xsltproc [12:02:13.207] checking for fop... /usr/bin/fop [12:02:13.207] checking for dbtoepub... no [12:02:13.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:02:13.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:02:13.216] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [12:02:13.216] 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 [12:02:13.216] configure: using CPPFLAGS= -I./src/include/port/win32 [12:02:13.216] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:02:13.290] configure: creating ./config.status [12:02:13.356] config.status: creating GNUmakefile [12:02:13.366] config.status: creating src/Makefile.global [12:02:13.377] config.status: creating src/include/pg_config.h [12:02:13.387] config.status: creating src/include/pg_config_ext.h [12:02:13.396] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:02:13.407] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:02:13.413] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:02:13.418] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:02:13.424] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:02:13.429] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:02:13.432] config.status: executing check_win32_symlinks commands [12:02:13.459] [12:02:13.459] real 0m11.763s [12:02:13.459] user 0m8.474s [12:02:13.459] sys 0m2.944s [12:02:13.459] make -s -j${BUILD_JOBS} clean [12:02:13.872] time make -s -j${BUILD_JOBS} world-bin [12:03:41.084] command.c: In function ‘exec_command’: [12:03:41.084] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [12:03:41.084] 312 | curcmd = cmd; [12:03:41.084] | ^ [12:03:41.084] cc1: all warnings being treated as errors [12:03:41.085] make[3]: *** [: command.o] Error 1 [12:03:41.085] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [12:03:41.085] make[2]: *** Waiting for unfinished jobs.... [12:03:42.425] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [12:03:42.425] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:03:42.425] [12:03:42.425] real 1m28.553s [12:03:42.425] user 4m48.354s [12:03:42.425] sys 0m40.040s [12:03:42.425] [12:03:42.425] Exit status: 2