[05:04:54.627] time ./configure \ [05:04:54.627] --host=x86_64-w64-mingw32 \ [05:04:54.627] --enable-cassert \ [05:04:54.627] --without-icu \ [05:04:54.627] CC="ccache x86_64-w64-mingw32-gcc" \ [05:04:54.627] CXX="ccache x86_64-w64-mingw32-g++" [05:04:54.745] checking build system type... x86_64-pc-linux-gnu [05:04:54.944] checking host system type... x86_64-w64-mingw32 [05:04:54.950] checking which template to use... win32 [05:04:54.950] checking whether NLS is wanted... no [05:04:54.950] checking for default port number... 5432 [05:04:54.957] checking for block size... 8kB [05:04:54.958] checking for segment size... 1GB [05:04:54.961] checking for WAL block size... 8kB [05:04:54.963] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:04:54.996] checking whether the C compiler works... yes [05:04:55.136] checking for C compiler default output file name... a.exe [05:04:55.138] checking for suffix of executables... .exe [05:04:55.181] checking whether we are cross compiling... yes [05:04:55.259] checking for suffix of object files... o [05:04:55.268] checking whether we are using the GNU C compiler... yes [05:04:55.275] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:04:55.282] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:04:55.292] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:04:55.358] checking whether we are using the GNU C++ compiler... yes [05:04:55.364] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:04:55.427] checking for gawk... no [05:04:55.427] checking for mawk... mawk [05:04:55.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:04:55.437] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:04:55.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:04:55.487] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:04:55.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:04:55.677] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:04:55.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:04:55.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:04:55.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:04:55.703] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:04:55.709] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:04:55.715] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:04:55.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:04:55.728] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:04:55.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:04:55.741] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:04:55.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:04:55.783] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:04:55.789] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:04:55.796] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:04:55.802] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:04:55.808] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:04:55.815] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:04:55.837] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:04:55.843] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:04:55.849] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:04:55.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:04:55.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:04:55.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:04:55.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:04:55.971] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:04:55.979] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:04:55.986] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:04:55.993] checking whether the C compiler still works... yes [05:04:56.061] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:04:56.131] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:04:56.131] checking pkg-config is at least version 0.9.0... yes [05:04:56.150] checking whether to build with ICU support... no [05:04:56.151] checking whether to build with Tcl... no [05:04:56.151] checking whether to build Perl modules... no [05:04:56.151] checking whether to build Python modules... no [05:04:56.151] checking whether to build with GSSAPI support... no [05:04:56.152] checking whether to build with PAM support... no [05:04:56.152] checking whether to build with BSD Authentication support... no [05:04:56.152] checking whether to build with LDAP support... no [05:04:56.152] checking whether to build with Bonjour support... no [05:04:56.153] checking whether to build with SELinux support... no [05:04:56.153] checking whether to build with systemd support... no [05:04:56.153] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:04:56.153] checking whether to build with XML support... no [05:04:56.153] checking whether to build with LZ4 support... no [05:04:56.154] checking whether to build with ZSTD support... no [05:04:56.154] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:04:56.154] checking whether it is possible to strip libraries... yes [05:04:56.163] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:04:56.163] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:04:56.163] checking for a BSD-compatible install... /usr/bin/install -c [05:04:56.173] checking for tar... /usr/bin/tar [05:04:56.173] checking whether ln -s works... yes [05:04:56.173] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:04:56.175] checking for bison... /usr/bin/bison [05:04:56.177] configure: using bison (GNU Bison) 3.8.2 [05:04:56.180] checking for flex... /usr/bin/flex [05:04:56.191] configure: using flex 2.6.4 [05:04:56.192] checking for perl... /usr/bin/perl [05:04:56.194] configure: using perl 5.36.0 [05:04:56.196] checking for zic... /usr/sbin/zic [05:04:56.197] checking for a sed that does not truncate output... /usr/bin/sed [05:04:56.202] checking for grep that handles long lines and -e... /usr/bin/grep [05:04:56.204] checking for egrep... /usr/bin/grep -E [05:04:56.206] checking for ANSI C header files... yes [05:04:56.251] checking for sys/types.h... yes [05:04:56.268] checking for sys/stat.h... yes [05:04:56.284] checking for stdlib.h... yes [05:04:56.297] checking for string.h... yes [05:04:56.310] checking for memory.h... yes [05:04:56.324] checking for strings.h... yes [05:04:56.338] checking for inttypes.h... yes [05:04:56.353] checking for stdint.h... yes [05:04:56.366] checking for unistd.h... yes [05:04:56.382] checking for main in -lm... yes [05:04:56.427] checking for library containing setproctitle... no [05:04:56.511] checking for library containing dlsym... no [05:04:56.593] checking for library containing socket... -lws2_32 [05:04:56.718] checking for library containing getopt_long... none required [05:04:56.765] checking for library containing shm_open... no [05:04:56.851] checking for library containing shm_unlink... no [05:04:56.939] checking for library containing clock_gettime... no [05:04:57.027] checking for library containing shmget... no [05:04:57.117] checking for library containing backtrace_symbols... no [05:04:57.208] checking for library containing pthread_barrier_wait... -lpthread [05:04:57.300] checking for inflate in -lz... yes [05:04:57.345] checking for stdbool.h that conforms to C99... yes [05:04:57.357] checking for _Bool... yes [05:04:57.432] checking atomic.h usability... no [05:04:57.489] checking atomic.h presence... no [05:04:57.506] checking for atomic.h... no [05:04:57.509] checking copyfile.h usability... no [05:04:57.562] checking copyfile.h presence... no [05:04:57.580] checking for copyfile.h... no [05:04:57.583] checking execinfo.h usability... no [05:04:57.638] checking execinfo.h presence... no [05:04:57.657] checking for execinfo.h... no [05:04:57.660] checking getopt.h usability... yes [05:04:57.668] checking getopt.h presence... yes [05:04:57.683] checking for getopt.h... yes [05:04:57.691] checking ifaddrs.h usability... no [05:04:57.746] checking ifaddrs.h presence... no [05:04:57.764] checking for ifaddrs.h... no [05:04:57.767] checking mbarrier.h usability... no [05:04:57.823] checking mbarrier.h presence... no [05:04:57.842] checking for mbarrier.h... no [05:04:57.845] checking sys/epoll.h usability... no [05:04:57.902] checking sys/epoll.h presence... no [05:04:57.920] checking for sys/epoll.h... no [05:04:57.923] checking sys/event.h usability... no [05:04:57.977] checking sys/event.h presence... no [05:04:57.996] checking for sys/event.h... no [05:04:57.999] checking sys/personality.h usability... no [05:04:58.052] checking sys/personality.h presence... no [05:04:58.071] checking for sys/personality.h... no [05:04:58.074] checking sys/prctl.h usability... no [05:04:58.129] checking sys/prctl.h presence... no [05:04:58.148] checking for sys/prctl.h... no [05:04:58.151] checking sys/procctl.h usability... no [05:04:58.206] checking sys/procctl.h presence... no [05:04:58.224] checking for sys/procctl.h... no [05:04:58.227] checking sys/signalfd.h usability... no [05:04:58.281] checking sys/signalfd.h presence... no [05:04:58.299] checking for sys/signalfd.h... no [05:04:58.302] checking sys/ucred.h usability... no [05:04:58.355] checking sys/ucred.h presence... no [05:04:58.373] checking for sys/ucred.h... no [05:04:58.376] checking termios.h usability... no [05:04:58.431] checking termios.h presence... no [05:04:58.451] checking for termios.h... no [05:04:58.454] checking ucred.h usability... no [05:04:58.511] checking ucred.h presence... no [05:04:58.529] checking for ucred.h... no [05:04:58.532] checking zlib.h usability... yes [05:04:58.542] checking zlib.h presence... yes [05:04:58.560] checking for zlib.h... yes [05:04:58.561] checking for lz4... /usr/bin/lz4 [05:04:58.561] checking for zstd... /usr/bin/zstd [05:04:58.561] checking for openssl... /usr/bin/openssl [05:04:58.566] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:04:58.566] checking crtdefs.h usability... yes [05:04:58.573] checking crtdefs.h presence... yes [05:04:58.588] checking for crtdefs.h... yes [05:04:58.589] checking whether byte ordering is bigendian... no [05:04:58.662] checking for inline... inline [05:04:58.669] checking for printf format archetype... gnu_printf [05:04:58.676] checking for _Static_assert... yes [05:04:58.717] checking for typeof... typeof [05:04:58.725] checking for __builtin_types_compatible_p... yes [05:04:58.735] checking for __builtin_constant_p... yes [05:04:58.745] checking for __builtin_unreachable... yes [05:04:58.786] checking for computed goto support... yes [05:04:58.793] checking for struct tm.tm_zone... no [05:04:58.866] checking for union semun... no [05:04:58.900] checking for socklen_t... yes [05:05:00.094] checking for struct sockaddr.sa_len... no [05:05:02.131] checking for locale_t... no [05:05:02.197] checking for C/C++ restrict keyword... __restrict [05:05:02.209] checking for struct option... yes [05:05:02.249] checking whether assembler supports x86_64 popcntq... yes [05:05:02.256] checking size of off_t... 4 [05:05:02.456] 0 [05:05:02.457] checking size of bool... 1 [05:05:02.501] checking for int timezone... yes [05:05:02.553] checking for wcstombs_l declaration... no [05:05:02.636] checking for backtrace_symbols... no [05:05:02.685] checking for copyfile... no [05:05:02.736] checking for copy_file_range... no [05:05:02.785] checking for getifaddrs... no [05:05:02.836] checking for getpeerucred... no [05:05:02.889] checking for inet_pton... yes [05:05:02.941] checking for kqueue... no [05:05:02.992] checking for mbstowcs_l... no [05:05:03.044] checking for memset_s... no [05:05:03.094] checking for posix_fallocate... no [05:05:03.145] checking for ppoll... no [05:05:03.196] checking for pthread_is_threaded_np... no [05:05:03.248] checking for setproctitle... no [05:05:03.300] checking for setproctitle_fast... no [05:05:03.350] checking for strchrnul... no [05:05:03.399] checking for strsignal... no [05:05:03.451] checking for syncfs... no [05:05:03.504] checking for sync_file_range... no [05:05:03.559] checking for uselocale... no [05:05:03.610] checking for wcstombs_l... no [05:05:03.656] checking for __builtin_bswap16... yes [05:05:03.704] checking for __builtin_bswap32... yes [05:05:03.752] checking for __builtin_bswap64... yes [05:05:03.800] checking for __builtin_clz... yes [05:05:03.849] checking for __builtin_ctz... yes [05:05:03.896] checking for __builtin_popcount... yes [05:05:03.945] checking for __builtin_frame_address... yes [05:05:03.992] checking for _LARGEFILE_SOURCE value needed for large files... no [05:05:04.045] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:05:04.075] checking for posix_fadvise... no [05:05:04.126] checking whether posix_fadvise is declared... no [05:05:04.171] checking whether fdatasync is declared... no [05:05:04.218] checking whether strlcat is declared... no [05:05:04.283] checking whether strlcpy is declared... no [05:05:04.349] checking whether strnlen is declared... yes [05:05:04.363] checking whether strsep is declared... no [05:05:04.432] checking whether preadv is declared... no [05:05:04.471] checking whether pwritev is declared... no [05:05:04.510] checking whether F_FULLFSYNC is declared... no [05:05:04.551] checking for explicit_bzero... no [05:05:04.598] checking for getopt... yes [05:05:04.645] checking for getpeereid... no [05:05:04.693] checking for inet_aton... no [05:05:04.740] checking for mkdtemp... no [05:05:04.787] checking for strlcat... no [05:05:04.836] checking for strlcpy... no [05:05:04.884] checking for strnlen... yes [05:05:04.932] checking for strsep... no [05:05:04.981] checking for pthread_barrier_wait... yes [05:05:05.024] configure: On mingw32 we will use our strtof wrapper. [05:05:05.024] checking for getopt_long... yes [05:05:05.069] checking for _configthreadlocale... yes [05:05:05.116] checking for syslog... no [05:05:05.164] checking for opterr... yes [05:05:05.213] checking for optreset... no [05:05:05.264] checking test program... cross-compiling [05:05:05.264] checking whether long int is 64 bits... no [05:05:05.295] checking whether long long int is 64 bits... yes [05:05:05.305] checking for __builtin_mul_overflow... yes [05:05:05.348] checking size of void *... 8 [05:05:05.623] checking size of size_t... 8 [05:05:05.893] checking size of long... 4 [05:05:06.098] checking alignment of short... 2 [05:05:06.235] checking alignment of int... 4 [05:05:06.446] checking alignment of long... 4 [05:05:06.651] checking alignment of long long int... 8 [05:05:06.926] checking alignment of double... 8 [05:05:07.195] checking for int8... no [05:05:07.238] checking for uint8... no [05:05:07.281] checking for int64... no [05:05:07.326] checking for uint64... no [05:05:07.370] checking for __int128... yes [05:05:07.421] checking for __int128 alignment bug... assuming ok [05:05:07.421] checking alignment of PG_INT128_TYPE... 16 [05:05:07.764] checking for builtin __sync char locking functions... yes [05:05:07.807] checking for builtin __sync int32 locking functions... yes [05:05:07.851] checking for builtin __sync int32 atomic operations... yes [05:05:07.895] checking for builtin __sync int64 atomic operations... yes [05:05:07.937] checking for builtin __atomic int32 atomic operations... yes [05:05:07.981] checking for builtin __atomic int64 atomic operations... yes [05:05:08.024] checking for __get_cpuid... yes [05:05:08.073] checking for __get_cpuid_count... yes [05:05:08.119] checking for __cpuid... no [05:05:08.516] checking for __cpuidex... no [05:05:08.940] checking for _xgetbv with CFLAGS=... no [05:05:09.324] checking for _xgetbv with CFLAGS=-mxsave... yes [05:05:09.729] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:05:10.106] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:05:10.445] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:05:10.494] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:05:10.582] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:05:10.606] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:05:10.625] 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 [05:05:10.681] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:05:10.681] checking which random number source to use... Windows native [05:05:10.684] checking for xmllint... /usr/bin/xmllint [05:05:10.684] checking for xsltproc... /usr/bin/xsltproc [05:05:10.684] checking for fop... /usr/bin/fop [05:05:10.684] checking for dbtoepub... no [05:05:10.685] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:05:10.685] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:05:10.685] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:05:10.696] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:05:10.696] 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 [05:05:10.696] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:05:10.696] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:05:10.781] configure: creating ./config.status [05:05:10.867] config.status: creating GNUmakefile [05:05:10.879] config.status: creating src/Makefile.global [05:05:10.895] config.status: creating src/include/pg_config.h [05:05:10.908] config.status: creating src/include/pg_config_ext.h [05:05:10.921] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:05:10.936] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:05:10.943] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:05:10.951] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:05:10.958] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:05:10.965] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:05:10.969] config.status: executing check_win32_symlinks commands [05:05:11.002] [05:05:11.002] real 0m16.375s [05:05:11.002] user 0m10.831s [05:05:11.002] sys 0m5.146s [05:05:11.002] make -s -j${BUILD_JOBS} clean [05:05:11.517] time make -s -j${BUILD_JOBS} world-bin [05:05:22.370] command.c: In function ‘exec_command_conninfo’: [05:05:22.370] command.c:810:49: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [05:05:22.370] 810 | client_encoding = PQparameterStatus(pset.db, "client_encoding"); [05:05:22.370] | ^ [05:05:22.370] command.c:811:49: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [05:05:22.370] 811 | server_encoding = PQparameterStatus(pset.db, "server_encoding"); [05:05:22.370] | ^ [05:05:22.370] command.c:812:46: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [05:05:22.370] 812 | session_user = PQparameterStatus(pset.db, "session_authorization"); [05:05:22.370] | ^ [05:05:22.370] cc1: all warnings being treated as errors [05:05:22.372] make[3]: *** [: command.o] Error 1 [05:05:22.372] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [05:05:22.373] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [05:05:22.373] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:05:22.373] [05:05:22.373] real 0m10.856s [05:05:22.373] user 0m15.704s [05:05:22.373] sys 0m10.387s [05:05:22.374] [05:05:22.374] Exit status: 2