[19:56:56.932] time ./configure \ [19:56:56.932] --host=x86_64-w64-mingw32 \ [19:56:56.932] --enable-cassert \ [19:56:56.932] --without-icu \ [19:56:56.932] CC="ccache x86_64-w64-mingw32-gcc" \ [19:56:56.932] CXX="ccache x86_64-w64-mingw32-g++" [19:56:57.048] checking build system type... x86_64-pc-linux-gnu [19:56:57.251] checking host system type... x86_64-w64-mingw32 [19:56:57.256] checking which template to use... win32 [19:56:57.256] checking whether NLS is wanted... no [19:56:57.256] checking for default port number... 5432 [19:56:57.262] checking for block size... 8kB [19:56:57.264] checking for segment size... 1GB [19:56:57.266] checking for WAL block size... 8kB [19:56:57.267] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:56:57.299] checking whether the C compiler works... yes [19:56:57.448] checking for C compiler default output file name... a.exe [19:56:57.449] checking for suffix of executables... .exe [19:56:57.489] checking whether we are cross compiling... yes [19:56:57.564] checking for suffix of object files... o [19:56:57.596] checking whether we are using the GNU C compiler... yes [19:56:57.611] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:56:57.626] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:56:57.650] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:56:57.800] checking whether we are using the GNU C++ compiler... yes [19:56:58.006] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:56:58.096] checking for gawk... no [19:56:58.097] checking for mawk... mawk [19:56:58.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:56:58.114] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:56:58.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:56:58.190] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:56:58.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:56:58.240] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:56:58.256] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:56:58.263] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:56:58.279] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:56:58.310] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:56:58.317] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:56:58.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:56:58.365] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:56:58.381] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:56:58.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:56:58.445] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:56:58.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:56:58.497] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:56:58.513] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:56:58.545] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:56:58.551] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:56:58.558] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:56:58.588] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:56:58.611] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:56:58.642] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:56:58.657] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:56:58.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:56:58.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:56:58.738] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:56:58.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:56:58.787] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:56:58.803] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:56:58.810] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:56:58.842] checking whether the C compiler still works... yes [19:56:58.914] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:56:58.978] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:56:58.979] checking pkg-config is at least version 0.9.0... yes [19:56:58.995] checking whether to build with ICU support... no [19:56:58.995] checking whether to build with Tcl... no [19:56:58.995] checking whether to build Perl modules... no [19:56:58.996] checking whether to build Python modules... no [19:56:58.996] checking whether to build with GSSAPI support... no [19:56:58.997] checking whether to build with PAM support... no [19:56:58.997] checking whether to build with BSD Authentication support... no [19:56:58.997] checking whether to build with LDAP support... no [19:56:58.997] checking whether to build with Bonjour support... no [19:56:58.997] checking whether to build with SELinux support... no [19:56:58.997] checking whether to build with systemd support... no [19:56:58.997] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:56:58.997] checking whether to build with XML support... no [19:56:58.998] checking whether to build with LZ4 support... no [19:56:58.998] checking whether to build with ZSTD support... no [19:56:58.998] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:56:58.999] checking whether it is possible to strip libraries... yes [19:56:59.007] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:56:59.007] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:56:59.008] checking for a BSD-compatible install... /usr/bin/install -c [19:56:59.017] checking for tar... /usr/bin/tar [19:56:59.017] checking whether ln -s works... yes [19:56:59.017] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:56:59.019] checking for bison... /usr/bin/bison [19:56:59.021] configure: using bison (GNU Bison) 3.8.2 [19:56:59.024] checking for flex... /usr/bin/flex [19:56:59.035] configure: using flex 2.6.4 [19:56:59.035] checking for perl... /usr/bin/perl [19:56:59.038] configure: using perl 5.36.0 [19:56:59.040] checking for zic... /usr/sbin/zic [19:56:59.040] checking for a sed that does not truncate output... /usr/bin/sed [19:56:59.045] checking for grep that handles long lines and -e... /usr/bin/grep [19:56:59.047] checking for egrep... /usr/bin/grep -E [19:56:59.048] checking for ANSI C header files... yes [19:56:59.135] checking for sys/types.h... yes [19:56:59.191] checking for sys/stat.h... yes [19:56:59.226] checking for stdlib.h... yes [19:56:59.259] checking for string.h... yes [19:56:59.293] checking for memory.h... yes [19:56:59.353] checking for strings.h... yes [19:56:59.367] checking for inttypes.h... yes [19:56:59.428] checking for stdint.h... yes [19:56:59.442] checking for unistd.h... yes [19:56:59.505] checking for main in -lm... yes [19:56:59.551] checking for library containing setproctitle... no [19:56:59.638] checking for library containing dlsym... no [19:56:59.723] checking for library containing socket... -lws2_32 [19:56:59.850] checking for library containing getopt_long... none required [19:56:59.898] checking for library containing shm_open... no [19:56:59.985] checking for library containing shm_unlink... no [19:57:00.068] checking for library containing clock_gettime... no [19:57:00.157] checking for library containing shmget... no [19:57:00.246] checking for library containing backtrace_symbols... no [19:57:00.332] checking for library containing pthread_barrier_wait... -lpthread [19:57:00.423] checking for inflate in -lz... yes [19:57:00.468] checking for stdbool.h that conforms to C99... yes [19:57:00.515] checking for _Bool... yes [19:57:00.635] checking atomic.h usability... no [19:57:00.690] checking atomic.h presence... no [19:57:00.708] checking for atomic.h... no [19:57:00.711] checking copyfile.h usability... no [19:57:00.765] checking copyfile.h presence... no [19:57:00.783] checking for copyfile.h... no [19:57:00.786] checking execinfo.h usability... no [19:57:00.842] checking execinfo.h presence... no [19:57:00.861] checking for execinfo.h... no [19:57:00.864] checking getopt.h usability... yes [19:57:00.918] checking getopt.h presence... yes [19:57:00.933] checking for getopt.h... yes [19:57:00.939] checking ifaddrs.h usability... no [19:57:00.993] checking ifaddrs.h presence... no [19:57:01.012] checking for ifaddrs.h... no [19:57:01.015] checking mbarrier.h usability... no [19:57:01.070] checking mbarrier.h presence... no [19:57:01.088] checking for mbarrier.h... no [19:57:01.091] checking sys/epoll.h usability... no [19:57:01.146] checking sys/epoll.h presence... no [19:57:01.164] checking for sys/epoll.h... no [19:57:01.167] checking sys/event.h usability... no [19:57:01.223] checking sys/event.h presence... no [19:57:01.241] checking for sys/event.h... no [19:57:01.244] checking sys/personality.h usability... no [19:57:01.299] checking sys/personality.h presence... no [19:57:01.317] checking for sys/personality.h... no [19:57:01.320] checking sys/prctl.h usability... no [19:57:01.374] checking sys/prctl.h presence... no [19:57:01.392] checking for sys/prctl.h... no [19:57:01.395] checking sys/procctl.h usability... no [19:57:01.450] checking sys/procctl.h presence... no [19:57:01.469] checking for sys/procctl.h... no [19:57:01.472] checking sys/signalfd.h usability... no [19:57:01.527] checking sys/signalfd.h presence... no [19:57:01.545] checking for sys/signalfd.h... no [19:57:01.548] checking sys/ucred.h usability... no [19:57:01.602] checking sys/ucred.h presence... no [19:57:01.620] checking for sys/ucred.h... no [19:57:01.623] checking termios.h usability... no [19:57:01.677] checking termios.h presence... no [19:57:01.696] checking for termios.h... no [19:57:01.698] checking ucred.h usability... no [19:57:01.753] checking ucred.h presence... no [19:57:01.772] checking for ucred.h... no [19:57:01.775] checking xlocale.h usability... no [19:57:01.831] checking xlocale.h presence... no [19:57:01.849] checking for xlocale.h... no [19:57:01.852] checking zlib.h usability... yes [19:57:01.914] checking zlib.h presence... yes [19:57:01.934] checking for zlib.h... yes [19:57:01.934] checking for lz4... /usr/bin/lz4 [19:57:01.935] checking for zstd... /usr/bin/zstd [19:57:01.935] checking for openssl... /usr/bin/openssl [19:57:01.939] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:57:01.940] checking crtdefs.h usability... yes [19:57:01.995] checking crtdefs.h presence... yes [19:57:02.010] checking for crtdefs.h... yes [19:57:02.012] checking whether byte ordering is bigendian... no [19:57:02.096] checking for inline... inline [19:57:02.103] checking for printf format archetype... gnu_printf [19:57:02.111] checking for _Static_assert... yes [19:57:02.153] checking for typeof... typeof [19:57:02.186] checking for __builtin_types_compatible_p... yes [19:57:02.198] checking for __builtin_constant_p... yes [19:57:02.208] checking for __builtin_unreachable... yes [19:57:02.248] checking for computed goto support... yes [19:57:02.284] checking for struct tm.tm_zone... no [19:57:02.361] checking for union semun... no [19:57:02.394] checking for socklen_t... yes [19:57:03.951] checking for struct sockaddr.sa_len... no [19:57:06.042] checking for C/C++ restrict keyword... __restrict [19:57:06.056] checking for struct option... yes [19:57:06.133] checking whether assembler supports x86_64 popcntq... yes [19:57:06.141] checking size of off_t... 4 [19:57:06.503] 0 [19:57:06.503] checking size of bool... 1 [19:57:06.578] checking for int timezone... yes [19:57:06.632] checking for backtrace_symbols... no [19:57:06.686] checking for copyfile... no [19:57:06.739] checking for copy_file_range... no [19:57:06.793] checking for getifaddrs... no [19:57:06.847] checking for getpeerucred... no [19:57:06.901] checking for inet_pton... yes [19:57:06.955] checking for kqueue... no [19:57:07.009] checking for mbstowcs_l... no [19:57:07.063] checking for memset_s... no [19:57:07.117] checking for posix_fallocate... no [19:57:07.169] checking for ppoll... no [19:57:07.223] checking for pthread_is_threaded_np... no [19:57:07.277] checking for setproctitle... no [19:57:07.333] checking for setproctitle_fast... no [19:57:07.388] checking for strchrnul... no [19:57:07.442] checking for strsignal... no [19:57:07.495] checking for syncfs... no [19:57:07.549] checking for sync_file_range... no [19:57:07.602] checking for uselocale... no [19:57:07.657] checking for wcstombs_l... no [19:57:07.707] checking for __builtin_bswap16... yes [19:57:07.760] checking for __builtin_bswap32... yes [19:57:07.811] checking for __builtin_bswap64... yes [19:57:07.862] checking for __builtin_clz... yes [19:57:07.912] checking for __builtin_ctz... yes [19:57:07.961] checking for __builtin_popcount... yes [19:57:08.011] checking for __builtin_frame_address... yes [19:57:08.062] checking for _LARGEFILE_SOURCE value needed for large files... no [19:57:08.115] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:57:08.147] checking for posix_fadvise... no [19:57:08.199] checking whether posix_fadvise is declared... no [19:57:08.246] checking whether fdatasync is declared... no [19:57:08.293] checking whether strlcat is declared... no [19:57:08.358] checking whether strlcpy is declared... no [19:57:08.425] checking whether strnlen is declared... yes [19:57:08.496] checking whether strsep is declared... no [19:57:08.565] checking whether preadv is declared... no [19:57:08.606] checking whether pwritev is declared... no [19:57:08.647] checking whether F_FULLFSYNC is declared... no [19:57:08.691] checking for explicit_bzero... no [19:57:08.743] checking for getopt... yes [19:57:08.790] checking for getpeereid... no [19:57:08.841] checking for inet_aton... no [19:57:08.890] checking for mkdtemp... no [19:57:08.936] checking for strlcat... no [19:57:08.984] checking for strlcpy... no [19:57:09.032] checking for strnlen... yes [19:57:09.080] checking for strsep... no [19:57:09.128] checking for pthread_barrier_wait... yes [19:57:09.171] configure: On mingw32 we will use our strtof wrapper. [19:57:09.171] checking for getopt_long... yes [19:57:09.215] checking for _configthreadlocale... yes [19:57:09.260] checking for syslog... no [19:57:09.308] checking for opterr... yes [19:57:09.355] checking for optreset... no [19:57:09.407] checking test program... cross-compiling [19:57:09.407] checking whether long int is 64 bits... no [19:57:09.438] checking whether long long int is 64 bits... yes [19:57:09.447] checking for __builtin_mul_overflow... yes [19:57:09.490] checking size of void *... 8 [19:57:10.031] checking size of size_t... 8 [19:57:10.422] checking size of long... 4 [19:57:10.781] checking alignment of short... 2 [19:57:11.030] checking alignment of int... 4 [19:57:11.397] checking alignment of long... 4 [19:57:11.717] checking alignment of long long int... 8 [19:57:12.137] checking alignment of double... 8 [19:57:12.553] checking for __int128... yes [19:57:12.600] checking for __int128 alignment bug... assuming ok [19:57:12.600] checking alignment of PG_INT128_TYPE... 16 [19:57:13.074] checking for builtin __sync char locking functions... yes [19:57:13.116] checking for builtin __sync int32 locking functions... yes [19:57:13.158] checking for builtin __sync int32 atomic operations... yes [19:57:13.199] checking for builtin __sync int64 atomic operations... yes [19:57:13.240] checking for builtin __atomic int32 atomic operations... yes [19:57:13.280] checking for builtin __atomic int64 atomic operations... yes [19:57:13.321] checking for __get_cpuid... yes [19:57:13.366] checking for __get_cpuid_count... yes [19:57:13.410] checking for __cpuid... no [19:57:13.803] checking for __cpuidex... no [19:57:14.223] checking for _xgetbv with CFLAGS=... no [19:57:14.598] checking for _xgetbv with CFLAGS=-mxsave... yes [19:57:14.988] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:57:15.367] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:57:15.707] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:57:15.755] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:57:15.843] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:57:15.866] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:57:15.886] 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 [19:57:15.942] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:57:15.943] checking which random number source to use... Windows native [19:57:15.944] checking for xmllint... /usr/bin/xmllint [19:57:15.945] checking for xsltproc... /usr/bin/xsltproc [19:57:15.945] checking for fop... /usr/bin/fop [19:57:15.945] checking for dbtoepub... no [19:57:15.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:57:15.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:57:15.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:57:15.957] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:57:15.957] 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 [19:57:15.957] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:57:15.957] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:57:16.041] configure: creating ./config.status [19:57:16.124] config.status: creating GNUmakefile [19:57:16.137] config.status: creating src/Makefile.global [19:57:16.152] config.status: creating src/include/pg_config.h [19:57:16.165] config.status: creating src/include/pg_config_ext.h [19:57:16.178] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:57:16.193] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:57:16.201] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:57:16.208] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:57:16.215] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:57:16.222] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:57:16.226] config.status: executing check_win32_symlinks commands [19:57:16.260] [19:57:16.260] real 0m19.328s [19:57:16.260] user 0m12.706s [19:57:16.260] sys 0m6.190s [19:57:16.260] make -s -j${BUILD_JOBS} clean [19:57:16.765] time make -s -j${BUILD_JOBS} world-bin [20:00:15.092] elog.c: In function ‘EmitErrorReport’: [20:00:15.092] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [20:00:15.092] 1699 | char* str = debug_query_string; [20:00:15.092] | ^~~~~~~~~~~~~~~~~~ [20:00:15.092] cc1: all warnings being treated as errors [20:00:15.094] make[4]: *** [: elog.o] Error 1 [20:00:15.094] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [20:00:15.094] make[3]: *** Waiting for unfinished jobs.... [20:00:35.191] make[2]: *** [common.mk:37: utils-recursive] Error 2 [20:00:35.192] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:00:35.192] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:00:35.192] [20:00:35.192] real 3m18.427s [20:00:35.192] user 10m54.746s [20:00:35.192] sys 1m59.979s [20:00:35.192] [20:00:35.192] Exit status: 2