[17:43:06.402] time ./configure \ [17:43:06.402] --host=x86_64-w64-mingw32 \ [17:43:06.402] --enable-cassert \ [17:43:06.402] --without-icu \ [17:43:06.402] CC="ccache x86_64-w64-mingw32-gcc" \ [17:43:06.402] CXX="ccache x86_64-w64-mingw32-g++" [17:43:06.514] checking build system type... x86_64-pc-linux-gnu [17:43:06.714] checking host system type... x86_64-w64-mingw32 [17:43:06.719] checking which template to use... win32 [17:43:06.720] checking whether NLS is wanted... no [17:43:06.720] checking for default port number... 5432 [17:43:06.726] checking for block size... 8kB [17:43:06.727] checking for segment size... 1GB [17:43:06.729] checking for WAL block size... 8kB [17:43:06.731] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:43:06.764] checking whether the C compiler works... yes [17:43:06.899] checking for C compiler default output file name... a.exe [17:43:06.900] checking for suffix of executables... .exe [17:43:06.940] checking whether we are cross compiling... yes [17:43:07.015] checking for suffix of object files... o [17:43:07.032] checking whether we are using the GNU C compiler... yes [17:43:07.039] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:43:07.045] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:43:07.126] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:43:07.188] checking whether we are using the GNU C++ compiler... yes [17:43:07.196] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:43:07.461] checking for gawk... no [17:43:07.461] checking for mawk... mawk [17:43:07.464] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:43:07.495] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:43:07.527] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:43:07.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:43:07.618] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:43:07.625] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:43:07.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:43:07.673] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:43:07.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:43:07.725] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:43:07.741] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:43:07.772] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:43:07.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:43:07.798] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:43:07.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:43:07.838] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:43:07.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:43:07.907] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:43:07.923] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:43:07.955] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:43:07.971] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:43:08.007] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:43:08.041] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:43:08.065] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:43:08.081] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:43:08.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:43:08.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:43:08.166] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:43:08.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:43:08.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:43:08.266] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:43:08.273] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:43:08.281] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:43:08.314] checking whether the C compiler still works... yes [17:43:08.361] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:43:08.433] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:43:08.433] checking pkg-config is at least version 0.9.0... yes [17:43:08.451] checking whether to build with ICU support... no [17:43:08.452] checking whether to build with Tcl... no [17:43:08.452] checking whether to build Perl modules... no [17:43:08.452] checking whether to build Python modules... no [17:43:08.452] checking whether to build with GSSAPI support... no [17:43:08.453] checking whether to build with PAM support... no [17:43:08.453] checking whether to build with BSD Authentication support... no [17:43:08.453] checking whether to build with LDAP support... no [17:43:08.453] checking whether to build with Bonjour support... no [17:43:08.454] checking whether to build with SELinux support... no [17:43:08.454] checking whether to build with systemd support... no [17:43:08.454] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:43:08.454] checking whether to build with XML support... no [17:43:08.454] checking whether to build with LZ4 support... no [17:43:08.454] checking whether to build with ZSTD support... no [17:43:08.455] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:43:08.455] checking whether it is possible to strip libraries... yes [17:43:08.466] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:43:08.467] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:43:08.467] checking for a BSD-compatible install... /usr/bin/install -c [17:43:08.477] checking for tar... /usr/bin/tar [17:43:08.477] checking whether ln -s works... yes [17:43:08.477] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:43:08.479] checking for bison... /usr/bin/bison [17:43:08.482] configure: using bison (GNU Bison) 3.8.2 [17:43:08.485] checking for flex... /usr/bin/flex [17:43:08.498] configure: using flex 2.6.4 [17:43:08.498] checking for perl... /usr/bin/perl [17:43:08.501] configure: using perl 5.36.0 [17:43:08.503] checking for zic... /usr/sbin/zic [17:43:08.503] checking for a sed that does not truncate output... /usr/bin/sed [17:43:08.509] checking for grep that handles long lines and -e... /usr/bin/grep [17:43:08.511] checking for egrep... /usr/bin/grep -E [17:43:08.513] checking for ANSI C header files... yes [17:43:08.604] checking for sys/types.h... yes [17:43:08.622] checking for sys/stat.h... yes [17:43:08.683] checking for stdlib.h... yes [17:43:08.744] checking for string.h... yes [17:43:08.759] checking for memory.h... yes [17:43:08.794] checking for strings.h... yes [17:43:08.854] checking for inttypes.h... yes [17:43:08.892] checking for stdint.h... yes [17:43:08.953] checking for unistd.h... yes [17:43:08.992] checking for main in -lm... yes [17:43:09.041] checking for library containing setproctitle... no [17:43:09.132] checking for library containing dlsym... no [17:43:09.221] checking for library containing socket... -lws2_32 [17:43:09.350] checking for library containing getopt_long... none required [17:43:09.397] checking for library containing shm_open... no [17:43:09.484] checking for library containing shm_unlink... no [17:43:09.573] checking for library containing clock_gettime... no [17:43:09.660] checking for library containing shmget... no [17:43:09.746] checking for library containing backtrace_symbols... no [17:43:09.834] checking for library containing pthread_barrier_wait... -lpthread [17:43:09.923] checking for inflate in -lz... yes [17:43:09.969] checking for stdbool.h that conforms to C99... yes [17:43:10.012] checking for _Bool... yes [17:43:10.131] checking atomic.h usability... no [17:43:10.184] checking atomic.h presence... no [17:43:10.203] checking for atomic.h... no [17:43:10.206] checking copyfile.h usability... no [17:43:10.260] checking copyfile.h presence... no [17:43:10.279] checking for copyfile.h... no [17:43:10.282] checking execinfo.h usability... no [17:43:10.338] checking execinfo.h presence... no [17:43:10.357] checking for execinfo.h... no [17:43:10.360] checking getopt.h usability... yes [17:43:10.418] checking getopt.h presence... yes [17:43:10.434] checking for getopt.h... yes [17:43:10.442] checking ifaddrs.h usability... no [17:43:10.504] checking ifaddrs.h presence... no [17:43:10.526] checking for ifaddrs.h... no [17:43:10.530] checking mbarrier.h usability... no [17:43:10.591] checking mbarrier.h presence... no [17:43:10.612] checking for mbarrier.h... no [17:43:10.616] checking sys/epoll.h usability... no [17:43:10.675] checking sys/epoll.h presence... no [17:43:10.700] checking for sys/epoll.h... no [17:43:10.704] checking sys/event.h usability... no [17:43:10.764] checking sys/event.h presence... no [17:43:10.786] checking for sys/event.h... no [17:43:10.790] checking sys/personality.h usability... no [17:43:10.846] checking sys/personality.h presence... no [17:43:10.864] checking for sys/personality.h... no [17:43:10.867] checking sys/prctl.h usability... no [17:43:10.922] checking sys/prctl.h presence... no [17:43:10.942] checking for sys/prctl.h... no [17:43:10.945] checking sys/procctl.h usability... no [17:43:11.001] checking sys/procctl.h presence... no [17:43:11.021] checking for sys/procctl.h... no [17:43:11.025] checking sys/signalfd.h usability... no [17:43:11.079] checking sys/signalfd.h presence... no [17:43:11.098] checking for sys/signalfd.h... no [17:43:11.101] checking sys/ucred.h usability... no [17:43:11.156] checking sys/ucred.h presence... no [17:43:11.174] checking for sys/ucred.h... no [17:43:11.178] checking termios.h usability... no [17:43:11.235] checking termios.h presence... no [17:43:11.254] checking for termios.h... no [17:43:11.258] checking ucred.h usability... no [17:43:11.313] checking ucred.h presence... no [17:43:11.332] checking for ucred.h... no [17:43:11.335] checking xlocale.h usability... no [17:43:11.391] checking xlocale.h presence... no [17:43:11.412] checking for xlocale.h... no [17:43:11.415] checking zlib.h usability... yes [17:43:11.474] checking zlib.h presence... yes [17:43:11.494] checking for zlib.h... yes [17:43:11.494] checking for lz4... /usr/bin/lz4 [17:43:11.494] checking for zstd... /usr/bin/zstd [17:43:11.494] checking for openssl... /usr/bin/openssl [17:43:11.499] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:43:11.500] checking crtdefs.h usability... yes [17:43:11.554] checking crtdefs.h presence... yes [17:43:11.569] checking for crtdefs.h... yes [17:43:11.570] checking whether byte ordering is bigendian... no [17:43:11.676] checking for inline... inline [17:43:11.705] checking for printf format archetype... gnu_printf [17:43:11.713] checking for _Static_assert... yes [17:43:11.754] checking for typeof... typeof [17:43:11.789] checking for __builtin_types_compatible_p... yes [17:43:11.810] checking for __builtin_constant_p... yes [17:43:11.831] checking for __builtin_unreachable... yes [17:43:11.872] checking for computed goto support... yes [17:43:11.908] checking for struct tm.tm_zone... no [17:43:11.988] checking for union semun... no [17:43:12.024] checking for socklen_t... yes [17:43:14.150] checking for struct sockaddr.sa_len... no [17:43:16.146] checking for C/C++ restrict keyword... __restrict [17:43:16.159] checking for struct option... yes [17:43:16.214] checking whether assembler supports x86_64 popcntq... yes [17:43:16.222] checking size of off_t... 4 [17:43:16.569] 0 [17:43:16.570] checking size of bool... 1 [17:43:16.665] checking for int timezone... yes [17:43:16.716] checking for backtrace_symbols... no [17:43:16.763] checking for copyfile... no [17:43:16.811] checking for copy_file_range... no [17:43:16.858] checking for getifaddrs... no [17:43:16.907] checking for getpeerucred... no [17:43:16.956] checking for inet_pton... yes [17:43:17.008] checking for kqueue... no [17:43:17.059] checking for mbstowcs_l... no [17:43:17.110] checking for memset_s... no [17:43:17.161] checking for posix_fallocate... no [17:43:17.211] checking for ppoll... no [17:43:17.263] checking for pthread_is_threaded_np... no [17:43:17.313] checking for setproctitle... no [17:43:17.363] checking for setproctitle_fast... no [17:43:17.414] checking for strchrnul... no [17:43:17.464] checking for strsignal... no [17:43:17.515] checking for syncfs... no [17:43:17.565] checking for sync_file_range... no [17:43:17.615] checking for uselocale... no [17:43:17.664] checking for wcstombs_l... no [17:43:17.714] checking for __builtin_bswap16... yes [17:43:17.763] checking for __builtin_bswap32... yes [17:43:17.813] checking for __builtin_bswap64... yes [17:43:17.860] checking for __builtin_clz... yes [17:43:17.909] checking for __builtin_ctz... yes [17:43:17.957] checking for __builtin_popcount... yes [17:43:18.005] checking for __builtin_frame_address... yes [17:43:18.054] checking for _LARGEFILE_SOURCE value needed for large files... no [17:43:18.106] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:43:18.138] checking for posix_fadvise... no [17:43:18.189] checking whether posix_fadvise is declared... no [17:43:18.234] checking whether fdatasync is declared... no [17:43:18.278] checking whether strlcat is declared... no [17:43:18.342] checking whether strlcpy is declared... no [17:43:18.404] checking whether strnlen is declared... yes [17:43:18.469] checking whether strsep is declared... no [17:43:18.531] checking whether preadv is declared... no [17:43:18.567] checking whether pwritev is declared... no [17:43:18.603] checking whether F_FULLFSYNC is declared... no [17:43:18.643] checking for explicit_bzero... no [17:43:18.691] checking for getopt... yes [17:43:18.734] checking for getpeereid... no [17:43:18.780] checking for inet_aton... no [17:43:18.827] checking for mkdtemp... no [17:43:18.874] checking for strlcat... no [17:43:18.921] checking for strlcpy... no [17:43:18.968] checking for strnlen... yes [17:43:19.013] checking for strsep... no [17:43:19.059] checking for pthread_barrier_wait... yes [17:43:19.100] configure: On mingw32 we will use our strtof wrapper. [17:43:19.100] checking for getopt_long... yes [17:43:19.142] checking for _configthreadlocale... yes [17:43:19.187] checking for syslog... no [17:43:19.233] checking for opterr... yes [17:43:19.278] checking for optreset... no [17:43:19.326] checking test program... cross-compiling [17:43:19.326] checking whether long int is 64 bits... no [17:43:19.354] checking whether long long int is 64 bits... yes [17:43:19.388] checking for __builtin_mul_overflow... yes [17:43:19.429] checking size of void *... 8 [17:43:19.821] checking size of size_t... 8 [17:43:20.241] checking size of long... 4 [17:43:20.564] checking alignment of short... 2 [17:43:20.831] checking alignment of int... 4 [17:43:21.226] checking alignment of long... 4 [17:43:21.565] checking alignment of long long int... 8 [17:43:22.016] checking alignment of double... 8 [17:43:22.523] checking for int8... no [17:43:22.565] checking for uint8... no [17:43:22.609] checking for int64... no [17:43:22.651] checking for uint64... no [17:43:22.693] checking for __int128... yes [17:43:22.741] checking for __int128 alignment bug... assuming ok [17:43:22.741] checking alignment of PG_INT128_TYPE... 16 [17:43:23.308] checking for builtin __sync char locking functions... yes [17:43:23.350] checking for builtin __sync int32 locking functions... yes [17:43:23.392] checking for builtin __sync int32 atomic operations... yes [17:43:23.434] checking for builtin __sync int64 atomic operations... yes [17:43:23.477] checking for builtin __atomic int32 atomic operations... yes [17:43:23.522] checking for builtin __atomic int64 atomic operations... yes [17:43:23.564] checking for __get_cpuid... yes [17:43:23.611] checking for __get_cpuid_count... yes [17:43:23.656] checking for __cpuid... no [17:43:24.051] checking for __cpuidex... no [17:43:24.479] checking for _xgetbv with CFLAGS=... no [17:43:24.859] checking for _xgetbv with CFLAGS=-mxsave... yes [17:43:25.259] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:43:25.638] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:43:25.974] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:43:26.022] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:43:26.112] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:43:26.136] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:43:26.156] 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:43:26.213] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:43:26.214] checking which random number source to use... Windows native [17:43:26.216] checking for xmllint... /usr/bin/xmllint [17:43:26.216] checking for xsltproc... /usr/bin/xsltproc [17:43:26.216] checking for fop... /usr/bin/fop [17:43:26.216] checking for dbtoepub... no [17:43:26.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:43:26.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:43:26.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:43:26.228] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:43:26.228] 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:43:26.228] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:43:26.228] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:43:26.314] configure: creating ./config.status [17:43:26.397] config.status: creating GNUmakefile [17:43:26.410] config.status: creating src/Makefile.global [17:43:26.427] config.status: creating src/include/pg_config.h [17:43:26.440] config.status: creating src/include/pg_config_ext.h [17:43:26.453] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:43:26.469] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:43:26.476] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:43:26.483] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:43:26.491] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:43:26.499] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:43:26.502] config.status: executing check_win32_symlinks commands [17:43:26.538] [17:43:26.538] real 0m20.136s [17:43:26.538] user 0m13.277s [17:43:26.538] sys 0m6.475s [17:43:26.538] make -s -j${BUILD_JOBS} clean [17:43:27.060] time make -s -j${BUILD_JOBS} world-bin [17:46:41.726] elog.c: In function ‘EmitErrorReport’: [17:46:41.726] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [17:46:41.726] 1699 | char* str = debug_query_string; [17:46:41.726] | ^~~~~~~~~~~~~~~~~~ [17:46:41.726] cc1: all warnings being treated as errors [17:46:41.727] make[4]: *** [: elog.o] Error 1 [17:46:41.727] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [17:46:41.727] make[3]: *** Waiting for unfinished jobs.... [17:46:43.185] make[2]: *** [common.mk:37: utils-recursive] Error 2 [17:46:43.185] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:46:43.186] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:46:43.186] [17:46:43.186] real 3m16.126s [17:46:43.186] user 10m44.048s [17:46:43.186] sys 2m0.038s [17:46:43.186] [17:46:43.186] Exit status: 2