[17:18:15.662] time ./configure \ [17:18:15.662] --host=x86_64-w64-mingw32 \ [17:18:15.662] --enable-cassert \ [17:18:15.662] --without-icu \ [17:18:15.662] CC="ccache x86_64-w64-mingw32-gcc" \ [17:18:15.662] CXX="ccache x86_64-w64-mingw32-g++" [17:18:15.744] checking build system type... x86_64-pc-linux-gnu [17:18:15.937] checking host system type... x86_64-w64-mingw32 [17:18:15.941] checking which template to use... win32 [17:18:15.941] checking whether NLS is wanted... no [17:18:15.941] checking for default port number... 5432 [17:18:15.946] checking for block size... 8kB [17:18:15.947] checking for segment size... 1GB [17:18:15.949] checking for WAL block size... 8kB [17:18:15.950] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:18:15.974] checking whether the C compiler works... yes [17:18:16.117] checking for C compiler default output file name... a.exe [17:18:16.118] checking for suffix of executables... .exe [17:18:16.148] checking whether we are cross compiling... yes [17:18:16.214] checking for suffix of object files... o [17:18:16.220] checking whether we are using the GNU C compiler... yes [17:18:16.225] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:18:16.229] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:18:16.237] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:18:16.282] checking whether we are using the GNU C++ compiler... yes [17:18:16.287] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:18:16.334] checking for gawk... no [17:18:16.334] checking for mawk... mawk [17:18:16.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:18:16.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:18:16.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:18:16.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:18:16.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:18:16.553] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:18:16.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:18:16.562] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:18:16.567] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:18:16.571] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:18:16.576] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:18:16.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:18:16.586] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:18:16.590] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:18:16.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:18:16.599] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:18:16.605] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:18:16.610] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:18:16.615] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:18:16.620] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:18:16.625] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:18:16.630] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:18:16.645] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:18:16.650] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:18:16.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:18:16.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:18:16.704] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:18:16.709] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:18:16.714] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:18:16.735] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:18:16.740] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:18:16.745] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:18:16.750] checking whether the C compiler still works... yes [17:18:16.799] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:18:16.850] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:18:16.851] checking pkg-config is at least version 0.9.0... yes [17:18:16.864] checking whether to build with ICU support... no [17:18:16.864] checking whether to build with Tcl... no [17:18:16.864] checking whether to build Perl modules... no [17:18:16.864] checking whether to build Python modules... no [17:18:16.864] checking whether to build with GSSAPI support... no [17:18:16.865] checking whether to build with PAM support... no [17:18:16.866] checking whether to build with BSD Authentication support... no [17:18:16.866] checking whether to build with LDAP support... no [17:18:16.866] checking whether to build with Bonjour support... no [17:18:16.866] checking whether to build with SELinux support... no [17:18:16.866] checking whether to build with systemd support... no [17:18:16.866] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:18:16.866] checking whether to build with XML support... no [17:18:16.866] checking whether to build with LZ4 support... no [17:18:16.866] checking whether to build with ZSTD support... no [17:18:16.867] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:18:16.867] checking whether it is possible to strip libraries... yes [17:18:16.874] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:18:16.874] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:18:16.874] checking for a BSD-compatible install... /usr/bin/install -c [17:18:16.880] checking for tar... /usr/bin/tar [17:18:16.881] checking whether ln -s works... yes [17:18:16.881] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:18:16.882] checking for bison... /usr/bin/bison [17:18:16.884] configure: using bison (GNU Bison) 3.7.5 [17:18:16.886] checking for flex... /usr/bin/flex [17:18:16.896] configure: using flex 2.6.4 [17:18:16.896] checking for perl... /usr/bin/perl [17:18:16.898] configure: using perl 5.32.1 [17:18:16.900] checking for zic... /usr/sbin/zic [17:18:16.900] checking for a sed that does not truncate output... /usr/bin/sed [17:18:16.904] checking for grep that handles long lines and -e... /usr/bin/grep [17:18:16.905] checking for egrep... /usr/bin/grep -E [17:18:16.906] checking for ANSI C header files... yes [17:18:16.941] checking for sys/types.h... yes [17:18:16.953] checking for sys/stat.h... yes [17:18:16.963] checking for stdlib.h... yes [17:18:16.973] checking for string.h... yes [17:18:16.982] checking for memory.h... yes [17:18:16.993] checking for strings.h... yes [17:18:17.004] checking for inttypes.h... yes [17:18:17.015] checking for stdint.h... yes [17:18:17.024] checking for unistd.h... yes [17:18:17.034] checking for main in -lm... yes [17:18:17.064] checking for library containing setproctitle... no [17:18:17.125] checking for library containing dlsym... no [17:18:17.184] checking for library containing socket... -lws2_32 [17:18:17.278] checking for library containing getopt_long... none required [17:18:17.316] checking for library containing shm_open... no [17:18:17.375] checking for library containing shm_unlink... no [17:18:17.440] checking for library containing clock_gettime... no [17:18:17.504] checking for library containing shmget... no [17:18:17.568] checking for library containing backtrace_symbols... no [17:18:17.632] checking for library containing pthread_barrier_wait... -lpthread [17:18:17.701] checking for inflate in -lz... yes [17:18:17.737] checking for stdbool.h that conforms to C99... yes [17:18:17.745] checking for _Bool... yes [17:18:17.799] checking atomic.h usability... no [17:18:17.840] checking atomic.h presence... no [17:18:17.852] checking for atomic.h... no [17:18:17.854] checking copyfile.h usability... no [17:18:17.896] checking copyfile.h presence... no [17:18:17.909] checking for copyfile.h... no [17:18:17.911] checking execinfo.h usability... no [17:18:17.953] checking execinfo.h presence... no [17:18:17.967] checking for execinfo.h... no [17:18:17.969] checking getopt.h usability... yes [17:18:17.975] checking getopt.h presence... yes [17:18:17.986] checking for getopt.h... yes [17:18:17.991] checking ifaddrs.h usability... no [17:18:18.034] checking ifaddrs.h presence... no [17:18:18.047] checking for ifaddrs.h... no [17:18:18.050] checking langinfo.h usability... no [17:18:18.094] checking langinfo.h presence... no [17:18:18.108] checking for langinfo.h... no [17:18:18.111] checking mbarrier.h usability... no [17:18:18.152] checking mbarrier.h presence... no [17:18:18.165] checking for mbarrier.h... no [17:18:18.168] checking sys/epoll.h usability... no [17:18:18.206] checking sys/epoll.h presence... no [17:18:18.219] checking for sys/epoll.h... no [17:18:18.221] checking sys/event.h usability... no [17:18:18.262] checking sys/event.h presence... no [17:18:18.274] checking for sys/event.h... no [17:18:18.277] checking sys/personality.h usability... no [17:18:18.318] checking sys/personality.h presence... no [17:18:18.332] checking for sys/personality.h... no [17:18:18.335] checking sys/prctl.h usability... no [17:18:18.376] checking sys/prctl.h presence... no [17:18:18.390] checking for sys/prctl.h... no [17:18:18.393] checking sys/procctl.h usability... no [17:18:18.434] checking sys/procctl.h presence... no [17:18:18.448] checking for sys/procctl.h... no [17:18:18.450] checking sys/signalfd.h usability... no [17:18:18.493] checking sys/signalfd.h presence... no [17:18:18.507] checking for sys/signalfd.h... no [17:18:18.510] checking sys/ucred.h usability... no [17:18:18.552] checking sys/ucred.h presence... no [17:18:18.566] checking for sys/ucred.h... no [17:18:18.569] checking termios.h usability... no [17:18:18.611] checking termios.h presence... no [17:18:18.624] checking for termios.h... no [17:18:18.626] checking ucred.h usability... no [17:18:18.669] checking ucred.h presence... no [17:18:18.684] checking for ucred.h... no [17:18:18.686] checking zlib.h usability... yes [17:18:18.696] checking zlib.h presence... yes [17:18:18.711] checking for zlib.h... yes [17:18:18.711] checking for lz4... /usr/bin/lz4 [17:18:18.712] checking for zstd... /usr/bin/zstd [17:18:18.712] checking for openssl... /usr/bin/openssl [17:18:18.715] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [17:18:18.716] checking crtdefs.h usability... yes [17:18:18.721] checking crtdefs.h presence... yes [17:18:18.733] checking for crtdefs.h... yes [17:18:18.734] checking whether byte ordering is bigendian... no [17:18:18.789] checking for inline... inline [17:18:18.795] checking for printf format archetype... gnu_printf [17:18:18.800] checking for _Static_assert... yes [17:18:18.830] checking for typeof... typeof [17:18:18.836] checking for __builtin_types_compatible_p... yes [17:18:18.844] checking for __builtin_constant_p... yes [17:18:18.852] checking for __builtin_unreachable... yes [17:18:18.881] checking for computed goto support... yes [17:18:18.887] checking for struct tm.tm_zone... no [17:18:18.944] checking for union semun... no [17:18:18.967] checking for socklen_t... yes [17:18:19.835] checking for struct sockaddr.sa_len... no [17:18:21.285] checking for locale_t... no [17:18:21.334] checking for C/C++ restrict keyword... __restrict [17:18:21.342] checking for struct option... yes [17:18:21.372] checking whether assembler supports x86_64 popcntq... yes [17:18:21.377] checking size of off_t... 4 [17:18:21.520] 0 [17:18:21.521] checking size of bool... 1 [17:18:21.552] checking for int timezone... yes [17:18:21.589] checking for wcstombs_l declaration... no [17:18:21.650] checking for backtrace_symbols... no [17:18:21.689] checking for copyfile... no [17:18:21.726] checking for getifaddrs... no [17:18:21.762] checking for getpeerucred... no [17:18:21.798] checking for inet_pton... yes [17:18:21.836] checking for kqueue... no [17:18:21.872] checking for mbstowcs_l... no [17:18:21.908] checking for memset_s... no [17:18:21.944] checking for posix_fallocate... no [17:18:21.982] checking for ppoll... no [17:18:22.019] checking for pthread_is_threaded_np... no [17:18:22.056] checking for setproctitle... no [17:18:22.094] checking for setproctitle_fast... no [17:18:22.129] checking for strchrnul... no [17:18:22.167] checking for strsignal... no [17:18:22.204] checking for syncfs... no [17:18:22.241] checking for sync_file_range... no [17:18:22.277] checking for uselocale... no [17:18:22.314] checking for wcstombs_l... no [17:18:22.348] checking for __builtin_bswap16... yes [17:18:22.386] checking for __builtin_bswap32... yes [17:18:22.422] checking for __builtin_bswap64... yes [17:18:22.457] checking for __builtin_clz... yes [17:18:22.494] checking for __builtin_ctz... yes [17:18:22.530] checking for __builtin_popcount... yes [17:18:22.568] checking for __builtin_frame_address... yes [17:18:22.603] checking for _LARGEFILE_SOURCE value needed for large files... no [17:18:22.647] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:18:22.671] checking for posix_fadvise... no [17:18:22.708] checking whether posix_fadvise is declared... no [17:18:22.740] checking whether fdatasync is declared... no [17:18:22.774] checking whether strlcat is declared... no [17:18:22.820] checking whether strlcpy is declared... no [17:18:22.867] checking whether strnlen is declared... yes [17:18:22.877] checking whether preadv is declared... no [17:18:22.904] checking whether pwritev is declared... no [17:18:22.928] checking whether F_FULLFSYNC is declared... no [17:18:22.954] checking for explicit_bzero... no [17:18:22.986] checking for getopt... yes [17:18:23.020] checking for getpeereid... no [17:18:23.055] checking for inet_aton... no [17:18:23.088] checking for mkdtemp... no [17:18:23.120] checking for strlcat... no [17:18:23.154] checking for strlcpy... no [17:18:23.188] checking for strnlen... yes [17:18:23.224] checking for pthread_barrier_wait... yes [17:18:23.257] configure: On mingw32 we will use our strtof wrapper. [17:18:23.257] checking for getopt_long... yes [17:18:23.288] checking for _configthreadlocale... yes [17:18:23.320] checking for syslog... no [17:18:23.355] checking for opterr... yes [17:18:23.390] checking for optreset... no [17:18:23.429] checking test program... cross-compiling [17:18:23.429] checking whether long int is 64 bits... no [17:18:23.452] checking whether long long int is 64 bits... yes [17:18:23.459] checking for __builtin_mul_overflow... yes [17:18:23.494] checking size of void *... 8 [17:18:23.694] checking size of size_t... 8 [17:18:23.895] checking size of long... 4 [17:18:24.046] checking alignment of short... 2 [17:18:24.147] checking alignment of int... 4 [17:18:24.298] checking alignment of long... 4 [17:18:24.448] checking alignment of long long int... 8 [17:18:24.642] checking alignment of double... 8 [17:18:24.847] checking for int8... no [17:18:24.876] checking for uint8... no [17:18:24.905] checking for int64... no [17:18:24.935] checking for uint64... no [17:18:24.964] checking for __int128... yes [17:18:24.998] checking for __int128 alignment bug... assuming ok [17:18:24.998] checking alignment of PG_INT128_TYPE... 16 [17:18:25.239] checking for builtin __sync char locking functions... yes [17:18:25.270] checking for builtin __sync int32 locking functions... yes [17:18:25.303] checking for builtin __sync int32 atomic operations... yes [17:18:25.334] checking for builtin __sync int64 atomic operations... yes [17:18:25.366] checking for builtin __atomic int32 atomic operations... yes [17:18:25.398] checking for builtin __atomic int64 atomic operations... yes [17:18:25.429] checking for __get_cpuid... yes [17:18:25.463] checking for __cpuid... no [17:18:25.698] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:18:25.733] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:18:25.799] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:18:25.814] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:18:25.826] 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 [17:18:25.866] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:18:25.866] checking which random number source to use... Windows native [17:18:25.868] checking for xmllint... /usr/bin/xmllint [17:18:25.868] checking for xsltproc... /usr/bin/xsltproc [17:18:25.868] checking for fop... /usr/bin/fop [17:18:25.868] checking for dbtoepub... no [17:18:25.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:18:25.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:18:25.876] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [17:18:25.876] 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 [17:18:25.876] configure: using CPPFLAGS= -I./src/include/port/win32 [17:18:25.876] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:18:25.943] configure: creating ./config.status [17:18:25.998] config.status: creating GNUmakefile [17:18:26.006] config.status: creating src/Makefile.global [17:18:26.017] config.status: creating src/include/pg_config.h [17:18:26.026] config.status: creating src/include/pg_config_ext.h [17:18:26.034] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:18:26.046] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:18:26.051] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:18:26.056] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:18:26.062] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:18:26.067] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:18:26.069] config.status: executing check_win32_symlinks commands [17:18:26.096] [17:18:26.096] real 0m10.434s [17:18:26.096] user 0m7.498s [17:18:26.096] sys 0m2.560s [17:18:26.096] make -s -j${BUILD_JOBS} clean [17:18:26.471] time make -s -j${BUILD_JOBS} world-bin [17:18:36.003] command.c: In function ‘exec_command’: [17:18:36.003] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [17:18:36.003] 312 | curcmd = cmd; [17:18:36.003] | ^ [17:18:36.003] cc1: all warnings being treated as errors [17:18:36.005] make[3]: *** [: command.o] Error 1 [17:18:36.005] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [17:18:36.005] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [17:18:36.005] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:18:36.006] [17:18:36.006] real 0m9.535s [17:18:36.006] user 0m15.723s [17:18:36.006] sys 0m4.776s [17:18:36.006] [17:18:36.006] Exit status: 2