[16:37:30.266] time ./configure \ [16:37:30.266] --host=x86_64-w64-mingw32 \ [16:37:30.266] --enable-cassert \ [16:37:30.266] --without-icu \ [16:37:30.266] CC="ccache x86_64-w64-mingw32-gcc" \ [16:37:30.266] CXX="ccache x86_64-w64-mingw32-g++" [16:37:30.375] checking build system type... x86_64-pc-linux-gnu [16:37:30.562] checking host system type... x86_64-w64-mingw32 [16:37:30.567] checking which template to use... win32 [16:37:30.567] checking whether NLS is wanted... no [16:37:30.567] checking for default port number... 5432 [16:37:30.573] checking for block size... 8kB [16:37:30.575] checking for segment size... 1GB [16:37:30.577] checking for WAL block size... 8kB [16:37:30.578] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:37:30.610] checking whether the C compiler works... yes [16:37:30.739] checking for C compiler default output file name... a.exe [16:37:30.740] checking for suffix of executables... .exe [16:37:30.779] checking whether we are cross compiling... yes [16:37:30.853] checking for suffix of object files... o [16:37:30.861] checking whether we are using the GNU C compiler... yes [16:37:30.876] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:37:30.883] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:37:30.906] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:37:31.058] checking whether we are using the GNU C++ compiler... yes [16:37:31.267] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:37:31.352] checking for gawk... no [16:37:31.353] checking for mawk... mawk [16:37:31.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:37:31.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:37:31.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:37:31.445] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:37:31.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:37:31.495] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:37:31.502] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:37:31.532] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:37:31.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:37:31.577] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:37:31.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:37:31.598] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:37:31.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:37:31.610] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:37:31.641] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:37:31.647] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:37:31.678] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:37:31.713] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:37:31.728] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:37:31.759] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:37:31.775] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:37:31.805] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:37:31.811] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:37:31.833] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:37:31.840] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:37:31.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:37:31.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:37:31.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:37:31.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:37:31.972] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:37:32.005] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:37:32.011] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:37:32.026] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:37:32.057] checking whether the C compiler still works... yes [16:37:32.127] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:37:32.192] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:37:32.192] checking pkg-config is at least version 0.9.0... yes [16:37:32.208] checking whether to build with ICU support... no [16:37:32.209] checking whether to build with Tcl... no [16:37:32.209] checking whether to build Perl modules... no [16:37:32.209] checking whether to build Python modules... no [16:37:32.209] checking whether to build with GSSAPI support... no [16:37:32.210] checking whether to build with PAM support... no [16:37:32.210] checking whether to build with BSD Authentication support... no [16:37:32.210] checking whether to build with LDAP support... no [16:37:32.210] checking whether to build with Bonjour support... no [16:37:32.210] checking whether to build with SELinux support... no [16:37:32.211] checking whether to build with systemd support... no [16:37:32.211] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:37:32.211] checking whether to build with XML support... no [16:37:32.211] checking whether to build with LZ4 support... no [16:37:32.211] checking whether to build with ZSTD support... no [16:37:32.211] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:37:32.212] checking whether it is possible to strip libraries... yes [16:37:32.219] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:37:32.219] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:37:32.219] checking for a BSD-compatible install... /usr/bin/install -c [16:37:32.228] checking for tar... /usr/bin/tar [16:37:32.228] checking whether ln -s works... yes [16:37:32.228] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:37:32.230] checking for bison... /usr/bin/bison [16:37:32.232] configure: using bison (GNU Bison) 3.8.2 [16:37:32.234] checking for flex... /usr/bin/flex [16:37:32.245] configure: using flex 2.6.4 [16:37:32.245] checking for perl... /usr/bin/perl [16:37:32.248] configure: using perl 5.36.0 [16:37:32.250] checking for zic... /usr/sbin/zic [16:37:32.250] checking for a sed that does not truncate output... /usr/bin/sed [16:37:32.254] checking for grep that handles long lines and -e... /usr/bin/grep [16:37:32.256] checking for egrep... /usr/bin/grep -E [16:37:32.258] checking for ANSI C header files... yes [16:37:32.336] checking for sys/types.h... yes [16:37:32.388] checking for sys/stat.h... yes [16:37:32.421] checking for stdlib.h... yes [16:37:32.475] checking for string.h... yes [16:37:32.506] checking for memory.h... yes [16:37:32.562] checking for strings.h... yes [16:37:32.619] checking for inttypes.h... yes [16:37:32.678] checking for stdint.h... yes [16:37:32.735] checking for unistd.h... yes [16:37:32.796] checking for main in -lm... yes [16:37:32.841] checking for library containing setproctitle... no [16:37:32.927] checking for library containing dlsym... no [16:37:33.012] checking for library containing socket... -lws2_32 [16:37:33.142] checking for library containing getopt_long... none required [16:37:33.189] checking for library containing shm_open... no [16:37:33.277] checking for library containing shm_unlink... no [16:37:33.364] checking for library containing clock_gettime... no [16:37:33.448] checking for library containing shmget... no [16:37:33.533] checking for library containing backtrace_symbols... no [16:37:33.617] checking for library containing pthread_barrier_wait... -lpthread [16:37:33.704] checking for inflate in -lz... yes [16:37:33.746] checking for stdbool.h that conforms to C99... yes [16:37:33.766] checking for _Bool... yes [16:37:33.852] checking atomic.h usability... no [16:37:33.905] checking atomic.h presence... no [16:37:33.923] checking for atomic.h... no [16:37:33.926] checking copyfile.h usability... no [16:37:33.979] checking copyfile.h presence... no [16:37:33.998] checking for copyfile.h... no [16:37:34.001] checking execinfo.h usability... no [16:37:34.054] checking execinfo.h presence... no [16:37:34.072] checking for execinfo.h... no [16:37:34.076] checking getopt.h usability... yes [16:37:34.133] checking getopt.h presence... yes [16:37:34.148] checking for getopt.h... yes [16:37:34.155] checking ifaddrs.h usability... no [16:37:34.209] checking ifaddrs.h presence... no [16:37:34.228] checking for ifaddrs.h... no [16:37:34.232] checking mbarrier.h usability... no [16:37:34.287] checking mbarrier.h presence... no [16:37:34.305] checking for mbarrier.h... no [16:37:34.309] checking sys/epoll.h usability... no [16:37:34.365] checking sys/epoll.h presence... no [16:37:34.384] checking for sys/epoll.h... no [16:37:34.387] checking sys/event.h usability... no [16:37:34.442] checking sys/event.h presence... no [16:37:34.461] checking for sys/event.h... no [16:37:34.464] checking sys/personality.h usability... no [16:37:34.520] checking sys/personality.h presence... no [16:37:34.540] checking for sys/personality.h... no [16:37:34.544] checking sys/prctl.h usability... no [16:37:34.600] checking sys/prctl.h presence... no [16:37:34.619] checking for sys/prctl.h... no [16:37:34.623] checking sys/procctl.h usability... no [16:37:34.679] checking sys/procctl.h presence... no [16:37:34.698] checking for sys/procctl.h... no [16:37:34.701] checking sys/signalfd.h usability... no [16:37:34.757] checking sys/signalfd.h presence... no [16:37:34.775] checking for sys/signalfd.h... no [16:37:34.779] checking sys/ucred.h usability... no [16:37:34.834] checking sys/ucred.h presence... no [16:37:34.853] checking for sys/ucred.h... no [16:37:34.856] checking termios.h usability... no [16:37:34.909] checking termios.h presence... no [16:37:34.927] checking for termios.h... no [16:37:34.930] checking ucred.h usability... no [16:37:34.984] checking ucred.h presence... no [16:37:35.002] checking for ucred.h... no [16:37:35.005] checking zlib.h usability... yes [16:37:35.065] checking zlib.h presence... yes [16:37:35.084] checking for zlib.h... yes [16:37:35.084] checking for lz4... /usr/bin/lz4 [16:37:35.085] checking for zstd... /usr/bin/zstd [16:37:35.085] checking for openssl... /usr/bin/openssl [16:37:35.089] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [16:37:35.090] checking crtdefs.h usability... yes [16:37:35.145] checking crtdefs.h presence... yes [16:37:35.162] checking for crtdefs.h... yes [16:37:35.163] checking whether byte ordering is bigendian... no [16:37:35.265] checking for inline... inline [16:37:35.293] checking for printf format archetype... gnu_printf [16:37:35.327] checking for _Static_assert... yes [16:37:35.368] checking for typeof... typeof [16:37:35.375] checking for __builtin_types_compatible_p... yes [16:37:35.395] checking for __builtin_constant_p... yes [16:37:35.425] checking for __builtin_unreachable... yes [16:37:35.466] checking for computed goto support... yes [16:37:35.483] checking for struct tm.tm_zone... no [16:37:35.556] checking for union semun... no [16:37:35.589] checking for socklen_t... yes [16:37:36.748] checking for struct sockaddr.sa_len... no [16:37:38.735] checking for locale_t... no [16:37:38.797] checking for C/C++ restrict keyword... __restrict [16:37:38.809] checking for struct option... yes [16:37:38.878] checking whether assembler supports x86_64 popcntq... yes [16:37:38.885] checking size of off_t... 4 [16:37:39.168] 0 [16:37:39.169] checking size of bool... 1 [16:37:39.264] checking for int timezone... yes [16:37:39.309] checking for wcstombs_l declaration... no [16:37:39.389] checking for backtrace_symbols... no [16:37:39.438] checking for copyfile... no [16:37:39.488] checking for copy_file_range... no [16:37:39.536] checking for getifaddrs... no [16:37:39.585] checking for getpeerucred... no [16:37:39.633] checking for inet_pton... yes [16:37:39.683] checking for kqueue... no [16:37:39.730] checking for mbstowcs_l... no [16:37:39.779] checking for memset_s... no [16:37:39.827] checking for posix_fallocate... no [16:37:39.876] checking for ppoll... no [16:37:39.924] checking for pthread_is_threaded_np... no [16:37:39.973] checking for setproctitle... no [16:37:40.023] checking for setproctitle_fast... no [16:37:40.072] checking for strchrnul... no [16:37:40.120] checking for strsignal... no [16:37:40.168] checking for syncfs... no [16:37:40.215] checking for sync_file_range... no [16:37:40.265] checking for uselocale... no [16:37:40.315] checking for wcstombs_l... no [16:37:40.361] checking for __builtin_bswap16... yes [16:37:40.409] checking for __builtin_bswap32... yes [16:37:40.456] checking for __builtin_bswap64... yes [16:37:40.504] checking for __builtin_clz... yes [16:37:40.550] checking for __builtin_ctz... yes [16:37:40.596] checking for __builtin_popcount... yes [16:37:40.642] checking for __builtin_frame_address... yes [16:37:40.687] checking for _LARGEFILE_SOURCE value needed for large files... no [16:37:40.737] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:37:40.767] checking for posix_fadvise... no [16:37:40.816] checking whether posix_fadvise is declared... no [16:37:40.860] checking whether fdatasync is declared... no [16:37:40.908] checking whether strlcat is declared... no [16:37:40.972] checking whether strlcpy is declared... no [16:37:41.033] checking whether strnlen is declared... yes [16:37:41.067] checking whether strsep is declared... no [16:37:41.129] checking whether preadv is declared... no [16:37:41.166] checking whether pwritev is declared... no [16:37:41.203] checking whether F_FULLFSYNC is declared... no [16:37:41.242] checking for explicit_bzero... no [16:37:41.289] checking for getopt... yes [16:37:41.334] checking for getpeereid... no [16:37:41.381] checking for inet_aton... no [16:37:41.427] checking for mkdtemp... no [16:37:41.472] checking for strlcat... no [16:37:41.517] checking for strlcpy... no [16:37:41.562] checking for strnlen... yes [16:37:41.607] checking for strsep... no [16:37:41.653] checking for pthread_barrier_wait... yes [16:37:41.695] configure: On mingw32 we will use our strtof wrapper. [16:37:41.695] checking for getopt_long... yes [16:37:41.737] checking for _configthreadlocale... yes [16:37:41.781] checking for syslog... no [16:37:41.825] checking for opterr... yes [16:37:41.871] checking for optreset... no [16:37:41.919] checking test program... cross-compiling [16:37:41.919] checking whether long int is 64 bits... no [16:37:41.947] checking whether long long int is 64 bits... yes [16:37:41.979] checking for __builtin_mul_overflow... yes [16:37:42.019] checking size of void *... 8 [16:37:42.478] checking size of size_t... 8 [16:37:42.904] checking size of long... 4 [16:37:43.206] checking alignment of short... 2 [16:37:43.435] checking alignment of int... 4 [16:37:43.733] checking alignment of long... 4 [16:37:44.041] checking alignment of long long int... 8 [16:37:44.385] checking alignment of double... 8 [16:37:44.721] checking for int8... no [16:37:44.759] checking for uint8... no [16:37:44.799] checking for int64... no [16:37:44.838] checking for uint64... no [16:37:44.876] checking for __int128... yes [16:37:44.920] checking for __int128 alignment bug... assuming ok [16:37:44.920] checking alignment of PG_INT128_TYPE... 16 [16:37:45.417] checking for builtin __sync char locking functions... yes [16:37:45.456] checking for builtin __sync int32 locking functions... yes [16:37:45.495] checking for builtin __sync int32 atomic operations... yes [16:37:45.534] checking for builtin __sync int64 atomic operations... yes [16:37:45.572] checking for builtin __atomic int32 atomic operations... yes [16:37:45.611] checking for builtin __atomic int64 atomic operations... yes [16:37:45.650] checking for __get_cpuid... yes [16:37:45.692] checking for __get_cpuid_count... yes [16:37:45.734] checking for __cpuid... no [16:37:46.123] checking for __cpuidex... no [16:37:46.535] checking for _xgetbv with CFLAGS=... no [16:37:46.908] checking for _xgetbv with CFLAGS=-mxsave... yes [16:37:47.297] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:37:47.669] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:37:48.002] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:37:48.045] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:37:48.128] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:37:48.148] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:37:48.165] 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 [16:37:48.215] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:37:48.215] checking which random number source to use... Windows native [16:37:48.217] checking for xmllint... /usr/bin/xmllint [16:37:48.217] checking for xsltproc... /usr/bin/xsltproc [16:37:48.217] checking for fop... /usr/bin/fop [16:37:48.218] checking for dbtoepub... no [16:37:48.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:37:48.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:37:48.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:37:48.228] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:37:48.228] 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 [16:37:48.228] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:37:48.228] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:37:48.304] configure: creating ./config.status [16:37:48.380] config.status: creating GNUmakefile [16:37:48.391] config.status: creating src/Makefile.global [16:37:48.404] config.status: creating src/include/pg_config.h [16:37:48.416] config.status: creating src/include/pg_config_ext.h [16:37:48.427] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:37:48.440] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:37:48.446] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:37:48.453] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:37:48.459] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:37:48.465] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:37:48.468] config.status: executing check_win32_symlinks commands [16:37:48.499] [16:37:48.499] real 0m18.232s [16:37:48.499] user 0m11.986s [16:37:48.499] sys 0m5.854s [16:37:48.499] make -s -j${BUILD_JOBS} clean [16:37:48.979] time make -s -j${BUILD_JOBS} world-bin [16:40:57.306] elog.c: In function ‘EmitErrorReport’: [16:40:57.306] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [16:40:57.306] 1699 | char* str = debug_query_string; [16:40:57.306] | ^~~~~~~~~~~~~~~~~~ [16:40:57.306] cc1: all warnings being treated as errors [16:40:57.306] make[4]: *** [: elog.o] Error 1 [16:40:57.306] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [16:40:57.306] make[3]: *** Waiting for unfinished jobs.... [16:40:58.729] make[2]: *** [common.mk:37: utils-recursive] Error 2 [16:40:58.730] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:40:58.730] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:40:58.730] [16:40:58.730] real 3m9.751s [16:40:58.730] user 10m25.710s [16:40:58.730] sys 1m54.371s [16:40:58.730] [16:40:58.730] Exit status: 2