[05:10:07.799] time ./configure \ [05:10:07.799] --host=x86_64-w64-mingw32 \ [05:10:07.799] --enable-cassert \ [05:10:07.799] --without-icu \ [05:10:07.799] CC="ccache x86_64-w64-mingw32-gcc" \ [05:10:07.799] CXX="ccache x86_64-w64-mingw32-g++" [05:10:07.915] checking build system type... x86_64-pc-linux-gnu [05:10:08.135] checking host system type... x86_64-w64-mingw32 [05:10:08.140] checking which template to use... win32 [05:10:08.141] checking whether NLS is wanted... no [05:10:08.141] checking for default port number... 5432 [05:10:08.147] checking for block size... 8kB [05:10:08.148] checking for segment size... 1GB [05:10:08.151] checking for WAL block size... 8kB [05:10:08.152] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:10:08.185] checking whether the C compiler works... yes [05:10:08.332] checking for C compiler default output file name... a.exe [05:10:08.334] checking for suffix of executables... .exe [05:10:08.375] checking whether we are cross compiling... yes [05:10:08.459] checking for suffix of object files... o [05:10:08.477] checking whether we are using the GNU C compiler... yes [05:10:08.494] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:10:08.511] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:10:08.521] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:10:08.681] checking whether we are using the GNU C++ compiler... yes [05:10:08.688] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:10:08.966] checking for gawk... no [05:10:08.966] checking for mawk... mawk [05:10:08.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:10:08.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:10:09.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:10:09.060] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:10:09.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:10:09.126] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:10:09.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:10:09.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:10:09.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:10:09.188] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:10:09.204] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:10:09.237] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:10:09.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:10:09.268] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:10:09.300] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:10:09.331] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:10:09.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:10:09.400] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:10:09.407] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:10:09.438] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:10:09.471] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:10:09.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:10:09.520] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:10:09.542] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:10:09.574] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:10:09.607] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:10:09.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:10:09.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:10:09.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:10:09.723] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:10:09.756] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:10:09.772] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:10:09.787] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:10:09.795] checking whether the C compiler still works... yes [05:10:09.865] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:10:09.932] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:10:09.933] checking pkg-config is at least version 0.9.0... yes [05:10:09.949] checking whether to build with ICU support... no [05:10:09.950] checking whether to build with Tcl... no [05:10:09.950] checking whether to build Perl modules... no [05:10:09.950] checking whether to build Python modules... no [05:10:09.950] checking whether to build with GSSAPI support... no [05:10:09.951] checking whether to build with PAM support... no [05:10:09.951] checking whether to build with BSD Authentication support... no [05:10:09.951] checking whether to build with LDAP support... no [05:10:09.951] checking whether to build with Bonjour support... no [05:10:09.951] checking whether to build with SELinux support... no [05:10:09.951] checking whether to build with systemd support... no [05:10:09.951] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:10:09.952] checking whether to build with XML support... no [05:10:09.952] checking whether to build with LZ4 support... no [05:10:09.952] checking whether to build with ZSTD support... no [05:10:09.952] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:10:09.953] checking whether it is possible to strip libraries... yes [05:10:09.960] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:10:09.960] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:10:09.961] checking for a BSD-compatible install... /usr/bin/install -c [05:10:09.969] checking for tar... /usr/bin/tar [05:10:09.969] checking whether ln -s works... yes [05:10:09.969] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:10:09.971] checking for bison... /usr/bin/bison [05:10:09.973] configure: using bison (GNU Bison) 3.8.2 [05:10:09.976] checking for flex... /usr/bin/flex [05:10:09.987] configure: using flex 2.6.4 [05:10:09.987] checking for perl... /usr/bin/perl [05:10:09.990] configure: using perl 5.36.0 [05:10:09.992] checking for zic... /usr/sbin/zic [05:10:09.992] checking for a sed that does not truncate output... /usr/bin/sed [05:10:09.997] checking for grep that handles long lines and -e... /usr/bin/grep [05:10:09.998] checking for egrep... /usr/bin/grep -E [05:10:10.000] checking for ANSI C header files... yes [05:10:10.061] checking for sys/types.h... yes [05:10:10.117] checking for sys/stat.h... yes [05:10:10.151] checking for stdlib.h... yes [05:10:10.206] checking for string.h... yes [05:10:10.219] checking for memory.h... yes [05:10:10.279] checking for strings.h... yes [05:10:10.337] checking for inttypes.h... yes [05:10:10.402] checking for stdint.h... yes [05:10:10.463] checking for unistd.h... yes [05:10:10.481] checking for main in -lm... yes [05:10:10.528] checking for library containing setproctitle... no [05:10:10.615] checking for library containing dlsym... no [05:10:10.704] checking for library containing socket... -lws2_32 [05:10:10.833] checking for library containing getopt_long... none required [05:10:10.881] checking for library containing shm_open... no [05:10:10.969] checking for library containing shm_unlink... no [05:10:11.055] checking for library containing clock_gettime... no [05:10:11.140] checking for library containing shmget... no [05:10:11.225] checking for library containing backtrace_symbols... no [05:10:11.312] checking for library containing pthread_barrier_wait... -lpthread [05:10:11.402] checking for inflate in -lz... yes [05:10:11.447] checking for stdbool.h that conforms to C99... yes [05:10:11.458] checking for _Bool... yes [05:10:11.582] checking atomic.h usability... no [05:10:11.639] checking atomic.h presence... no [05:10:11.659] checking for atomic.h... no [05:10:11.662] checking copyfile.h usability... no [05:10:11.721] checking copyfile.h presence... no [05:10:11.740] checking for copyfile.h... no [05:10:11.744] checking execinfo.h usability... no [05:10:11.802] checking execinfo.h presence... no [05:10:11.822] checking for execinfo.h... no [05:10:11.825] checking getopt.h usability... yes [05:10:11.833] checking getopt.h presence... yes [05:10:11.849] checking for getopt.h... yes [05:10:11.857] checking ifaddrs.h usability... no [05:10:11.913] checking ifaddrs.h presence... no [05:10:11.934] checking for ifaddrs.h... no [05:10:11.937] checking mbarrier.h usability... no [05:10:11.994] checking mbarrier.h presence... no [05:10:12.015] checking for mbarrier.h... no [05:10:12.018] checking sys/epoll.h usability... no [05:10:12.076] checking sys/epoll.h presence... no [05:10:12.096] checking for sys/epoll.h... no [05:10:12.100] checking sys/event.h usability... no [05:10:12.157] checking sys/event.h presence... no [05:10:12.177] checking for sys/event.h... no [05:10:12.181] checking sys/personality.h usability... no [05:10:12.239] checking sys/personality.h presence... no [05:10:12.259] checking for sys/personality.h... no [05:10:12.263] checking sys/prctl.h usability... no [05:10:12.318] checking sys/prctl.h presence... no [05:10:12.337] checking for sys/prctl.h... no [05:10:12.340] checking sys/procctl.h usability... no [05:10:12.397] checking sys/procctl.h presence... no [05:10:12.417] checking for sys/procctl.h... no [05:10:12.420] checking sys/signalfd.h usability... no [05:10:12.476] checking sys/signalfd.h presence... no [05:10:12.495] checking for sys/signalfd.h... no [05:10:12.498] checking sys/ucred.h usability... no [05:10:12.555] checking sys/ucred.h presence... no [05:10:12.574] checking for sys/ucred.h... no [05:10:12.578] checking termios.h usability... no [05:10:12.634] checking termios.h presence... no [05:10:12.653] checking for termios.h... no [05:10:12.656] checking ucred.h usability... no [05:10:12.713] checking ucred.h presence... no [05:10:12.734] checking for ucred.h... no [05:10:12.737] checking xlocale.h usability... no [05:10:12.793] checking xlocale.h presence... no [05:10:12.813] checking for xlocale.h... no [05:10:12.816] checking zlib.h usability... yes [05:10:12.878] checking zlib.h presence... yes [05:10:12.897] checking for zlib.h... yes [05:10:12.897] checking for lz4... /usr/bin/lz4 [05:10:12.898] checking for zstd... /usr/bin/zstd [05:10:12.898] checking for openssl... /usr/bin/openssl [05:10:12.902] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:10:12.903] checking crtdefs.h usability... yes [05:10:12.931] checking crtdefs.h presence... yes [05:10:12.946] checking for crtdefs.h... yes [05:10:12.948] checking whether byte ordering is bigendian... no [05:10:13.052] checking for inline... inline [05:10:13.081] checking for printf format archetype... gnu_printf [05:10:13.099] checking for _Static_assert... yes [05:10:13.142] checking for typeof... typeof [05:10:13.176] checking for __builtin_types_compatible_p... yes [05:10:13.198] checking for __builtin_constant_p... yes [05:10:13.229] checking for __builtin_unreachable... yes [05:10:13.270] checking for computed goto support... yes [05:10:13.307] checking for struct tm.tm_zone... no [05:10:13.393] checking for union semun... no [05:10:13.428] checking for socklen_t... yes [05:10:14.634] checking for struct sockaddr.sa_len... no [05:10:16.698] checking for C/C++ restrict keyword... __restrict [05:10:16.720] checking for struct option... yes [05:10:16.776] checking whether assembler supports x86_64 popcntq... yes [05:10:16.814] checking size of off_t... 4 [05:10:17.169] 0 [05:10:17.169] checking size of bool... 1 [05:10:17.271] checking for int timezone... yes [05:10:17.327] checking for backtrace_symbols... no [05:10:17.379] checking for copyfile... no [05:10:17.432] checking for copy_file_range... no [05:10:17.483] checking for getifaddrs... no [05:10:17.533] checking for getpeerucred... no [05:10:17.586] checking for inet_pton... yes [05:10:17.639] checking for kqueue... no [05:10:17.691] checking for mbstowcs_l... no [05:10:17.742] checking for memset_s... no [05:10:17.792] checking for posix_fallocate... no [05:10:17.846] checking for ppoll... no [05:10:17.900] checking for pthread_is_threaded_np... no [05:10:17.954] checking for setproctitle... no [05:10:18.007] checking for setproctitle_fast... no [05:10:18.060] checking for strchrnul... no [05:10:18.115] checking for strsignal... no [05:10:18.169] checking for syncfs... no [05:10:18.223] checking for sync_file_range... no [05:10:18.275] checking for uselocale... no [05:10:18.326] checking for wcstombs_l... no [05:10:18.373] checking for __builtin_bswap16... yes [05:10:18.423] checking for __builtin_bswap32... yes [05:10:18.469] checking for __builtin_bswap64... yes [05:10:18.517] checking for __builtin_clz... yes [05:10:18.565] checking for __builtin_ctz... yes [05:10:18.613] checking for __builtin_popcount... yes [05:10:18.662] checking for __builtin_frame_address... yes [05:10:18.710] checking for _LARGEFILE_SOURCE value needed for large files... no [05:10:18.762] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:10:18.794] checking for posix_fadvise... no [05:10:18.845] checking whether posix_fadvise is declared... no [05:10:18.890] checking whether fdatasync is declared... no [05:10:18.938] checking whether strlcat is declared... no [05:10:19.003] checking whether strlcpy is declared... no [05:10:19.069] checking whether strnlen is declared... yes [05:10:19.082] checking whether strsep is declared... no [05:10:19.148] checking whether preadv is declared... no [05:10:19.187] checking whether pwritev is declared... no [05:10:19.226] checking whether F_FULLFSYNC is declared... no [05:10:19.268] checking for explicit_bzero... no [05:10:19.317] checking for getopt... yes [05:10:19.362] checking for getpeereid... no [05:10:19.410] checking for inet_aton... no [05:10:19.457] checking for mkdtemp... no [05:10:19.506] checking for strlcat... no [05:10:19.554] checking for strlcpy... no [05:10:19.602] checking for strnlen... yes [05:10:19.653] checking for strsep... no [05:10:19.700] checking for pthread_barrier_wait... yes [05:10:19.743] configure: On mingw32 we will use our strtof wrapper. [05:10:19.743] checking for getopt_long... yes [05:10:19.787] checking for _configthreadlocale... yes [05:10:19.832] checking for syslog... no [05:10:19.880] checking for opterr... yes [05:10:19.928] checking for optreset... no [05:10:19.979] checking test program... cross-compiling [05:10:19.979] checking whether long int is 64 bits... no [05:10:20.010] checking whether long long int is 64 bits... yes [05:10:20.044] checking for __builtin_mul_overflow... yes [05:10:20.086] checking size of void *... 8 [05:10:20.589] checking size of size_t... 8 [05:10:20.959] checking size of long... 4 [05:10:21.335] checking alignment of short... 2 [05:10:21.555] checking alignment of int... 4 [05:10:21.984] checking alignment of long... 4 [05:10:22.249] checking alignment of long long int... 8 [05:10:22.584] checking alignment of double... 8 [05:10:23.030] checking for __int128... yes [05:10:23.078] checking for __int128 alignment bug... assuming ok [05:10:23.078] checking alignment of PG_INT128_TYPE... 16 [05:10:23.547] checking for builtin __sync char locking functions... yes [05:10:23.589] checking for builtin __sync int32 locking functions... yes [05:10:23.631] checking for builtin __sync int32 atomic operations... yes [05:10:23.676] checking for builtin __sync int64 atomic operations... yes [05:10:23.720] checking for builtin __atomic int32 atomic operations... yes [05:10:23.762] checking for builtin __atomic int64 atomic operations... yes [05:10:23.804] checking for __get_cpuid... yes [05:10:23.850] checking for __get_cpuid_count... yes [05:10:23.895] checking for __cpuid... no [05:10:24.296] checking for __cpuidex... no [05:10:24.725] checking for _xgetbv... yes [05:10:25.127] checking for _mm512_popcnt_epi64... yes [05:10:25.550] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:10:25.596] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:10:25.684] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:10:25.707] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:10:25.725] 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 [05:10:25.780] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:10:25.781] checking which random number source to use... Windows native [05:10:25.783] checking for xmllint... /usr/bin/xmllint [05:10:25.783] checking for xsltproc... /usr/bin/xsltproc [05:10:25.783] checking for fop... /usr/bin/fop [05:10:25.783] checking for dbtoepub... no [05:10:25.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:10:25.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:10:25.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:10:25.795] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:10:25.795] 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 [05:10:25.795] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:10:25.795] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:10:25.879] configure: creating ./config.status [05:10:25.963] config.status: creating GNUmakefile [05:10:25.975] config.status: creating src/Makefile.global [05:10:25.991] config.status: creating src/include/pg_config.h [05:10:26.004] config.status: creating src/include/pg_config_ext.h [05:10:26.015] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:10:26.030] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:10:26.037] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:10:26.044] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:10:26.051] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:10:26.058] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:10:26.061] config.status: executing check_win32_symlinks commands [05:10:26.094] [05:10:26.094] real 0m18.295s [05:10:26.094] user 0m11.816s [05:10:26.094] sys 0m6.003s [05:10:26.094] make -s -j${BUILD_JOBS} clean [05:10:26.606] time make -s -j${BUILD_JOBS} world-bin [05:13:38.167] elog.c: In function ‘EmitErrorReport’: [05:13:38.167] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [05:13:38.167] 1699 | char* str = debug_query_string; [05:13:38.167] | ^~~~~~~~~~~~~~~~~~ [05:13:38.167] cc1: all warnings being treated as errors [05:13:38.168] make[4]: *** [: elog.o] Error 1 [05:13:38.168] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [05:13:38.168] make[3]: *** Waiting for unfinished jobs.... [05:13:39.664] make[2]: *** [common.mk:37: utils-recursive] Error 2 [05:13:39.665] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:13:39.665] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:13:39.665] [05:13:39.665] real 3m13.059s [05:13:39.665] user 10m36.632s [05:13:39.665] sys 1m56.692s [05:13:39.665] [05:13:39.665] Exit status: 2