[09:39:10.980] time ./configure \ [09:39:10.980] --host=x86_64-w64-mingw32 \ [09:39:10.980] --enable-cassert \ [09:39:10.980] --without-icu \ [09:39:10.980] CC="ccache x86_64-w64-mingw32-gcc" \ [09:39:10.980] CXX="ccache x86_64-w64-mingw32-g++" [09:39:11.096] checking build system type... x86_64-pc-linux-gnu [09:39:11.294] checking host system type... x86_64-w64-mingw32 [09:39:11.300] checking which template to use... win32 [09:39:11.300] checking whether NLS is wanted... no [09:39:11.300] checking for default port number... 5432 [09:39:11.306] checking for block size... 8kB [09:39:11.308] checking for segment size... 1GB [09:39:11.310] checking for WAL block size... 8kB [09:39:11.311] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:39:11.343] checking whether the C compiler works... yes [09:39:11.488] checking for C compiler default output file name... a.exe [09:39:11.489] checking for suffix of executables... .exe [09:39:11.529] checking whether we are cross compiling... yes [09:39:11.613] checking for suffix of object files... o [09:39:11.630] checking whether we are using the GNU C compiler... yes [09:39:11.665] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:39:11.672] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:39:11.758] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:39:11.821] checking whether we are using the GNU C++ compiler... yes [09:39:11.828] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:39:11.898] checking for gawk... no [09:39:11.898] checking for mawk... mawk [09:39:11.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:39:11.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:39:11.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:39:12.019] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:39:12.222] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:39:12.240] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:39:12.329] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:39:12.337] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:39:12.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:39:12.377] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:39:12.384] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:39:12.417] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:39:12.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:39:12.441] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:39:12.457] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:39:12.490] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:39:12.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:39:12.564] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:39:12.597] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:39:12.605] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:39:12.612] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:39:12.646] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:39:12.653] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:39:12.677] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:39:12.684] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:39:12.700] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:39:12.741] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:39:12.783] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:39:12.817] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:39:12.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:39:12.885] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:39:12.893] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:39:12.900] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:39:12.935] checking whether the C compiler still works... yes [09:39:12.994] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:39:13.065] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:39:13.066] checking pkg-config is at least version 0.9.0... yes [09:39:13.083] checking whether to build with ICU support... no [09:39:13.083] checking whether to build with Tcl... no [09:39:13.083] checking whether to build Perl modules... no [09:39:13.083] checking whether to build Python modules... no [09:39:13.084] checking whether to build with GSSAPI support... no [09:39:13.085] checking whether to build with PAM support... no [09:39:13.085] checking whether to build with BSD Authentication support... no [09:39:13.085] checking whether to build with LDAP support... no [09:39:13.085] checking whether to build with Bonjour support... no [09:39:13.085] checking whether to build with SELinux support... no [09:39:13.085] checking whether to build with systemd support... no [09:39:13.085] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:39:13.086] checking whether to build with XML support... no [09:39:13.086] checking whether to build with LZ4 support... no [09:39:13.086] checking whether to build with ZSTD support... no [09:39:13.087] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:39:13.087] checking whether it is possible to strip libraries... yes [09:39:13.098] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:39:13.098] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:39:13.098] checking for a BSD-compatible install... /usr/bin/install -c [09:39:13.109] checking for tar... /usr/bin/tar [09:39:13.109] checking whether ln -s works... yes [09:39:13.109] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:39:13.111] checking for bison... /usr/bin/bison [09:39:13.114] configure: using bison (GNU Bison) 3.8.2 [09:39:13.117] checking for flex... /usr/bin/flex [09:39:13.130] configure: using flex 2.6.4 [09:39:13.131] checking for perl... /usr/bin/perl [09:39:13.133] configure: using perl 5.36.0 [09:39:13.136] checking for zic... /usr/sbin/zic [09:39:13.136] checking for a sed that does not truncate output... /usr/bin/sed [09:39:13.141] checking for grep that handles long lines and -e... /usr/bin/grep [09:39:13.143] checking for egrep... /usr/bin/grep -E [09:39:13.145] checking for ANSI C header files... yes [09:39:13.235] checking for sys/types.h... yes [09:39:13.253] checking for sys/stat.h... yes [09:39:13.316] checking for stdlib.h... yes [09:39:13.377] checking for string.h... yes [09:39:13.413] checking for memory.h... yes [09:39:13.428] checking for strings.h... yes [09:39:13.490] checking for inttypes.h... yes [09:39:13.506] checking for stdint.h... yes [09:39:13.569] checking for unistd.h... yes [09:39:13.606] checking for main in -lm... yes [09:39:13.652] checking for library containing setproctitle... no [09:39:13.744] checking for library containing dlsym... no [09:39:13.836] checking for library containing socket... -lws2_32 [09:39:13.972] checking for library containing getopt_long... none required [09:39:14.021] checking for library containing shm_open... no [09:39:14.114] checking for library containing shm_unlink... no [09:39:14.205] checking for library containing clock_gettime... no [09:39:14.302] checking for library containing shmget... no [09:39:14.395] checking for library containing backtrace_symbols... no [09:39:14.487] checking for library containing pthread_barrier_wait... -lpthread [09:39:14.579] checking for inflate in -lz... yes [09:39:14.632] checking atomic.h usability... no [09:39:14.690] checking atomic.h presence... no [09:39:14.710] checking for atomic.h... no [09:39:14.713] checking copyfile.h usability... no [09:39:14.770] checking copyfile.h presence... no [09:39:14.789] checking for copyfile.h... no [09:39:14.792] checking execinfo.h usability... no [09:39:14.849] checking execinfo.h presence... no [09:39:14.869] checking for execinfo.h... no [09:39:14.873] checking getopt.h usability... yes [09:39:14.929] checking getopt.h presence... yes [09:39:14.945] checking for getopt.h... yes [09:39:14.952] checking ifaddrs.h usability... no [09:39:15.011] checking ifaddrs.h presence... no [09:39:15.030] checking for ifaddrs.h... no [09:39:15.034] checking mbarrier.h usability... no [09:39:15.089] checking mbarrier.h presence... no [09:39:15.109] checking for mbarrier.h... no [09:39:15.112] checking sys/epoll.h usability... no [09:39:15.168] checking sys/epoll.h presence... no [09:39:15.187] checking for sys/epoll.h... no [09:39:15.190] checking sys/event.h usability... no [09:39:15.248] checking sys/event.h presence... no [09:39:15.268] checking for sys/event.h... no [09:39:15.272] checking sys/personality.h usability... no [09:39:15.328] checking sys/personality.h presence... no [09:39:15.347] checking for sys/personality.h... no [09:39:15.350] checking sys/prctl.h usability... no [09:39:15.408] checking sys/prctl.h presence... no [09:39:15.427] checking for sys/prctl.h... no [09:39:15.431] checking sys/procctl.h usability... no [09:39:15.487] checking sys/procctl.h presence... no [09:39:15.507] checking for sys/procctl.h... no [09:39:15.511] checking sys/signalfd.h usability... no [09:39:15.568] checking sys/signalfd.h presence... no [09:39:15.586] checking for sys/signalfd.h... no [09:39:15.590] checking sys/ucred.h usability... no [09:39:15.644] checking sys/ucred.h presence... no [09:39:15.664] checking for sys/ucred.h... no [09:39:15.668] checking termios.h usability... no [09:39:15.725] checking termios.h presence... no [09:39:15.745] checking for termios.h... no [09:39:15.748] checking ucred.h usability... no [09:39:15.804] checking ucred.h presence... no [09:39:15.823] checking for ucred.h... no [09:39:15.827] checking xlocale.h usability... no [09:39:15.884] checking xlocale.h presence... no [09:39:15.902] checking for xlocale.h... no [09:39:15.905] checking zlib.h usability... yes [09:39:15.915] checking zlib.h presence... yes [09:39:15.934] checking for zlib.h... yes [09:39:15.934] checking for lz4... /usr/bin/lz4 [09:39:15.934] checking for zstd... /usr/bin/zstd [09:39:15.935] checking for openssl... /usr/bin/openssl [09:39:15.939] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:39:15.940] checking crtdefs.h usability... yes [09:39:15.948] checking crtdefs.h presence... yes [09:39:15.963] checking for crtdefs.h... yes [09:39:15.964] checking whether byte ordering is bigendian... no [09:39:16.068] checking for inline... inline [09:39:16.095] checking for printf format archetype... gnu_printf [09:39:16.104] checking for _Static_assert... yes [09:39:16.146] checking for typeof... typeof [09:39:16.181] checking for __builtin_types_compatible_p... yes [09:39:16.201] checking for __builtin_constant_p... yes [09:39:16.211] checking for __builtin_unreachable... yes [09:39:16.254] checking for computed goto support... yes [09:39:16.261] checking for struct tm.tm_zone... no [09:39:16.342] checking for union semun... no [09:39:16.375] checking for socklen_t... yes [09:39:17.841] checking for struct sockaddr.sa_len... no [09:39:19.784] checking for C/C++ restrict keyword... __restrict [09:39:19.797] checking for struct option... yes [09:39:19.838] checking whether assembler supports x86_64 popcntq... yes [09:39:19.870] checking size of off_t... 4 [09:39:20.189] 0 [09:39:20.190] checking size of bool... 1 [09:39:20.285] checking for int timezone... yes [09:39:20.336] checking for backtrace_symbols... no [09:39:20.386] checking for copyfile... no [09:39:20.436] checking for copy_file_range... no [09:39:20.486] checking for elf_aux_info... no [09:39:20.535] checking for getauxval... no [09:39:20.585] checking for getifaddrs... no [09:39:20.634] checking for getpeerucred... no [09:39:20.685] checking for inet_pton... yes [09:39:20.734] checking for kqueue... no [09:39:20.784] checking for mbstowcs_l... no [09:39:20.832] checking for memset_s... no [09:39:20.882] checking for posix_fallocate... no [09:39:20.933] checking for ppoll... no [09:39:20.982] checking for pthread_is_threaded_np... no [09:39:21.032] checking for setproctitle... no [09:39:21.081] checking for setproctitle_fast... no [09:39:21.131] checking for strchrnul... no [09:39:21.180] checking for strsignal... no [09:39:21.231] checking for syncfs... no [09:39:21.281] checking for sync_file_range... no [09:39:21.332] checking for uselocale... no [09:39:21.381] checking for wcstombs_l... no [09:39:21.427] checking for __builtin_bswap16... yes [09:39:21.475] checking for __builtin_bswap32... yes [09:39:21.523] checking for __builtin_bswap64... yes [09:39:21.572] checking for __builtin_clz... yes [09:39:21.620] checking for __builtin_ctz... yes [09:39:21.667] checking for __builtin_popcount... yes [09:39:21.715] checking for __builtin_frame_address... yes [09:39:21.762] checking for _LARGEFILE_SOURCE value needed for large files... no [09:39:21.814] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:39:21.843] checking for posix_fadvise... no [09:39:21.894] checking whether posix_fadvise is declared... no [09:39:21.937] checking whether fdatasync is declared... no [09:39:21.981] checking whether strlcat is declared... no [09:39:22.043] checking whether strlcpy is declared... no [09:39:22.106] checking whether strnlen is declared... yes [09:39:22.119] checking whether strsep is declared... no [09:39:22.180] checking whether preadv is declared... no [09:39:22.215] checking whether pwritev is declared... no [09:39:22.250] checking whether F_FULLFSYNC is declared... no [09:39:22.288] checking for explicit_bzero... no [09:39:22.333] checking for getopt... yes [09:39:22.378] checking for getpeereid... no [09:39:22.424] checking for inet_aton... no [09:39:22.470] checking for mkdtemp... no [09:39:22.515] checking for strlcat... no [09:39:22.562] checking for strlcpy... no [09:39:22.608] checking for strnlen... yes [09:39:22.655] checking for strsep... no [09:39:22.702] checking for pthread_barrier_wait... yes [09:39:22.745] configure: On mingw32 we will use our strtof wrapper. [09:39:22.745] checking for getopt_long... yes [09:39:22.789] checking for _configthreadlocale... yes [09:39:22.832] checking for syslog... no [09:39:22.878] checking for opterr... yes [09:39:22.926] checking for optreset... no [09:39:22.976] checking test program... cross-compiling [09:39:22.977] checking whether long int is 64 bits... no [09:39:23.007] checking whether long long int is 64 bits... yes [09:39:23.025] checking for __builtin_mul_overflow... yes [09:39:23.067] checking size of void *... 8 [09:39:23.443] checking size of size_t... 8 [09:39:23.800] checking size of long... 4 [09:39:24.113] checking alignment of short... 2 [09:39:24.352] checking alignment of int... 4 [09:39:24.652] checking alignment of long... 4 [09:39:24.852] checking alignment of long long int... 8 [09:39:25.261] checking alignment of double... 8 [09:39:25.673] checking for __int128... yes [09:39:25.726] checking for __int128 alignment bug... assuming ok [09:39:25.726] checking alignment of PG_INT128_TYPE... 16 [09:39:26.330] checking for builtin __sync char locking functions... yes [09:39:26.378] checking for builtin __sync int32 locking functions... yes [09:39:26.426] checking for builtin __sync int32 atomic operations... yes [09:39:26.474] checking for builtin __sync int64 atomic operations... yes [09:39:26.522] checking for builtin __atomic int32 atomic operations... yes [09:39:26.571] checking for builtin __atomic int64 atomic operations... yes [09:39:26.617] checking for __get_cpuid... yes [09:39:26.670] checking for __get_cpuid_count... yes [09:39:26.720] checking for __cpuid... no [09:39:27.130] checking for __cpuidex... no [09:39:27.566] checking for _xgetbv... yes [09:39:27.984] checking for _mm512_popcnt_epi64... yes [09:39:28.417] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:39:28.467] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:39:28.566] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:39:28.591] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:39:28.611] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:39:28.631] 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:39:28.692] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:39:28.692] checking which random number source to use... Windows native [09:39:28.695] checking for xmllint... /usr/bin/xmllint [09:39:28.695] checking for xsltproc... /usr/bin/xsltproc [09:39:28.695] checking for fop... /usr/bin/fop [09:39:28.695] checking for dbtoepub... no [09:39:28.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:39:28.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:39:28.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:39:28.707] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:39:28.707] 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:39:28.707] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:39:28.708] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:39:28.796] configure: creating ./config.status [09:39:28.886] config.status: creating GNUmakefile [09:39:28.899] config.status: creating src/Makefile.global [09:39:28.919] config.status: creating src/include/pg_config.h [09:39:28.934] config.status: creating src/include/pg_config_ext.h [09:39:28.948] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:39:28.965] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:39:28.974] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:39:28.983] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:39:28.991] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:39:29.000] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:39:29.004] config.status: executing check_win32_symlinks commands [09:39:29.041] [09:39:29.041] real 0m18.061s [09:39:29.041] user 0m11.830s [09:39:29.041] sys 0m5.774s [09:39:29.041] make -s -j${BUILD_JOBS} clean [09:39:29.564] time make -s -j${BUILD_JOBS} world-bin [09:42:47.248] elog.c: In function ‘EmitErrorReport’: [09:42:47.248] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [09:42:47.248] 1699 | char* str = debug_query_string; [09:42:47.248] | ^~~~~~~~~~~~~~~~~~ [09:42:47.248] cc1: all warnings being treated as errors [09:42:47.249] make[4]: *** [: elog.o] Error 1 [09:42:47.249] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [09:42:47.249] make[3]: *** Waiting for unfinished jobs.... [09:42:48.711] make[2]: *** [common.mk:37: utils-recursive] Error 2 [09:42:48.711] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:42:48.711] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:42:48.712] [09:42:48.712] real 3m19.147s [09:42:48.712] user 10m58.260s [09:42:48.712] sys 1m58.974s [09:42:48.712] [09:42:48.712] Exit status: 2