[18:44:02.116] time ./configure \ [18:44:02.116] --host=x86_64-w64-mingw32 \ [18:44:02.116] --enable-cassert \ [18:44:02.116] --without-icu \ [18:44:02.116] CC="ccache x86_64-w64-mingw32-gcc" \ [18:44:02.116] CXX="ccache x86_64-w64-mingw32-g++" [18:44:02.224] checking build system type... x86_64-pc-linux-gnu [18:44:02.414] checking host system type... x86_64-w64-mingw32 [18:44:02.419] checking which template to use... win32 [18:44:02.419] checking whether NLS is wanted... no [18:44:02.419] checking for default port number... 5432 [18:44:02.425] checking for block size... 8kB [18:44:02.426] checking for segment size... 1GB [18:44:02.428] checking for WAL block size... 8kB [18:44:02.429] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:44:02.460] checking whether the C compiler works... yes [18:44:02.590] checking for C compiler default output file name... a.exe [18:44:02.591] checking for suffix of executables... .exe [18:44:02.630] checking whether we are cross compiling... yes [18:44:02.702] checking for suffix of object files... o [18:44:02.718] checking whether we are using the GNU C compiler... yes [18:44:02.732] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:44:02.762] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:44:02.771] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:44:02.918] checking whether we are using the GNU C++ compiler... yes [18:44:03.132] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:44:03.221] checking for gawk... no [18:44:03.221] checking for mawk... mawk [18:44:03.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:44:03.252] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:44:03.281] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:44:03.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:44:03.365] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:44:03.372] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:44:03.401] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:44:03.431] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:44:03.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:44:03.453] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:44:03.467] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:44:03.497] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:44:03.512] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:44:03.518] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:44:03.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:44:03.577] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:44:03.607] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:44:03.642] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:44:03.657] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:44:03.687] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:44:03.716] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:44:03.746] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:44:03.775] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:44:03.797] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:44:03.804] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:44:03.818] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:44:03.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:44:03.891] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:44:03.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:44:03.912] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:44:03.945] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:44:03.951] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:44:03.966] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:44:03.974] checking whether the C compiler still works... yes [18:44:04.042] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:44:04.106] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:44:04.107] checking pkg-config is at least version 0.9.0... yes [18:44:04.123] checking whether to build with ICU support... no [18:44:04.123] checking whether to build with Tcl... no [18:44:04.123] checking whether to build Perl modules... no [18:44:04.123] checking whether to build Python modules... no [18:44:04.123] checking whether to build with GSSAPI support... no [18:44:04.124] checking whether to build with PAM support... no [18:44:04.124] checking whether to build with BSD Authentication support... no [18:44:04.125] checking whether to build with LDAP support... no [18:44:04.125] checking whether to build with Bonjour support... no [18:44:04.125] checking whether to build with SELinux support... no [18:44:04.125] checking whether to build with systemd support... no [18:44:04.125] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:44:04.125] checking whether to build with XML support... no [18:44:04.125] checking whether to build with LZ4 support... no [18:44:04.125] checking whether to build with ZSTD support... no [18:44:04.126] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:44:04.126] checking whether it is possible to strip libraries... yes [18:44:04.134] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:44:04.134] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:44:04.134] checking for a BSD-compatible install... /usr/bin/install -c [18:44:04.143] checking for tar... /usr/bin/tar [18:44:04.143] checking whether ln -s works... yes [18:44:04.143] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:44:04.145] checking for bison... /usr/bin/bison [18:44:04.147] configure: using bison (GNU Bison) 3.8.2 [18:44:04.150] checking for flex... /usr/bin/flex [18:44:04.161] configure: using flex 2.6.4 [18:44:04.161] checking for perl... /usr/bin/perl [18:44:04.164] configure: using perl 5.36.0 [18:44:04.166] checking for zic... /usr/sbin/zic [18:44:04.166] checking for a sed that does not truncate output... /usr/bin/sed [18:44:04.170] checking for grep that handles long lines and -e... /usr/bin/grep [18:44:04.172] checking for egrep... /usr/bin/grep -E [18:44:04.174] checking for ANSI C header files... yes [18:44:04.228] checking for sys/types.h... yes [18:44:04.280] checking for sys/stat.h... yes [18:44:04.312] checking for stdlib.h... yes [18:44:04.324] checking for string.h... yes [18:44:04.355] checking for memory.h... yes [18:44:04.409] checking for strings.h... yes [18:44:04.463] checking for inttypes.h... yes [18:44:04.520] checking for stdint.h... yes [18:44:04.551] checking for unistd.h... yes [18:44:04.610] checking for main in -lm... yes [18:44:04.653] checking for library containing setproctitle... no [18:44:04.734] checking for library containing dlsym... no [18:44:04.815] checking for library containing socket... -lws2_32 [18:44:04.936] checking for library containing getopt_long... none required [18:44:04.979] checking for library containing shm_open... no [18:44:05.060] checking for library containing shm_unlink... no [18:44:05.141] checking for library containing clock_gettime... no [18:44:05.222] checking for library containing shmget... no [18:44:05.302] checking for library containing backtrace_symbols... no [18:44:05.383] checking for library containing pthread_barrier_wait... -lpthread [18:44:05.474] checking for inflate in -lz... yes [18:44:05.523] checking for stdbool.h that conforms to C99... yes [18:44:05.572] checking for _Bool... yes [18:44:05.687] checking atomic.h usability... no [18:44:05.741] checking atomic.h presence... no [18:44:05.760] checking for atomic.h... no [18:44:05.763] checking copyfile.h usability... no [18:44:05.814] checking copyfile.h presence... no [18:44:05.832] checking for copyfile.h... no [18:44:05.835] checking execinfo.h usability... no [18:44:05.888] checking execinfo.h presence... no [18:44:05.906] checking for execinfo.h... no [18:44:05.909] checking getopt.h usability... yes [18:44:05.935] checking getopt.h presence... yes [18:44:05.948] checking for getopt.h... yes [18:44:05.954] checking ifaddrs.h usability... no [18:44:06.004] checking ifaddrs.h presence... no [18:44:06.021] checking for ifaddrs.h... no [18:44:06.024] checking mbarrier.h usability... no [18:44:06.075] checking mbarrier.h presence... no [18:44:06.093] checking for mbarrier.h... no [18:44:06.096] checking sys/epoll.h usability... no [18:44:06.147] checking sys/epoll.h presence... no [18:44:06.164] checking for sys/epoll.h... no [18:44:06.167] checking sys/event.h usability... no [18:44:06.218] checking sys/event.h presence... no [18:44:06.236] checking for sys/event.h... no [18:44:06.239] checking sys/personality.h usability... no [18:44:06.289] checking sys/personality.h presence... no [18:44:06.306] checking for sys/personality.h... no [18:44:06.309] checking sys/prctl.h usability... no [18:44:06.359] checking sys/prctl.h presence... no [18:44:06.376] checking for sys/prctl.h... no [18:44:06.379] checking sys/procctl.h usability... no [18:44:06.429] checking sys/procctl.h presence... no [18:44:06.446] checking for sys/procctl.h... no [18:44:06.449] checking sys/signalfd.h usability... no [18:44:06.500] checking sys/signalfd.h presence... no [18:44:06.517] checking for sys/signalfd.h... no [18:44:06.519] checking sys/ucred.h usability... no [18:44:06.572] checking sys/ucred.h presence... no [18:44:06.589] checking for sys/ucred.h... no [18:44:06.592] checking termios.h usability... no [18:44:06.642] checking termios.h presence... no [18:44:06.659] checking for termios.h... no [18:44:06.662] checking ucred.h usability... no [18:44:06.712] checking ucred.h presence... no [18:44:06.732] checking for ucred.h... no [18:44:06.735] checking zlib.h usability... yes [18:44:06.792] checking zlib.h presence... yes [18:44:06.809] checking for zlib.h... yes [18:44:06.810] checking for lz4... /usr/bin/lz4 [18:44:06.810] checking for zstd... /usr/bin/zstd [18:44:06.810] checking for openssl... /usr/bin/openssl [18:44:06.814] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:44:06.815] checking crtdefs.h usability... yes [18:44:06.821] checking crtdefs.h presence... yes [18:44:06.835] checking for crtdefs.h... yes [18:44:06.836] checking whether byte ordering is bigendian... no [18:44:06.911] checking for inline... inline [18:44:06.936] checking for printf format archetype... gnu_printf [18:44:06.944] checking for _Static_assert... yes [18:44:06.985] checking for typeof... typeof [18:44:07.017] checking for __builtin_types_compatible_p... yes [18:44:07.027] checking for __builtin_constant_p... yes [18:44:07.056] checking for __builtin_unreachable... yes [18:44:07.095] checking for computed goto support... yes [18:44:07.129] checking for struct tm.tm_zone... no [18:44:07.202] checking for union semun... no [18:44:07.235] checking for socklen_t... yes [18:44:08.666] checking for struct sockaddr.sa_len... no [18:44:10.615] checking for locale_t... no [18:44:10.678] checking for C/C++ restrict keyword... __restrict [18:44:10.690] checking for struct option... yes [18:44:10.756] checking whether assembler supports x86_64 popcntq... yes [18:44:10.762] checking size of off_t... 4 [18:44:11.039] 0 [18:44:11.039] checking size of bool... 1 [18:44:11.112] checking for int timezone... yes [18:44:11.155] checking for wcstombs_l declaration... no [18:44:11.232] checking for backtrace_symbols... no [18:44:11.279] checking for copyfile... no [18:44:11.325] checking for copy_file_range... no [18:44:11.372] checking for getifaddrs... no [18:44:11.419] checking for getpeerucred... no [18:44:11.467] checking for inet_pton... yes [18:44:11.515] checking for kqueue... no [18:44:11.561] checking for mbstowcs_l... no [18:44:11.608] checking for memset_s... no [18:44:11.654] checking for posix_fallocate... no [18:44:11.701] checking for ppoll... no [18:44:11.748] checking for pthread_is_threaded_np... no [18:44:11.794] checking for setproctitle... no [18:44:11.840] checking for setproctitle_fast... no [18:44:11.886] checking for strchrnul... no [18:44:11.933] checking for strsignal... no [18:44:11.979] checking for syncfs... no [18:44:12.027] checking for sync_file_range... no [18:44:12.074] checking for uselocale... no [18:44:12.120] checking for wcstombs_l... no [18:44:12.164] checking for __builtin_bswap16... yes [18:44:12.211] checking for __builtin_bswap32... yes [18:44:12.257] checking for __builtin_bswap64... yes [18:44:12.304] checking for __builtin_clz... yes [18:44:12.349] checking for __builtin_ctz... yes [18:44:12.393] checking for __builtin_popcount... yes [18:44:12.437] checking for __builtin_frame_address... yes [18:44:12.481] checking for _LARGEFILE_SOURCE value needed for large files... no [18:44:12.529] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:44:12.557] checking for posix_fadvise... no [18:44:12.605] checking whether posix_fadvise is declared... no [18:44:12.653] checking whether fdatasync is declared... no [18:44:12.697] checking whether strlcat is declared... no [18:44:12.759] checking whether strlcpy is declared... no [18:44:12.820] checking whether strnlen is declared... yes [18:44:12.882] checking whether strsep is declared... no [18:44:12.941] checking whether preadv is declared... no [18:44:12.974] checking whether pwritev is declared... no [18:44:13.007] checking whether F_FULLFSYNC is declared... no [18:44:13.044] checking for explicit_bzero... no [18:44:13.092] checking for getopt... yes [18:44:13.136] checking for getpeereid... no [18:44:13.183] checking for inet_aton... no [18:44:13.230] checking for mkdtemp... no [18:44:13.277] checking for strlcat... no [18:44:13.324] checking for strlcpy... no [18:44:13.370] checking for strnlen... yes [18:44:13.417] checking for strsep... no [18:44:13.463] checking for pthread_barrier_wait... yes [18:44:13.507] configure: On mingw32 we will use our strtof wrapper. [18:44:13.507] checking for getopt_long... yes [18:44:13.549] checking for _configthreadlocale... yes [18:44:13.592] checking for syslog... no [18:44:13.636] checking for opterr... yes [18:44:13.682] checking for optreset... no [18:44:13.729] checking test program... cross-compiling [18:44:13.729] checking whether long int is 64 bits... no [18:44:13.757] checking whether long long int is 64 bits... yes [18:44:13.789] checking for __builtin_mul_overflow... yes [18:44:13.828] checking size of void *... 8 [18:44:14.268] checking size of size_t... 8 [18:44:14.743] checking size of long... 4 [18:44:15.109] checking alignment of short... 2 [18:44:15.390] checking alignment of int... 4 [18:44:15.749] checking alignment of long... 4 [18:44:16.060] checking alignment of long long int... 8 [18:44:16.438] checking alignment of double... 8 [18:44:16.904] checking for int8... no [18:44:16.942] checking for uint8... no [18:44:16.980] checking for int64... no [18:44:17.019] checking for uint64... no [18:44:17.058] checking for __int128... yes [18:44:17.102] checking for __int128 alignment bug... assuming ok [18:44:17.102] checking alignment of PG_INT128_TYPE... 16 [18:44:17.563] checking for builtin __sync char locking functions... yes [18:44:17.603] checking for builtin __sync int32 locking functions... yes [18:44:17.645] checking for builtin __sync int32 atomic operations... yes [18:44:17.685] checking for builtin __sync int64 atomic operations... yes [18:44:17.725] checking for builtin __atomic int32 atomic operations... yes [18:44:17.765] checking for builtin __atomic int64 atomic operations... yes [18:44:17.805] checking for __get_cpuid... yes [18:44:17.849] checking for __get_cpuid_count... yes [18:44:17.891] checking for __cpuid... no [18:44:18.280] checking for __cpuidex... no [18:44:18.692] checking for _xgetbv with CFLAGS=... no [18:44:19.064] checking for _xgetbv with CFLAGS=-mxsave... yes [18:44:19.455] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:44:19.833] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:44:20.167] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:44:20.212] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:44:20.300] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:44:20.321] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:44:20.338] 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:44:20.394] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:44:20.394] checking which random number source to use... Windows native [18:44:20.396] checking for xmllint... /usr/bin/xmllint [18:44:20.396] checking for xsltproc... /usr/bin/xsltproc [18:44:20.396] checking for fop... /usr/bin/fop [18:44:20.396] checking for dbtoepub... no [18:44:20.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:44:20.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:44:20.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:44:20.408] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:44:20.408] 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:44:20.408] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:44:20.408] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:44:20.493] configure: creating ./config.status [18:44:20.579] config.status: creating GNUmakefile [18:44:20.592] config.status: creating src/Makefile.global [18:44:20.610] config.status: creating src/include/pg_config.h [18:44:20.623] config.status: creating src/include/pg_config_ext.h [18:44:20.635] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:44:20.650] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:44:20.657] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:44:20.664] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:44:20.671] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:44:20.678] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:44:20.682] config.status: executing check_win32_symlinks commands [18:44:20.715] [18:44:20.715] real 0m18.600s [18:44:20.715] user 0m12.348s [18:44:20.715] sys 0m5.843s [18:44:20.715] make -s -j${BUILD_JOBS} clean [18:44:21.220] time make -s -j${BUILD_JOBS} world-bin [18:47:34.623] elog.c: In function ‘EmitErrorReport’: [18:47:34.623] elog.c:1699:29: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [18:47:34.623] 1699 | char* str = debug_query_string; [18:47:34.623] | ^~~~~~~~~~~~~~~~~~ [18:47:34.623] cc1: all warnings being treated as errors [18:47:34.624] make[4]: *** [: elog.o] Error 1 [18:47:34.624] make[3]: *** [../../../src/backend/common.mk:37: error-recursive] Error 2 [18:47:34.624] make[3]: *** Waiting for unfinished jobs.... [18:47:36.034] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:47:36.034] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:47:36.034] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:47:36.035] [18:47:36.035] real 3m14.814s [18:47:36.035] user 10m42.153s [18:47:36.035] sys 1m57.475s [18:47:36.035] [18:47:36.035] Exit status: 2