[04:01:53.023] time ./configure \ [04:01:53.023] --host=x86_64-w64-mingw32 \ [04:01:53.023] --enable-cassert \ [04:01:53.023] --without-icu \ [04:01:53.023] CC="ccache x86_64-w64-mingw32-gcc" \ [04:01:53.023] CXX="ccache x86_64-w64-mingw32-g++" [04:01:53.160] checking build system type... x86_64-pc-linux-gnu [04:01:53.359] checking host system type... x86_64-w64-mingw32 [04:01:53.365] checking which template to use... win32 [04:01:53.366] checking whether NLS is wanted... no [04:01:53.366] checking for default port number... 5432 [04:01:53.373] checking for block size... 8kB [04:01:53.375] checking for segment size... 1GB [04:01:53.377] checking for WAL block size... 8kB [04:01:53.379] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:01:53.419] checking whether the C compiler works... yes [04:01:53.567] checking for C compiler default output file name... a.exe [04:01:53.568] checking for suffix of executables... .exe [04:01:53.614] checking whether we are cross compiling... yes [04:01:53.698] checking for suffix of object files... o [04:01:53.718] checking whether we are using the GNU C compiler... yes [04:01:53.737] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:01:53.746] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:01:53.835] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:01:53.978] checking whether we are using the GNU C++ compiler... yes [04:01:54.139] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:01:54.291] checking for gawk... no [04:01:54.291] checking for mawk... mawk [04:01:54.294] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:01:54.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:01:54.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:01:54.385] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:01:54.436] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:01:54.444] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:01:54.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:01:54.490] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:01:54.509] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:01:54.518] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:01:54.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:01:54.556] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:01:54.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:01:54.573] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:01:54.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:01:54.598] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:01:54.636] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:01:54.677] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:01:54.696] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:01:54.733] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:01:54.770] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:01:54.777] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:01:54.796] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:01:54.821] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:01:54.840] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:01:54.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:01:54.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:01:54.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:01:54.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:01:54.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:01:55.033] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:01:55.041] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:01:55.060] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:01:55.070] checking whether the C compiler still works... yes [04:01:55.150] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:01:55.231] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:01:55.232] checking pkg-config is at least version 0.9.0... yes [04:01:55.250] checking whether to build with ICU support... no [04:01:55.250] checking whether to build with Tcl... no [04:01:55.250] checking whether to build Perl modules... no [04:01:55.250] checking whether to build Python modules... no [04:01:55.250] checking whether to build with GSSAPI support... no [04:01:55.252] checking whether to build with PAM support... no [04:01:55.252] checking whether to build with BSD Authentication support... no [04:01:55.252] checking whether to build with LDAP support... no [04:01:55.252] checking whether to build with Bonjour support... no [04:01:55.252] checking whether to build with SELinux support... no [04:01:55.252] checking whether to build with systemd support... no [04:01:55.252] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:01:55.253] checking whether to build with XML support... no [04:01:55.253] checking whether to build with LZ4 support... no [04:01:55.253] checking whether to build with ZSTD support... no [04:01:55.254] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:01:55.254] checking whether it is possible to strip libraries... yes [04:01:55.262] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:01:55.262] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:01:55.263] checking for a BSD-compatible install... /usr/bin/install -c [04:01:55.272] checking for tar... /usr/bin/tar [04:01:55.273] checking whether ln -s works... yes [04:01:55.273] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:01:55.275] checking for bison... /usr/bin/bison [04:01:55.278] configure: using bison (GNU Bison) 3.8.2 [04:01:55.281] checking for flex... /usr/bin/flex [04:01:55.295] configure: using flex 2.6.4 [04:01:55.295] checking for perl... /usr/bin/perl [04:01:55.298] configure: using perl 5.36.0 [04:01:55.301] checking for zic... /usr/sbin/zic [04:01:55.301] checking for a sed that does not truncate output... /usr/bin/sed [04:01:55.306] checking for grep that handles long lines and -e... /usr/bin/grep [04:01:55.309] checking for egrep... /usr/bin/grep -E [04:01:55.311] checking for ANSI C header files... yes [04:01:55.383] checking for sys/types.h... yes [04:01:55.423] checking for sys/stat.h... yes [04:01:55.463] checking for stdlib.h... yes [04:01:55.531] checking for string.h... yes [04:01:55.570] checking for memory.h... yes [04:01:55.639] checking for strings.h... yes [04:01:55.706] checking for inttypes.h... yes [04:01:55.747] checking for stdint.h... yes [04:01:55.813] checking for unistd.h... yes [04:01:55.884] checking for main in -lm... yes [04:01:55.936] checking for library containing setproctitle... no [04:01:56.032] checking for library containing dlsym... no [04:01:56.127] checking for library containing socket... -lws2_32 [04:01:56.268] checking for library containing getopt_long... none required [04:01:56.318] checking for library containing shm_open... no [04:01:56.413] checking for library containing shm_unlink... no [04:01:56.509] checking for library containing clock_gettime... no [04:01:56.608] checking for library containing shmget... no [04:01:56.707] checking for library containing backtrace_symbols... no [04:01:56.805] checking for library containing pthread_barrier_wait... -lpthread [04:01:56.905] checking for inflate in -lz... yes [04:01:56.956] checking for stdbool.h that conforms to C99... yes [04:01:57.005] checking for _Bool... yes [04:01:57.108] checking atomic.h usability... no [04:01:57.171] checking atomic.h presence... no [04:01:57.194] checking for atomic.h... no [04:01:57.198] checking copyfile.h usability... no [04:01:57.261] checking copyfile.h presence... no [04:01:57.282] checking for copyfile.h... no [04:01:57.285] checking execinfo.h usability... no [04:01:57.345] checking execinfo.h presence... no [04:01:57.368] checking for execinfo.h... no [04:01:57.371] checking getopt.h usability... yes [04:01:57.380] checking getopt.h presence... yes [04:01:57.397] checking for getopt.h... yes [04:01:57.404] checking ifaddrs.h usability... no [04:01:57.466] checking ifaddrs.h presence... no [04:01:57.488] checking for ifaddrs.h... no [04:01:57.491] checking mbarrier.h usability... no [04:01:57.554] checking mbarrier.h presence... no [04:01:57.575] checking for mbarrier.h... no [04:01:57.579] checking sys/epoll.h usability... no [04:01:57.640] checking sys/epoll.h presence... no [04:01:57.662] checking for sys/epoll.h... no [04:01:57.666] checking sys/event.h usability... no [04:01:57.728] checking sys/event.h presence... no [04:01:57.751] checking for sys/event.h... no [04:01:57.755] checking sys/personality.h usability... no [04:01:57.818] checking sys/personality.h presence... no [04:01:57.841] checking for sys/personality.h... no [04:01:57.844] checking sys/prctl.h usability... no [04:01:57.905] checking sys/prctl.h presence... no [04:01:57.926] checking for sys/prctl.h... no [04:01:57.929] checking sys/procctl.h usability... no [04:01:57.990] checking sys/procctl.h presence... no [04:01:58.011] checking for sys/procctl.h... no [04:01:58.014] checking sys/signalfd.h usability... no [04:01:58.076] checking sys/signalfd.h presence... no [04:01:58.096] checking for sys/signalfd.h... no [04:01:58.100] checking sys/ucred.h usability... no [04:01:58.161] checking sys/ucred.h presence... no [04:01:58.183] checking for sys/ucred.h... no [04:01:58.187] checking termios.h usability... no [04:01:58.249] checking termios.h presence... no [04:01:58.271] checking for termios.h... no [04:01:58.275] checking ucred.h usability... no [04:01:58.335] checking ucred.h presence... no [04:01:58.357] checking for ucred.h... no [04:01:58.361] checking xlocale.h usability... no [04:01:58.422] checking xlocale.h presence... no [04:01:58.446] checking for xlocale.h... no [04:01:58.449] checking zlib.h usability... yes [04:01:58.518] checking zlib.h presence... yes [04:01:58.541] checking for zlib.h... yes [04:01:58.541] checking for lz4... /usr/bin/lz4 [04:01:58.541] checking for zstd... /usr/bin/zstd [04:01:58.542] checking for openssl... /usr/bin/openssl [04:01:58.547] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [04:01:58.548] checking crtdefs.h usability... yes [04:01:58.580] checking crtdefs.h presence... yes [04:01:58.597] checking for crtdefs.h... yes [04:01:58.598] checking whether byte ordering is bigendian... no [04:01:58.720] checking for inline... inline [04:01:58.754] checking for printf format archetype... gnu_printf [04:01:58.765] checking for _Static_assert... yes [04:01:58.812] checking for typeof... typeof [04:01:58.821] checking for __builtin_types_compatible_p... yes [04:01:58.834] checking for __builtin_constant_p... yes [04:01:58.875] checking for __builtin_unreachable... yes [04:01:58.922] checking for computed goto support... yes [04:01:58.943] checking for struct tm.tm_zone... no [04:01:59.030] checking for union semun... no [04:01:59.070] checking for socklen_t... yes [04:02:01.498] checking for struct sockaddr.sa_len... no [04:02:03.745] checking for C/C++ restrict keyword... __restrict [04:02:03.771] checking for struct option... yes [04:02:03.857] checking whether assembler supports x86_64 popcntq... yes [04:02:03.869] checking size of off_t... 4 [04:02:04.286] 0 [04:02:04.286] checking size of bool... 1 [04:02:04.401] checking for int timezone... yes [04:02:04.461] checking for backtrace_symbols... no [04:02:04.520] checking for copyfile... no [04:02:04.578] checking for copy_file_range... no [04:02:04.636] checking for getifaddrs... no [04:02:04.693] checking for getpeerucred... no [04:02:04.749] checking for inet_pton... yes [04:02:04.807] checking for kqueue... no [04:02:04.862] checking for mbstowcs_l... no [04:02:04.918] checking for memset_s... no [04:02:04.974] checking for posix_fallocate... no [04:02:05.029] checking for ppoll... no [04:02:05.085] checking for pthread_is_threaded_np... no [04:02:05.141] checking for setproctitle... no [04:02:05.195] checking for setproctitle_fast... no [04:02:05.251] checking for strchrnul... no [04:02:05.306] checking for strsignal... no [04:02:05.362] checking for syncfs... no [04:02:05.415] checking for sync_file_range... no [04:02:05.471] checking for uselocale... no [04:02:05.525] checking for wcstombs_l... no [04:02:05.577] checking for __builtin_bswap16... yes [04:02:05.629] checking for __builtin_bswap32... yes [04:02:05.681] checking for __builtin_bswap64... yes [04:02:05.734] checking for __builtin_clz... yes [04:02:05.785] checking for __builtin_ctz... yes [04:02:05.837] checking for __builtin_popcount... yes [04:02:05.889] checking for __builtin_frame_address... yes [04:02:05.940] checking for _LARGEFILE_SOURCE value needed for large files... no [04:02:05.997] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:02:06.031] checking for posix_fadvise... no [04:02:06.088] checking whether posix_fadvise is declared... no [04:02:06.140] checking whether fdatasync is declared... no [04:02:06.192] checking whether strlcat is declared... no [04:02:06.263] checking whether strlcpy is declared... no [04:02:06.335] checking whether strnlen is declared... yes [04:02:06.408] checking whether strsep is declared... no [04:02:06.479] checking whether preadv is declared... no [04:02:06.521] checking whether pwritev is declared... no [04:02:06.561] checking whether F_FULLFSYNC is declared... no [04:02:06.608] checking for explicit_bzero... no [04:02:06.663] checking for getopt... yes [04:02:06.713] checking for getpeereid... no [04:02:06.768] checking for inet_aton... no [04:02:06.823] checking for mkdtemp... no [04:02:06.876] checking for strlcat... no [04:02:06.929] checking for strlcpy... no [04:02:06.982] checking for strnlen... yes [04:02:07.036] checking for strsep... no [04:02:07.087] checking for pthread_barrier_wait... yes [04:02:07.136] configure: On mingw32 we will use our strtof wrapper. [04:02:07.136] checking for getopt_long... yes [04:02:07.184] checking for _configthreadlocale... yes [04:02:07.233] checking for syslog... no [04:02:07.285] checking for opterr... yes [04:02:07.338] checking for optreset... no [04:02:07.395] checking test program... cross-compiling [04:02:07.395] checking whether long int is 64 bits... no [04:02:07.431] checking whether long long int is 64 bits... yes [04:02:07.472] checking for __builtin_mul_overflow... yes [04:02:07.521] checking size of void *... 8 [04:02:07.988] checking size of size_t... 8 [04:02:08.489] checking size of long... 4 [04:02:08.819] checking alignment of short... 2 [04:02:09.036] checking alignment of int... 4 [04:02:09.370] checking alignment of long... 4 [04:02:09.736] checking alignment of long long int... 8 [04:02:10.177] checking alignment of double... 8 [04:02:10.672] checking for int8... no [04:02:10.718] checking for uint8... no [04:02:10.766] checking for int64... no [04:02:10.815] checking for uint64... no [04:02:10.864] checking for __int128... yes [04:02:10.916] checking for __int128 alignment bug... assuming ok [04:02:10.916] checking alignment of PG_INT128_TYPE... 16 [04:02:11.412] checking for builtin __sync char locking functions... yes [04:02:11.460] checking for builtin __sync int32 locking functions... yes [04:02:11.507] checking for builtin __sync int32 atomic operations... yes [04:02:11.556] checking for builtin __sync int64 atomic operations... yes [04:02:11.602] checking for builtin __atomic int32 atomic operations... yes [04:02:11.649] checking for builtin __atomic int64 atomic operations... yes [04:02:11.696] checking for __get_cpuid... yes [04:02:11.745] checking for __get_cpuid_count... yes [04:02:11.794] checking for __cpuid... no [04:02:12.203] checking for __cpuidex... no [04:02:12.640] checking for _xgetbv with CFLAGS=... no [04:02:13.029] checking for _xgetbv with CFLAGS=-mxsave... yes [04:02:13.442] checking for _mm512_popcnt_epi64 with CFLAGS=... no [04:02:13.830] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [04:02:14.180] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:02:14.227] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:02:14.318] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:02:14.342] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:02:14.364] 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 [04:02:14.421] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:02:14.421] checking which random number source to use... Windows native [04:02:14.424] checking for xmllint... /usr/bin/xmllint [04:02:14.424] checking for xsltproc... /usr/bin/xsltproc [04:02:14.424] checking for fop... /usr/bin/fop [04:02:14.424] checking for dbtoepub... no [04:02:14.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:02:14.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:02:14.425] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:02:14.437] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:02:14.437] 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 [04:02:14.437] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:02:14.437] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:02:14.526] configure: creating ./config.status [04:02:14.617] config.status: creating GNUmakefile [04:02:14.632] config.status: creating src/Makefile.global [04:02:14.650] config.status: creating src/include/pg_config.h [04:02:14.665] config.status: creating src/include/pg_config_ext.h [04:02:14.679] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:02:14.697] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:02:14.706] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:02:14.714] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:02:14.723] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:02:14.732] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:02:14.736] config.status: executing check_win32_symlinks commands [04:02:14.776] [04:02:14.776] real 0m21.754s [04:02:14.776] user 0m14.657s [04:02:14.776] sys 0m6.752s [04:02:14.776] make -s -j${BUILD_JOBS} clean [04:02:15.313] time make -s -j${BUILD_JOBS} world-bin [04:05:42.677] elog.c: In function ‘EmitErrorReport’: [04:05:42.677] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [04:05:42.677] 1699 | char* str = debug_query_string; [04:05:42.677] | ^~~~~~~~~~~~~~~~~~ [04:05:42.677] cc1: all warnings being treated as errors [04:05:42.678] make[4]: *** [: elog.o] Error 1 [04:05:42.678] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [04:05:42.678] make[3]: *** Waiting for unfinished jobs.... [04:05:44.220] make[2]: *** [common.mk:37: utils-recursive] Error 2 [04:05:44.220] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:05:44.220] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:05:44.221] [04:05:44.221] real 3m28.908s [04:05:44.221] user 11m29.613s [04:05:44.221] sys 2m5.835s [04:05:44.221] [04:05:44.221] Exit status: 2