[21:09:15.029] time ./configure \ [21:09:15.029] --host=x86_64-w64-mingw32 \ [21:09:15.029] --enable-cassert \ [21:09:15.029] --without-icu \ [21:09:15.029] CC="ccache x86_64-w64-mingw32-gcc" \ [21:09:15.029] CXX="ccache x86_64-w64-mingw32-g++" [21:09:15.148] checking build system type... x86_64-pc-linux-gnu [21:09:15.349] checking host system type... x86_64-w64-mingw32 [21:09:15.354] checking which template to use... win32 [21:09:15.354] checking whether NLS is wanted... no [21:09:15.354] checking for default port number... 5432 [21:09:15.361] checking for block size... 8kB [21:09:15.363] checking for segment size... 1GB [21:09:15.365] checking for WAL block size... 8kB [21:09:15.366] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:09:15.401] checking whether the C compiler works... yes [21:09:15.544] checking for C compiler default output file name... a.exe [21:09:15.545] checking for suffix of executables... .exe [21:09:15.587] checking whether we are cross compiling... yes [21:09:15.674] checking for suffix of object files... o [21:09:15.691] checking whether we are using the GNU C compiler... yes [21:09:15.722] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:09:15.728] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:09:15.808] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:09:15.871] checking whether we are using the GNU C++ compiler... yes [21:09:15.877] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:09:16.146] checking for gawk... no [21:09:16.146] checking for mawk... mawk [21:09:16.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:09:16.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:09:16.214] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:09:16.261] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:09:16.308] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:09:16.315] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:09:16.348] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:09:16.381] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:09:16.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:09:16.430] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:09:16.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:09:16.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:09:16.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:09:16.515] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:09:16.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:09:16.586] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:09:16.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:09:16.643] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:09:16.661] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:09:16.699] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:09:16.718] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:09:16.753] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:09:16.786] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:09:16.809] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:09:16.825] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:09:16.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:09:16.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:09:16.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:09:16.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:09:16.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:09:16.966] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:09:16.982] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:09:16.989] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:09:17.022] checking whether the C compiler still works... yes [21:09:17.068] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:09:17.136] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:09:17.136] checking pkg-config is at least version 0.9.0... yes [21:09:17.153] checking whether to build with ICU support... no [21:09:17.153] checking whether to build with Tcl... no [21:09:17.153] checking whether to build Perl modules... no [21:09:17.153] checking whether to build Python modules... no [21:09:17.153] checking whether to build with GSSAPI support... no [21:09:17.154] checking whether to build with PAM support... no [21:09:17.154] checking whether to build with BSD Authentication support... no [21:09:17.154] checking whether to build with LDAP support... no [21:09:17.155] checking whether to build with Bonjour support... no [21:09:17.155] checking whether to build with SELinux support... no [21:09:17.155] checking whether to build with systemd support... no [21:09:17.155] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:09:17.155] checking whether to build with XML support... no [21:09:17.155] checking whether to build with LZ4 support... no [21:09:17.155] checking whether to build with ZSTD support... no [21:09:17.156] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:09:17.156] checking whether it is possible to strip libraries... yes [21:09:17.163] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:09:17.164] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:09:17.164] checking for a BSD-compatible install... /usr/bin/install -c [21:09:17.172] checking for tar... /usr/bin/tar [21:09:17.172] checking whether ln -s works... yes [21:09:17.172] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:09:17.174] checking for bison... /usr/bin/bison [21:09:17.177] configure: using bison (GNU Bison) 3.8.2 [21:09:17.179] checking for flex... /usr/bin/flex [21:09:17.191] configure: using flex 2.6.4 [21:09:17.191] checking for perl... /usr/bin/perl [21:09:17.193] configure: using perl 5.36.0 [21:09:17.195] checking for zic... /usr/sbin/zic [21:09:17.196] checking for a sed that does not truncate output... /usr/bin/sed [21:09:17.200] checking for grep that handles long lines and -e... /usr/bin/grep [21:09:17.202] checking for egrep... /usr/bin/grep -E [21:09:17.204] checking for ANSI C header files... yes [21:09:17.289] checking for sys/types.h... yes [21:09:17.344] checking for sys/stat.h... yes [21:09:17.402] checking for stdlib.h... yes [21:09:17.462] checking for string.h... yes [21:09:17.476] checking for memory.h... yes [21:09:17.513] checking for strings.h... yes [21:09:17.548] checking for inttypes.h... yes [21:09:17.612] checking for stdint.h... yes [21:09:17.673] checking for unistd.h... yes [21:09:17.708] checking for main in -lm... yes [21:09:17.756] checking for library containing setproctitle... no [21:09:17.843] checking for library containing dlsym... no [21:09:17.927] checking for library containing socket... -lws2_32 [21:09:18.052] checking for library containing getopt_long... none required [21:09:18.098] checking for library containing shm_open... no [21:09:18.184] checking for library containing shm_unlink... no [21:09:18.271] checking for library containing clock_gettime... no [21:09:18.359] checking for library containing shmget... no [21:09:18.448] checking for library containing backtrace_symbols... no [21:09:18.536] checking for library containing pthread_barrier_wait... -lpthread [21:09:18.630] checking for inflate in -lz... yes [21:09:18.680] checking for stdbool.h that conforms to C99... yes [21:09:18.730] checking for _Bool... yes [21:09:18.861] checking atomic.h usability... no [21:09:18.920] checking atomic.h presence... no [21:09:18.940] checking for atomic.h... no [21:09:18.943] checking copyfile.h usability... no [21:09:18.999] checking copyfile.h presence... no [21:09:19.019] checking for copyfile.h... no [21:09:19.023] checking execinfo.h usability... no [21:09:19.081] checking execinfo.h presence... no [21:09:19.101] checking for execinfo.h... no [21:09:19.104] checking getopt.h usability... yes [21:09:19.160] checking getopt.h presence... yes [21:09:19.176] checking for getopt.h... yes [21:09:19.185] checking ifaddrs.h usability... no [21:09:19.241] checking ifaddrs.h presence... no [21:09:19.261] checking for ifaddrs.h... no [21:09:19.264] checking mbarrier.h usability... no [21:09:19.321] checking mbarrier.h presence... no [21:09:19.341] checking for mbarrier.h... no [21:09:19.345] checking sys/epoll.h usability... no [21:09:19.401] checking sys/epoll.h presence... no [21:09:19.421] checking for sys/epoll.h... no [21:09:19.424] checking sys/event.h usability... no [21:09:19.480] checking sys/event.h presence... no [21:09:19.498] checking for sys/event.h... no [21:09:19.502] checking sys/personality.h usability... no [21:09:19.558] checking sys/personality.h presence... no [21:09:19.577] checking for sys/personality.h... no [21:09:19.581] checking sys/prctl.h usability... no [21:09:19.634] checking sys/prctl.h presence... no [21:09:19.653] checking for sys/prctl.h... no [21:09:19.656] checking sys/procctl.h usability... no [21:09:19.711] checking sys/procctl.h presence... no [21:09:19.731] checking for sys/procctl.h... no [21:09:19.734] checking sys/signalfd.h usability... no [21:09:19.790] checking sys/signalfd.h presence... no [21:09:19.810] checking for sys/signalfd.h... no [21:09:19.814] checking sys/ucred.h usability... no [21:09:19.870] checking sys/ucred.h presence... no [21:09:19.891] checking for sys/ucred.h... no [21:09:19.894] checking termios.h usability... no [21:09:19.952] checking termios.h presence... no [21:09:19.971] checking for termios.h... no [21:09:19.974] checking ucred.h usability... no [21:09:20.031] checking ucred.h presence... no [21:09:20.050] checking for ucred.h... no [21:09:20.053] checking xlocale.h usability... no [21:09:20.109] checking xlocale.h presence... no [21:09:20.128] checking for xlocale.h... no [21:09:20.131] checking zlib.h usability... yes [21:09:20.193] checking zlib.h presence... yes [21:09:20.212] checking for zlib.h... yes [21:09:20.213] checking for lz4... /usr/bin/lz4 [21:09:20.213] checking for zstd... /usr/bin/zstd [21:09:20.213] checking for openssl... /usr/bin/openssl [21:09:20.217] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [21:09:20.218] checking crtdefs.h usability... yes [21:09:20.275] checking crtdefs.h presence... yes [21:09:20.291] checking for crtdefs.h... yes [21:09:20.292] checking whether byte ordering is bigendian... no [21:09:20.400] checking for inline... inline [21:09:20.417] checking for printf format archetype... gnu_printf [21:09:20.453] checking for _Static_assert... yes [21:09:20.496] checking for typeof... typeof [21:09:20.532] checking for __builtin_types_compatible_p... yes [21:09:20.554] checking for __builtin_constant_p... yes [21:09:20.575] checking for __builtin_unreachable... yes [21:09:20.617] checking for computed goto support... yes [21:09:20.654] checking for struct tm.tm_zone... no [21:09:20.734] checking for union semun... no [21:09:20.769] checking for socklen_t... yes [21:09:23.051] checking for struct sockaddr.sa_len... no [21:09:25.193] checking for C/C++ restrict keyword... __restrict [21:09:25.207] checking for struct option... yes [21:09:25.260] checking whether assembler supports x86_64 popcntq... yes [21:09:25.267] checking size of off_t... 4 [21:09:25.642] 0 [21:09:25.643] checking size of bool... 1 [21:09:25.721] checking for int timezone... yes [21:09:25.775] checking for backtrace_symbols... no [21:09:25.828] checking for copyfile... no [21:09:25.882] checking for copy_file_range... no [21:09:25.936] checking for getifaddrs... no [21:09:25.988] checking for getpeerucred... no [21:09:26.038] checking for inet_pton... yes [21:09:26.088] checking for kqueue... no [21:09:26.138] checking for mbstowcs_l... no [21:09:26.189] checking for memset_s... no [21:09:26.238] checking for posix_fallocate... no [21:09:26.289] checking for ppoll... no [21:09:26.338] checking for pthread_is_threaded_np... no [21:09:26.388] checking for setproctitle... no [21:09:26.437] checking for setproctitle_fast... no [21:09:26.487] checking for strchrnul... no [21:09:26.539] checking for strsignal... no [21:09:26.591] checking for syncfs... no [21:09:26.644] checking for sync_file_range... no [21:09:26.697] checking for uselocale... no [21:09:26.749] checking for wcstombs_l... no [21:09:26.798] checking for __builtin_bswap16... yes [21:09:26.850] checking for __builtin_bswap32... yes [21:09:26.899] checking for __builtin_bswap64... yes [21:09:26.947] checking for __builtin_clz... yes [21:09:26.995] checking for __builtin_ctz... yes [21:09:27.044] checking for __builtin_popcount... yes [21:09:27.094] checking for __builtin_frame_address... yes [21:09:27.142] checking for _LARGEFILE_SOURCE value needed for large files... no [21:09:27.195] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:09:27.227] checking for posix_fadvise... no [21:09:27.279] checking whether posix_fadvise is declared... no [21:09:27.325] checking whether fdatasync is declared... no [21:09:27.373] checking whether strlcat is declared... no [21:09:27.437] checking whether strlcpy is declared... no [21:09:27.503] checking whether strnlen is declared... yes [21:09:27.571] checking whether strsep is declared... no [21:09:27.636] checking whether preadv is declared... no [21:09:27.674] checking whether pwritev is declared... no [21:09:27.710] checking whether F_FULLFSYNC is declared... no [21:09:27.750] checking for explicit_bzero... no [21:09:27.800] checking for getopt... yes [21:09:27.845] checking for getpeereid... no [21:09:27.893] checking for inet_aton... no [21:09:27.941] checking for mkdtemp... no [21:09:27.990] checking for strlcat... no [21:09:28.040] checking for strlcpy... no [21:09:28.088] checking for strnlen... yes [21:09:28.135] checking for strsep... no [21:09:28.183] checking for pthread_barrier_wait... yes [21:09:28.226] configure: On mingw32 we will use our strtof wrapper. [21:09:28.226] checking for getopt_long... yes [21:09:28.272] checking for _configthreadlocale... yes [21:09:28.319] checking for syslog... no [21:09:28.369] checking for opterr... yes [21:09:28.419] checking for optreset... no [21:09:28.470] checking test program... cross-compiling [21:09:28.470] checking whether long int is 64 bits... no [21:09:28.503] checking whether long long int is 64 bits... yes [21:09:28.544] checking for __builtin_mul_overflow... yes [21:09:28.588] checking size of void *... 8 [21:09:29.060] checking size of size_t... 8 [21:09:29.475] checking size of long... 4 [21:09:29.837] checking alignment of short... 2 [21:09:30.125] checking alignment of int... 4 [21:09:30.479] checking alignment of long... 4 [21:09:30.789] checking alignment of long long int... 8 [21:09:31.265] checking alignment of double... 8 [21:09:31.791] checking for __int128... yes [21:09:31.842] checking for __int128 alignment bug... assuming ok [21:09:31.842] checking alignment of PG_INT128_TYPE... 16 [21:09:32.397] checking for builtin __sync char locking functions... yes [21:09:32.440] checking for builtin __sync int32 locking functions... yes [21:09:32.483] checking for builtin __sync int32 atomic operations... yes [21:09:32.528] checking for builtin __sync int64 atomic operations... yes [21:09:32.571] checking for builtin __atomic int32 atomic operations... yes [21:09:32.614] checking for builtin __atomic int64 atomic operations... yes [21:09:32.657] checking for __get_cpuid... yes [21:09:32.704] checking for __get_cpuid_count... yes [21:09:32.750] checking for __cpuid... no [21:09:33.157] checking for __cpuidex... no [21:09:33.580] checking for _xgetbv with CFLAGS=... no [21:09:33.952] checking for _xgetbv with CFLAGS=-mxsave... yes [21:09:34.343] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:09:34.723] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:09:35.066] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:09:35.112] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:09:35.201] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:09:35.223] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:09:35.241] 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:09:35.296] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:09:35.296] checking which random number source to use... Windows native [21:09:35.298] checking for xmllint... /usr/bin/xmllint [21:09:35.298] checking for xsltproc... /usr/bin/xsltproc [21:09:35.299] checking for fop... /usr/bin/fop [21:09:35.299] checking for dbtoepub... no [21:09:35.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:09:35.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:09:35.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:09:35.310] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:09:35.310] 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:09:35.310] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:09:35.310] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:09:35.396] configure: creating ./config.status [21:09:35.483] config.status: creating GNUmakefile [21:09:35.496] config.status: creating src/Makefile.global [21:09:35.511] config.status: creating src/include/pg_config.h [21:09:35.524] config.status: creating src/include/pg_config_ext.h [21:09:35.536] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:09:35.552] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:09:35.559] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:09:35.566] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:09:35.574] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:09:35.581] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:09:35.584] config.status: executing check_win32_symlinks commands [21:09:35.619] [21:09:35.619] real 0m20.591s [21:09:35.619] user 0m13.616s [21:09:35.619] sys 0m6.520s [21:09:35.619] make -s -j${BUILD_JOBS} clean [21:09:36.128] time make -s -j${BUILD_JOBS} world-bin [21:12:50.461] elog.c: In function ‘EmitErrorReport’: [21:12:50.461] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [21:12:50.461] 1699 | char* str = debug_query_string; [21:12:50.461] | ^~~~~~~~~~~~~~~~~~ [21:12:50.461] cc1: all warnings being treated as errors [21:12:50.462] make[4]: *** [: elog.o] Error 1 [21:12:50.462] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [21:12:50.462] make[3]: *** Waiting for unfinished jobs.... [21:12:51.859] make[2]: *** [common.mk:37: utils-recursive] Error 2 [21:12:51.859] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:12:51.859] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:12:51.859] [21:12:51.859] real 3m15.731s [21:12:51.859] user 10m44.824s [21:12:51.859] sys 1m58.745s [21:12:51.860] [21:12:51.860] Exit status: 2