[20:16:07.493] time ./configure \ [20:16:07.493] --host=x86_64-w64-mingw32 \ [20:16:07.493] --enable-cassert \ [20:16:07.493] --without-icu \ [20:16:07.493] CC="ccache x86_64-w64-mingw32-gcc" \ [20:16:07.493] CXX="ccache x86_64-w64-mingw32-g++" [20:16:07.600] checking build system type... x86_64-pc-linux-gnu [20:16:07.814] checking host system type... x86_64-w64-mingw32 [20:16:07.819] checking which template to use... win32 [20:16:07.819] checking whether NLS is wanted... no [20:16:07.819] checking for default port number... 5432 [20:16:07.826] checking for block size... 8kB [20:16:07.827] checking for segment size... 1GB [20:16:07.829] checking for WAL block size... 8kB [20:16:07.830] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:16:07.861] checking whether the C compiler works... yes [20:16:08.000] checking for C compiler default output file name... a.exe [20:16:08.001] checking for suffix of executables... .exe [20:16:08.040] checking whether we are cross compiling... yes [20:16:08.112] checking for suffix of object files... o [20:16:08.120] checking whether we are using the GNU C compiler... yes [20:16:08.135] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:16:08.141] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:16:08.222] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:16:08.356] checking whether we are using the GNU C++ compiler... yes [20:16:08.520] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:16:08.584] checking for gawk... no [20:16:08.584] checking for mawk... mawk [20:16:08.586] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:16:08.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:16:08.623] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:16:08.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:16:08.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:16:08.720] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:16:08.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:16:08.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:16:08.750] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:16:08.757] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:16:08.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:16:08.770] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:16:08.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:16:08.793] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:16:08.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:16:08.873] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:16:08.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:16:08.943] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:16:08.950] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:16:08.967] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:16:08.983] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:16:09.016] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:16:09.047] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:16:09.072] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:16:09.089] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:16:09.097] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:16:09.135] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:16:09.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:16:09.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:16:09.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:16:09.278] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:16:09.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:16:09.293] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:16:09.311] checking whether the C compiler still works... yes [20:16:09.389] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:16:09.465] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:16:09.465] checking pkg-config is at least version 0.9.0... yes [20:16:09.484] checking whether to build with ICU support... no [20:16:09.484] checking whether to build with Tcl... no [20:16:09.484] checking whether to build Perl modules... no [20:16:09.484] checking whether to build Python modules... no [20:16:09.484] checking whether to build with GSSAPI support... no [20:16:09.485] checking whether to build with PAM support... no [20:16:09.485] checking whether to build with BSD Authentication support... no [20:16:09.486] checking whether to build with LDAP support... no [20:16:09.486] checking whether to build with Bonjour support... no [20:16:09.486] checking whether to build with SELinux support... no [20:16:09.486] checking whether to build with systemd support... no [20:16:09.486] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:16:09.486] checking whether to build with XML support... no [20:16:09.486] checking whether to build with LZ4 support... no [20:16:09.486] checking whether to build with ZSTD support... no [20:16:09.487] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:16:09.487] checking whether it is possible to strip libraries... yes [20:16:09.494] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:16:09.495] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:16:09.495] checking for a BSD-compatible install... /usr/bin/install -c [20:16:09.505] checking for tar... /usr/bin/tar [20:16:09.505] checking whether ln -s works... yes [20:16:09.505] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:16:09.507] checking for bison... /usr/bin/bison [20:16:09.510] configure: using bison (GNU Bison) 3.8.2 [20:16:09.512] checking for flex... /usr/bin/flex [20:16:09.525] configure: using flex 2.6.4 [20:16:09.525] checking for perl... /usr/bin/perl [20:16:09.527] configure: using perl 5.36.0 [20:16:09.529] checking for zic... /usr/sbin/zic [20:16:09.530] checking for a sed that does not truncate output... /usr/bin/sed [20:16:09.534] checking for grep that handles long lines and -e... /usr/bin/grep [20:16:09.536] checking for egrep... /usr/bin/grep -E [20:16:09.537] checking for ANSI C header files... yes [20:16:09.597] checking for sys/types.h... yes [20:16:09.614] checking for sys/stat.h... yes [20:16:09.676] checking for stdlib.h... yes [20:16:09.733] checking for string.h... yes [20:16:09.747] checking for memory.h... yes [20:16:09.805] checking for strings.h... yes [20:16:09.866] checking for inttypes.h... yes [20:16:09.930] checking for stdint.h... yes [20:16:09.991] checking for unistd.h... yes [20:16:10.008] checking for main in -lm... yes [20:16:10.056] checking for library containing setproctitle... no [20:16:10.146] checking for library containing dlsym... no [20:16:10.238] checking for library containing socket... -lws2_32 [20:16:10.369] checking for library containing getopt_long... none required [20:16:10.416] checking for library containing shm_open... no [20:16:10.501] checking for library containing shm_unlink... no [20:16:10.587] checking for library containing clock_gettime... no [20:16:10.677] checking for library containing shmget... no [20:16:10.765] checking for library containing backtrace_symbols... no [20:16:10.853] checking for library containing pthread_barrier_wait... -lpthread [20:16:10.944] checking for inflate in -lz... yes [20:16:10.989] checking for stdbool.h that conforms to C99... yes [20:16:11.033] checking for _Bool... yes [20:16:11.101] checking atomic.h usability... no [20:16:11.157] checking atomic.h presence... no [20:16:11.175] checking for atomic.h... no [20:16:11.178] checking copyfile.h usability... no [20:16:11.232] checking copyfile.h presence... no [20:16:11.251] checking for copyfile.h... no [20:16:11.254] checking execinfo.h usability... no [20:16:11.309] checking execinfo.h presence... no [20:16:11.327] checking for execinfo.h... no [20:16:11.330] checking getopt.h usability... yes [20:16:11.383] checking getopt.h presence... yes [20:16:11.398] checking for getopt.h... yes [20:16:11.404] checking ifaddrs.h usability... no [20:16:11.458] checking ifaddrs.h presence... no [20:16:11.476] checking for ifaddrs.h... no [20:16:11.479] checking mbarrier.h usability... no [20:16:11.534] checking mbarrier.h presence... no [20:16:11.552] checking for mbarrier.h... no [20:16:11.555] checking sys/epoll.h usability... no [20:16:11.609] checking sys/epoll.h presence... no [20:16:11.627] checking for sys/epoll.h... no [20:16:11.630] checking sys/event.h usability... no [20:16:11.684] checking sys/event.h presence... no [20:16:11.703] checking for sys/event.h... no [20:16:11.706] checking sys/personality.h usability... no [20:16:11.761] checking sys/personality.h presence... no [20:16:11.779] checking for sys/personality.h... no [20:16:11.782] checking sys/prctl.h usability... no [20:16:11.836] checking sys/prctl.h presence... no [20:16:11.854] checking for sys/prctl.h... no [20:16:11.857] checking sys/procctl.h usability... no [20:16:11.912] checking sys/procctl.h presence... no [20:16:11.930] checking for sys/procctl.h... no [20:16:11.933] checking sys/signalfd.h usability... no [20:16:11.986] checking sys/signalfd.h presence... no [20:16:12.004] checking for sys/signalfd.h... no [20:16:12.007] checking sys/ucred.h usability... no [20:16:12.061] checking sys/ucred.h presence... no [20:16:12.080] checking for sys/ucred.h... no [20:16:12.083] checking termios.h usability... no [20:16:12.138] checking termios.h presence... no [20:16:12.157] checking for termios.h... no [20:16:12.160] checking ucred.h usability... no [20:16:12.214] checking ucred.h presence... no [20:16:12.233] checking for ucred.h... no [20:16:12.236] checking xlocale.h usability... no [20:16:12.292] checking xlocale.h presence... no [20:16:12.311] checking for xlocale.h... no [20:16:12.314] checking zlib.h usability... yes [20:16:12.399] checking zlib.h presence... yes [20:16:12.418] checking for zlib.h... yes [20:16:12.418] checking for lz4... /usr/bin/lz4 [20:16:12.419] checking for zstd... /usr/bin/zstd [20:16:12.419] checking for openssl... /usr/bin/openssl [20:16:12.423] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [20:16:12.424] checking crtdefs.h usability... yes [20:16:12.478] checking crtdefs.h presence... yes [20:16:12.493] checking for crtdefs.h... yes [20:16:12.494] checking whether byte ordering is bigendian... no [20:16:12.595] checking for inline... inline [20:16:12.623] checking for printf format archetype... gnu_printf [20:16:12.631] checking for _Static_assert... yes [20:16:12.672] checking for typeof... typeof [20:16:12.680] checking for __builtin_types_compatible_p... yes [20:16:12.702] checking for __builtin_constant_p... yes [20:16:12.725] checking for __builtin_unreachable... yes [20:16:12.767] checking for computed goto support... yes [20:16:12.775] checking for struct tm.tm_zone... no [20:16:12.857] checking for union semun... no [20:16:12.890] checking for socklen_t... yes [20:16:15.168] checking for struct sockaddr.sa_len... no [20:16:17.287] checking for C/C++ restrict keyword... __restrict [20:16:17.301] checking for struct option... yes [20:16:17.356] checking whether assembler supports x86_64 popcntq... yes [20:16:17.363] checking size of off_t... 4 [20:16:17.784] 0 [20:16:17.784] checking size of bool... 1 [20:16:17.855] checking for int timezone... yes [20:16:17.906] checking for backtrace_symbols... no [20:16:17.954] checking for copyfile... no [20:16:18.002] checking for copy_file_range... no [20:16:18.051] checking for getifaddrs... no [20:16:18.101] checking for getpeerucred... no [20:16:18.150] checking for inet_pton... yes [20:16:18.200] checking for kqueue... no [20:16:18.250] checking for mbstowcs_l... no [20:16:18.301] checking for memset_s... no [20:16:18.353] checking for posix_fallocate... no [20:16:18.405] checking for ppoll... no [20:16:18.456] checking for pthread_is_threaded_np... no [20:16:18.510] checking for setproctitle... no [20:16:18.560] checking for setproctitle_fast... no [20:16:18.610] checking for strchrnul... no [20:16:18.662] checking for strsignal... no [20:16:18.714] checking for syncfs... no [20:16:18.765] checking for sync_file_range... no [20:16:18.817] checking for uselocale... no [20:16:18.869] checking for wcstombs_l... no [20:16:18.919] checking for __builtin_bswap16... yes [20:16:18.968] checking for __builtin_bswap32... yes [20:16:19.017] checking for __builtin_bswap64... yes [20:16:19.067] checking for __builtin_clz... yes [20:16:19.116] checking for __builtin_ctz... yes [20:16:19.166] checking for __builtin_popcount... yes [20:16:19.213] checking for __builtin_frame_address... yes [20:16:19.259] checking for _LARGEFILE_SOURCE value needed for large files... no [20:16:19.312] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:16:19.345] checking for posix_fadvise... no [20:16:19.397] checking whether posix_fadvise is declared... no [20:16:19.439] checking whether fdatasync is declared... no [20:16:19.484] checking whether strlcat is declared... no [20:16:19.549] checking whether strlcpy is declared... no [20:16:19.615] checking whether strnlen is declared... yes [20:16:19.682] checking whether strsep is declared... no [20:16:19.747] checking whether preadv is declared... no [20:16:19.784] checking whether pwritev is declared... no [20:16:19.822] checking whether F_FULLFSYNC is declared... no [20:16:19.862] checking for explicit_bzero... no [20:16:19.911] checking for getopt... yes [20:16:19.954] checking for getpeereid... no [20:16:20.000] checking for inet_aton... no [20:16:20.047] checking for mkdtemp... no [20:16:20.096] checking for strlcat... no [20:16:20.144] checking for strlcpy... no [20:16:20.192] checking for strnlen... yes [20:16:20.240] checking for strsep... no [20:16:20.289] checking for pthread_barrier_wait... yes [20:16:20.335] configure: On mingw32 we will use our strtof wrapper. [20:16:20.335] checking for getopt_long... yes [20:16:20.382] checking for _configthreadlocale... yes [20:16:20.429] checking for syslog... no [20:16:20.478] checking for opterr... yes [20:16:20.529] checking for optreset... no [20:16:20.583] checking test program... cross-compiling [20:16:20.583] checking whether long int is 64 bits... no [20:16:20.617] checking whether long long int is 64 bits... yes [20:16:20.628] checking for __builtin_mul_overflow... yes [20:16:20.673] checking size of void *... 8 [20:16:21.074] checking size of size_t... 8 [20:16:21.482] checking size of long... 4 [20:16:21.801] checking alignment of short... 2 [20:16:22.003] checking alignment of int... 4 [20:16:22.212] checking alignment of long... 4 [20:16:22.575] checking alignment of long long int... 8 [20:16:22.937] checking alignment of double... 8 [20:16:23.322] checking for int8... no [20:16:23.368] checking for uint8... no [20:16:23.412] checking for int64... no [20:16:23.456] checking for uint64... no [20:16:23.499] checking for __int128... yes [20:16:23.546] checking for __int128 alignment bug... assuming ok [20:16:23.546] checking alignment of PG_INT128_TYPE... 16 [20:16:24.033] checking for builtin __sync char locking functions... yes [20:16:24.075] checking for builtin __sync int32 locking functions... yes [20:16:24.118] checking for builtin __sync int32 atomic operations... yes [20:16:24.161] checking for builtin __sync int64 atomic operations... yes [20:16:24.204] checking for builtin __atomic int32 atomic operations... yes [20:16:24.248] checking for builtin __atomic int64 atomic operations... yes [20:16:24.291] checking for __get_cpuid... yes [20:16:24.339] checking for __get_cpuid_count... yes [20:16:24.382] checking for __cpuid... no [20:16:24.786] checking for __cpuidex... no [20:16:25.212] checking for _xgetbv with CFLAGS=... no [20:16:25.593] checking for _xgetbv with CFLAGS=-mxsave... yes [20:16:25.991] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:16:26.379] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:16:26.720] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:16:26.766] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:16:26.854] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:16:26.877] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:16:26.897] 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 [20:16:26.951] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:16:26.951] checking which random number source to use... Windows native [20:16:26.953] checking for xmllint... /usr/bin/xmllint [20:16:26.953] checking for xsltproc... /usr/bin/xsltproc [20:16:26.954] checking for fop... /usr/bin/fop [20:16:26.954] checking for dbtoepub... no [20:16:26.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:16:26.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:16:26.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:16:26.965] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:16:26.965] 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 [20:16:26.965] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:16:26.965] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:16:27.045] configure: creating ./config.status [20:16:27.124] config.status: creating GNUmakefile [20:16:27.135] config.status: creating src/Makefile.global [20:16:27.150] config.status: creating src/include/pg_config.h [20:16:27.162] config.status: creating src/include/pg_config_ext.h [20:16:27.172] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:16:27.187] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:16:27.194] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:16:27.200] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:16:27.207] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:16:27.214] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:16:27.217] config.status: executing check_win32_symlinks commands [20:16:27.250] [20:16:27.250] real 0m19.757s [20:16:27.250] user 0m13.254s [20:16:27.250] sys 0m5.983s [20:16:27.250] make -s -j${BUILD_JOBS} clean [20:16:27.740] time make -s -j${BUILD_JOBS} world-bin [20:19:38.290] elog.c: In function ‘EmitErrorReport’: [20:19:38.290] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [20:19:38.290] 1699 | char* str = debug_query_string; [20:19:38.290] | ^~~~~~~~~~~~~~~~~~ [20:19:38.290] cc1: all warnings being treated as errors [20:19:38.291] make[4]: *** [: elog.o] Error 1 [20:19:38.291] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [20:19:38.291] make[3]: *** Waiting for unfinished jobs.... [20:19:39.710] make[2]: *** [common.mk:37: utils-recursive] Error 2 [20:19:39.710] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:19:39.710] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:19:39.710] [20:19:39.710] real 3m11.971s [20:19:39.710] user 10m34.392s [20:19:39.710] sys 1m55.836s [20:19:39.711] [20:19:39.711] Exit status: 2