[09:47:47.560] time ./configure \ [09:47:47.560] --host=x86_64-w64-mingw32 \ [09:47:47.560] --enable-cassert \ [09:47:47.560] --without-icu \ [09:47:47.560] CC="ccache x86_64-w64-mingw32-gcc" \ [09:47:47.560] CXX="ccache x86_64-w64-mingw32-g++" [09:47:47.669] checking build system type... x86_64-pc-linux-gnu [09:47:47.862] checking host system type... x86_64-w64-mingw32 [09:47:47.867] checking which template to use... win32 [09:47:47.867] checking whether NLS is wanted... no [09:47:47.867] checking for default port number... 5432 [09:47:47.873] checking for block size... 8kB [09:47:47.874] checking for segment size... 1GB [09:47:47.876] checking for WAL block size... 8kB [09:47:47.878] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:47:47.908] checking whether the C compiler works... yes [09:47:48.039] checking for C compiler default output file name... a.exe [09:47:48.041] checking for suffix of executables... .exe [09:47:48.079] checking whether we are cross compiling... yes [09:47:48.153] checking for suffix of object files... o [09:47:48.169] checking whether we are using the GNU C compiler... yes [09:47:48.175] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:47:48.181] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:47:48.260] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:47:48.322] checking whether we are using the GNU C++ compiler... yes [09:47:48.328] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:47:48.581] checking for gawk... no [09:47:48.581] checking for mawk... mawk [09:47:48.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:47:48.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:47:48.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:47:48.651] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:47:48.695] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:47:48.702] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:47:48.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:47:48.754] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:47:48.771] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:47:48.804] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:47:48.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:47:48.849] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:47:48.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:47:48.880] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:47:48.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:47:48.942] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:47:48.959] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:47:48.994] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:47:49.010] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:47:49.042] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:47:49.048] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:47:49.055] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:47:49.086] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:47:49.108] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:47:49.123] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:47:49.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:47:49.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:47:49.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:47:49.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:47:49.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:47:49.283] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:47:49.289] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:47:49.296] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:47:49.328] checking whether the C compiler still works... yes [09:47:49.376] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:47:49.443] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:47:49.444] checking pkg-config is at least version 0.9.0... yes [09:47:49.460] checking whether to build with ICU support... no [09:47:49.460] checking whether to build with Tcl... no [09:47:49.460] checking whether to build Perl modules... no [09:47:49.460] checking whether to build Python modules... no [09:47:49.460] checking whether to build with GSSAPI support... no [09:47:49.462] checking whether to build with PAM support... no [09:47:49.462] checking whether to build with BSD Authentication support... no [09:47:49.462] checking whether to build with LDAP support... no [09:47:49.462] checking whether to build with Bonjour support... no [09:47:49.462] checking whether to build with SELinux support... no [09:47:49.462] checking whether to build with systemd support... no [09:47:49.462] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:47:49.462] checking whether to build with XML support... no [09:47:49.462] checking whether to build with LZ4 support... no [09:47:49.463] checking whether to build with ZSTD support... no [09:47:49.463] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:47:49.463] checking whether it is possible to strip libraries... yes [09:47:49.470] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:47:49.471] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:47:49.471] checking for a BSD-compatible install... /usr/bin/install -c [09:47:49.480] checking for tar... /usr/bin/tar [09:47:49.480] checking whether ln -s works... yes [09:47:49.480] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:47:49.482] checking for bison... /usr/bin/bison [09:47:49.484] configure: using bison (GNU Bison) 3.8.2 [09:47:49.487] checking for flex... /usr/bin/flex [09:47:49.498] configure: using flex 2.6.4 [09:47:49.498] checking for perl... /usr/bin/perl [09:47:49.501] configure: using perl 5.36.0 [09:47:49.503] checking for zic... /usr/sbin/zic [09:47:49.503] checking for a sed that does not truncate output... /usr/bin/sed [09:47:49.508] checking for grep that handles long lines and -e... /usr/bin/grep [09:47:49.510] checking for egrep... /usr/bin/grep -E [09:47:49.511] checking for ANSI C header files... yes [09:47:49.601] checking for sys/types.h... yes [09:47:49.660] checking for sys/stat.h... yes [09:47:49.720] checking for stdlib.h... yes [09:47:49.734] checking for string.h... yes [09:47:49.768] checking for memory.h... yes [09:47:49.783] checking for strings.h... yes [09:47:49.817] checking for inttypes.h... yes [09:47:49.880] checking for stdint.h... yes [09:47:49.893] checking for unistd.h... yes [09:47:49.959] checking for main in -lm... yes [09:47:50.005] checking for library containing setproctitle... no [09:47:50.086] checking for library containing dlsym... no [09:47:50.167] checking for library containing socket... -lws2_32 [09:47:50.292] checking for library containing getopt_long... none required [09:47:50.337] checking for library containing shm_open... no [09:47:50.421] checking for library containing shm_unlink... no [09:47:50.503] checking for library containing clock_gettime... no [09:47:50.584] checking for library containing shmget... no [09:47:50.666] checking for library containing backtrace_symbols... no [09:47:50.753] checking for library containing pthread_barrier_wait... -lpthread [09:47:50.841] checking for inflate in -lz... yes [09:47:50.885] checking for stdbool.h that conforms to C99... yes [09:47:50.904] checking for _Bool... yes [09:47:50.991] checking atomic.h usability... no [09:47:51.043] checking atomic.h presence... no [09:47:51.061] checking for atomic.h... no [09:47:51.064] checking copyfile.h usability... no [09:47:51.116] checking copyfile.h presence... no [09:47:51.133] checking for copyfile.h... no [09:47:51.136] checking execinfo.h usability... no [09:47:51.188] checking execinfo.h presence... no [09:47:51.205] checking for execinfo.h... no [09:47:51.208] checking getopt.h usability... yes [09:47:51.259] checking getopt.h presence... yes [09:47:51.274] checking for getopt.h... yes [09:47:51.281] checking ifaddrs.h usability... no [09:47:51.334] checking ifaddrs.h presence... no [09:47:51.353] checking for ifaddrs.h... no [09:47:51.356] checking mbarrier.h usability... no [09:47:51.409] checking mbarrier.h presence... no [09:47:51.428] checking for mbarrier.h... no [09:47:51.431] checking sys/epoll.h usability... no [09:47:51.484] checking sys/epoll.h presence... no [09:47:51.502] checking for sys/epoll.h... no [09:47:51.505] checking sys/event.h usability... no [09:47:51.557] checking sys/event.h presence... no [09:47:51.575] checking for sys/event.h... no [09:47:51.578] checking sys/personality.h usability... no [09:47:51.632] checking sys/personality.h presence... no [09:47:51.650] checking for sys/personality.h... no [09:47:51.653] checking sys/prctl.h usability... no [09:47:51.706] checking sys/prctl.h presence... no [09:47:51.726] checking for sys/prctl.h... no [09:47:51.729] checking sys/procctl.h usability... no [09:47:51.785] checking sys/procctl.h presence... no [09:47:51.803] checking for sys/procctl.h... no [09:47:51.806] checking sys/signalfd.h usability... no [09:47:51.857] checking sys/signalfd.h presence... no [09:47:51.874] checking for sys/signalfd.h... no [09:47:51.877] checking sys/ucred.h usability... no [09:47:51.930] checking sys/ucred.h presence... no [09:47:51.949] checking for sys/ucred.h... no [09:47:51.952] checking termios.h usability... no [09:47:52.008] checking termios.h presence... no [09:47:52.028] checking for termios.h... no [09:47:52.031] checking ucred.h usability... no [09:47:52.087] checking ucred.h presence... no [09:47:52.106] checking for ucred.h... no [09:47:52.109] checking xlocale.h usability... no [09:47:52.164] checking xlocale.h presence... no [09:47:52.183] checking for xlocale.h... no [09:47:52.186] checking zlib.h usability... yes [09:47:52.247] checking zlib.h presence... yes [09:47:52.265] checking for zlib.h... yes [09:47:52.266] checking for lz4... /usr/bin/lz4 [09:47:52.266] checking for zstd... /usr/bin/zstd [09:47:52.266] checking for openssl... /usr/bin/openssl [09:47:52.270] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:47:52.271] checking crtdefs.h usability... yes [09:47:52.329] checking crtdefs.h presence... yes [09:47:52.345] checking for crtdefs.h... yes [09:47:52.346] checking whether byte ordering is bigendian... no [09:47:52.427] checking for inline... inline [09:47:52.442] checking for printf format archetype... gnu_printf [09:47:52.450] checking for _Static_assert... yes [09:47:52.489] checking for typeof... typeof [09:47:52.521] checking for __builtin_types_compatible_p... yes [09:47:52.540] checking for __builtin_constant_p... yes [09:47:52.550] checking for __builtin_unreachable... yes [09:47:52.589] checking for computed goto support... yes [09:47:52.621] checking for struct tm.tm_zone... no [09:47:52.693] checking for union semun... no [09:47:52.725] checking for socklen_t... yes [09:47:54.885] checking for struct sockaddr.sa_len... no [09:47:56.897] checking for C/C++ restrict keyword... __restrict [09:47:56.909] checking for struct option... yes [09:47:56.979] checking whether assembler supports x86_64 popcntq... yes [09:47:56.986] checking size of off_t... 4 [09:47:57.260] 0 [09:47:57.260] checking size of bool... 1 [09:47:57.329] checking for int timezone... yes [09:47:57.379] checking for backtrace_symbols... no [09:47:57.428] checking for copyfile... no [09:47:57.477] checking for copy_file_range... no [09:47:57.527] checking for getifaddrs... no [09:47:57.576] checking for getpeerucred... no [09:47:57.625] checking for inet_pton... yes [09:47:57.673] checking for kqueue... no [09:47:57.722] checking for mbstowcs_l... no [09:47:57.770] checking for memset_s... no [09:47:57.818] checking for posix_fallocate... no [09:47:57.867] checking for ppoll... no [09:47:57.917] checking for pthread_is_threaded_np... no [09:47:57.966] checking for setproctitle... no [09:47:58.016] checking for setproctitle_fast... no [09:47:58.066] checking for strchrnul... no [09:47:58.115] checking for strsignal... no [09:47:58.165] checking for syncfs... no [09:47:58.214] checking for sync_file_range... no [09:47:58.264] checking for uselocale... no [09:47:58.313] checking for wcstombs_l... no [09:47:58.358] checking for __builtin_bswap16... yes [09:47:58.403] checking for __builtin_bswap32... yes [09:47:58.448] checking for __builtin_bswap64... yes [09:47:58.494] checking for __builtin_clz... yes [09:47:58.538] checking for __builtin_ctz... yes [09:47:58.583] checking for __builtin_popcount... yes [09:47:58.630] checking for __builtin_frame_address... yes [09:47:58.675] checking for _LARGEFILE_SOURCE value needed for large files... no [09:47:58.726] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:47:58.756] checking for posix_fadvise... no [09:47:58.805] checking whether posix_fadvise is declared... no [09:47:58.847] checking whether fdatasync is declared... no [09:47:58.891] checking whether strlcat is declared... no [09:47:58.951] checking whether strlcpy is declared... no [09:47:59.012] checking whether strnlen is declared... yes [09:47:59.046] checking whether strsep is declared... no [09:47:59.110] checking whether preadv is declared... no [09:47:59.145] checking whether pwritev is declared... no [09:47:59.182] checking whether F_FULLFSYNC is declared... no [09:47:59.222] checking for explicit_bzero... no [09:47:59.268] checking for getopt... yes [09:47:59.312] checking for getpeereid... no [09:47:59.360] checking for inet_aton... no [09:47:59.408] checking for mkdtemp... no [09:47:59.456] checking for strlcat... no [09:47:59.505] checking for strlcpy... no [09:47:59.551] checking for strnlen... yes [09:47:59.595] checking for strsep... no [09:47:59.640] checking for pthread_barrier_wait... yes [09:47:59.681] configure: On mingw32 we will use our strtof wrapper. [09:47:59.681] checking for getopt_long... yes [09:47:59.724] checking for _configthreadlocale... yes [09:47:59.766] checking for syslog... no [09:47:59.811] checking for opterr... yes [09:47:59.858] checking for optreset... no [09:47:59.908] checking test program... cross-compiling [09:47:59.908] checking whether long int is 64 bits... no [09:47:59.938] checking whether long long int is 64 bits... yes [09:47:59.972] checking for __builtin_mul_overflow... yes [09:48:00.014] checking size of void *... 8 [09:48:00.456] checking size of size_t... 8 [09:48:00.844] checking size of long... 4 [09:48:01.181] checking alignment of short... 2 [09:48:01.363] checking alignment of int... 4 [09:48:01.722] checking alignment of long... 4 [09:48:01.965] checking alignment of long long int... 8 [09:48:02.393] checking alignment of double... 8 [09:48:02.861] checking for int8... no [09:48:02.904] checking for uint8... no [09:48:02.946] checking for int64... no [09:48:02.988] checking for uint64... no [09:48:03.030] checking for __int128... yes [09:48:03.077] checking for __int128 alignment bug... assuming ok [09:48:03.077] checking alignment of PG_INT128_TYPE... 16 [09:48:03.523] checking for builtin __sync char locking functions... yes [09:48:03.563] checking for builtin __sync int32 locking functions... yes [09:48:03.604] checking for builtin __sync int32 atomic operations... yes [09:48:03.645] checking for builtin __sync int64 atomic operations... yes [09:48:03.685] checking for builtin __atomic int32 atomic operations... yes [09:48:03.726] checking for builtin __atomic int64 atomic operations... yes [09:48:03.768] checking for __get_cpuid... yes [09:48:03.814] checking for __get_cpuid_count... yes [09:48:03.859] checking for __cpuid... no [09:48:04.255] checking for __cpuidex... no [09:48:04.667] checking for _xgetbv with CFLAGS=... no [09:48:05.041] checking for _xgetbv with CFLAGS=-mxsave... yes [09:48:05.428] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:48:05.797] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:48:06.129] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:48:06.174] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:48:06.261] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:48:06.284] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:48:06.303] 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 [09:48:06.358] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:48:06.358] checking which random number source to use... Windows native [09:48:06.360] checking for xmllint... /usr/bin/xmllint [09:48:06.360] checking for xsltproc... /usr/bin/xsltproc [09:48:06.360] checking for fop... /usr/bin/fop [09:48:06.360] checking for dbtoepub... no [09:48:06.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:48:06.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:48:06.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:48:06.371] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:48:06.371] 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 [09:48:06.371] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:48:06.371] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:48:06.448] configure: creating ./config.status [09:48:06.529] config.status: creating GNUmakefile [09:48:06.541] config.status: creating src/Makefile.global [09:48:06.555] config.status: creating src/include/pg_config.h [09:48:06.567] config.status: creating src/include/pg_config_ext.h [09:48:06.578] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:48:06.592] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:48:06.599] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:48:06.606] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:48:06.612] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:48:06.619] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:48:06.622] config.status: executing check_win32_symlinks commands [09:48:06.654] [09:48:06.654] real 0m19.094s [09:48:06.654] user 0m12.874s [09:48:06.654] sys 0m5.834s [09:48:06.654] make -s -j${BUILD_JOBS} clean [09:48:07.150] time make -s -j${BUILD_JOBS} world-bin [09:51:19.425] elog.c: In function ‘EmitErrorReport’: [09:51:19.425] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [09:51:19.425] 1699 | char* str = debug_query_string; [09:51:19.425] | ^~~~~~~~~~~~~~~~~~ [09:51:19.425] cc1: all warnings being treated as errors [09:51:19.426] make[4]: *** [: elog.o] Error 1 [09:51:19.426] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [09:51:19.426] make[3]: *** Waiting for unfinished jobs.... [09:51:20.796] make[2]: *** [common.mk:37: utils-recursive] Error 2 [09:51:20.796] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:51:20.797] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:51:20.797] [09:51:20.797] real 3m13.646s [09:51:20.797] user 10m38.684s [09:51:20.797] sys 1m56.537s [09:51:20.797] [09:51:20.797] Exit status: 2