[04:42:51.445] time ./configure \ [04:42:51.445] --host=x86_64-w64-mingw32 \ [04:42:51.445] --enable-cassert \ [04:42:51.445] --without-icu \ [04:42:51.445] CC="ccache x86_64-w64-mingw32-gcc" \ [04:42:51.445] CXX="ccache x86_64-w64-mingw32-g++" [04:42:51.553] checking build system type... x86_64-pc-linux-gnu [04:42:51.746] checking host system type... x86_64-w64-mingw32 [04:42:51.751] checking which template to use... win32 [04:42:51.751] checking whether NLS is wanted... no [04:42:51.751] checking for default port number... 5432 [04:42:51.757] checking for block size... 8kB [04:42:51.758] checking for segment size... 1GB [04:42:51.761] checking for WAL block size... 8kB [04:42:51.762] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:42:51.794] checking whether the C compiler works... yes [04:42:51.929] checking for C compiler default output file name... a.exe [04:42:51.930] checking for suffix of executables... .exe [04:42:51.969] checking whether we are cross compiling... yes [04:42:52.042] checking for suffix of object files... o [04:42:52.059] checking whether we are using the GNU C compiler... yes [04:42:52.073] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:42:52.079] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:42:52.103] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:42:52.253] checking whether we are using the GNU C++ compiler... yes [04:42:52.259] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:42:52.521] checking for gawk... no [04:42:52.522] checking for mawk... mawk [04:42:52.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:42:52.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:42:52.553] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:42:52.596] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:42:52.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:42:52.644] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:42:52.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:42:52.679] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:42:52.686] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:42:52.715] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:42:52.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:42:52.750] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:42:52.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:42:52.764] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:42:52.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:42:52.825] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:42:52.856] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:42:52.891] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:42:52.898] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:42:52.928] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:42:52.958] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:42:52.974] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:42:52.980] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:42:53.002] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:42:53.008] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:42:53.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:42:53.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:42:53.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:42:53.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:42:53.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:42:53.158] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:42:53.164] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:42:53.171] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:42:53.202] checking whether the C compiler still works... yes [04:42:53.274] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:42:53.339] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:42:53.340] checking pkg-config is at least version 0.9.0... yes [04:42:53.356] checking whether to build with ICU support... no [04:42:53.356] checking whether to build with Tcl... no [04:42:53.356] checking whether to build Perl modules... no [04:42:53.357] checking whether to build Python modules... no [04:42:53.357] checking whether to build with GSSAPI support... no [04:42:53.358] checking whether to build with PAM support... no [04:42:53.358] checking whether to build with BSD Authentication support... no [04:42:53.358] checking whether to build with LDAP support... no [04:42:53.358] checking whether to build with Bonjour support... no [04:42:53.358] checking whether to build with SELinux support... no [04:42:53.358] checking whether to build with systemd support... no [04:42:53.358] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:42:53.358] checking whether to build with XML support... no [04:42:53.359] checking whether to build with LZ4 support... no [04:42:53.359] checking whether to build with ZSTD support... no [04:42:53.359] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:42:53.359] checking whether it is possible to strip libraries... yes [04:42:53.367] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:42:53.368] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:42:53.368] checking for a BSD-compatible install... /usr/bin/install -c [04:42:53.377] checking for tar... /usr/bin/tar [04:42:53.377] checking whether ln -s works... yes [04:42:53.377] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:42:53.379] checking for bison... /usr/bin/bison [04:42:53.381] configure: using bison (GNU Bison) 3.8.2 [04:42:53.384] checking for flex... /usr/bin/flex [04:42:53.395] configure: using flex 2.6.4 [04:42:53.396] checking for perl... /usr/bin/perl [04:42:53.398] configure: using perl 5.36.0 [04:42:53.400] checking for zic... /usr/sbin/zic [04:42:53.400] checking for a sed that does not truncate output... /usr/bin/sed [04:42:53.405] checking for grep that handles long lines and -e... /usr/bin/grep [04:42:53.407] checking for egrep... /usr/bin/grep -E [04:42:53.408] checking for ANSI C header files... yes [04:42:53.490] checking for sys/types.h... yes [04:42:53.506] checking for sys/stat.h... yes [04:42:53.521] checking for stdlib.h... yes [04:42:53.579] checking for string.h... yes [04:42:53.592] checking for memory.h... yes [04:42:53.649] checking for strings.h... yes [04:42:53.706] checking for inttypes.h... yes [04:42:53.766] checking for stdint.h... yes [04:42:53.822] checking for unistd.h... yes [04:42:53.839] checking for main in -lm... yes [04:42:53.884] checking for library containing setproctitle... no [04:42:53.968] checking for library containing dlsym... no [04:42:54.051] checking for library containing socket... -lws2_32 [04:42:54.177] checking for library containing getopt_long... none required [04:42:54.223] checking for library containing shm_open... no [04:42:54.307] checking for library containing shm_unlink... no [04:42:54.391] checking for library containing clock_gettime... no [04:42:54.474] checking for library containing shmget... no [04:42:54.558] checking for library containing backtrace_symbols... no [04:42:54.640] checking for library containing pthread_barrier_wait... -lpthread [04:42:54.724] checking for inflate in -lz... yes [04:42:54.767] checking for stdbool.h that conforms to C99... yes [04:42:54.811] checking for _Bool... yes [04:42:54.878] checking atomic.h usability... no [04:42:54.930] checking atomic.h presence... no [04:42:54.947] checking for atomic.h... no [04:42:54.950] checking copyfile.h usability... no [04:42:55.002] checking copyfile.h presence... no [04:42:55.020] checking for copyfile.h... no [04:42:55.023] checking execinfo.h usability... no [04:42:55.075] checking execinfo.h presence... no [04:42:55.093] checking for execinfo.h... no [04:42:55.096] checking getopt.h usability... yes [04:42:55.124] checking getopt.h presence... yes [04:42:55.138] checking for getopt.h... yes [04:42:55.145] checking ifaddrs.h usability... no [04:42:55.198] checking ifaddrs.h presence... no [04:42:55.215] checking for ifaddrs.h... no [04:42:55.218] checking mbarrier.h usability... no [04:42:55.270] checking mbarrier.h presence... no [04:42:55.287] checking for mbarrier.h... no [04:42:55.291] checking sys/epoll.h usability... no [04:42:55.342] checking sys/epoll.h presence... no [04:42:55.360] checking for sys/epoll.h... no [04:42:55.363] checking sys/event.h usability... no [04:42:55.415] checking sys/event.h presence... no [04:42:55.433] checking for sys/event.h... no [04:42:55.436] checking sys/personality.h usability... no [04:42:55.488] checking sys/personality.h presence... no [04:42:55.506] checking for sys/personality.h... no [04:42:55.509] checking sys/prctl.h usability... no [04:42:55.561] checking sys/prctl.h presence... no [04:42:55.579] checking for sys/prctl.h... no [04:42:55.582] checking sys/procctl.h usability... no [04:42:55.634] checking sys/procctl.h presence... no [04:42:55.651] checking for sys/procctl.h... no [04:42:55.654] checking sys/signalfd.h usability... no [04:42:55.705] checking sys/signalfd.h presence... no [04:42:55.722] checking for sys/signalfd.h... no [04:42:55.725] checking sys/ucred.h usability... no [04:42:55.777] checking sys/ucred.h presence... no [04:42:55.794] checking for sys/ucred.h... no [04:42:55.797] checking termios.h usability... no [04:42:55.849] checking termios.h presence... no [04:42:55.866] checking for termios.h... no [04:42:55.869] checking ucred.h usability... no [04:42:55.922] checking ucred.h presence... no [04:42:55.940] checking for ucred.h... no [04:42:55.943] checking xlocale.h usability... no [04:42:55.996] checking xlocale.h presence... no [04:42:56.013] checking for xlocale.h... no [04:42:56.016] checking zlib.h usability... yes [04:42:56.046] checking zlib.h presence... yes [04:42:56.064] checking for zlib.h... yes [04:42:56.064] checking for lz4... /usr/bin/lz4 [04:42:56.064] checking for zstd... /usr/bin/zstd [04:42:56.065] checking for openssl... /usr/bin/openssl [04:42:56.069] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [04:42:56.069] checking crtdefs.h usability... yes [04:42:56.097] checking crtdefs.h presence... yes [04:42:56.110] checking for crtdefs.h... yes [04:42:56.112] checking whether byte ordering is bigendian... no [04:42:56.208] checking for inline... inline [04:42:56.234] checking for printf format archetype... gnu_printf [04:42:56.252] checking for _Static_assert... yes [04:42:56.294] checking for typeof... typeof [04:42:56.326] checking for __builtin_types_compatible_p... yes [04:42:56.344] checking for __builtin_constant_p... yes [04:42:56.374] checking for __builtin_unreachable... yes [04:42:56.413] checking for computed goto support... yes [04:42:56.445] checking for struct tm.tm_zone... no [04:42:56.517] checking for union semun... no [04:42:56.549] checking for socklen_t... yes [04:42:57.669] checking for struct sockaddr.sa_len... no [04:42:59.619] checking for C/C++ restrict keyword... __restrict [04:42:59.631] checking for struct option... yes [04:42:59.681] checking whether assembler supports x86_64 popcntq... yes [04:42:59.697] checking size of off_t... 4 [04:43:00.039] 0 [04:43:00.039] checking size of bool... 1 [04:43:00.090] checking for int timezone... yes [04:43:00.138] checking for backtrace_symbols... no [04:43:00.185] checking for copyfile... no [04:43:00.232] checking for copy_file_range... no [04:43:00.279] checking for getifaddrs... no [04:43:00.327] checking for getpeerucred... no [04:43:00.375] checking for inet_pton... yes [04:43:00.422] checking for kqueue... no [04:43:00.469] checking for mbstowcs_l... no [04:43:00.517] checking for memset_s... no [04:43:00.565] checking for posix_fallocate... no [04:43:00.612] checking for ppoll... no [04:43:00.660] checking for pthread_is_threaded_np... no [04:43:00.708] checking for setproctitle... no [04:43:00.755] checking for setproctitle_fast... no [04:43:00.802] checking for strchrnul... no [04:43:00.848] checking for strsignal... no [04:43:00.895] checking for syncfs... no [04:43:00.943] checking for sync_file_range... no [04:43:00.991] checking for uselocale... no [04:43:01.040] checking for wcstombs_l... no [04:43:01.086] checking for __builtin_bswap16... yes [04:43:01.134] checking for __builtin_bswap32... yes [04:43:01.180] checking for __builtin_bswap64... yes [04:43:01.226] checking for __builtin_clz... yes [04:43:01.273] checking for __builtin_ctz... yes [04:43:01.318] checking for __builtin_popcount... yes [04:43:01.364] checking for __builtin_frame_address... yes [04:43:01.410] checking for _LARGEFILE_SOURCE value needed for large files... no [04:43:01.460] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:43:01.489] checking for posix_fadvise... no [04:43:01.537] checking whether posix_fadvise is declared... no [04:43:01.580] checking whether fdatasync is declared... no [04:43:01.623] checking whether strlcat is declared... no [04:43:01.682] checking whether strlcpy is declared... no [04:43:01.742] checking whether strnlen is declared... yes [04:43:01.805] checking whether strsep is declared... no [04:43:01.865] checking whether preadv is declared... no [04:43:01.899] checking whether pwritev is declared... no [04:43:01.933] checking whether F_FULLFSYNC is declared... no [04:43:01.969] checking for explicit_bzero... no [04:43:02.014] checking for getopt... yes [04:43:02.057] checking for getpeereid... no [04:43:02.103] checking for inet_aton... no [04:43:02.150] checking for mkdtemp... no [04:43:02.195] checking for strlcat... no [04:43:02.240] checking for strlcpy... no [04:43:02.285] checking for strnlen... yes [04:43:02.330] checking for strsep... no [04:43:02.375] checking for pthread_barrier_wait... yes [04:43:02.417] configure: On mingw32 we will use our strtof wrapper. [04:43:02.417] checking for getopt_long... yes [04:43:02.460] checking for _configthreadlocale... yes [04:43:02.502] checking for syslog... no [04:43:02.547] checking for opterr... yes [04:43:02.593] checking for optreset... no [04:43:02.642] checking test program... cross-compiling [04:43:02.642] checking whether long int is 64 bits... no [04:43:02.671] checking whether long long int is 64 bits... yes [04:43:02.679] checking for __builtin_mul_overflow... yes [04:43:02.719] checking size of void *... 8 [04:43:03.169] checking size of size_t... 8 [04:43:03.490] checking size of long... 4 [04:43:03.813] checking alignment of short... 2 [04:43:03.965] checking alignment of int... 4 [04:43:04.249] checking alignment of long... 4 [04:43:04.586] checking alignment of long long int... 8 [04:43:04.919] checking alignment of double... 8 [04:43:05.269] checking for __int128... yes [04:43:05.314] checking for __int128 alignment bug... assuming ok [04:43:05.314] checking alignment of PG_INT128_TYPE... 16 [04:43:05.803] checking for builtin __sync char locking functions... yes [04:43:05.843] checking for builtin __sync int32 locking functions... yes [04:43:05.884] checking for builtin __sync int32 atomic operations... yes [04:43:05.925] checking for builtin __sync int64 atomic operations... yes [04:43:05.965] checking for builtin __atomic int32 atomic operations... yes [04:43:06.005] checking for builtin __atomic int64 atomic operations... yes [04:43:06.045] checking for __get_cpuid... yes [04:43:06.088] checking for __get_cpuid_count... yes [04:43:06.130] checking for __cpuid... no [04:43:06.521] checking for __cpuidex... no [04:43:06.940] checking for _xgetbv... yes [04:43:07.334] checking for _mm512_popcnt_epi64... yes [04:43:07.745] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:43:07.789] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:43:07.875] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:43:07.896] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:43:07.913] 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 [04:43:07.966] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:43:07.967] checking which random number source to use... Windows native [04:43:07.968] checking for xmllint... /usr/bin/xmllint [04:43:07.969] checking for xsltproc... /usr/bin/xsltproc [04:43:07.969] checking for fop... /usr/bin/fop [04:43:07.969] checking for dbtoepub... no [04:43:07.969] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:43:07.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:43:07.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:43:07.980] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:43:07.980] 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 [04:43:07.980] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:43:07.980] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:43:08.058] configure: creating ./config.status [04:43:08.137] config.status: creating GNUmakefile [04:43:08.148] config.status: creating src/Makefile.global [04:43:08.162] config.status: creating src/include/pg_config.h [04:43:08.173] config.status: creating src/include/pg_config_ext.h [04:43:08.185] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:43:08.199] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:43:08.205] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:43:08.212] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:43:08.218] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:43:08.225] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:43:08.228] config.status: executing check_win32_symlinks commands [04:43:08.260] [04:43:08.260] real 0m16.815s [04:43:08.260] user 0m11.072s [04:43:08.260] sys 0m5.324s [04:43:08.260] make -s -j${BUILD_JOBS} clean [04:43:08.753] time make -s -j${BUILD_JOBS} world-bin [04:46:15.044] elog.c: In function ‘EmitErrorReport’: [04:46:15.044] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [04:46:15.044] 1699 | char* str = debug_query_string; [04:46:15.044] | ^~~~~~~~~~~~~~~~~~ [04:46:15.044] cc1: all warnings being treated as errors [04:46:15.045] make[4]: *** [: elog.o] Error 1 [04:46:15.045] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [04:46:15.045] make[3]: *** Waiting for unfinished jobs.... [04:46:16.568] make[2]: *** [common.mk:37: utils-recursive] Error 2 [04:46:16.569] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:46:16.569] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:46:16.569] [04:46:16.569] real 3m7.816s [04:46:16.569] user 10m18.094s [04:46:16.569] sys 1m54.109s [04:46:16.569] [04:46:16.569] Exit status: 2