[07:58:07.931] time ./configure \ [07:58:07.931] --host=x86_64-w64-mingw32 \ [07:58:07.931] --enable-cassert \ [07:58:07.931] --without-icu \ [07:58:07.931] CC="ccache x86_64-w64-mingw32-gcc" \ [07:58:07.931] CXX="ccache x86_64-w64-mingw32-g++" [07:58:08.067] checking build system type... x86_64-pc-linux-gnu [07:58:08.281] checking host system type... x86_64-w64-mingw32 [07:58:08.288] checking which template to use... win32 [07:58:08.288] checking whether NLS is wanted... no [07:58:08.288] checking for default port number... 5432 [07:58:08.296] checking for block size... 8kB [07:58:08.298] checking for segment size... 1GB [07:58:08.300] checking for WAL block size... 8kB [07:58:08.302] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:58:08.344] checking whether the C compiler works... yes [07:58:08.509] checking for C compiler default output file name... a.exe [07:58:08.510] checking for suffix of executables... .exe [07:58:08.554] checking whether we are cross compiling... yes [07:58:08.635] checking for suffix of object files... o [07:58:08.654] checking whether we are using the GNU C compiler... yes [07:58:08.662] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:58:08.669] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:58:08.755] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:58:08.899] checking whether we are using the GNU C++ compiler... yes [07:58:09.065] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:58:09.145] checking for gawk... no [07:58:09.146] checking for mawk... mawk [07:58:09.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:58:09.186] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:58:09.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:58:09.271] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:58:09.320] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:58:09.339] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:58:09.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:58:09.376] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:58:09.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:58:09.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:58:09.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:58:09.445] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:58:09.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:58:09.472] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:58:09.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:58:09.586] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:58:09.594] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:58:09.634] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:58:09.654] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:58:09.673] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:58:09.709] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:58:09.749] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:58:09.757] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:58:09.784] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:58:09.793] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:58:09.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:58:09.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:58:09.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:58:09.933] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:58:09.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:58:10.008] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:58:10.017] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:58:10.025] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:58:10.034] checking whether the C compiler still works... yes [07:58:10.116] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:58:10.196] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:58:10.196] checking pkg-config is at least version 0.9.0... yes [07:58:10.213] checking whether to build with ICU support... no [07:58:10.213] checking whether to build with Tcl... no [07:58:10.214] checking whether to build Perl modules... no [07:58:10.214] checking whether to build Python modules... no [07:58:10.214] checking whether to build with GSSAPI support... no [07:58:10.215] checking whether to build with PAM support... no [07:58:10.215] checking whether to build with BSD Authentication support... no [07:58:10.215] checking whether to build with LDAP support... no [07:58:10.215] checking whether to build with Bonjour support... no [07:58:10.215] checking whether to build with SELinux support... no [07:58:10.215] checking whether to build with systemd support... no [07:58:10.215] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:58:10.216] checking whether to build with XML support... no [07:58:10.216] checking whether to build with LZ4 support... no [07:58:10.216] checking whether to build with ZSTD support... no [07:58:10.216] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:58:10.217] checking whether it is possible to strip libraries... yes [07:58:10.226] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:58:10.226] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:58:10.227] checking for a BSD-compatible install... /usr/bin/install -c [07:58:10.237] checking for tar... /usr/bin/tar [07:58:10.237] checking whether ln -s works... yes [07:58:10.237] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:58:10.239] checking for bison... /usr/bin/bison [07:58:10.242] configure: using bison (GNU Bison) 3.8.2 [07:58:10.245] checking for flex... /usr/bin/flex [07:58:10.259] configure: using flex 2.6.4 [07:58:10.260] checking for perl... /usr/bin/perl [07:58:10.263] configure: using perl 5.36.0 [07:58:10.265] checking for zic... /usr/sbin/zic [07:58:10.266] checking for a sed that does not truncate output... /usr/bin/sed [07:58:10.271] checking for grep that handles long lines and -e... /usr/bin/grep [07:58:10.274] checking for egrep... /usr/bin/grep -E [07:58:10.276] checking for ANSI C header files... yes [07:58:10.347] checking for sys/types.h... yes [07:58:10.389] checking for sys/stat.h... yes [07:58:10.454] checking for stdlib.h... yes [07:58:10.493] checking for string.h... yes [07:58:10.530] checking for memory.h... yes [07:58:10.595] checking for strings.h... yes [07:58:10.633] checking for inttypes.h... yes [07:58:10.652] checking for stdint.h... yes [07:58:10.692] checking for unistd.h... yes [07:58:10.736] checking for main in -lm... yes [07:58:10.787] checking for library containing setproctitle... no [07:58:10.884] checking for library containing dlsym... no [07:58:10.980] checking for library containing socket... -lws2_32 [07:58:11.118] checking for library containing getopt_long... none required [07:58:11.168] checking for library containing shm_open... no [07:58:11.263] checking for library containing shm_unlink... no [07:58:11.361] checking for library containing clock_gettime... no [07:58:11.456] checking for library containing shmget... no [07:58:11.552] checking for library containing backtrace_symbols... no [07:58:11.648] checking for library containing pthread_barrier_wait... -lpthread [07:58:11.747] checking for inflate in -lz... yes [07:58:11.797] checking for stdbool.h that conforms to C99... yes [07:58:11.846] checking for _Bool... yes [07:58:11.974] checking atomic.h usability... no [07:58:12.035] checking atomic.h presence... no [07:58:12.058] checking for atomic.h... no [07:58:12.062] checking copyfile.h usability... no [07:58:12.122] checking copyfile.h presence... no [07:58:12.144] checking for copyfile.h... no [07:58:12.148] checking execinfo.h usability... no [07:58:12.205] checking execinfo.h presence... no [07:58:12.226] checking for execinfo.h... no [07:58:12.230] checking getopt.h usability... yes [07:58:12.291] checking getopt.h presence... yes [07:58:12.307] checking for getopt.h... yes [07:58:12.316] checking ifaddrs.h usability... no [07:58:12.377] checking ifaddrs.h presence... no [07:58:12.399] checking for ifaddrs.h... no [07:58:12.403] checking mbarrier.h usability... no [07:58:12.463] checking mbarrier.h presence... no [07:58:12.485] checking for mbarrier.h... no [07:58:12.489] checking sys/epoll.h usability... no [07:58:12.547] checking sys/epoll.h presence... no [07:58:12.567] checking for sys/epoll.h... no [07:58:12.571] checking sys/event.h usability... no [07:58:12.631] checking sys/event.h presence... no [07:58:12.652] checking for sys/event.h... no [07:58:12.656] checking sys/personality.h usability... no [07:58:12.716] checking sys/personality.h presence... no [07:58:12.738] checking for sys/personality.h... no [07:58:12.741] checking sys/prctl.h usability... no [07:58:12.802] checking sys/prctl.h presence... no [07:58:12.823] checking for sys/prctl.h... no [07:58:12.827] checking sys/procctl.h usability... no [07:58:12.886] checking sys/procctl.h presence... no [07:58:12.907] checking for sys/procctl.h... no [07:58:12.911] checking sys/signalfd.h usability... no [07:58:12.974] checking sys/signalfd.h presence... no [07:58:12.996] checking for sys/signalfd.h... no [07:58:13.000] checking sys/ucred.h usability... no [07:58:13.058] checking sys/ucred.h presence... no [07:58:13.080] checking for sys/ucred.h... no [07:58:13.083] checking termios.h usability... no [07:58:13.144] checking termios.h presence... no [07:58:13.164] checking for termios.h... no [07:58:13.168] checking ucred.h usability... no [07:58:13.228] checking ucred.h presence... no [07:58:13.250] checking for ucred.h... no [07:58:13.254] checking xlocale.h usability... no [07:58:13.312] checking xlocale.h presence... no [07:58:13.333] checking for xlocale.h... no [07:58:13.336] checking zlib.h usability... yes [07:58:13.372] checking zlib.h presence... yes [07:58:13.394] checking for zlib.h... yes [07:58:13.395] checking for lz4... /usr/bin/lz4 [07:58:13.395] checking for zstd... /usr/bin/zstd [07:58:13.395] checking for openssl... /usr/bin/openssl [07:58:13.400] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:58:13.401] checking crtdefs.h usability... yes [07:58:13.458] checking crtdefs.h presence... yes [07:58:13.473] checking for crtdefs.h... yes [07:58:13.475] checking whether byte ordering is bigendian... no [07:58:13.566] checking for inline... inline [07:58:13.574] checking for printf format archetype... gnu_printf [07:58:13.583] checking for _Static_assert... yes [07:58:13.627] checking for typeof... typeof [07:58:13.665] checking for __builtin_types_compatible_p... yes [07:58:13.678] checking for __builtin_constant_p... yes [07:58:13.712] checking for __builtin_unreachable... yes [07:58:13.757] checking for computed goto support... yes [07:58:13.792] checking for struct tm.tm_zone... no [07:58:13.873] checking for union semun... no [07:58:13.909] checking for socklen_t... yes [07:58:16.150] checking for struct sockaddr.sa_len... no [07:58:18.430] checking for C/C++ restrict keyword... __restrict [07:58:18.445] checking for struct option... yes [07:58:18.495] checking whether assembler supports x86_64 popcntq... yes [07:58:18.504] checking size of off_t... 4 [07:58:18.867] 0 [07:58:18.867] checking size of bool... 1 [07:58:18.919] checking for int timezone... yes [07:58:18.975] checking for backtrace_symbols... no [07:58:19.030] checking for copyfile... no [07:58:19.084] checking for copy_file_range... no [07:58:19.139] checking for elf_aux_info... no [07:58:19.194] checking for getauxval... no [07:58:19.249] checking for getifaddrs... no [07:58:19.302] checking for getpeerucred... no [07:58:19.354] checking for inet_pton... yes [07:58:19.410] checking for kqueue... no [07:58:19.464] checking for mbstowcs_l... no [07:58:19.519] checking for memset_s... no [07:58:19.573] checking for posix_fallocate... no [07:58:19.629] checking for ppoll... no [07:58:19.682] checking for pthread_is_threaded_np... no [07:58:19.739] checking for setproctitle... no [07:58:19.795] checking for setproctitle_fast... no [07:58:19.850] checking for strchrnul... no [07:58:19.905] checking for strsignal... no [07:58:19.959] checking for syncfs... no [07:58:20.015] checking for sync_file_range... no [07:58:20.071] checking for uselocale... no [07:58:20.127] checking for wcstombs_l... no [07:58:20.179] checking for __builtin_bswap16... yes [07:58:20.233] checking for __builtin_bswap32... yes [07:58:20.286] checking for __builtin_bswap64... yes [07:58:20.338] checking for __builtin_clz... yes [07:58:20.389] checking for __builtin_ctz... yes [07:58:20.441] checking for __builtin_popcount... yes [07:58:20.493] checking for __builtin_frame_address... yes [07:58:20.542] checking for _LARGEFILE_SOURCE value needed for large files... no [07:58:20.598] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:58:20.632] checking for posix_fadvise... no [07:58:20.690] checking whether posix_fadvise is declared... no [07:58:20.743] checking whether fdatasync is declared... no [07:58:20.796] checking whether strlcat is declared... no [07:58:20.866] checking whether strlcpy is declared... no [07:58:20.936] checking whether strnlen is declared... yes [07:58:21.008] checking whether strsep is declared... no [07:58:21.078] checking whether preadv is declared... no [07:58:21.121] checking whether pwritev is declared... no [07:58:21.161] checking whether F_FULLFSYNC is declared... no [07:58:21.208] checking for explicit_bzero... no [07:58:21.262] checking for getopt... yes [07:58:21.310] checking for getpeereid... no [07:58:21.363] checking for inet_aton... no [07:58:21.415] checking for mkdtemp... no [07:58:21.467] checking for strlcat... no [07:58:21.519] checking for strlcpy... no [07:58:21.568] checking for strnlen... yes [07:58:21.618] checking for strsep... no [07:58:21.669] checking for pthread_barrier_wait... yes [07:58:21.717] configure: On mingw32 we will use our strtof wrapper. [07:58:21.717] checking for getopt_long... yes [07:58:21.765] checking for _configthreadlocale... yes [07:58:21.814] checking for syslog... no [07:58:21.864] checking for opterr... yes [07:58:21.915] checking for optreset... no [07:58:21.970] checking test program... cross-compiling [07:58:21.970] checking whether long int is 64 bits... no [07:58:22.005] checking whether long long int is 64 bits... yes [07:58:22.027] checking for __builtin_mul_overflow... yes [07:58:22.074] checking size of void *... 8 [07:58:22.470] checking size of size_t... 8 [07:58:22.938] checking size of long... 4 [07:58:23.290] checking alignment of short... 2 [07:58:23.560] checking alignment of int... 4 [07:58:23.908] checking alignment of long... 4 [07:58:24.244] checking alignment of long long int... 8 [07:58:24.732] checking alignment of double... 8 [07:58:25.212] checking for __int128... yes [07:58:25.263] checking for __int128 alignment bug... assuming ok [07:58:25.263] checking alignment of PG_INT128_TYPE... 16 [07:58:25.772] checking for builtin __sync char locking functions... yes [07:58:25.818] checking for builtin __sync int32 locking functions... yes [07:58:25.864] checking for builtin __sync int32 atomic operations... yes [07:58:25.910] checking for builtin __sync int64 atomic operations... yes [07:58:25.957] checking for builtin __atomic int32 atomic operations... yes [07:58:26.003] checking for builtin __atomic int64 atomic operations... yes [07:58:26.050] checking for __get_cpuid... yes [07:58:26.100] checking for __get_cpuid_count... yes [07:58:26.149] checking for __cpuid... no [07:58:26.564] checking for __cpuidex... no [07:58:27.000] checking for _xgetbv... yes [07:58:27.418] checking for _mm512_popcnt_epi64... yes [07:58:27.842] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:58:27.891] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:58:27.987] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:58:28.012] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:58:28.033] 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 [07:58:28.092] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:58:28.092] checking which random number source to use... Windows native [07:58:28.094] checking for xmllint... /usr/bin/xmllint [07:58:28.095] checking for xsltproc... /usr/bin/xsltproc [07:58:28.095] checking for fop... /usr/bin/fop [07:58:28.095] checking for dbtoepub... no [07:58:28.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:58:28.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:58:28.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:58:28.109] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:58:28.109] 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 [07:58:28.109] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:58:28.109] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:58:28.203] configure: creating ./config.status [07:58:28.296] config.status: creating GNUmakefile [07:58:28.310] config.status: creating src/Makefile.global [07:58:28.328] config.status: creating src/include/pg_config.h [07:58:28.343] config.status: creating src/include/pg_config_ext.h [07:58:28.357] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:58:28.374] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:58:28.382] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:58:28.391] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:58:28.399] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:58:28.408] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:58:28.412] config.status: executing check_win32_symlinks commands [07:58:28.450] [07:58:28.450] real 0m20.519s [07:58:28.450] user 0m13.528s [07:58:28.450] sys 0m6.528s [07:58:28.450] make -s -j${BUILD_JOBS} clean [07:58:28.981] time make -s -j${BUILD_JOBS} world-bin [08:01:28.517] elog.c: In function ‘EmitErrorReport’: [08:01:28.517] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [08:01:28.517] 1699 | char* str = debug_query_string; [08:01:28.517] | ^~~~~~~~~~~~~~~~~~ [08:01:28.517] cc1: all warnings being treated as errors [08:01:28.518] make[4]: *** [: elog.o] Error 1 [08:01:28.518] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [08:01:28.518] make[3]: *** Waiting for unfinished jobs.... [08:01:44.522] make[2]: *** [common.mk:37: utils-recursive] Error 2 [08:01:44.523] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:01:44.523] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:01:44.523] [08:01:44.523] real 3m15.542s [08:01:44.523] user 10m43.523s [08:01:44.523] sys 1m58.335s [08:01:44.524] [08:01:44.524] Exit status: 2