[21:50:11.079] time ./configure \ [21:50:11.079] --host=x86_64-w64-mingw32 \ [21:50:11.079] --enable-cassert \ [21:50:11.079] --without-icu \ [21:50:11.079] CC="ccache x86_64-w64-mingw32-gcc" \ [21:50:11.079] CXX="ccache x86_64-w64-mingw32-g++" [21:50:11.199] checking build system type... x86_64-pc-linux-gnu [21:50:11.400] checking host system type... x86_64-w64-mingw32 [21:50:11.406] checking which template to use... win32 [21:50:11.406] checking whether NLS is wanted... no [21:50:11.406] checking for default port number... 5432 [21:50:11.413] checking for block size... 8kB [21:50:11.415] checking for segment size... 1GB [21:50:11.417] checking for WAL block size... 8kB [21:50:11.418] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:50:11.455] checking whether the C compiler works... yes [21:50:11.617] checking for C compiler default output file name... a.exe [21:50:11.618] checking for suffix of executables... .exe [21:50:11.657] checking whether we are cross compiling... yes [21:50:11.738] checking for suffix of object files... o [21:50:11.747] checking whether we are using the GNU C compiler... yes [21:50:11.779] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:50:11.786] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:50:11.874] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:50:11.934] checking whether we are using the GNU C++ compiler... yes [21:50:11.942] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:50:12.232] checking for gawk... no [21:50:12.232] checking for mawk... mawk [21:50:12.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:50:12.265] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:50:12.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:50:12.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:50:12.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:50:12.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:50:12.395] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:50:12.402] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:50:12.409] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:50:12.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:50:12.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:50:12.464] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:50:12.480] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:50:12.487] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:50:12.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:50:12.519] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:50:12.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:50:12.562] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:50:12.578] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:50:12.609] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:50:12.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:50:12.622] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:50:12.657] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:50:12.683] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:50:12.690] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:50:12.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:50:12.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:50:12.781] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:50:12.788] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:50:12.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:50:12.853] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:50:12.859] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:50:12.866] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:50:12.898] checking whether the C compiler still works... yes [21:50:12.948] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:50:13.024] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:50:13.024] checking pkg-config is at least version 0.9.0... yes [21:50:13.041] checking whether to build with ICU support... no [21:50:13.041] checking whether to build with Tcl... no [21:50:13.041] checking whether to build Perl modules... no [21:50:13.041] checking whether to build Python modules... no [21:50:13.041] checking whether to build with GSSAPI support... no [21:50:13.043] checking whether to build with PAM support... no [21:50:13.043] checking whether to build with BSD Authentication support... no [21:50:13.043] checking whether to build with LDAP support... no [21:50:13.043] checking whether to build with Bonjour support... no [21:50:13.043] checking whether to build with SELinux support... no [21:50:13.043] checking whether to build with systemd support... no [21:50:13.043] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:50:13.043] checking whether to build with XML support... no [21:50:13.044] checking whether to build with LZ4 support... no [21:50:13.044] checking whether to build with ZSTD support... no [21:50:13.044] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:50:13.044] checking whether it is possible to strip libraries... yes [21:50:13.052] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:50:13.052] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:50:13.053] checking for a BSD-compatible install... /usr/bin/install -c [21:50:13.061] checking for tar... /usr/bin/tar [21:50:13.062] checking whether ln -s works... yes [21:50:13.062] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:50:13.064] checking for bison... /usr/bin/bison [21:50:13.066] configure: using bison (GNU Bison) 3.8.2 [21:50:13.069] checking for flex... /usr/bin/flex [21:50:13.080] configure: using flex 2.6.4 [21:50:13.080] checking for perl... /usr/bin/perl [21:50:13.083] configure: using perl 5.36.0 [21:50:13.085] checking for zic... /usr/sbin/zic [21:50:13.085] checking for a sed that does not truncate output... /usr/bin/sed [21:50:13.090] checking for grep that handles long lines and -e... /usr/bin/grep [21:50:13.092] checking for egrep... /usr/bin/grep -E [21:50:13.093] checking for ANSI C header files... yes [21:50:13.180] checking for sys/types.h... yes [21:50:13.195] checking for sys/stat.h... yes [21:50:13.256] checking for stdlib.h... yes [21:50:13.270] checking for string.h... yes [21:50:13.283] checking for memory.h... yes [21:50:13.316] checking for strings.h... yes [21:50:13.348] checking for inttypes.h... yes [21:50:13.363] checking for stdint.h... yes [21:50:13.396] checking for unistd.h... yes [21:50:13.456] checking for main in -lm... yes [21:50:13.501] checking for library containing setproctitle... no [21:50:13.586] checking for library containing dlsym... no [21:50:13.672] checking for library containing socket... -lws2_32 [21:50:13.805] checking for library containing getopt_long... none required [21:50:13.851] checking for library containing shm_open... no [21:50:13.938] checking for library containing shm_unlink... no [21:50:14.024] checking for library containing clock_gettime... no [21:50:14.113] checking for library containing shmget... no [21:50:14.201] checking for library containing backtrace_symbols... no [21:50:14.291] checking for library containing pthread_barrier_wait... -lpthread [21:50:14.382] checking for inflate in -lz... yes [21:50:14.428] checking for stdbool.h that conforms to C99... yes [21:50:14.439] checking for _Bool... yes [21:50:14.511] checking atomic.h usability... no [21:50:14.567] checking atomic.h presence... no [21:50:14.586] checking for atomic.h... no [21:50:14.590] checking copyfile.h usability... no [21:50:14.645] checking copyfile.h presence... no [21:50:14.665] checking for copyfile.h... no [21:50:14.669] checking execinfo.h usability... no [21:50:14.725] checking execinfo.h presence... no [21:50:14.745] checking for execinfo.h... no [21:50:14.749] checking getopt.h usability... yes [21:50:14.805] checking getopt.h presence... yes [21:50:14.821] checking for getopt.h... yes [21:50:14.829] checking ifaddrs.h usability... no [21:50:14.885] checking ifaddrs.h presence... no [21:50:14.906] checking for ifaddrs.h... no [21:50:14.909] checking mbarrier.h usability... no [21:50:14.965] checking mbarrier.h presence... no [21:50:14.984] checking for mbarrier.h... no [21:50:14.988] checking sys/epoll.h usability... no [21:50:15.042] checking sys/epoll.h presence... no [21:50:15.061] checking for sys/epoll.h... no [21:50:15.065] checking sys/event.h usability... no [21:50:15.119] checking sys/event.h presence... no [21:50:15.137] checking for sys/event.h... no [21:50:15.140] checking sys/personality.h usability... no [21:50:15.194] checking sys/personality.h presence... no [21:50:15.213] checking for sys/personality.h... no [21:50:15.216] checking sys/prctl.h usability... no [21:50:15.271] checking sys/prctl.h presence... no [21:50:15.290] checking for sys/prctl.h... no [21:50:15.293] checking sys/procctl.h usability... no [21:50:15.350] checking sys/procctl.h presence... no [21:50:15.369] checking for sys/procctl.h... no [21:50:15.372] checking sys/signalfd.h usability... no [21:50:15.427] checking sys/signalfd.h presence... no [21:50:15.446] checking for sys/signalfd.h... no [21:50:15.449] checking sys/ucred.h usability... no [21:50:15.504] checking sys/ucred.h presence... no [21:50:15.523] checking for sys/ucred.h... no [21:50:15.526] checking termios.h usability... no [21:50:15.582] checking termios.h presence... no [21:50:15.601] checking for termios.h... no [21:50:15.605] checking ucred.h usability... no [21:50:15.659] checking ucred.h presence... no [21:50:15.678] checking for ucred.h... no [21:50:15.681] checking xlocale.h usability... no [21:50:15.737] checking xlocale.h presence... no [21:50:15.757] checking for xlocale.h... no [21:50:15.760] checking zlib.h usability... yes [21:50:15.769] checking zlib.h presence... yes [21:50:15.789] checking for zlib.h... yes [21:50:15.789] checking for lz4... /usr/bin/lz4 [21:50:15.789] checking for zstd... /usr/bin/zstd [21:50:15.790] checking for openssl... /usr/bin/openssl [21:50:15.794] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [21:50:15.795] checking crtdefs.h usability... yes [21:50:15.850] checking crtdefs.h presence... yes [21:50:15.866] checking for crtdefs.h... yes [21:50:15.867] checking whether byte ordering is bigendian... no [21:50:15.944] checking for inline... inline [21:50:15.960] checking for printf format archetype... gnu_printf [21:50:15.968] checking for _Static_assert... yes [21:50:16.010] checking for typeof... typeof [21:50:16.017] checking for __builtin_types_compatible_p... yes [21:50:16.027] checking for __builtin_constant_p... yes [21:50:16.038] checking for __builtin_unreachable... yes [21:50:16.078] checking for computed goto support... yes [21:50:16.086] checking for struct tm.tm_zone... no [21:50:16.164] checking for union semun... no [21:50:16.198] checking for socklen_t... yes [21:50:18.422] checking for struct sockaddr.sa_len... no [21:50:20.467] checking for C/C++ restrict keyword... __restrict [21:50:20.489] checking for struct option... yes [21:50:20.558] checking whether assembler supports x86_64 popcntq... yes [21:50:20.575] checking size of off_t... 4 [21:50:20.852] 0 [21:50:20.852] checking size of bool... 1 [21:50:20.895] checking for int timezone... yes [21:50:20.947] checking for backtrace_symbols... no [21:50:20.997] checking for copyfile... no [21:50:21.048] checking for copy_file_range... no [21:50:21.098] checking for getifaddrs... no [21:50:21.147] checking for getpeerucred... no [21:50:21.198] checking for inet_pton... yes [21:50:21.250] checking for kqueue... no [21:50:21.302] checking for mbstowcs_l... no [21:50:21.354] checking for memset_s... no [21:50:21.406] checking for posix_fallocate... no [21:50:21.459] checking for ppoll... no [21:50:21.512] checking for pthread_is_threaded_np... no [21:50:21.565] checking for setproctitle... no [21:50:21.619] checking for setproctitle_fast... no [21:50:21.670] checking for strchrnul... no [21:50:21.721] checking for strsignal... no [21:50:21.773] checking for syncfs... no [21:50:21.824] checking for sync_file_range... no [21:50:21.875] checking for uselocale... no [21:50:21.925] checking for wcstombs_l... no [21:50:21.972] checking for __builtin_bswap16... yes [21:50:22.020] checking for __builtin_bswap32... yes [21:50:22.067] checking for __builtin_bswap64... yes [21:50:22.116] checking for __builtin_clz... yes [21:50:22.165] checking for __builtin_ctz... yes [21:50:22.212] checking for __builtin_popcount... yes [21:50:22.260] checking for __builtin_frame_address... yes [21:50:22.306] checking for _LARGEFILE_SOURCE value needed for large files... no [21:50:22.356] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:50:22.388] checking for posix_fadvise... no [21:50:22.436] checking whether posix_fadvise is declared... no [21:50:22.479] checking whether fdatasync is declared... no [21:50:22.523] checking whether strlcat is declared... no [21:50:22.583] checking whether strlcpy is declared... no [21:50:22.643] checking whether strnlen is declared... yes [21:50:22.676] checking whether strsep is declared... no [21:50:22.737] checking whether preadv is declared... no [21:50:22.774] checking whether pwritev is declared... no [21:50:22.808] checking whether F_FULLFSYNC is declared... no [21:50:22.846] checking for explicit_bzero... no [21:50:22.891] checking for getopt... yes [21:50:22.934] checking for getpeereid... no [21:50:22.980] checking for inet_aton... no [21:50:23.025] checking for mkdtemp... no [21:50:23.071] checking for strlcat... no [21:50:23.117] checking for strlcpy... no [21:50:23.163] checking for strnlen... yes [21:50:23.208] checking for strsep... no [21:50:23.253] checking for pthread_barrier_wait... yes [21:50:23.295] configure: On mingw32 we will use our strtof wrapper. [21:50:23.295] checking for getopt_long... yes [21:50:23.338] checking for _configthreadlocale... yes [21:50:23.381] checking for syslog... no [21:50:23.429] checking for opterr... yes [21:50:23.476] checking for optreset... no [21:50:23.528] checking test program... cross-compiling [21:50:23.528] checking whether long int is 64 bits... no [21:50:23.560] checking whether long long int is 64 bits... yes [21:50:23.570] checking for __builtin_mul_overflow... yes [21:50:23.614] checking size of void *... 8 [21:50:23.998] checking size of size_t... 8 [21:50:24.369] checking size of long... 4 [21:50:24.631] checking alignment of short... 2 [21:50:24.900] checking alignment of int... 4 [21:50:25.170] checking alignment of long... 4 [21:50:25.414] checking alignment of long long int... 8 [21:50:25.757] checking alignment of double... 8 [21:50:26.163] checking for __int128... yes [21:50:26.214] checking for __int128 alignment bug... assuming ok [21:50:26.214] checking alignment of PG_INT128_TYPE... 16 [21:50:26.621] checking for builtin __sync char locking functions... yes [21:50:26.662] checking for builtin __sync int32 locking functions... yes [21:50:26.703] checking for builtin __sync int32 atomic operations... yes [21:50:26.745] checking for builtin __sync int64 atomic operations... yes [21:50:26.786] checking for builtin __atomic int32 atomic operations... yes [21:50:26.826] checking for builtin __atomic int64 atomic operations... yes [21:50:26.869] checking for __get_cpuid... yes [21:50:26.916] checking for __get_cpuid_count... yes [21:50:26.959] checking for __cpuid... no [21:50:27.356] checking for __cpuidex... no [21:50:27.778] checking for _xgetbv... yes [21:50:28.188] checking for _mm512_popcnt_epi64... yes [21:50:28.612] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:50:28.657] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:50:28.745] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:50:28.768] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:50:28.788] 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 [21:50:28.843] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:50:28.843] checking which random number source to use... Windows native [21:50:28.845] checking for xmllint... /usr/bin/xmllint [21:50:28.846] checking for xsltproc... /usr/bin/xsltproc [21:50:28.846] checking for fop... /usr/bin/fop [21:50:28.846] checking for dbtoepub... no [21:50:28.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:50:28.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:50:28.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:50:28.858] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:50:28.858] 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 [21:50:28.858] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:50:28.858] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:50:28.937] configure: creating ./config.status [21:50:29.018] config.status: creating GNUmakefile [21:50:29.029] config.status: creating src/Makefile.global [21:50:29.044] config.status: creating src/include/pg_config.h [21:50:29.056] config.status: creating src/include/pg_config_ext.h [21:50:29.067] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:50:29.082] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:50:29.089] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:50:29.095] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:50:29.102] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:50:29.109] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:50:29.112] config.status: executing check_win32_symlinks commands [21:50:29.144] [21:50:29.144] real 0m18.065s [21:50:29.144] user 0m11.943s [21:50:29.144] sys 0m5.646s [21:50:29.144] make -s -j${BUILD_JOBS} clean [21:50:29.642] time make -s -j${BUILD_JOBS} world-bin [21:53:22.576] elog.c: In function ‘EmitErrorReport’: [21:53:22.576] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [21:53:22.576] 1699 | char* str = debug_query_string; [21:53:22.576] | ^~~~~~~~~~~~~~~~~~ [21:53:22.576] cc1: all warnings being treated as errors [21:53:22.577] make[4]: *** [: elog.o] Error 1 [21:53:22.577] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [21:53:22.577] make[3]: *** Waiting for unfinished jobs.... [21:53:38.356] make[2]: *** [common.mk:37: utils-recursive] Error 2 [21:53:38.356] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:53:38.356] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:53:38.356] [21:53:38.356] real 3m8.714s [21:53:38.356] user 10m23.677s [21:53:38.356] sys 1m54.504s [21:53:38.357] [21:53:38.357] Exit status: 2