[19:06:14.528] time ./configure \ [19:06:14.528] --host=x86_64-w64-mingw32 \ [19:06:14.528] --enable-cassert \ [19:06:14.528] --without-icu \ [19:06:14.528] CC="ccache x86_64-w64-mingw32-gcc" \ [19:06:14.528] CXX="ccache x86_64-w64-mingw32-g++" [19:06:14.594] checking build system type... x86_64-pc-linux-gnu [19:06:14.766] checking host system type... x86_64-w64-mingw32 [19:06:14.769] checking which template to use... win32 [19:06:14.769] checking whether NLS is wanted... no [19:06:14.769] checking for default port number... 5432 [19:06:14.773] checking for block size... 8kB [19:06:14.774] checking for segment size... 1GB [19:06:14.775] checking for WAL block size... 8kB [19:06:14.776] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:06:14.795] checking whether the C compiler works... yes [19:06:14.930] checking for C compiler default output file name... a.exe [19:06:14.931] checking for suffix of executables... .exe [19:06:14.962] checking whether we are cross compiling... yes [19:06:15.021] checking for suffix of object files... o [19:06:15.027] checking whether we are using the GNU C compiler... yes [19:06:15.031] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:06:15.036] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:06:15.043] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:06:15.088] checking whether we are using the GNU C++ compiler... yes [19:06:15.093] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:06:15.136] checking for gawk... no [19:06:15.136] checking for mawk... mawk [19:06:15.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:06:15.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:06:15.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:06:15.174] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:06:15.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:06:15.338] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:06:15.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:06:15.345] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:06:15.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:06:15.352] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:06:15.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:06:15.359] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:06:15.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:06:15.367] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:06:15.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:06:15.374] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:06:15.377] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:06:15.381] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:06:15.384] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:06:15.388] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:06:15.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:06:15.395] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:06:15.407] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:06:15.411] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:06:15.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:06:15.436] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:06:15.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:06:15.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:06:15.465] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:06:15.484] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:06:15.488] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:06:15.491] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:06:15.496] checking whether the C compiler still works... yes [19:06:15.535] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:06:15.574] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:06:15.575] checking pkg-config is at least version 0.9.0... yes [19:06:15.589] checking whether to build with ICU support... no [19:06:15.589] checking whether to build with Tcl... no [19:06:15.589] checking whether to build Perl modules... no [19:06:15.589] checking whether to build Python modules... no [19:06:15.589] checking whether to build with GSSAPI support... no [19:06:15.590] checking whether to build with PAM support... no [19:06:15.590] checking whether to build with BSD Authentication support... no [19:06:15.590] checking whether to build with LDAP support... no [19:06:15.590] checking whether to build with Bonjour support... no [19:06:15.590] checking whether to build with SELinux support... no [19:06:15.590] checking whether to build with systemd support... no [19:06:15.590] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:06:15.590] checking whether to build with XML support... no [19:06:15.591] checking whether to build with LZ4 support... no [19:06:15.591] checking whether to build with ZSTD support... no [19:06:15.591] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:06:15.591] checking whether it is possible to strip libraries... yes [19:06:15.597] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:06:15.598] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:06:15.598] checking for a BSD-compatible install... /usr/bin/install -c [19:06:15.603] checking for tar... /usr/bin/tar [19:06:15.603] checking whether ln -s works... yes [19:06:15.603] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:06:15.604] checking for bison... /usr/bin/bison [19:06:15.605] configure: using bison (GNU Bison) 3.7.5 [19:06:15.607] checking for flex... /usr/bin/flex [19:06:15.614] configure: using flex 2.6.4 [19:06:15.614] checking for perl... /usr/bin/perl [19:06:15.616] configure: using perl 5.32.1 [19:06:15.617] checking for zic... /usr/sbin/zic [19:06:15.617] checking for a sed that does not truncate output... /usr/bin/sed [19:06:15.620] checking for grep that handles long lines and -e... /usr/bin/grep [19:06:15.621] checking for egrep... /usr/bin/grep -E [19:06:15.622] checking for ANSI C header files... yes [19:06:15.649] checking for sys/types.h... yes [19:06:15.658] checking for sys/stat.h... yes [19:06:15.667] checking for stdlib.h... yes [19:06:15.675] checking for string.h... yes [19:06:15.683] checking for memory.h... yes [19:06:15.691] checking for strings.h... yes [19:06:15.698] checking for inttypes.h... yes [19:06:15.707] checking for stdint.h... yes [19:06:15.714] checking for unistd.h... yes [19:06:15.724] checking for main in -lm... yes [19:06:15.751] checking for library containing setproctitle... no [19:06:15.802] checking for library containing dlsym... no [19:06:15.853] checking for library containing socket... -lws2_32 [19:06:15.932] checking for library containing getopt_long... none required [19:06:15.963] checking for library containing shm_open... no [19:06:16.015] checking for library containing shm_unlink... no [19:06:16.067] checking for library containing clock_gettime... no [19:06:16.118] checking for library containing shmget... no [19:06:16.170] checking for library containing backtrace_symbols... no [19:06:16.220] checking for library containing pthread_barrier_wait... -lpthread [19:06:16.276] checking for inflate in -lz... yes [19:06:16.309] checking for stdbool.h that conforms to C99... yes [19:06:16.317] checking for _Bool... yes [19:06:16.370] checking atomic.h usability... no [19:06:16.409] checking atomic.h presence... no [19:06:16.421] checking for atomic.h... no [19:06:16.423] checking copyfile.h usability... no [19:06:16.461] checking copyfile.h presence... no [19:06:16.472] checking for copyfile.h... no [19:06:16.474] checking execinfo.h usability... no [19:06:16.513] checking execinfo.h presence... no [19:06:16.524] checking for execinfo.h... no [19:06:16.526] checking getopt.h usability... yes [19:06:16.531] checking getopt.h presence... yes [19:06:16.539] checking for getopt.h... yes [19:06:16.544] checking ifaddrs.h usability... no [19:06:16.580] checking ifaddrs.h presence... no [19:06:16.591] checking for ifaddrs.h... no [19:06:16.593] checking langinfo.h usability... no [19:06:16.629] checking langinfo.h presence... no [19:06:16.640] checking for langinfo.h... no [19:06:16.642] checking mbarrier.h usability... no [19:06:16.679] checking mbarrier.h presence... no [19:06:16.690] checking for mbarrier.h... no [19:06:16.692] checking sys/epoll.h usability... no [19:06:16.728] checking sys/epoll.h presence... no [19:06:16.740] checking for sys/epoll.h... no [19:06:16.742] checking sys/event.h usability... no [19:06:16.778] checking sys/event.h presence... no [19:06:16.789] checking for sys/event.h... no [19:06:16.791] checking sys/personality.h usability... no [19:06:16.827] checking sys/personality.h presence... no [19:06:16.837] checking for sys/personality.h... no [19:06:16.839] checking sys/prctl.h usability... no [19:06:16.874] checking sys/prctl.h presence... no [19:06:16.884] checking for sys/prctl.h... no [19:06:16.886] checking sys/procctl.h usability... no [19:06:16.920] checking sys/procctl.h presence... no [19:06:16.931] checking for sys/procctl.h... no [19:06:16.932] checking sys/signalfd.h usability... no [19:06:16.968] checking sys/signalfd.h presence... no [19:06:16.978] checking for sys/signalfd.h... no [19:06:16.980] checking sys/ucred.h usability... no [19:06:17.015] checking sys/ucred.h presence... no [19:06:17.025] checking for sys/ucred.h... no [19:06:17.026] checking termios.h usability... no [19:06:17.060] checking termios.h presence... no [19:06:17.070] checking for termios.h... no [19:06:17.072] checking ucred.h usability... no [19:06:17.108] checking ucred.h presence... no [19:06:17.118] checking for ucred.h... no [19:06:17.120] checking zlib.h usability... yes [19:06:17.127] checking zlib.h presence... yes [19:06:17.138] checking for zlib.h... yes [19:06:17.139] checking for lz4... /usr/bin/lz4 [19:06:17.139] checking for zstd... /usr/bin/zstd [19:06:17.139] checking for openssl... /usr/bin/openssl [19:06:17.142] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [19:06:17.142] checking crtdefs.h usability... yes [19:06:17.146] checking crtdefs.h presence... yes [19:06:17.154] checking for crtdefs.h... yes [19:06:17.155] checking whether byte ordering is bigendian... no [19:06:17.194] checking for inline... inline [19:06:17.198] checking for printf format archetype... gnu_printf [19:06:17.202] checking for _Static_assert... yes [19:06:17.228] checking for typeof... typeof [19:06:17.232] checking for __builtin_types_compatible_p... yes [19:06:17.238] checking for __builtin_constant_p... yes [19:06:17.243] checking for __builtin_unreachable... yes [19:06:17.270] checking for computed goto support... yes [19:06:17.273] checking for struct tm.tm_zone... no [19:06:17.318] checking for union semun... no [19:06:17.336] checking for socklen_t... yes [19:06:18.143] checking for struct sockaddr.sa_len... no [19:06:19.484] checking for locale_t... no [19:06:19.523] checking for C/C++ restrict keyword... __restrict [19:06:19.530] checking for struct option... yes [19:06:19.552] checking whether assembler supports x86_64 popcntq... yes [19:06:19.556] checking size of off_t... 4 [19:06:19.680] 0 [19:06:19.681] checking size of bool... 1 [19:06:19.705] checking for int timezone... yes [19:06:19.735] checking for wcstombs_l declaration... no [19:06:19.791] checking for backtrace_symbols... no [19:06:19.821] checking for copyfile... no [19:06:19.851] checking for getifaddrs... no [19:06:19.882] checking for getpeerucred... no [19:06:19.914] checking for inet_pton... yes [19:06:19.945] checking for kqueue... no [19:06:19.976] checking for mbstowcs_l... no [19:06:20.006] checking for memset_s... no [19:06:20.037] checking for posix_fallocate... no [19:06:20.068] checking for ppoll... no [19:06:20.098] checking for pthread_is_threaded_np... no [19:06:20.128] checking for setproctitle... no [19:06:20.157] checking for setproctitle_fast... no [19:06:20.186] checking for strchrnul... no [19:06:20.216] checking for strsignal... no [19:06:20.245] checking for syncfs... no [19:06:20.274] checking for sync_file_range... no [19:06:20.305] checking for uselocale... no [19:06:20.335] checking for wcstombs_l... no [19:06:20.363] checking for __builtin_bswap16... yes [19:06:20.393] checking for __builtin_bswap32... yes [19:06:20.422] checking for __builtin_bswap64... yes [19:06:20.451] checking for __builtin_clz... yes [19:06:20.480] checking for __builtin_ctz... yes [19:06:20.508] checking for __builtin_popcount... yes [19:06:20.537] checking for __builtin_frame_address... yes [19:06:20.566] checking for _LARGEFILE_SOURCE value needed for large files... no [19:06:20.602] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:06:20.618] checking for posix_fadvise... no [19:06:20.649] checking whether posix_fadvise is declared... no [19:06:20.675] checking whether fdatasync is declared... no [19:06:20.701] checking whether strlcat is declared... no [19:06:20.740] checking whether strlcpy is declared... no [19:06:20.779] checking whether strnlen is declared... yes [19:06:20.786] checking whether preadv is declared... no [19:06:20.805] checking whether pwritev is declared... no [19:06:20.824] checking whether F_FULLFSYNC is declared... no [19:06:20.848] checking for explicit_bzero... no [19:06:20.879] checking for getopt... yes [19:06:20.908] checking for getpeereid... no [19:06:20.940] checking for inet_aton... no [19:06:20.970] checking for mkdtemp... no [19:06:21.001] checking for strlcat... no [19:06:21.033] checking for strlcpy... no [19:06:21.066] checking for strnlen... yes [19:06:21.098] checking for pthread_barrier_wait... yes [19:06:21.128] configure: On mingw32 we will use our strtof wrapper. [19:06:21.128] checking for getopt_long... yes [19:06:21.157] checking for _configthreadlocale... yes [19:06:21.186] checking for syslog... no [19:06:21.219] checking for opterr... yes [19:06:21.251] checking for optreset... no [19:06:21.284] checking test program... cross-compiling [19:06:21.284] checking whether long int is 64 bits... no [19:06:21.302] checking whether long long int is 64 bits... yes [19:06:21.307] checking for __builtin_mul_overflow... yes [19:06:21.335] checking size of void *... 8 [19:06:21.512] checking size of size_t... 8 [19:06:21.690] checking size of long... 4 [19:06:21.815] checking alignment of short... 2 [19:06:21.900] checking alignment of int... 4 [19:06:22.028] checking alignment of long... 4 [19:06:22.156] checking alignment of long long int... 8 [19:06:22.327] checking alignment of double... 8 [19:06:22.494] checking for int8... no [19:06:22.519] checking for uint8... no [19:06:22.544] checking for int64... no [19:06:22.569] checking for uint64... no [19:06:22.593] checking for __int128... yes [19:06:22.623] checking for __int128 alignment bug... assuming ok [19:06:22.623] checking alignment of PG_INT128_TYPE... 16 [19:06:22.825] checking for builtin __sync char locking functions... yes [19:06:22.852] checking for builtin __sync int32 locking functions... yes [19:06:22.878] checking for builtin __sync int32 atomic operations... yes [19:06:22.905] checking for builtin __sync int64 atomic operations... yes [19:06:22.931] checking for builtin __atomic int32 atomic operations... yes [19:06:22.957] checking for builtin __atomic int64 atomic operations... yes [19:06:22.985] checking for __get_cpuid... yes [19:06:23.016] checking for __cpuid... no [19:06:23.247] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:06:23.276] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:06:23.332] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:06:23.344] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:06:23.354] 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 [19:06:23.388] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:06:23.388] checking which random number source to use... Windows native [19:06:23.390] checking for xmllint... /usr/bin/xmllint [19:06:23.390] checking for xsltproc... /usr/bin/xsltproc [19:06:23.390] checking for fop... /usr/bin/fop [19:06:23.390] checking for dbtoepub... no [19:06:23.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:06:23.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:06:23.398] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [19:06:23.398] 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 [19:06:23.398] configure: using CPPFLAGS= -I./src/include/port/win32 [19:06:23.398] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:06:23.457] configure: creating ./config.status [19:06:23.509] config.status: creating GNUmakefile [19:06:23.516] config.status: creating src/Makefile.global [19:06:23.526] config.status: creating src/include/pg_config.h [19:06:23.534] config.status: creating src/include/pg_config_ext.h [19:06:23.542] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:06:23.551] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:06:23.555] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:06:23.560] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:06:23.565] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:06:23.569] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:06:23.571] config.status: executing check_win32_symlinks commands [19:06:23.594] [19:06:23.594] real 0m9.066s [19:06:23.594] user 0m6.909s [19:06:23.594] sys 0m1.759s [19:06:23.594] make -s -j${BUILD_JOBS} clean [19:06:23.932] time make -s -j${BUILD_JOBS} world-bin [19:06:33.027] command.c: In function ‘exec_command’: [19:06:33.027] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [19:06:33.027] 312 | curcmd = cmd; [19:06:33.027] | ^ [19:06:33.027] cc1: all warnings being treated as errors [19:06:33.028] make[3]: *** [: command.o] Error 1 [19:06:33.028] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [19:06:33.028] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [19:06:33.028] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:06:33.028] [19:06:33.028] real 0m9.097s [19:06:33.028] user 0m15.390s [19:06:33.028] sys 0m4.074s [19:06:33.029] [19:06:33.029] Exit status: 2