[08:37:37.341] time ./configure \ [08:37:37.341] --host=x86_64-w64-mingw32 \ [08:37:37.341] --enable-cassert \ [08:37:37.341] --without-icu \ [08:37:37.341] CC="ccache x86_64-w64-mingw32-gcc" \ [08:37:37.341] CXX="ccache x86_64-w64-mingw32-g++" [08:37:37.446] checking build system type... x86_64-pc-linux-gnu [08:37:37.638] checking host system type... x86_64-w64-mingw32 [08:37:37.643] checking which template to use... win32 [08:37:37.643] checking whether NLS is wanted... no [08:37:37.643] checking for default port number... 5432 [08:37:37.649] checking for block size... 8kB [08:37:37.650] checking for segment size... 1GB [08:37:37.652] checking for WAL block size... 8kB [08:37:37.654] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:37:37.684] checking whether the C compiler works... yes [08:37:37.823] checking for C compiler default output file name... a.exe [08:37:37.824] checking for suffix of executables... .exe [08:37:37.863] checking whether we are cross compiling... yes [08:37:37.945] checking for suffix of object files... o [08:37:37.952] checking whether we are using the GNU C compiler... yes [08:37:37.958] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:37:37.964] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:37:37.973] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:37:38.028] checking whether we are using the GNU C++ compiler... yes [08:37:38.035] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:37:38.097] checking for gawk... no [08:37:38.097] checking for mawk... mawk [08:37:38.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:37:38.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:37:38.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:37:38.156] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:37:38.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:37:38.331] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:37:38.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:37:38.343] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:37:38.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:37:38.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:37:38.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:37:38.368] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:37:38.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:37:38.380] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:37:38.387] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:37:38.393] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:37:38.399] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:37:38.434] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:37:38.440] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:37:38.446] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:37:38.453] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:37:38.459] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:37:38.465] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:37:38.486] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:37:38.492] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:37:38.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:37:38.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:37:38.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:37:38.576] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:37:38.582] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:37:38.615] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:37:38.622] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:37:38.628] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:37:38.636] checking whether the C compiler still works... yes [08:37:38.700] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:37:38.765] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:37:38.766] checking pkg-config is at least version 0.9.0... yes [08:37:38.782] checking whether to build with ICU support... no [08:37:38.783] checking whether to build with Tcl... no [08:37:38.783] checking whether to build Perl modules... no [08:37:38.783] checking whether to build Python modules... no [08:37:38.783] checking whether to build with GSSAPI support... no [08:37:38.784] checking whether to build with PAM support... no [08:37:38.784] checking whether to build with BSD Authentication support... no [08:37:38.784] checking whether to build with LDAP support... no [08:37:38.784] checking whether to build with Bonjour support... no [08:37:38.784] checking whether to build with SELinux support... no [08:37:38.784] checking whether to build with systemd support... no [08:37:38.784] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:37:38.785] checking whether to build with XML support... no [08:37:38.785] checking whether to build with LZ4 support... no [08:37:38.785] checking whether to build with ZSTD support... no [08:37:38.785] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:37:38.786] checking whether it is possible to strip libraries... yes [08:37:38.793] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:37:38.793] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:37:38.794] checking for a BSD-compatible install... /usr/bin/install -c [08:37:38.802] checking for tar... /usr/bin/tar [08:37:38.802] checking whether ln -s works... yes [08:37:38.802] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:37:38.804] checking for bison... /usr/bin/bison [08:37:38.806] configure: using bison (GNU Bison) 3.8.2 [08:37:38.809] checking for flex... /usr/bin/flex [08:37:38.820] configure: using flex 2.6.4 [08:37:38.820] checking for perl... /usr/bin/perl [08:37:38.822] configure: using perl 5.36.0 [08:37:38.824] checking for zic... /usr/sbin/zic [08:37:38.824] checking for a sed that does not truncate output... /usr/bin/sed [08:37:38.829] checking for grep that handles long lines and -e... /usr/bin/grep [08:37:38.831] checking for egrep... /usr/bin/grep -E [08:37:38.832] checking for ANSI C header files... yes [08:37:38.876] checking for sys/types.h... yes [08:37:38.890] checking for sys/stat.h... yes [08:37:38.904] checking for stdlib.h... yes [08:37:38.916] checking for string.h... yes [08:37:38.929] checking for memory.h... yes [08:37:38.943] checking for strings.h... yes [08:37:38.956] checking for inttypes.h... yes [08:37:38.971] checking for stdint.h... yes [08:37:38.983] checking for unistd.h... yes [08:37:38.997] checking for main in -lm... yes [08:37:39.041] checking for library containing setproctitle... no [08:37:39.123] checking for library containing dlsym... no [08:37:39.203] checking for library containing socket... -lws2_32 [08:37:39.322] checking for library containing getopt_long... none required [08:37:39.367] checking for library containing shm_open... no [08:37:39.448] checking for library containing shm_unlink... no [08:37:39.528] checking for library containing clock_gettime... no [08:37:39.608] checking for library containing shmget... no [08:37:39.689] checking for library containing backtrace_symbols... no [08:37:39.770] checking for library containing pthread_barrier_wait... -lpthread [08:37:39.852] checking for inflate in -lz... yes [08:37:39.896] checking for stdbool.h that conforms to C99... yes [08:37:39.907] checking for _Bool... yes [08:37:39.976] checking atomic.h usability... no [08:37:40.028] checking atomic.h presence... no [08:37:40.046] checking for atomic.h... no [08:37:40.049] checking copyfile.h usability... no [08:37:40.101] checking copyfile.h presence... no [08:37:40.117] checking for copyfile.h... no [08:37:40.120] checking execinfo.h usability... no [08:37:40.171] checking execinfo.h presence... no [08:37:40.188] checking for execinfo.h... no [08:37:40.190] checking getopt.h usability... yes [08:37:40.197] checking getopt.h presence... yes [08:37:40.211] checking for getopt.h... yes [08:37:40.217] checking ifaddrs.h usability... no [08:37:40.267] checking ifaddrs.h presence... no [08:37:40.284] checking for ifaddrs.h... no [08:37:40.287] checking mbarrier.h usability... no [08:37:40.337] checking mbarrier.h presence... no [08:37:40.354] checking for mbarrier.h... no [08:37:40.357] checking sys/epoll.h usability... no [08:37:40.407] checking sys/epoll.h presence... no [08:37:40.424] checking for sys/epoll.h... no [08:37:40.427] checking sys/event.h usability... no [08:37:40.477] checking sys/event.h presence... no [08:37:40.494] checking for sys/event.h... no [08:37:40.497] checking sys/personality.h usability... no [08:37:40.547] checking sys/personality.h presence... no [08:37:40.563] checking for sys/personality.h... no [08:37:40.566] checking sys/prctl.h usability... no [08:37:40.618] checking sys/prctl.h presence... no [08:37:40.635] checking for sys/prctl.h... no [08:37:40.638] checking sys/procctl.h usability... no [08:37:40.689] checking sys/procctl.h presence... no [08:37:40.706] checking for sys/procctl.h... no [08:37:40.709] checking sys/signalfd.h usability... no [08:37:40.759] checking sys/signalfd.h presence... no [08:37:40.776] checking for sys/signalfd.h... no [08:37:40.779] checking sys/ucred.h usability... no [08:37:40.831] checking sys/ucred.h presence... no [08:37:40.849] checking for sys/ucred.h... no [08:37:40.852] checking termios.h usability... no [08:37:40.904] checking termios.h presence... no [08:37:40.921] checking for termios.h... no [08:37:40.924] checking ucred.h usability... no [08:37:40.975] checking ucred.h presence... no [08:37:40.992] checking for ucred.h... no [08:37:40.995] checking zlib.h usability... yes [08:37:41.003] checking zlib.h presence... yes [08:37:41.021] checking for zlib.h... yes [08:37:41.021] checking for lz4... /usr/bin/lz4 [08:37:41.021] checking for zstd... /usr/bin/zstd [08:37:41.021] checking for openssl... /usr/bin/openssl [08:37:41.025] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [08:37:41.026] checking crtdefs.h usability... yes [08:37:41.033] checking crtdefs.h presence... yes [08:37:41.046] checking for crtdefs.h... yes [08:37:41.048] checking whether byte ordering is bigendian... no [08:37:41.115] checking for inline... inline [08:37:41.121] checking for printf format archetype... gnu_printf [08:37:41.129] checking for _Static_assert... yes [08:37:41.167] checking for typeof... typeof [08:37:41.174] checking for __builtin_types_compatible_p... yes [08:37:41.184] checking for __builtin_constant_p... yes [08:37:41.193] checking for __builtin_unreachable... yes [08:37:41.232] checking for computed goto support... yes [08:37:41.238] checking for struct tm.tm_zone... no [08:37:41.307] checking for union semun... no [08:37:41.337] checking for socklen_t... yes [08:37:42.449] checking for struct sockaddr.sa_len... no [08:37:44.358] checking for locale_t... no [08:37:44.419] checking for C/C++ restrict keyword... __restrict [08:37:44.431] checking for struct option... yes [08:37:44.471] checking whether assembler supports x86_64 popcntq... yes [08:37:44.478] checking size of off_t... 4 [08:37:44.672] 0 [08:37:44.672] checking size of bool... 1 [08:37:44.715] checking for int timezone... yes [08:37:44.761] checking for wcstombs_l declaration... no [08:37:44.842] checking for backtrace_symbols... no [08:37:44.889] checking for copyfile... no [08:37:44.938] checking for copy_file_range... no [08:37:44.986] checking for getifaddrs... no [08:37:45.034] checking for getpeerucred... no [08:37:45.082] checking for inet_pton... yes [08:37:45.130] checking for kqueue... no [08:37:45.178] checking for mbstowcs_l... no [08:37:45.225] checking for memset_s... no [08:37:45.273] checking for posix_fallocate... no [08:37:45.322] checking for ppoll... no [08:37:45.372] checking for pthread_is_threaded_np... no [08:37:45.421] checking for setproctitle... no [08:37:45.469] checking for setproctitle_fast... no [08:37:45.519] checking for strchrnul... no [08:37:45.568] checking for strsignal... no [08:37:45.616] checking for syncfs... no [08:37:45.663] checking for sync_file_range... no [08:37:45.711] checking for uselocale... no [08:37:45.758] checking for wcstombs_l... no [08:37:45.802] checking for __builtin_bswap16... yes [08:37:45.849] checking for __builtin_bswap32... yes [08:37:45.894] checking for __builtin_bswap64... yes [08:37:45.939] checking for __builtin_clz... yes [08:37:45.983] checking for __builtin_ctz... yes [08:37:46.028] checking for __builtin_popcount... yes [08:37:46.072] checking for __builtin_frame_address... yes [08:37:46.116] checking for _LARGEFILE_SOURCE value needed for large files... no [08:37:46.167] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:37:46.195] checking for posix_fadvise... no [08:37:46.244] checking whether posix_fadvise is declared... no [08:37:46.286] checking whether fdatasync is declared... no [08:37:46.328] checking whether strlcat is declared... no [08:37:46.388] checking whether strlcpy is declared... no [08:37:46.447] checking whether strnlen is declared... yes [08:37:46.459] checking whether strsep is declared... no [08:37:46.518] checking whether preadv is declared... no [08:37:46.551] checking whether pwritev is declared... no [08:37:46.584] checking whether F_FULLFSYNC is declared... no [08:37:46.621] checking for explicit_bzero... no [08:37:46.665] checking for getopt... yes [08:37:46.706] checking for getpeereid... no [08:37:46.750] checking for inet_aton... no [08:37:46.794] checking for mkdtemp... no [08:37:46.838] checking for strlcat... no [08:37:46.883] checking for strlcpy... no [08:37:46.928] checking for strnlen... yes [08:37:46.974] checking for strsep... no [08:37:47.018] checking for pthread_barrier_wait... yes [08:37:47.059] configure: On mingw32 we will use our strtof wrapper. [08:37:47.059] checking for getopt_long... yes [08:37:47.101] checking for _configthreadlocale... yes [08:37:47.143] checking for syslog... no [08:37:47.188] checking for opterr... yes [08:37:47.235] checking for optreset... no [08:37:47.284] checking test program... cross-compiling [08:37:47.284] checking whether long int is 64 bits... no [08:37:47.314] checking whether long long int is 64 bits... yes [08:37:47.323] checking for __builtin_mul_overflow... yes [08:37:47.362] checking size of void *... 8 [08:37:47.615] checking size of size_t... 8 [08:37:47.868] checking size of long... 4 [08:37:48.059] checking alignment of short... 2 [08:37:48.191] checking alignment of int... 4 [08:37:48.382] checking alignment of long... 4 [08:37:48.572] checking alignment of long long int... 8 [08:37:48.819] checking alignment of double... 8 [08:37:49.067] checking for int8... no [08:37:49.106] checking for uint8... no [08:37:49.145] checking for int64... no [08:37:49.183] checking for uint64... no [08:37:49.221] checking for __int128... yes [08:37:49.268] checking for __int128 alignment bug... assuming ok [08:37:49.268] checking alignment of PG_INT128_TYPE... 16 [08:37:49.580] checking for builtin __sync char locking functions... yes [08:37:49.619] checking for builtin __sync int32 locking functions... yes [08:37:49.660] checking for builtin __sync int32 atomic operations... yes [08:37:49.701] checking for builtin __sync int64 atomic operations... yes [08:37:49.741] checking for builtin __atomic int32 atomic operations... yes [08:37:49.781] checking for builtin __atomic int64 atomic operations... yes [08:37:49.821] checking for __get_cpuid... yes [08:37:49.865] checking for __get_cpuid_count... yes [08:37:49.907] checking for __cpuid... no [08:37:50.297] checking for __cpuidex... no [08:37:50.710] checking for _xgetbv with CFLAGS=... no [08:37:51.079] checking for _xgetbv with CFLAGS=-mxsave... yes [08:37:51.466] checking for _mm512_popcnt_epi64 with CFLAGS=... no [08:37:51.842] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [08:37:52.170] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [08:37:52.213] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [08:37:52.295] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:37:52.316] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:37:52.333] 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 [08:37:52.384] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:37:52.384] checking which random number source to use... Windows native [08:37:52.386] checking for xmllint... /usr/bin/xmllint [08:37:52.386] checking for xsltproc... /usr/bin/xsltproc [08:37:52.386] checking for fop... /usr/bin/fop [08:37:52.387] checking for dbtoepub... no [08:37:52.387] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:37:52.387] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:37:52.387] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:37:52.397] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:37:52.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 [08:37:52.397] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:37:52.397] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:37:52.474] configure: creating ./config.status [08:37:52.551] config.status: creating GNUmakefile [08:37:52.562] config.status: creating src/Makefile.global [08:37:52.576] config.status: creating src/include/pg_config.h [08:37:52.588] config.status: creating src/include/pg_config_ext.h [08:37:52.598] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:37:52.612] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:37:52.619] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:37:52.626] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:37:52.632] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:37:52.639] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:37:52.642] config.status: executing check_win32_symlinks commands [08:37:52.673] [08:37:52.673] real 0m15.332s [08:37:52.673] user 0m10.171s [08:37:52.673] sys 0m4.766s [08:37:52.673] make -s -j${BUILD_JOBS} clean [08:37:53.160] time make -s -j${BUILD_JOBS} world-bin [08:38:50.131] command.c: In function ‘exec_command_conninfo’: [08:38:50.131] command.c:810:49: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [08:38:50.131] 810 | client_encoding = PQparameterStatus(pset.db, "client_encoding"); [08:38:50.131] | ^ [08:38:50.131] command.c:811:49: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [08:38:50.131] 811 | server_encoding = PQparameterStatus(pset.db, "server_encoding"); [08:38:50.131] | ^ [08:38:50.131] command.c:812:46: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [08:38:50.131] 812 | session_user = PQparameterStatus(pset.db, "session_authorization"); [08:38:50.131] | ^ [08:38:50.131] cc1: all warnings being treated as errors [08:38:50.132] make[3]: *** [: command.o] Error 1 [08:38:50.132] make[3]: *** Waiting for unfinished jobs.... [08:38:50.294] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [08:38:50.294] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [08:38:50.294] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:38:50.295] [08:38:50.295] real 0m57.134s [08:38:50.295] user 2m49.337s [08:38:50.295] sys 0m36.012s [08:38:50.295] [08:38:50.295] Exit status: 2