[11:38:56.895] time ./configure \ [11:38:56.895] --host=x86_64-w64-mingw32 \ [11:38:56.895] --enable-cassert \ [11:38:56.895] --without-icu \ [11:38:56.895] CC="ccache x86_64-w64-mingw32-gcc" \ [11:38:56.895] CXX="ccache x86_64-w64-mingw32-g++" [11:38:56.961] checking build system type... x86_64-pc-linux-gnu [11:38:57.140] checking host system type... x86_64-w64-mingw32 [11:38:57.144] checking which template to use... win32 [11:38:57.144] checking whether NLS is wanted... no [11:38:57.144] checking for default port number... 5432 [11:38:57.149] checking for block size... 8kB [11:38:57.150] checking for segment size... 1GB [11:38:57.151] checking for WAL block size... 8kB [11:38:57.152] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:38:57.175] checking whether the C compiler works... yes [11:38:57.315] checking for C compiler default output file name... a.exe [11:38:57.315] checking for suffix of executables... .exe [11:38:57.347] checking whether we are cross compiling... yes [11:38:57.410] checking for suffix of object files... o [11:38:57.416] checking whether we are using the GNU C compiler... yes [11:38:57.421] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:38:57.426] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:38:57.435] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:38:57.483] checking whether we are using the GNU C++ compiler... yes [11:38:57.487] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:38:57.538] checking for gawk... no [11:38:57.538] checking for mawk... mawk [11:38:57.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:38:57.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:38:57.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:38:57.583] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:38:57.732] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:38:57.737] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:38:57.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:38:57.746] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:38:57.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:38:57.755] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:38:57.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:38:57.763] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:38:57.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:38:57.771] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:38:57.774] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:38:57.778] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:38:57.782] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:38:57.786] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:38:57.790] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:38:57.794] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:38:57.798] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:38:57.802] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:38:57.816] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:38:57.821] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:38:57.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:38:57.848] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:38:57.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:38:57.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:38:57.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:38:57.902] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:38:57.906] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:38:57.910] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:38:57.915] checking whether the C compiler still works... yes [11:38:57.960] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:38:58.003] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:38:58.003] checking pkg-config is at least version 0.9.0... yes [11:38:58.017] checking whether to build with ICU support... no [11:38:58.017] checking whether to build with Tcl... no [11:38:58.017] checking whether to build Perl modules... no [11:38:58.017] checking whether to build Python modules... no [11:38:58.017] checking whether to build with GSSAPI support... no [11:38:58.018] checking whether to build with PAM support... no [11:38:58.018] checking whether to build with BSD Authentication support... no [11:38:58.018] checking whether to build with LDAP support... no [11:38:58.018] checking whether to build with Bonjour support... no [11:38:58.018] checking whether to build with SELinux support... no [11:38:58.018] checking whether to build with systemd support... no [11:38:58.018] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:38:58.019] checking whether to build with XML support... no [11:38:58.019] checking whether to build with LZ4 support... no [11:38:58.019] checking whether to build with ZSTD support... no [11:38:58.019] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:38:58.020] checking whether it is possible to strip libraries... yes [11:38:58.029] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:38:58.029] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:38:58.029] checking for a BSD-compatible install... /usr/bin/install -c [11:38:58.035] checking for tar... /usr/bin/tar [11:38:58.035] checking whether ln -s works... yes [11:38:58.035] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:38:58.036] checking for bison... /usr/bin/bison [11:38:58.038] configure: using bison (GNU Bison) 3.7.5 [11:38:58.039] checking for flex... /usr/bin/flex [11:38:58.047] configure: using flex 2.6.4 [11:38:58.047] checking for perl... /usr/bin/perl [11:38:58.049] configure: using perl 5.32.1 [11:38:58.050] checking for zic... /usr/sbin/zic [11:38:58.051] checking for a sed that does not truncate output... /usr/bin/sed [11:38:58.054] checking for grep that handles long lines and -e... /usr/bin/grep [11:38:58.055] checking for egrep... /usr/bin/grep -E [11:38:58.056] checking for ANSI C header files... yes [11:38:58.089] checking for sys/types.h... yes [11:38:58.101] checking for sys/stat.h... yes [11:38:58.111] checking for stdlib.h... yes [11:38:58.120] checking for string.h... yes [11:38:58.130] checking for memory.h... yes [11:38:58.140] checking for strings.h... yes [11:38:58.149] checking for inttypes.h... yes [11:38:58.158] checking for stdint.h... yes [11:38:58.167] checking for unistd.h... yes [11:38:58.177] checking for main in -lm... yes [11:38:58.207] checking for library containing setproctitle... no [11:38:58.266] checking for library containing dlsym... no [11:38:58.328] checking for library containing socket... -lws2_32 [11:38:58.423] checking for library containing getopt_long... none required [11:38:58.461] checking for library containing shm_open... no [11:38:58.525] checking for library containing shm_unlink... no [11:38:58.589] checking for library containing clock_gettime... no [11:38:58.651] checking for library containing shmget... no [11:38:58.711] checking for library containing backtrace_symbols... no [11:38:58.775] checking for library containing pthread_barrier_wait... -lpthread [11:38:58.840] checking for inflate in -lz... yes [11:38:58.873] checking for stdbool.h that conforms to C99... yes [11:38:58.881] checking for _Bool... yes [11:38:58.934] checking atomic.h usability... no [11:38:58.973] checking atomic.h presence... no [11:38:58.985] checking for atomic.h... no [11:38:58.987] checking copyfile.h usability... no [11:38:59.025] checking copyfile.h presence... no [11:38:59.037] checking for copyfile.h... no [11:38:59.039] checking execinfo.h usability... no [11:38:59.077] checking execinfo.h presence... no [11:38:59.090] checking for execinfo.h... no [11:38:59.092] checking getopt.h usability... yes [11:38:59.097] checking getopt.h presence... yes [11:38:59.108] checking for getopt.h... yes [11:38:59.112] checking ifaddrs.h usability... no [11:38:59.152] checking ifaddrs.h presence... no [11:38:59.164] checking for ifaddrs.h... no [11:38:59.166] checking langinfo.h usability... no [11:38:59.206] checking langinfo.h presence... no [11:38:59.218] checking for langinfo.h... no [11:38:59.221] checking mbarrier.h usability... no [11:38:59.260] checking mbarrier.h presence... no [11:38:59.272] checking for mbarrier.h... no [11:38:59.275] checking sys/epoll.h usability... no [11:38:59.317] checking sys/epoll.h presence... no [11:38:59.331] checking for sys/epoll.h... no [11:38:59.334] checking sys/event.h usability... no [11:38:59.377] checking sys/event.h presence... no [11:38:59.389] checking for sys/event.h... no [11:38:59.391] checking sys/personality.h usability... no [11:38:59.431] checking sys/personality.h presence... no [11:38:59.443] checking for sys/personality.h... no [11:38:59.445] checking sys/prctl.h usability... no [11:38:59.487] checking sys/prctl.h presence... no [11:38:59.502] checking for sys/prctl.h... no [11:38:59.504] checking sys/procctl.h usability... no [11:38:59.547] checking sys/procctl.h presence... no [11:38:59.562] checking for sys/procctl.h... no [11:38:59.565] checking sys/signalfd.h usability... no [11:38:59.608] checking sys/signalfd.h presence... no [11:38:59.625] checking for sys/signalfd.h... no [11:38:59.628] checking sys/ucred.h usability... no [11:38:59.671] checking sys/ucred.h presence... no [11:38:59.685] checking for sys/ucred.h... no [11:38:59.687] checking termios.h usability... no [11:38:59.728] checking termios.h presence... no [11:38:59.741] checking for termios.h... no [11:38:59.744] checking ucred.h usability... no [11:38:59.785] checking ucred.h presence... no [11:38:59.798] checking for ucred.h... no [11:38:59.800] checking zlib.h usability... yes [11:38:59.808] checking zlib.h presence... yes [11:38:59.822] checking for zlib.h... yes [11:38:59.822] checking for lz4... /usr/bin/lz4 [11:38:59.822] checking for zstd... /usr/bin/zstd [11:38:59.823] checking for openssl... /usr/bin/openssl [11:38:59.826] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [11:38:59.826] checking crtdefs.h usability... yes [11:38:59.832] checking crtdefs.h presence... yes [11:38:59.843] checking for crtdefs.h... yes [11:38:59.844] checking whether byte ordering is bigendian... no [11:38:59.895] checking for inline... inline [11:38:59.900] checking for printf format archetype... gnu_printf [11:38:59.906] checking for _Static_assert... yes [11:38:59.938] checking for typeof... typeof [11:38:59.943] checking for __builtin_types_compatible_p... yes [11:38:59.951] checking for __builtin_constant_p... yes [11:38:59.958] checking for __builtin_unreachable... yes [11:38:59.989] checking for computed goto support... yes [11:38:59.994] checking for struct tm.tm_zone... no [11:39:00.049] checking for union semun... no [11:39:00.074] checking for socklen_t... yes [11:39:00.981] checking for struct sockaddr.sa_len... no [11:39:02.532] checking for locale_t... no [11:39:02.576] checking for C/C++ restrict keyword... __restrict [11:39:02.585] checking for struct option... yes [11:39:02.613] checking whether assembler supports x86_64 popcntq... yes [11:39:02.617] checking size of off_t... 4 [11:39:02.765] 0 [11:39:02.765] checking size of bool... 1 [11:39:02.794] checking for int timezone... yes [11:39:02.832] checking for wcstombs_l declaration... no [11:39:02.889] checking for backtrace_symbols... no [11:39:02.924] checking for copyfile... no [11:39:02.961] checking for copy_file_range... no [11:39:02.997] checking for getifaddrs... no [11:39:03.034] checking for getpeerucred... no [11:39:03.069] checking for inet_pton... yes [11:39:03.105] checking for kqueue... no [11:39:03.141] checking for mbstowcs_l... no [11:39:03.177] checking for memset_s... no [11:39:03.213] checking for posix_fallocate... no [11:39:03.249] checking for ppoll... no [11:39:03.285] checking for pthread_is_threaded_np... no [11:39:03.322] checking for setproctitle... no [11:39:03.358] checking for setproctitle_fast... no [11:39:03.394] checking for strchrnul... no [11:39:03.430] checking for strsignal... no [11:39:03.466] checking for syncfs... no [11:39:03.501] checking for sync_file_range... no [11:39:03.536] checking for uselocale... no [11:39:03.570] checking for wcstombs_l... no [11:39:03.603] checking for __builtin_bswap16... yes [11:39:03.640] checking for __builtin_bswap32... yes [11:39:03.675] checking for __builtin_bswap64... yes [11:39:03.711] checking for __builtin_clz... yes [11:39:03.746] checking for __builtin_ctz... yes [11:39:03.780] checking for __builtin_popcount... yes [11:39:03.815] checking for __builtin_frame_address... yes [11:39:03.849] checking for _LARGEFILE_SOURCE value needed for large files... no [11:39:03.891] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:39:03.913] checking for posix_fadvise... no [11:39:03.950] checking whether posix_fadvise is declared... no [11:39:03.982] checking whether fdatasync is declared... no [11:39:04.016] checking whether strlcat is declared... no [11:39:04.064] checking whether strlcpy is declared... no [11:39:04.114] checking whether strnlen is declared... yes [11:39:04.124] checking whether preadv is declared... no [11:39:04.150] checking whether pwritev is declared... no [11:39:04.174] checking whether F_FULLFSYNC is declared... no [11:39:04.203] checking for explicit_bzero... no [11:39:04.237] checking for getopt... yes [11:39:04.269] checking for getpeereid... no [11:39:04.304] checking for inet_aton... no [11:39:04.339] checking for mkdtemp... no [11:39:04.374] checking for strlcat... no [11:39:04.407] checking for strlcpy... no [11:39:04.440] checking for strnlen... yes [11:39:04.477] checking for pthread_barrier_wait... yes [11:39:04.510] configure: On mingw32 we will use our strtof wrapper. [11:39:04.510] checking for getopt_long... yes [11:39:04.545] checking for _configthreadlocale... yes [11:39:04.578] checking for syslog... no [11:39:04.613] checking for opterr... yes [11:39:04.651] checking for optreset... no [11:39:04.689] checking test program... cross-compiling [11:39:04.689] checking whether long int is 64 bits... no [11:39:04.712] checking whether long long int is 64 bits... yes [11:39:04.719] checking for __builtin_mul_overflow... yes [11:39:04.753] checking size of void *... 8 [11:39:04.942] checking size of size_t... 8 [11:39:05.111] checking size of long... 4 [11:39:05.263] checking alignment of short... 2 [11:39:05.368] checking alignment of int... 4 [11:39:05.523] checking alignment of long... 4 [11:39:05.671] checking alignment of long long int... 8 [11:39:05.857] checking alignment of double... 8 [11:39:06.056] checking for int8... no [11:39:06.086] checking for uint8... no [11:39:06.118] checking for int64... no [11:39:06.153] checking for uint64... no [11:39:06.185] checking for __int128... yes [11:39:06.222] checking for __int128 alignment bug... assuming ok [11:39:06.222] checking alignment of PG_INT128_TYPE... 16 [11:39:06.471] checking for builtin __sync char locking functions... yes [11:39:06.504] checking for builtin __sync int32 locking functions... yes [11:39:06.537] checking for builtin __sync int32 atomic operations... yes [11:39:06.569] checking for builtin __sync int64 atomic operations... yes [11:39:06.599] checking for builtin __atomic int32 atomic operations... yes [11:39:06.632] checking for builtin __atomic int64 atomic operations... yes [11:39:06.663] checking for __get_cpuid... yes [11:39:06.699] checking for __cpuid... no [11:39:06.934] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:39:06.968] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:39:07.036] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:39:07.052] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:39:07.066] 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 [11:39:07.106] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:39:07.107] checking which random number source to use... Windows native [11:39:07.108] checking for xmllint... /usr/bin/xmllint [11:39:07.108] checking for xsltproc... /usr/bin/xsltproc [11:39:07.109] checking for fop... /usr/bin/fop [11:39:07.109] checking for dbtoepub... no [11:39:07.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:39:07.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:39:07.117] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [11:39:07.117] 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 [11:39:07.117] configure: using CPPFLAGS= -I./src/include/port/win32 [11:39:07.117] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:39:07.181] configure: creating ./config.status [11:39:07.232] config.status: creating GNUmakefile [11:39:07.239] config.status: creating src/Makefile.global [11:39:07.248] config.status: creating src/include/pg_config.h [11:39:07.256] config.status: creating src/include/pg_config_ext.h [11:39:07.263] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:39:07.272] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:39:07.277] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:39:07.281] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:39:07.285] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:39:07.290] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:39:07.292] config.status: executing check_win32_symlinks commands [11:39:07.318] [11:39:07.318] real 0m10.424s [11:39:07.318] user 0m7.466s [11:39:07.318] sys 0m2.609s [11:39:07.318] make -s -j${BUILD_JOBS} clean [11:39:07.696] time make -s -j${BUILD_JOBS} world-bin [11:40:15.927] command.c: In function ‘exec_command’: [11:40:15.927] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [11:40:15.927] 312 | curcmd = cmd; [11:40:15.927] | ^ [11:40:15.927] cc1: all warnings being treated as errors [11:40:15.928] make[3]: *** [: command.o] Error 1 [11:40:15.928] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [11:40:15.928] make[2]: *** Waiting for unfinished jobs.... [11:40:16.578] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [11:40:16.579] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:40:16.579] [11:40:16.579] real 1m8.883s [11:40:16.579] user 3m42.543s [11:40:16.579] sys 0m28.760s [11:40:16.579] [11:40:16.579] Exit status: 2