[14:24:50.277] time ./configure \ [14:24:50.277] --host=x86_64-w64-mingw32 \ [14:24:50.277] --enable-cassert \ [14:24:50.277] --without-icu \ [14:24:50.277] CC="ccache x86_64-w64-mingw32-gcc" \ [14:24:50.277] CXX="ccache x86_64-w64-mingw32-g++" [14:24:50.385] checking build system type... x86_64-pc-linux-gnu [14:24:50.573] checking host system type... x86_64-w64-mingw32 [14:24:50.578] checking which template to use... win32 [14:24:50.578] checking whether NLS is wanted... no [14:24:50.578] checking for default port number... 5432 [14:24:50.584] checking for block size... 8kB [14:24:50.586] checking for segment size... 1GB [14:24:50.588] checking for WAL block size... 8kB [14:24:50.589] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:24:50.621] checking whether the C compiler works... yes [14:24:50.751] checking for C compiler default output file name... a.exe [14:24:50.752] checking for suffix of executables... .exe [14:24:50.792] checking whether we are cross compiling... yes [14:24:50.868] checking for suffix of object files... o [14:24:50.885] checking whether we are using the GNU C compiler... yes [14:24:50.900] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:24:50.907] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:24:50.987] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:24:51.118] checking whether we are using the GNU C++ compiler... yes [14:24:51.273] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:24:51.398] checking for gawk... no [14:24:51.398] checking for mawk... mawk [14:24:51.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:24:51.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:24:51.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:24:51.490] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:24:51.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:24:51.540] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:24:51.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:24:51.571] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:24:51.586] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:24:51.616] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:24:51.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:24:51.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:24:51.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:24:51.684] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:24:51.714] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:24:51.745] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:24:51.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:24:51.796] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:24:51.811] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:24:51.842] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:24:51.849] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:24:51.855] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:24:51.889] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:24:51.912] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:24:51.927] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:24:51.942] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:24:51.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:24:52.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:24:52.022] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:24:52.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:24:52.086] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:24:52.093] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:24:52.100] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:24:52.131] checking whether the C compiler still works... yes [14:24:52.202] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:24:52.268] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:24:52.269] checking pkg-config is at least version 0.9.0... yes [14:24:52.284] checking whether to build with ICU support... no [14:24:52.285] checking whether to build with Tcl... no [14:24:52.285] checking whether to build Perl modules... no [14:24:52.285] checking whether to build Python modules... no [14:24:52.285] checking whether to build with GSSAPI support... no [14:24:52.286] checking whether to build with PAM support... no [14:24:52.286] checking whether to build with BSD Authentication support... no [14:24:52.286] checking whether to build with LDAP support... no [14:24:52.286] checking whether to build with Bonjour support... no [14:24:52.287] checking whether to build with SELinux support... no [14:24:52.287] checking whether to build with systemd support... no [14:24:52.287] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:24:52.287] checking whether to build with XML support... no [14:24:52.287] checking whether to build with LZ4 support... no [14:24:52.287] checking whether to build with ZSTD support... no [14:24:52.288] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:24:52.288] checking whether it is possible to strip libraries... yes [14:24:52.301] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:24:52.301] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:24:52.302] checking for a BSD-compatible install... /usr/bin/install -c [14:24:52.310] checking for tar... /usr/bin/tar [14:24:52.310] checking whether ln -s works... yes [14:24:52.311] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:24:52.313] checking for bison... /usr/bin/bison [14:24:52.315] configure: using bison (GNU Bison) 3.8.2 [14:24:52.318] checking for flex... /usr/bin/flex [14:24:52.329] configure: using flex 2.6.4 [14:24:52.329] checking for perl... /usr/bin/perl [14:24:52.332] configure: using perl 5.36.0 [14:24:52.334] checking for zic... /usr/sbin/zic [14:24:52.335] checking for a sed that does not truncate output... /usr/bin/sed [14:24:52.339] checking for grep that handles long lines and -e... /usr/bin/grep [14:24:52.341] checking for egrep... /usr/bin/grep -E [14:24:52.343] checking for ANSI C header files... yes [14:24:52.429] checking for sys/types.h... yes [14:24:52.463] checking for sys/stat.h... yes [14:24:52.522] checking for stdlib.h... yes [14:24:52.535] checking for string.h... yes [14:24:52.568] checking for memory.h... yes [14:24:52.625] checking for strings.h... yes [14:24:52.658] checking for inttypes.h... yes [14:24:52.717] checking for stdint.h... yes [14:24:52.731] checking for unistd.h... yes [14:24:52.790] checking for main in -lm... yes [14:24:52.834] checking for library containing setproctitle... no [14:24:52.916] checking for library containing dlsym... no [14:24:52.997] checking for library containing socket... -lws2_32 [14:24:53.119] checking for library containing getopt_long... none required [14:24:53.163] checking for library containing shm_open... no [14:24:53.246] checking for library containing shm_unlink... no [14:24:53.329] checking for library containing clock_gettime... no [14:24:53.416] checking for library containing shmget... no [14:24:53.501] checking for library containing backtrace_symbols... no [14:24:53.586] checking for library containing pthread_barrier_wait... -lpthread [14:24:53.672] checking for inflate in -lz... yes [14:24:53.715] checking for stdbool.h that conforms to C99... yes [14:24:53.735] checking for _Bool... yes [14:24:53.858] checking atomic.h usability... no [14:24:53.915] checking atomic.h presence... no [14:24:53.934] checking for atomic.h... no [14:24:53.938] checking copyfile.h usability... no [14:24:53.993] checking copyfile.h presence... no [14:24:54.013] checking for copyfile.h... no [14:24:54.016] checking execinfo.h usability... no [14:24:54.071] checking execinfo.h presence... no [14:24:54.090] checking for execinfo.h... no [14:24:54.093] checking getopt.h usability... yes [14:24:54.120] checking getopt.h presence... yes [14:24:54.135] checking for getopt.h... yes [14:24:54.143] checking ifaddrs.h usability... no [14:24:54.196] checking ifaddrs.h presence... no [14:24:54.215] checking for ifaddrs.h... no [14:24:54.218] checking mbarrier.h usability... no [14:24:54.271] checking mbarrier.h presence... no [14:24:54.289] checking for mbarrier.h... no [14:24:54.292] checking sys/epoll.h usability... no [14:24:54.346] checking sys/epoll.h presence... no [14:24:54.364] checking for sys/epoll.h... no [14:24:54.368] checking sys/event.h usability... no [14:24:54.423] checking sys/event.h presence... no [14:24:54.442] checking for sys/event.h... no [14:24:54.446] checking sys/personality.h usability... no [14:24:54.500] checking sys/personality.h presence... no [14:24:54.519] checking for sys/personality.h... no [14:24:54.522] checking sys/prctl.h usability... no [14:24:54.574] checking sys/prctl.h presence... no [14:24:54.592] checking for sys/prctl.h... no [14:24:54.596] checking sys/procctl.h usability... no [14:24:54.648] checking sys/procctl.h presence... no [14:24:54.668] checking for sys/procctl.h... no [14:24:54.672] checking sys/signalfd.h usability... no [14:24:54.730] checking sys/signalfd.h presence... no [14:24:54.749] checking for sys/signalfd.h... no [14:24:54.752] checking sys/ucred.h usability... no [14:24:54.805] checking sys/ucred.h presence... no [14:24:54.824] checking for sys/ucred.h... no [14:24:54.827] checking termios.h usability... no [14:24:54.885] checking termios.h presence... no [14:24:54.904] checking for termios.h... no [14:24:54.908] checking ucred.h usability... no [14:24:54.963] checking ucred.h presence... no [14:24:54.982] checking for ucred.h... no [14:24:54.985] checking xlocale.h usability... no [14:24:55.041] checking xlocale.h presence... no [14:24:55.060] checking for xlocale.h... no [14:24:55.063] checking zlib.h usability... yes [14:24:55.072] checking zlib.h presence... yes [14:24:55.090] checking for zlib.h... yes [14:24:55.091] checking for lz4... /usr/bin/lz4 [14:24:55.091] checking for zstd... /usr/bin/zstd [14:24:55.091] checking for openssl... /usr/bin/openssl [14:24:55.095] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [14:24:55.096] checking crtdefs.h usability... yes [14:24:55.103] checking crtdefs.h presence... yes [14:24:55.118] checking for crtdefs.h... yes [14:24:55.119] checking whether byte ordering is bigendian... no [14:24:55.195] checking for inline... inline [14:24:55.210] checking for printf format archetype... gnu_printf [14:24:55.218] checking for _Static_assert... yes [14:24:55.258] checking for typeof... typeof [14:24:55.291] checking for __builtin_types_compatible_p... yes [14:24:55.302] checking for __builtin_constant_p... yes [14:24:55.312] checking for __builtin_unreachable... yes [14:24:55.353] checking for computed goto support... yes [14:24:55.386] checking for struct tm.tm_zone... no [14:24:55.462] checking for union semun... no [14:24:55.494] checking for socklen_t... yes [14:24:57.629] checking for struct sockaddr.sa_len... no [14:24:59.637] checking for C/C++ restrict keyword... __restrict [14:24:59.650] checking for struct option... yes [14:24:59.723] checking whether assembler supports x86_64 popcntq... yes [14:24:59.730] checking size of off_t... 4 [14:24:59.937] 0 [14:24:59.937] checking size of bool... 1 [14:24:59.984] checking for int timezone... yes [14:25:00.036] checking for backtrace_symbols... no [14:25:00.088] checking for copyfile... no [14:25:00.139] checking for copy_file_range... no [14:25:00.188] checking for getifaddrs... no [14:25:00.237] checking for getpeerucred... no [14:25:00.286] checking for inet_pton... yes [14:25:00.336] checking for kqueue... no [14:25:00.386] checking for mbstowcs_l... no [14:25:00.436] checking for memset_s... no [14:25:00.487] checking for posix_fallocate... no [14:25:00.539] checking for ppoll... no [14:25:00.587] checking for pthread_is_threaded_np... no [14:25:00.634] checking for setproctitle... no [14:25:00.681] checking for setproctitle_fast... no [14:25:00.729] checking for strchrnul... no [14:25:00.777] checking for strsignal... no [14:25:00.824] checking for syncfs... no [14:25:00.872] checking for sync_file_range... no [14:25:00.919] checking for uselocale... no [14:25:00.967] checking for wcstombs_l... no [14:25:01.012] checking for __builtin_bswap16... yes [14:25:01.058] checking for __builtin_bswap32... yes [14:25:01.104] checking for __builtin_bswap64... yes [14:25:01.150] checking for __builtin_clz... yes [14:25:01.197] checking for __builtin_ctz... yes [14:25:01.243] checking for __builtin_popcount... yes [14:25:01.292] checking for __builtin_frame_address... yes [14:25:01.340] checking for _LARGEFILE_SOURCE value needed for large files... no [14:25:01.392] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:25:01.422] checking for posix_fadvise... no [14:25:01.471] checking whether posix_fadvise is declared... no [14:25:01.518] checking whether fdatasync is declared... no [14:25:01.566] checking whether strlcat is declared... no [14:25:01.629] checking whether strlcpy is declared... no [14:25:01.691] checking whether strnlen is declared... yes [14:25:01.704] checking whether strsep is declared... no [14:25:01.771] checking whether preadv is declared... no [14:25:01.810] checking whether pwritev is declared... no [14:25:01.848] checking whether F_FULLFSYNC is declared... no [14:25:01.887] checking for explicit_bzero... no [14:25:01.934] checking for getopt... yes [14:25:01.978] checking for getpeereid... no [14:25:02.024] checking for inet_aton... no [14:25:02.071] checking for mkdtemp... no [14:25:02.119] checking for strlcat... no [14:25:02.166] checking for strlcpy... no [14:25:02.214] checking for strnlen... yes [14:25:02.260] checking for strsep... no [14:25:02.307] checking for pthread_barrier_wait... yes [14:25:02.353] configure: On mingw32 we will use our strtof wrapper. [14:25:02.353] checking for getopt_long... yes [14:25:02.396] checking for _configthreadlocale... yes [14:25:02.439] checking for syslog... no [14:25:02.487] checking for opterr... yes [14:25:02.534] checking for optreset... no [14:25:02.584] checking test program... cross-compiling [14:25:02.584] checking whether long int is 64 bits... no [14:25:02.613] checking whether long long int is 64 bits... yes [14:25:02.621] checking for __builtin_mul_overflow... yes [14:25:02.661] checking size of void *... 8 [14:25:03.151] checking size of size_t... 8 [14:25:03.603] checking size of long... 4 [14:25:03.919] checking alignment of short... 2 [14:25:04.173] checking alignment of int... 4 [14:25:04.537] checking alignment of long... 4 [14:25:04.795] checking alignment of long long int... 8 [14:25:05.173] checking alignment of double... 8 [14:25:05.656] checking for __int128... yes [14:25:05.703] checking for __int128 alignment bug... assuming ok [14:25:05.703] checking alignment of PG_INT128_TYPE... 16 [14:25:06.181] checking for builtin __sync char locking functions... yes [14:25:06.222] checking for builtin __sync int32 locking functions... yes [14:25:06.264] checking for builtin __sync int32 atomic operations... yes [14:25:06.306] checking for builtin __sync int64 atomic operations... yes [14:25:06.349] checking for builtin __atomic int32 atomic operations... yes [14:25:06.391] checking for builtin __atomic int64 atomic operations... yes [14:25:06.431] checking for __get_cpuid... yes [14:25:06.477] checking for __get_cpuid_count... yes [14:25:06.522] checking for __cpuid... no [14:25:06.919] checking for __cpuidex... no [14:25:07.340] checking for _xgetbv with CFLAGS=... no [14:25:07.715] checking for _xgetbv with CFLAGS=-mxsave... yes [14:25:08.116] checking for _mm512_popcnt_epi64 with CFLAGS=... no [14:25:08.494] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [14:25:08.832] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:25:08.876] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:25:08.962] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:25:08.984] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:25:09.003] 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 [14:25:09.058] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:25:09.059] checking which random number source to use... Windows native [14:25:09.060] checking for xmllint... /usr/bin/xmllint [14:25:09.061] checking for xsltproc... /usr/bin/xsltproc [14:25:09.061] checking for fop... /usr/bin/fop [14:25:09.061] checking for dbtoepub... no [14:25:09.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:25:09.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:25:09.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:25:09.072] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:25:09.072] 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 [14:25:09.072] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:25:09.072] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:25:09.156] configure: creating ./config.status [14:25:09.240] config.status: creating GNUmakefile [14:25:09.252] config.status: creating src/Makefile.global [14:25:09.268] config.status: creating src/include/pg_config.h [14:25:09.281] config.status: creating src/include/pg_config_ext.h [14:25:09.293] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:25:09.308] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:25:09.315] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:25:09.323] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:25:09.329] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:25:09.336] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:25:09.339] config.status: executing check_win32_symlinks commands [14:25:09.371] [14:25:09.371] real 0m19.094s [14:25:09.371] user 0m12.933s [14:25:09.371] sys 0m5.767s [14:25:09.371] make -s -j${BUILD_JOBS} clean [14:25:09.870] time make -s -j${BUILD_JOBS} world-bin [14:28:03.678] elog.c: In function ‘EmitErrorReport’: [14:28:03.678] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [14:28:03.678] 1699 | char* str = debug_query_string; [14:28:03.678] | ^~~~~~~~~~~~~~~~~~ [14:28:03.678] cc1: all warnings being treated as errors [14:28:03.679] make[4]: *** [: elog.o] Error 1 [14:28:03.679] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [14:28:03.679] make[3]: *** Waiting for unfinished jobs.... [14:28:19.495] make[2]: *** [common.mk:37: utils-recursive] Error 2 [14:28:19.496] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:28:19.496] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:28:19.496] [14:28:19.496] real 3m9.627s [14:28:19.496] user 10m25.882s [14:28:19.496] sys 1m54.795s [14:28:19.497] [14:28:19.497] Exit status: 2