[17:38:11.099] time ./configure \ [17:38:11.099] --host=x86_64-w64-mingw32 \ [17:38:11.099] --enable-cassert \ [17:38:11.099] --without-icu \ [17:38:11.099] CC="ccache x86_64-w64-mingw32-gcc" \ [17:38:11.099] CXX="ccache x86_64-w64-mingw32-g++" [17:38:11.215] checking build system type... x86_64-pc-linux-gnu [17:38:11.418] checking host system type... x86_64-w64-mingw32 [17:38:11.423] checking which template to use... win32 [17:38:11.424] checking whether NLS is wanted... no [17:38:11.424] checking for default port number... 5432 [17:38:11.430] checking for block size... 8kB [17:38:11.431] checking for segment size... 1GB [17:38:11.433] checking for WAL block size... 8kB [17:38:11.435] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:38:11.470] checking whether the C compiler works... yes [17:38:11.617] checking for C compiler default output file name... a.exe [17:38:11.618] checking for suffix of executables... .exe [17:38:11.660] checking whether we are cross compiling... yes [17:38:11.741] checking for suffix of object files... o [17:38:11.750] checking whether we are using the GNU C compiler... yes [17:38:11.757] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:38:11.776] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:38:11.864] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:38:12.011] checking whether we are using the GNU C++ compiler... yes [17:38:12.167] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:38:12.252] checking for gawk... no [17:38:12.253] checking for mawk... mawk [17:38:12.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:38:12.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:38:12.308] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:38:12.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:38:12.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:38:12.406] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:38:12.422] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:38:12.439] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:38:12.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:38:12.476] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:38:12.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:38:12.491] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:38:12.507] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:38:12.514] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:38:12.530] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:38:12.536] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:38:12.543] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:38:12.579] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:38:12.597] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:38:12.605] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:38:12.642] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:38:12.715] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:38:12.749] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:38:12.773] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:38:12.780] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:38:12.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:38:12.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:38:12.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:38:12.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:38:12.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:38:12.952] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:38:12.969] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:38:12.986] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:38:13.019] checking whether the C compiler still works... yes [17:38:13.093] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:38:13.162] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:38:13.163] checking pkg-config is at least version 0.9.0... yes [17:38:13.186] checking whether to build with ICU support... no [17:38:13.186] checking whether to build with Tcl... no [17:38:13.187] checking whether to build Perl modules... no [17:38:13.187] checking whether to build Python modules... no [17:38:13.187] checking whether to build with GSSAPI support... no [17:38:13.188] checking whether to build with PAM support... no [17:38:13.188] checking whether to build with BSD Authentication support... no [17:38:13.188] checking whether to build with LDAP support... no [17:38:13.188] checking whether to build with Bonjour support... no [17:38:13.189] checking whether to build with SELinux support... no [17:38:13.189] checking whether to build with systemd support... no [17:38:13.189] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:38:13.189] checking whether to build with XML support... no [17:38:13.189] checking whether to build with LZ4 support... no [17:38:13.189] checking whether to build with ZSTD support... no [17:38:13.190] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:38:13.190] checking whether it is possible to strip libraries... yes [17:38:13.199] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:38:13.199] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:38:13.200] checking for a BSD-compatible install... /usr/bin/install -c [17:38:13.209] checking for tar... /usr/bin/tar [17:38:13.209] checking whether ln -s works... yes [17:38:13.210] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:38:13.212] checking for bison... /usr/bin/bison [17:38:13.215] configure: using bison (GNU Bison) 3.8.2 [17:38:13.218] checking for flex... /usr/bin/flex [17:38:13.231] configure: using flex 2.6.4 [17:38:13.232] checking for perl... /usr/bin/perl [17:38:13.234] configure: using perl 5.36.0 [17:38:13.237] checking for zic... /usr/sbin/zic [17:38:13.237] checking for a sed that does not truncate output... /usr/bin/sed [17:38:13.243] checking for grep that handles long lines and -e... /usr/bin/grep [17:38:13.245] checking for egrep... /usr/bin/grep -E [17:38:13.246] checking for ANSI C header files... yes [17:38:13.337] checking for sys/types.h... yes [17:38:13.372] checking for sys/stat.h... yes [17:38:13.433] checking for stdlib.h... yes [17:38:13.449] checking for string.h... yes [17:38:13.484] checking for memory.h... yes [17:38:13.548] checking for strings.h... yes [17:38:13.585] checking for inttypes.h... yes [17:38:13.603] checking for stdint.h... yes [17:38:13.640] checking for unistd.h... yes [17:38:13.657] checking for main in -lm... yes [17:38:13.709] checking for library containing setproctitle... no [17:38:13.801] checking for library containing dlsym... no [17:38:13.894] checking for library containing socket... -lws2_32 [17:38:14.025] checking for library containing getopt_long... none required [17:38:14.076] checking for library containing shm_open... no [17:38:14.172] checking for library containing shm_unlink... no [17:38:14.267] checking for library containing clock_gettime... no [17:38:14.363] checking for library containing shmget... no [17:38:14.456] checking for library containing backtrace_symbols... no [17:38:14.549] checking for library containing pthread_barrier_wait... -lpthread [17:38:14.647] checking for inflate in -lz... yes [17:38:14.696] checking for stdbool.h that conforms to C99... yes [17:38:14.709] checking for _Bool... yes [17:38:14.781] checking atomic.h usability... no [17:38:14.838] checking atomic.h presence... no [17:38:14.857] checking for atomic.h... no [17:38:14.860] checking copyfile.h usability... no [17:38:14.919] checking copyfile.h presence... no [17:38:14.941] checking for copyfile.h... no [17:38:14.945] checking execinfo.h usability... no [17:38:15.004] checking execinfo.h presence... no [17:38:15.023] checking for execinfo.h... no [17:38:15.027] checking getopt.h usability... yes [17:38:15.056] checking getopt.h presence... yes [17:38:15.071] checking for getopt.h... yes [17:38:15.078] checking ifaddrs.h usability... no [17:38:15.134] checking ifaddrs.h presence... no [17:38:15.153] checking for ifaddrs.h... no [17:38:15.157] checking mbarrier.h usability... no [17:38:15.212] checking mbarrier.h presence... no [17:38:15.231] checking for mbarrier.h... no [17:38:15.234] checking sys/epoll.h usability... no [17:38:15.292] checking sys/epoll.h presence... no [17:38:15.312] checking for sys/epoll.h... no [17:38:15.316] checking sys/event.h usability... no [17:38:15.374] checking sys/event.h presence... no [17:38:15.394] checking for sys/event.h... no [17:38:15.397] checking sys/personality.h usability... no [17:38:15.453] checking sys/personality.h presence... no [17:38:15.473] checking for sys/personality.h... no [17:38:15.477] checking sys/prctl.h usability... no [17:38:15.536] checking sys/prctl.h presence... no [17:38:15.556] checking for sys/prctl.h... no [17:38:15.560] checking sys/procctl.h usability... no [17:38:15.617] checking sys/procctl.h presence... no [17:38:15.639] checking for sys/procctl.h... no [17:38:15.642] checking sys/signalfd.h usability... no [17:38:15.702] checking sys/signalfd.h presence... no [17:38:15.721] checking for sys/signalfd.h... no [17:38:15.724] checking sys/ucred.h usability... no [17:38:15.781] checking sys/ucred.h presence... no [17:38:15.802] checking for sys/ucred.h... no [17:38:15.805] checking termios.h usability... no [17:38:15.866] checking termios.h presence... no [17:38:15.886] checking for termios.h... no [17:38:15.890] checking ucred.h usability... no [17:38:15.948] checking ucred.h presence... no [17:38:15.968] checking for ucred.h... no [17:38:15.971] checking xlocale.h usability... no [17:38:16.028] checking xlocale.h presence... no [17:38:16.048] checking for xlocale.h... no [17:38:16.051] checking zlib.h usability... yes [17:38:16.115] checking zlib.h presence... yes [17:38:16.136] checking for zlib.h... yes [17:38:16.136] checking for lz4... /usr/bin/lz4 [17:38:16.137] checking for zstd... /usr/bin/zstd [17:38:16.137] checking for openssl... /usr/bin/openssl [17:38:16.142] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:38:16.142] checking crtdefs.h usability... yes [17:38:16.151] checking crtdefs.h presence... yes [17:38:16.167] checking for crtdefs.h... yes [17:38:16.169] checking whether byte ordering is bigendian... no [17:38:16.248] checking for inline... inline [17:38:16.265] checking for printf format archetype... gnu_printf [17:38:16.274] checking for _Static_assert... yes [17:38:16.318] checking for typeof... typeof [17:38:16.326] checking for __builtin_types_compatible_p... yes [17:38:16.338] checking for __builtin_constant_p... yes [17:38:16.375] checking for __builtin_unreachable... yes [17:38:16.418] checking for computed goto support... yes [17:38:16.426] checking for struct tm.tm_zone... no [17:38:16.511] checking for union semun... no [17:38:16.546] checking for socklen_t... yes [17:38:18.874] checking for struct sockaddr.sa_len... no [17:38:21.027] checking for C/C++ restrict keyword... __restrict [17:38:21.050] checking for struct option... yes [17:38:21.091] checking whether assembler supports x86_64 popcntq... yes [17:38:21.098] checking size of off_t... 4 [17:38:21.331] 0 [17:38:21.332] checking size of bool... 1 [17:38:21.403] checking for int timezone... yes [17:38:21.456] checking for backtrace_symbols... no [17:38:21.508] checking for copyfile... no [17:38:21.558] checking for copy_file_range... no [17:38:21.610] checking for getifaddrs... no [17:38:21.661] checking for getpeerucred... no [17:38:21.712] checking for inet_pton... yes [17:38:21.764] checking for kqueue... no [17:38:21.815] checking for mbstowcs_l... no [17:38:21.868] checking for memset_s... no [17:38:21.919] checking for posix_fallocate... no [17:38:21.970] checking for ppoll... no [17:38:22.020] checking for pthread_is_threaded_np... no [17:38:22.071] checking for setproctitle... no [17:38:22.123] checking for setproctitle_fast... no [17:38:22.175] checking for strchrnul... no [17:38:22.228] checking for strsignal... no [17:38:22.281] checking for syncfs... no [17:38:22.332] checking for sync_file_range... no [17:38:22.383] checking for uselocale... no [17:38:22.432] checking for wcstombs_l... no [17:38:22.479] checking for __builtin_bswap16... yes [17:38:22.529] checking for __builtin_bswap32... yes [17:38:22.577] checking for __builtin_bswap64... yes [17:38:22.626] checking for __builtin_clz... yes [17:38:22.675] checking for __builtin_ctz... yes [17:38:22.723] checking for __builtin_popcount... yes [17:38:22.774] checking for __builtin_frame_address... yes [17:38:22.823] checking for _LARGEFILE_SOURCE value needed for large files... no [17:38:22.875] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:38:22.908] checking for posix_fadvise... no [17:38:22.961] checking whether posix_fadvise is declared... no [17:38:23.008] checking whether fdatasync is declared... no [17:38:23.053] checking whether strlcat is declared... no [17:38:23.117] checking whether strlcpy is declared... no [17:38:23.182] checking whether strnlen is declared... yes [17:38:23.196] checking whether strsep is declared... no [17:38:23.261] checking whether preadv is declared... no [17:38:23.300] checking whether pwritev is declared... no [17:38:23.336] checking whether F_FULLFSYNC is declared... no [17:38:23.375] checking for explicit_bzero... no [17:38:23.421] checking for getopt... yes [17:38:23.465] checking for getpeereid... no [17:38:23.512] checking for inet_aton... no [17:38:23.559] checking for mkdtemp... no [17:38:23.608] checking for strlcat... no [17:38:23.656] checking for strlcpy... no [17:38:23.703] checking for strnlen... yes [17:38:23.750] checking for strsep... no [17:38:23.797] checking for pthread_barrier_wait... yes [17:38:23.846] configure: On mingw32 we will use our strtof wrapper. [17:38:23.847] checking for getopt_long... yes [17:38:23.893] checking for _configthreadlocale... yes [17:38:23.938] checking for syslog... no [17:38:23.988] checking for opterr... yes [17:38:24.038] checking for optreset... no [17:38:24.093] checking test program... cross-compiling [17:38:24.093] checking whether long int is 64 bits... no [17:38:24.126] checking whether long long int is 64 bits... yes [17:38:24.145] checking for __builtin_mul_overflow... yes [17:38:24.191] checking size of void *... 8 [17:38:24.621] checking size of size_t... 8 [17:38:25.059] checking size of long... 4 [17:38:25.381] checking alignment of short... 2 [17:38:25.570] checking alignment of int... 4 [17:38:25.862] checking alignment of long... 4 [17:38:26.108] checking alignment of long long int... 8 [17:38:26.493] checking alignment of double... 8 [17:38:26.907] checking for __int128... yes [17:38:26.958] checking for __int128 alignment bug... assuming ok [17:38:26.958] checking alignment of PG_INT128_TYPE... 16 [17:38:27.418] checking for builtin __sync char locking functions... yes [17:38:27.462] checking for builtin __sync int32 locking functions... yes [17:38:27.505] checking for builtin __sync int32 atomic operations... yes [17:38:27.547] checking for builtin __sync int64 atomic operations... yes [17:38:27.588] checking for builtin __atomic int32 atomic operations... yes [17:38:27.631] checking for builtin __atomic int64 atomic operations... yes [17:38:27.675] checking for __get_cpuid... yes [17:38:27.721] checking for __get_cpuid_count... yes [17:38:27.765] checking for __cpuid... no [17:38:28.169] checking for __cpuidex... no [17:38:28.600] checking for _xgetbv with CFLAGS=... no [17:38:28.993] checking for _xgetbv with CFLAGS=-mxsave... yes [17:38:29.399] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:38:29.784] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:38:30.136] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:38:30.184] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:38:30.276] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:38:30.301] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:38:30.322] 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 [17:38:30.381] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:38:30.382] checking which random number source to use... Windows native [17:38:30.384] checking for xmllint... /usr/bin/xmllint [17:38:30.384] checking for xsltproc... /usr/bin/xsltproc [17:38:30.384] checking for fop... /usr/bin/fop [17:38:30.385] checking for dbtoepub... no [17:38:30.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:38:30.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:38:30.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:38:30.397] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:38:30.397] 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 [17:38:30.397] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:38:30.397] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:38:30.493] configure: creating ./config.status [17:38:30.585] config.status: creating GNUmakefile [17:38:30.598] config.status: creating src/Makefile.global [17:38:30.614] config.status: creating src/include/pg_config.h [17:38:30.628] config.status: creating src/include/pg_config_ext.h [17:38:30.640] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:38:30.656] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:38:30.664] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:38:30.671] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:38:30.678] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:38:30.686] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:38:30.689] config.status: executing check_win32_symlinks commands [17:38:30.724] [17:38:30.724] real 0m19.625s [17:38:30.724] user 0m13.092s [17:38:30.724] sys 0m6.049s [17:38:30.724] make -s -j${BUILD_JOBS} clean [17:38:31.241] time make -s -j${BUILD_JOBS} world-bin [17:41:40.595] elog.c: In function ‘EmitErrorReport’: [17:41:40.595] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [17:41:40.595] 1699 | char* str = debug_query_string; [17:41:40.595] | ^~~~~~~~~~~~~~~~~~ [17:41:40.595] cc1: all warnings being treated as errors [17:41:40.596] make[4]: *** [: elog.o] Error 1 [17:41:40.596] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [17:41:40.596] make[3]: *** Waiting for unfinished jobs.... [17:41:42.076] make[2]: *** [common.mk:37: utils-recursive] Error 2 [17:41:42.076] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:41:42.076] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:41:42.076] [17:41:42.076] real 3m10.835s [17:41:42.076] user 10m30.859s [17:41:42.076] sys 1m54.335s [17:41:42.077] [17:41:42.077] Exit status: 2