[16:01:10.214] time ./configure \ [16:01:10.214] --host=x86_64-w64-mingw32 \ [16:01:10.214] --enable-cassert \ [16:01:10.214] --without-icu \ [16:01:10.214] CC="ccache x86_64-w64-mingw32-gcc" \ [16:01:10.214] CXX="ccache x86_64-w64-mingw32-g++" [16:01:10.329] checking build system type... x86_64-pc-linux-gnu [16:01:10.538] checking host system type... x86_64-w64-mingw32 [16:01:10.543] checking which template to use... win32 [16:01:10.544] checking whether NLS is wanted... no [16:01:10.544] checking for default port number... 5432 [16:01:10.551] checking for block size... 8kB [16:01:10.552] checking for segment size... 1GB [16:01:10.554] checking for WAL block size... 8kB [16:01:10.556] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:01:10.592] checking whether the C compiler works... yes [16:01:10.748] checking for C compiler default output file name... a.exe [16:01:10.749] checking for suffix of executables... .exe [16:01:10.791] checking whether we are cross compiling... yes [16:01:10.872] checking for suffix of object files... o [16:01:10.890] checking whether we are using the GNU C compiler... yes [16:01:10.897] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:01:10.904] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:01:10.932] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:01:10.996] checking whether we are using the GNU C++ compiler... yes [16:01:11.003] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:01:11.071] checking for gawk... no [16:01:11.071] checking for mawk... mawk [16:01:11.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:01:11.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:01:11.140] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:01:11.188] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:01:11.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:01:11.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:01:11.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:01:11.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:01:11.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:01:11.465] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:01:11.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:01:11.489] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:01:11.505] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:01:11.512] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:01:11.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:01:11.535] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:01:11.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:01:11.642] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:01:11.649] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:01:11.666] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:01:11.682] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:01:11.715] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:01:11.749] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:01:11.774] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:01:11.781] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:01:11.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:01:11.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:01:11.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:01:11.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:01:11.877] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:01:11.912] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:01:11.919] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:01:11.926] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:01:11.963] checking whether the C compiler still works... yes [16:01:12.031] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:01:12.102] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:01:12.102] checking pkg-config is at least version 0.9.0... yes [16:01:12.118] checking whether to build with ICU support... no [16:01:12.119] checking whether to build with Tcl... no [16:01:12.119] checking whether to build Perl modules... no [16:01:12.119] checking whether to build Python modules... no [16:01:12.119] checking whether to build with GSSAPI support... no [16:01:12.120] checking whether to build with PAM support... no [16:01:12.120] checking whether to build with BSD Authentication support... no [16:01:12.120] checking whether to build with LDAP support... no [16:01:12.120] checking whether to build with Bonjour support... no [16:01:12.120] checking whether to build with SELinux support... no [16:01:12.120] checking whether to build with systemd support... no [16:01:12.121] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:01:12.121] checking whether to build with XML support... no [16:01:12.121] checking whether to build with LZ4 support... no [16:01:12.121] checking whether to build with ZSTD support... no [16:01:12.122] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:01:12.122] checking whether it is possible to strip libraries... yes [16:01:12.129] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:01:12.130] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:01:12.130] checking for a BSD-compatible install... /usr/bin/install -c [16:01:12.139] checking for tar... /usr/bin/tar [16:01:12.139] checking whether ln -s works... yes [16:01:12.139] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:01:12.141] checking for bison... /usr/bin/bison [16:01:12.143] configure: using bison (GNU Bison) 3.8.2 [16:01:12.146] checking for flex... /usr/bin/flex [16:01:12.158] configure: using flex 2.6.4 [16:01:12.159] checking for perl... /usr/bin/perl [16:01:12.161] configure: using perl 5.36.0 [16:01:12.163] checking for zic... /usr/sbin/zic [16:01:12.164] checking for a sed that does not truncate output... /usr/bin/sed [16:01:12.168] checking for grep that handles long lines and -e... /usr/bin/grep [16:01:12.170] checking for egrep... /usr/bin/grep -E [16:01:12.172] checking for ANSI C header files... yes [16:01:12.266] checking for sys/types.h... yes [16:01:12.285] checking for sys/stat.h... yes [16:01:12.300] checking for stdlib.h... yes [16:01:12.362] checking for string.h... yes [16:01:12.376] checking for memory.h... yes [16:01:12.411] checking for strings.h... yes [16:01:12.471] checking for inttypes.h... yes [16:01:12.486] checking for stdint.h... yes [16:01:12.551] checking for unistd.h... yes [16:01:12.592] checking for main in -lm... yes [16:01:12.639] checking for library containing setproctitle... no [16:01:12.729] checking for library containing dlsym... no [16:01:12.816] checking for library containing socket... -lws2_32 [16:01:12.948] checking for library containing getopt_long... none required [16:01:12.997] checking for library containing shm_open... no [16:01:13.088] checking for library containing shm_unlink... no [16:01:13.176] checking for library containing clock_gettime... no [16:01:13.268] checking for library containing shmget... no [16:01:13.355] checking for library containing backtrace_symbols... no [16:01:13.443] checking for library containing pthread_barrier_wait... -lpthread [16:01:13.534] checking for inflate in -lz... yes [16:01:13.580] checking for stdbool.h that conforms to C99... yes [16:01:13.601] checking for _Bool... yes [16:01:13.724] checking atomic.h usability... no [16:01:13.778] checking atomic.h presence... no [16:01:13.796] checking for atomic.h... no [16:01:13.799] checking copyfile.h usability... no [16:01:13.853] checking copyfile.h presence... no [16:01:13.872] checking for copyfile.h... no [16:01:13.875] checking execinfo.h usability... no [16:01:13.930] checking execinfo.h presence... no [16:01:13.949] checking for execinfo.h... no [16:01:13.953] checking getopt.h usability... yes [16:01:14.007] checking getopt.h presence... yes [16:01:14.022] checking for getopt.h... yes [16:01:14.028] checking ifaddrs.h usability... no [16:01:14.083] checking ifaddrs.h presence... no [16:01:14.101] checking for ifaddrs.h... no [16:01:14.104] checking mbarrier.h usability... no [16:01:14.159] checking mbarrier.h presence... no [16:01:14.178] checking for mbarrier.h... no [16:01:14.181] checking sys/epoll.h usability... no [16:01:14.237] checking sys/epoll.h presence... no [16:01:14.256] checking for sys/epoll.h... no [16:01:14.259] checking sys/event.h usability... no [16:01:14.315] checking sys/event.h presence... no [16:01:14.334] checking for sys/event.h... no [16:01:14.337] checking sys/personality.h usability... no [16:01:14.393] checking sys/personality.h presence... no [16:01:14.413] checking for sys/personality.h... no [16:01:14.417] checking sys/prctl.h usability... no [16:01:14.472] checking sys/prctl.h presence... no [16:01:14.492] checking for sys/prctl.h... no [16:01:14.495] checking sys/procctl.h usability... no [16:01:14.553] checking sys/procctl.h presence... no [16:01:14.572] checking for sys/procctl.h... no [16:01:14.575] checking sys/signalfd.h usability... no [16:01:14.631] checking sys/signalfd.h presence... no [16:01:14.650] checking for sys/signalfd.h... no [16:01:14.653] checking sys/ucred.h usability... no [16:01:14.712] checking sys/ucred.h presence... no [16:01:14.732] checking for sys/ucred.h... no [16:01:14.735] checking termios.h usability... no [16:01:14.791] checking termios.h presence... no [16:01:14.810] checking for termios.h... no [16:01:14.813] checking ucred.h usability... no [16:01:14.870] checking ucred.h presence... no [16:01:14.889] checking for ucred.h... no [16:01:14.892] checking xlocale.h usability... no [16:01:14.948] checking xlocale.h presence... no [16:01:14.967] checking for xlocale.h... no [16:01:14.970] checking zlib.h usability... yes [16:01:14.981] checking zlib.h presence... yes [16:01:15.000] checking for zlib.h... yes [16:01:15.000] checking for lz4... /usr/bin/lz4 [16:01:15.001] checking for zstd... /usr/bin/zstd [16:01:15.001] checking for openssl... /usr/bin/openssl [16:01:15.005] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [16:01:15.005] checking crtdefs.h usability... yes [16:01:15.061] checking crtdefs.h presence... yes [16:01:15.077] checking for crtdefs.h... yes [16:01:15.078] checking whether byte ordering is bigendian... no [16:01:15.163] checking for inline... inline [16:01:15.192] checking for printf format archetype... gnu_printf [16:01:15.200] checking for _Static_assert... yes [16:01:15.242] checking for typeof... typeof [16:01:15.249] checking for __builtin_types_compatible_p... yes [16:01:15.260] checking for __builtin_constant_p... yes [16:01:15.280] checking for __builtin_unreachable... yes [16:01:15.321] checking for computed goto support... yes [16:01:15.329] checking for struct tm.tm_zone... no [16:01:15.407] checking for union semun... no [16:01:15.440] checking for socklen_t... yes [16:01:16.928] checking for struct sockaddr.sa_len... no [16:01:18.995] checking for C/C++ restrict keyword... __restrict [16:01:19.008] checking for struct option... yes [16:01:19.063] checking whether assembler supports x86_64 popcntq... yes [16:01:19.071] checking size of off_t... 4 [16:01:19.353] 0 [16:01:19.353] checking size of bool... 1 [16:01:19.399] checking for int timezone... yes [16:01:19.455] checking for backtrace_symbols... no [16:01:19.509] checking for copyfile... no [16:01:19.563] checking for copy_file_range... no [16:01:19.617] checking for getifaddrs... no [16:01:19.669] checking for getpeerucred... no [16:01:19.720] checking for inet_pton... yes [16:01:19.771] checking for kqueue... no [16:01:19.822] checking for mbstowcs_l... no [16:01:19.872] checking for memset_s... no [16:01:19.924] checking for posix_fallocate... no [16:01:19.976] checking for ppoll... no [16:01:20.027] checking for pthread_is_threaded_np... no [16:01:20.078] checking for setproctitle... no [16:01:20.132] checking for setproctitle_fast... no [16:01:20.183] checking for strchrnul... no [16:01:20.236] checking for strsignal... no [16:01:20.288] checking for syncfs... no [16:01:20.341] checking for sync_file_range... no [16:01:20.393] checking for uselocale... no [16:01:20.444] checking for wcstombs_l... no [16:01:20.494] checking for __builtin_bswap16... yes [16:01:20.545] checking for __builtin_bswap32... yes [16:01:20.596] checking for __builtin_bswap64... yes [16:01:20.645] checking for __builtin_clz... yes [16:01:20.694] checking for __builtin_ctz... yes [16:01:20.742] checking for __builtin_popcount... yes [16:01:20.791] checking for __builtin_frame_address... yes [16:01:20.840] checking for _LARGEFILE_SOURCE value needed for large files... no [16:01:20.893] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:01:20.927] checking for posix_fadvise... no [16:01:20.981] checking whether posix_fadvise is declared... no [16:01:21.026] checking whether fdatasync is declared... no [16:01:21.074] checking whether strlcat is declared... no [16:01:21.141] checking whether strlcpy is declared... no [16:01:21.205] checking whether strnlen is declared... yes [16:01:21.218] checking whether strsep is declared... no [16:01:21.281] checking whether preadv is declared... no [16:01:21.317] checking whether pwritev is declared... no [16:01:21.355] checking whether F_FULLFSYNC is declared... no [16:01:21.396] checking for explicit_bzero... no [16:01:21.444] checking for getopt... yes [16:01:21.490] checking for getpeereid... no [16:01:21.539] checking for inet_aton... no [16:01:21.594] checking for mkdtemp... no [16:01:21.642] checking for strlcat... no [16:01:21.690] checking for strlcpy... no [16:01:21.739] checking for strnlen... yes [16:01:21.787] checking for strsep... no [16:01:21.833] checking for pthread_barrier_wait... yes [16:01:21.878] configure: On mingw32 we will use our strtof wrapper. [16:01:21.878] checking for getopt_long... yes [16:01:21.922] checking for _configthreadlocale... yes [16:01:21.967] checking for syslog... no [16:01:22.014] checking for opterr... yes [16:01:22.062] checking for optreset... no [16:01:22.113] checking test program... cross-compiling [16:01:22.113] checking whether long int is 64 bits... no [16:01:22.144] checking whether long long int is 64 bits... yes [16:01:22.153] checking for __builtin_mul_overflow... yes [16:01:22.196] checking size of void *... 8 [16:01:22.565] checking size of size_t... 8 [16:01:22.969] checking size of long... 4 [16:01:23.231] checking alignment of short... 2 [16:01:23.507] checking alignment of int... 4 [16:01:23.805] checking alignment of long... 4 [16:01:24.095] checking alignment of long long int... 8 [16:01:24.541] checking alignment of double... 8 [16:01:24.957] checking for __int128... yes [16:01:25.010] checking for __int128 alignment bug... assuming ok [16:01:25.010] checking alignment of PG_INT128_TYPE... 16 [16:01:25.560] checking for builtin __sync char locking functions... yes [16:01:25.604] checking for builtin __sync int32 locking functions... yes [16:01:25.647] checking for builtin __sync int32 atomic operations... yes [16:01:25.690] checking for builtin __sync int64 atomic operations... yes [16:01:25.733] checking for builtin __atomic int32 atomic operations... yes [16:01:25.776] checking for builtin __atomic int64 atomic operations... yes [16:01:25.820] checking for __get_cpuid... yes [16:01:25.869] checking for __get_cpuid_count... yes [16:01:25.913] checking for __cpuid... no [16:01:26.312] checking for __cpuidex... no [16:01:26.739] checking for _xgetbv with CFLAGS=... no [16:01:27.122] checking for _xgetbv with CFLAGS=-mxsave... yes [16:01:27.516] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:01:27.904] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:01:28.250] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:01:28.295] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:01:28.384] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:01:28.406] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:01:28.424] 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 [16:01:28.478] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:01:28.479] checking which random number source to use... Windows native [16:01:28.481] checking for xmllint... /usr/bin/xmllint [16:01:28.481] checking for xsltproc... /usr/bin/xsltproc [16:01:28.481] checking for fop... /usr/bin/fop [16:01:28.481] checking for dbtoepub... no [16:01:28.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:01:28.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:01:28.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:01:28.492] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:01:28.492] 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 [16:01:28.492] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:01:28.492] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:01:28.574] configure: creating ./config.status [16:01:28.656] config.status: creating GNUmakefile [16:01:28.668] config.status: creating src/Makefile.global [16:01:28.683] config.status: creating src/include/pg_config.h [16:01:28.695] config.status: creating src/include/pg_config_ext.h [16:01:28.707] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:01:28.723] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:01:28.731] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:01:28.738] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:01:28.745] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:01:28.752] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:01:28.756] config.status: executing check_win32_symlinks commands [16:01:28.789] [16:01:28.789] real 0m18.575s [16:01:28.789] user 0m12.448s [16:01:28.789] sys 0m5.650s [16:01:28.789] make -s -j${BUILD_JOBS} clean [16:01:29.295] time make -s -j${BUILD_JOBS} world-bin [16:04:19.875] elog.c: In function ‘EmitErrorReport’: [16:04:19.875] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [16:04:19.875] 1699 | char* str = debug_query_string; [16:04:19.875] | ^~~~~~~~~~~~~~~~~~ [16:04:19.875] cc1: all warnings being treated as errors [16:04:19.876] make[4]: *** [: elog.o] Error 1 [16:04:19.876] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [16:04:19.876] make[3]: *** Waiting for unfinished jobs.... [16:04:38.196] make[2]: *** [common.mk:37: utils-recursive] Error 2 [16:04:38.196] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:04:38.197] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:04:38.197] [16:04:38.197] real 3m8.902s [16:04:38.197] user 10m21.888s [16:04:38.197] sys 1m55.228s [16:04:38.197] [16:04:38.197] Exit status: 2