[18:42:24.001] time ./configure \ [18:42:24.001] --host=x86_64-w64-mingw32 \ [18:42:24.001] --enable-cassert \ [18:42:24.001] --without-icu \ [18:42:24.001] CC="ccache x86_64-w64-mingw32-gcc" \ [18:42:24.001] CXX="ccache x86_64-w64-mingw32-g++" [18:42:24.120] checking build system type... x86_64-pc-linux-gnu [18:42:24.332] checking host system type... x86_64-w64-mingw32 [18:42:24.338] checking which template to use... win32 [18:42:24.338] checking whether NLS is wanted... no [18:42:24.338] checking for default port number... 5432 [18:42:24.345] checking for block size... 8kB [18:42:24.347] checking for segment size... 1GB [18:42:24.349] checking for WAL block size... 8kB [18:42:24.351] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:42:24.387] checking whether the C compiler works... yes [18:42:24.542] checking for C compiler default output file name... a.exe [18:42:24.543] checking for suffix of executables... .exe [18:42:24.586] checking whether we are cross compiling... yes [18:42:24.671] checking for suffix of object files... o [18:42:24.690] checking whether we are using the GNU C compiler... yes [18:42:24.724] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:42:24.731] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:42:24.819] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:42:24.886] checking whether we are using the GNU C++ compiler... yes [18:42:24.894] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:42:25.188] checking for gawk... no [18:42:25.188] checking for mawk... mawk [18:42:25.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:42:25.198] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:42:25.206] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:42:25.254] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:42:25.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:42:25.308] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:42:25.326] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:42:25.344] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:42:25.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:42:25.380] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:42:25.398] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:42:25.434] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:42:25.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:42:25.469] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:42:25.477] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:42:25.513] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:42:25.521] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:42:25.561] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:42:25.597] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:42:25.632] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:42:25.640] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:42:25.648] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:42:25.683] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:42:25.711] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:42:25.729] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:42:25.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:42:25.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:42:25.817] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:42:25.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:42:25.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:42:25.895] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:42:25.903] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:42:25.911] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:42:25.929] checking whether the C compiler still works... yes [18:42:25.981] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:42:26.060] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:42:26.061] checking pkg-config is at least version 0.9.0... yes [18:42:26.077] checking whether to build with ICU support... no [18:42:26.078] checking whether to build with Tcl... no [18:42:26.078] checking whether to build Perl modules... no [18:42:26.078] checking whether to build Python modules... no [18:42:26.078] checking whether to build with GSSAPI support... no [18:42:26.079] checking whether to build with PAM support... no [18:42:26.079] checking whether to build with BSD Authentication support... no [18:42:26.079] checking whether to build with LDAP support... no [18:42:26.079] checking whether to build with Bonjour support... no [18:42:26.079] checking whether to build with SELinux support... no [18:42:26.080] checking whether to build with systemd support... no [18:42:26.080] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:42:26.080] checking whether to build with XML support... no [18:42:26.080] checking whether to build with LZ4 support... no [18:42:26.080] checking whether to build with ZSTD support... no [18:42:26.081] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:42:26.081] checking whether it is possible to strip libraries... yes [18:42:26.089] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:42:26.089] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:42:26.090] checking for a BSD-compatible install... /usr/bin/install -c [18:42:26.099] checking for tar... /usr/bin/tar [18:42:26.099] checking whether ln -s works... yes [18:42:26.099] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:42:26.101] checking for bison... /usr/bin/bison [18:42:26.104] configure: using bison (GNU Bison) 3.8.2 [18:42:26.107] checking for flex... /usr/bin/flex [18:42:26.121] configure: using flex 2.6.4 [18:42:26.121] checking for perl... /usr/bin/perl [18:42:26.124] configure: using perl 5.36.0 [18:42:26.127] checking for zic... /usr/sbin/zic [18:42:26.127] checking for a sed that does not truncate output... /usr/bin/sed [18:42:26.133] checking for grep that handles long lines and -e... /usr/bin/grep [18:42:26.135] checking for egrep... /usr/bin/grep -E [18:42:26.137] checking for ANSI C header files... yes [18:42:26.188] checking for sys/types.h... yes [18:42:26.209] checking for sys/stat.h... yes [18:42:26.276] checking for stdlib.h... yes [18:42:26.337] checking for string.h... yes [18:42:26.352] checking for memory.h... yes [18:42:26.369] checking for strings.h... yes [18:42:26.406] checking for inttypes.h... yes [18:42:26.424] checking for stdint.h... yes [18:42:26.490] checking for unistd.h... yes [18:42:26.511] checking for main in -lm... yes [18:42:26.563] checking for library containing setproctitle... no [18:42:26.659] checking for library containing dlsym... no [18:42:26.755] checking for library containing socket... -lws2_32 [18:42:26.895] checking for library containing getopt_long... none required [18:42:26.946] checking for library containing shm_open... no [18:42:27.040] checking for library containing shm_unlink... no [18:42:27.134] checking for library containing clock_gettime... no [18:42:27.226] checking for library containing shmget... no [18:42:27.320] checking for library containing backtrace_symbols... no [18:42:27.413] checking for library containing pthread_barrier_wait... -lpthread [18:42:27.508] checking for inflate in -lz... yes [18:42:27.556] checking for stdbool.h that conforms to C99... yes [18:42:27.568] checking for _Bool... yes [18:42:27.662] checking atomic.h usability... no [18:42:27.720] checking atomic.h presence... no [18:42:27.742] checking for atomic.h... no [18:42:27.745] checking copyfile.h usability... no [18:42:27.805] checking copyfile.h presence... no [18:42:27.826] checking for copyfile.h... no [18:42:27.829] checking execinfo.h usability... no [18:42:27.889] checking execinfo.h presence... no [18:42:27.910] checking for execinfo.h... no [18:42:27.914] checking getopt.h usability... yes [18:42:27.973] checking getopt.h presence... yes [18:42:27.989] checking for getopt.h... yes [18:42:27.997] checking ifaddrs.h usability... no [18:42:28.056] checking ifaddrs.h presence... no [18:42:28.077] checking for ifaddrs.h... no [18:42:28.081] checking mbarrier.h usability... no [18:42:28.140] checking mbarrier.h presence... no [18:42:28.161] checking for mbarrier.h... no [18:42:28.165] checking sys/epoll.h usability... no [18:42:28.226] checking sys/epoll.h presence... no [18:42:28.245] checking for sys/epoll.h... no [18:42:28.249] checking sys/event.h usability... no [18:42:28.307] checking sys/event.h presence... no [18:42:28.327] checking for sys/event.h... no [18:42:28.331] checking sys/personality.h usability... no [18:42:28.389] checking sys/personality.h presence... no [18:42:28.409] checking for sys/personality.h... no [18:42:28.412] checking sys/prctl.h usability... no [18:42:28.470] checking sys/prctl.h presence... no [18:42:28.491] checking for sys/prctl.h... no [18:42:28.495] checking sys/procctl.h usability... no [18:42:28.554] checking sys/procctl.h presence... no [18:42:28.574] checking for sys/procctl.h... no [18:42:28.578] checking sys/signalfd.h usability... no [18:42:28.637] checking sys/signalfd.h presence... no [18:42:28.657] checking for sys/signalfd.h... no [18:42:28.661] checking sys/ucred.h usability... no [18:42:28.720] checking sys/ucred.h presence... no [18:42:28.741] checking for sys/ucred.h... no [18:42:28.745] checking termios.h usability... no [18:42:28.803] checking termios.h presence... no [18:42:28.823] checking for termios.h... no [18:42:28.827] checking ucred.h usability... no [18:42:28.888] checking ucred.h presence... no [18:42:28.909] checking for ucred.h... no [18:42:28.912] checking xlocale.h usability... no [18:42:28.972] checking xlocale.h presence... no [18:42:28.992] checking for xlocale.h... no [18:42:28.995] checking zlib.h usability... yes [18:42:29.006] checking zlib.h presence... yes [18:42:29.026] checking for zlib.h... yes [18:42:29.026] checking for lz4... /usr/bin/lz4 [18:42:29.026] checking for zstd... /usr/bin/zstd [18:42:29.026] checking for openssl... /usr/bin/openssl [18:42:29.031] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:42:29.032] checking crtdefs.h usability... yes [18:42:29.089] checking crtdefs.h presence... yes [18:42:29.106] checking for crtdefs.h... yes [18:42:29.108] checking whether byte ordering is bigendian... no [18:42:29.220] checking for inline... inline [18:42:29.237] checking for printf format archetype... gnu_printf [18:42:29.246] checking for _Static_assert... yes [18:42:29.290] checking for typeof... typeof [18:42:29.326] checking for __builtin_types_compatible_p... yes [18:42:29.337] checking for __builtin_constant_p... yes [18:42:29.359] checking for __builtin_unreachable... yes [18:42:29.403] checking for computed goto support... yes [18:42:29.440] checking for struct tm.tm_zone... no [18:42:29.527] checking for union semun... no [18:42:29.566] checking for socklen_t... yes [18:42:31.973] checking for struct sockaddr.sa_len... no [18:42:34.112] checking for C/C++ restrict keyword... __restrict [18:42:34.127] checking for struct option... yes [18:42:34.173] checking whether assembler supports x86_64 popcntq... yes [18:42:34.181] checking size of off_t... 4 [18:42:34.457] 0 [18:42:34.457] checking size of bool... 1 [18:42:34.506] checking for int timezone... yes [18:42:34.563] checking for backtrace_symbols... no [18:42:34.618] checking for copyfile... no [18:42:34.673] checking for copy_file_range... no [18:42:34.727] checking for getifaddrs... no [18:42:34.781] checking for getpeerucred... no [18:42:34.836] checking for inet_pton... yes [18:42:34.891] checking for kqueue... no [18:42:34.945] checking for mbstowcs_l... no [18:42:34.999] checking for memset_s... no [18:42:35.054] checking for posix_fallocate... no [18:42:35.108] checking for ppoll... no [18:42:35.163] checking for pthread_is_threaded_np... no [18:42:35.219] checking for setproctitle... no [18:42:35.273] checking for setproctitle_fast... no [18:42:35.326] checking for strchrnul... no [18:42:35.381] checking for strsignal... no [18:42:35.435] checking for syncfs... no [18:42:35.490] checking for sync_file_range... no [18:42:35.544] checking for uselocale... no [18:42:35.598] checking for wcstombs_l... no [18:42:35.648] checking for __builtin_bswap16... yes [18:42:35.701] checking for __builtin_bswap32... yes [18:42:35.751] checking for __builtin_bswap64... yes [18:42:35.802] checking for __builtin_clz... yes [18:42:35.853] checking for __builtin_ctz... yes [18:42:35.904] checking for __builtin_popcount... yes [18:42:35.955] checking for __builtin_frame_address... yes [18:42:36.005] checking for _LARGEFILE_SOURCE value needed for large files... no [18:42:36.060] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:42:36.096] checking for posix_fadvise... no [18:42:36.151] checking whether posix_fadvise is declared... no [18:42:36.201] checking whether fdatasync is declared... no [18:42:36.253] checking whether strlcat is declared... no [18:42:36.322] checking whether strlcpy is declared... no [18:42:36.392] checking whether strnlen is declared... yes [18:42:36.407] checking whether strsep is declared... no [18:42:36.474] checking whether preadv is declared... no [18:42:36.513] checking whether pwritev is declared... no [18:42:36.552] checking whether F_FULLFSYNC is declared... no [18:42:36.595] checking for explicit_bzero... no [18:42:36.646] checking for getopt... yes [18:42:36.693] checking for getpeereid... no [18:42:36.742] checking for inet_aton... no [18:42:36.793] checking for mkdtemp... no [18:42:36.844] checking for strlcat... no [18:42:36.895] checking for strlcpy... no [18:42:36.948] checking for strnlen... yes [18:42:36.998] checking for strsep... no [18:42:37.048] checking for pthread_barrier_wait... yes [18:42:37.095] configure: On mingw32 we will use our strtof wrapper. [18:42:37.095] checking for getopt_long... yes [18:42:37.143] checking for _configthreadlocale... yes [18:42:37.192] checking for syslog... no [18:42:37.243] checking for opterr... yes [18:42:37.293] checking for optreset... no [18:42:37.348] checking test program... cross-compiling [18:42:37.348] checking whether long int is 64 bits... no [18:42:37.381] checking whether long long int is 64 bits... yes [18:42:37.391] checking for __builtin_mul_overflow... yes [18:42:37.437] checking size of void *... 8 [18:42:37.806] checking size of size_t... 8 [18:42:38.210] checking size of long... 4 [18:42:38.510] checking alignment of short... 2 [18:42:38.657] checking alignment of int... 4 [18:42:38.915] checking alignment of long... 4 [18:42:39.176] checking alignment of long long int... 8 [18:42:39.634] checking alignment of double... 8 [18:42:40.129] checking for __int128... yes [18:42:40.181] checking for __int128 alignment bug... assuming ok [18:42:40.181] checking alignment of PG_INT128_TYPE... 16 [18:42:40.635] checking for builtin __sync char locking functions... yes [18:42:40.680] checking for builtin __sync int32 locking functions... yes [18:42:40.725] checking for builtin __sync int32 atomic operations... yes [18:42:40.770] checking for builtin __sync int64 atomic operations... yes [18:42:40.815] checking for builtin __atomic int32 atomic operations... yes [18:42:40.860] checking for builtin __atomic int64 atomic operations... yes [18:42:40.906] checking for __get_cpuid... yes [18:42:40.954] checking for __get_cpuid_count... yes [18:42:41.001] checking for __cpuid... no [18:42:41.406] checking for __cpuidex... no [18:42:41.840] checking for _xgetbv with CFLAGS=... no [18:42:42.227] checking for _xgetbv with CFLAGS=-mxsave... yes [18:42:42.628] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:42:43.011] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:42:43.356] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:42:43.405] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:42:43.498] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:42:43.522] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:42:43.543] 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 [18:42:43.602] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:42:43.602] checking which random number source to use... Windows native [18:42:43.604] checking for xmllint... /usr/bin/xmllint [18:42:43.604] checking for xsltproc... /usr/bin/xsltproc [18:42:43.605] checking for fop... /usr/bin/fop [18:42:43.605] checking for dbtoepub... no [18:42:43.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:42:43.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:42:43.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:42:43.617] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:42:43.617] 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 [18:42:43.617] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:42:43.617] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:42:43.707] configure: creating ./config.status [18:42:43.798] config.status: creating GNUmakefile [18:42:43.811] config.status: creating src/Makefile.global [18:42:43.828] config.status: creating src/include/pg_config.h [18:42:43.841] config.status: creating src/include/pg_config_ext.h [18:42:43.853] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:42:43.869] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:42:43.877] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:42:43.884] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:42:43.891] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:42:43.899] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:42:43.903] config.status: executing check_win32_symlinks commands [18:42:43.939] [18:42:43.939] real 0m19.938s [18:42:43.939] user 0m13.325s [18:42:43.939] sys 0m6.110s [18:42:43.939] make -s -j${BUILD_JOBS} clean [18:42:44.458] time make -s -j${BUILD_JOBS} world-bin [18:45:42.119] elog.c: In function ‘EmitErrorReport’: [18:45:42.119] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [18:45:42.119] 1699 | char* str = debug_query_string; [18:45:42.119] | ^~~~~~~~~~~~~~~~~~ [18:45:42.119] cc1: all warnings being treated as errors [18:45:42.120] make[4]: *** [: elog.o] Error 1 [18:45:42.120] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [18:45:42.120] make[3]: *** Waiting for unfinished jobs.... [18:45:55.263] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:45:55.263] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:45:55.263] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:45:55.263] [18:45:55.263] real 3m10.805s [18:45:55.263] user 10m28.057s [18:45:55.263] sys 1m55.919s [18:45:55.264] [18:45:55.264] Exit status: 2