[00:07:45.377] time ./configure \ [00:07:45.377] --host=x86_64-w64-mingw32 \ [00:07:45.377] --enable-cassert \ [00:07:45.377] --without-icu \ [00:07:45.377] CC="ccache x86_64-w64-mingw32-gcc" \ [00:07:45.377] CXX="ccache x86_64-w64-mingw32-g++" [00:07:45.442] checking build system type... x86_64-pc-linux-gnu [00:07:45.618] checking host system type... x86_64-w64-mingw32 [00:07:45.621] checking which template to use... win32 [00:07:45.621] checking whether NLS is wanted... no [00:07:45.622] checking for default port number... 5432 [00:07:45.626] checking for block size... 8kB [00:07:45.627] checking for segment size... 1GB [00:07:45.628] checking for WAL block size... 8kB [00:07:45.629] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:07:45.651] checking whether the C compiler works... yes [00:07:45.780] checking for C compiler default output file name... a.exe [00:07:45.781] checking for suffix of executables... .exe [00:07:45.811] checking whether we are cross compiling... yes [00:07:45.868] checking for suffix of object files... o [00:07:45.872] checking whether we are using the GNU C compiler... yes [00:07:45.876] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:07:45.880] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:07:45.887] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:07:45.932] checking whether we are using the GNU C++ compiler... yes [00:07:45.935] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:07:45.975] checking for gawk... no [00:07:45.975] checking for mawk... mawk [00:07:45.977] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:07:45.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:07:45.985] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:07:46.014] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:07:46.166] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:07:46.170] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:07:46.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:07:46.177] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:07:46.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:07:46.190] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:07:46.260] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:07:46.265] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:07:46.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:07:46.272] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:07:46.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:07:46.286] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:07:46.289] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:07:46.293] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:07:46.297] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:07:46.307] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:07:46.310] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:07:46.314] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:07:46.327] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:07:46.330] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:07:46.334] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:07:46.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:07:46.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:07:46.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:07:46.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:07:46.425] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:07:46.430] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:07:46.435] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:07:46.440] checking whether the C compiler still works... yes [00:07:46.483] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:07:46.526] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:07:46.527] checking pkg-config is at least version 0.9.0... yes [00:07:46.540] checking whether to build with ICU support... no [00:07:46.541] checking whether to build with Tcl... no [00:07:46.541] checking whether to build Perl modules... no [00:07:46.541] checking whether to build Python modules... no [00:07:46.541] checking whether to build with GSSAPI support... no [00:07:46.542] checking whether to build with PAM support... no [00:07:46.542] checking whether to build with BSD Authentication support... no [00:07:46.542] checking whether to build with LDAP support... no [00:07:46.542] checking whether to build with Bonjour support... no [00:07:46.542] checking whether to build with SELinux support... no [00:07:46.542] checking whether to build with systemd support... no [00:07:46.542] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:07:46.542] checking whether to build with XML support... no [00:07:46.543] checking whether to build with LZ4 support... no [00:07:46.543] checking whether to build with ZSTD support... no [00:07:46.543] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:07:46.543] checking whether it is possible to strip libraries... yes [00:07:46.550] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:07:46.551] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:07:46.551] checking for a BSD-compatible install... /usr/bin/install -c [00:07:46.556] checking for tar... /usr/bin/tar [00:07:46.556] checking whether ln -s works... yes [00:07:46.556] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:07:46.558] checking for bison... /usr/bin/bison [00:07:46.560] configure: using bison (GNU Bison) 3.7.5 [00:07:46.562] checking for flex... /usr/bin/flex [00:07:46.570] configure: using flex 2.6.4 [00:07:46.570] checking for perl... /usr/bin/perl [00:07:46.572] configure: using perl 5.32.1 [00:07:46.574] checking for zic... /usr/sbin/zic [00:07:46.574] checking for a sed that does not truncate output... /usr/bin/sed [00:07:46.578] checking for grep that handles long lines and -e... /usr/bin/grep [00:07:46.579] checking for egrep... /usr/bin/grep -E [00:07:46.580] checking for ANSI C header files... yes [00:07:46.613] checking for sys/types.h... yes [00:07:46.624] checking for sys/stat.h... yes [00:07:46.635] checking for stdlib.h... yes [00:07:46.644] checking for string.h... yes [00:07:46.653] checking for memory.h... yes [00:07:46.703] checking for strings.h... yes [00:07:46.712] checking for inttypes.h... yes [00:07:46.722] checking for stdint.h... yes [00:07:46.730] checking for unistd.h... yes [00:07:46.741] checking for main in -lm... yes [00:07:46.771] checking for library containing setproctitle... no [00:07:46.829] checking for library containing dlsym... no [00:07:46.888] checking for library containing socket... -lws2_32 [00:07:46.979] checking for library containing getopt_long... none required [00:07:47.014] checking for library containing shm_open... no [00:07:47.080] checking for library containing shm_unlink... no [00:07:47.145] checking for library containing clock_gettime... no [00:07:47.206] checking for library containing shmget... no [00:07:47.265] checking for library containing backtrace_symbols... no [00:07:47.325] checking for library containing pthread_barrier_wait... -lpthread [00:07:47.392] checking for inflate in -lz... yes [00:07:47.430] checking for stdbool.h that conforms to C99... yes [00:07:47.440] checking for _Bool... yes [00:07:47.495] checking atomic.h usability... no [00:07:47.538] checking atomic.h presence... no [00:07:47.553] checking for atomic.h... no [00:07:47.555] checking copyfile.h usability... no [00:07:47.599] checking copyfile.h presence... no [00:07:47.613] checking for copyfile.h... no [00:07:47.616] checking execinfo.h usability... no [00:07:47.658] checking execinfo.h presence... no [00:07:47.673] checking for execinfo.h... no [00:07:47.676] checking getopt.h usability... yes [00:07:47.681] checking getopt.h presence... yes [00:07:47.693] checking for getopt.h... yes [00:07:47.699] checking ifaddrs.h usability... no [00:07:47.742] checking ifaddrs.h presence... no [00:07:47.756] checking for ifaddrs.h... no [00:07:47.758] checking langinfo.h usability... no [00:07:47.801] checking langinfo.h presence... no [00:07:47.814] checking for langinfo.h... no [00:07:47.817] checking mbarrier.h usability... no [00:07:47.859] checking mbarrier.h presence... no [00:07:47.874] checking for mbarrier.h... no [00:07:47.876] checking sys/epoll.h usability... no [00:07:47.918] checking sys/epoll.h presence... no [00:07:47.931] checking for sys/epoll.h... no [00:07:47.933] checking sys/event.h usability... no [00:07:47.971] checking sys/event.h presence... no [00:07:47.982] checking for sys/event.h... no [00:07:47.984] checking sys/personality.h usability... no [00:07:48.025] checking sys/personality.h presence... no [00:07:48.037] checking for sys/personality.h... no [00:07:48.040] checking sys/prctl.h usability... no [00:07:48.082] checking sys/prctl.h presence... no [00:07:48.095] checking for sys/prctl.h... no [00:07:48.098] checking sys/procctl.h usability... no [00:07:48.138] checking sys/procctl.h presence... no [00:07:48.152] checking for sys/procctl.h... no [00:07:48.154] checking sys/signalfd.h usability... no [00:07:48.196] checking sys/signalfd.h presence... no [00:07:48.209] checking for sys/signalfd.h... no [00:07:48.211] checking sys/ucred.h usability... no [00:07:48.253] checking sys/ucred.h presence... no [00:07:48.267] checking for sys/ucred.h... no [00:07:48.270] checking termios.h usability... no [00:07:48.312] checking termios.h presence... no [00:07:48.325] checking for termios.h... no [00:07:48.327] checking ucred.h usability... no [00:07:48.367] checking ucred.h presence... no [00:07:48.379] checking for ucred.h... no [00:07:48.381] checking zlib.h usability... yes [00:07:48.389] checking zlib.h presence... yes [00:07:48.402] checking for zlib.h... yes [00:07:48.402] checking for lz4... /usr/bin/lz4 [00:07:48.403] checking for zstd... /usr/bin/zstd [00:07:48.403] checking for openssl... /usr/bin/openssl [00:07:48.406] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [00:07:48.406] checking crtdefs.h usability... yes [00:07:48.412] checking crtdefs.h presence... yes [00:07:48.422] checking for crtdefs.h... yes [00:07:48.423] checking whether byte ordering is bigendian... no [00:07:48.470] checking for inline... inline [00:07:48.475] checking for printf format archetype... gnu_printf [00:07:48.479] checking for _Static_assert... yes [00:07:48.507] checking for typeof... typeof [00:07:48.512] checking for __builtin_types_compatible_p... yes [00:07:48.518] checking for __builtin_constant_p... yes [00:07:48.523] checking for __builtin_unreachable... yes [00:07:48.553] checking for computed goto support... yes [00:07:48.575] checking for struct tm.tm_zone... no [00:07:48.626] checking for union semun... no [00:07:48.646] checking for socklen_t... yes [00:07:50.266] checking for struct sockaddr.sa_len... no [00:07:51.793] checking for locale_t... no [00:07:51.836] checking for C/C++ restrict keyword... __restrict [00:07:51.851] checking for struct option... yes [00:07:51.877] checking whether assembler supports x86_64 popcntq... yes [00:07:51.882] checking size of off_t... 4 [00:07:52.028] 0 [00:07:52.028] checking size of bool... 1 [00:07:52.062] checking for int timezone... yes [00:07:52.097] checking for wcstombs_l declaration... no [00:07:52.150] checking for backtrace_symbols... no [00:07:52.182] checking for copyfile... no [00:07:52.215] checking for getifaddrs... no [00:07:52.250] checking for getpeerucred... no [00:07:52.285] checking for inet_pton... yes [00:07:52.319] checking for kqueue... no [00:07:52.352] checking for mbstowcs_l... no [00:07:52.384] checking for memset_s... no [00:07:52.416] checking for posix_fallocate... no [00:07:52.449] checking for ppoll... no [00:07:52.481] checking for pthread_is_threaded_np... no [00:07:52.513] checking for setproctitle... no [00:07:52.545] checking for setproctitle_fast... no [00:07:52.576] checking for strchrnul... no [00:07:52.610] checking for strsignal... no [00:07:52.643] checking for syncfs... no [00:07:52.677] checking for sync_file_range... no [00:07:52.710] checking for uselocale... no [00:07:52.745] checking for wcstombs_l... no [00:07:52.780] checking for __builtin_bswap16... yes [00:07:52.815] checking for __builtin_bswap32... yes [00:07:52.850] checking for __builtin_bswap64... yes [00:07:52.887] checking for __builtin_clz... yes [00:07:52.922] checking for __builtin_ctz... yes [00:07:52.954] checking for __builtin_popcount... yes [00:07:52.986] checking for __builtin_frame_address... yes [00:07:53.018] checking for _LARGEFILE_SOURCE value needed for large files... no [00:07:53.060] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:07:53.081] checking for posix_fadvise... no [00:07:53.118] checking whether posix_fadvise is declared... no [00:07:53.149] checking whether fdatasync is declared... no [00:07:53.181] checking whether strlcat is declared... no [00:07:53.227] checking whether strlcpy is declared... no [00:07:53.272] checking whether strnlen is declared... yes [00:07:53.281] checking whether preadv is declared... no [00:07:53.308] checking whether pwritev is declared... no [00:07:53.333] checking whether F_FULLFSYNC is declared... no [00:07:53.360] checking for explicit_bzero... no [00:07:53.390] checking for getopt... yes [00:07:53.419] checking for getpeereid... no [00:07:53.450] checking for inet_aton... no [00:07:53.479] checking for mkdtemp... no [00:07:53.508] checking for strlcat... no [00:07:53.537] checking for strlcpy... no [00:07:53.566] checking for strnlen... yes [00:07:53.596] checking for pthread_barrier_wait... yes [00:07:53.624] configure: On mingw32 we will use our strtof wrapper. [00:07:53.624] checking for getopt_long... yes [00:07:53.652] checking for _configthreadlocale... yes [00:07:53.681] checking for syslog... no [00:07:53.713] checking for opterr... yes [00:07:53.746] checking for optreset... no [00:07:53.780] checking test program... cross-compiling [00:07:53.780] checking whether long int is 64 bits... no [00:07:53.798] checking whether long long int is 64 bits... yes [00:07:53.803] checking for __builtin_mul_overflow... yes [00:07:53.833] checking size of void *... 8 [00:07:54.022] checking size of size_t... 8 [00:07:54.219] checking size of long... 4 [00:07:54.395] checking alignment of short... 2 [00:07:54.521] checking alignment of int... 4 [00:07:54.665] checking alignment of long... 4 [00:07:54.793] checking alignment of long long int... 8 [00:07:54.980] checking alignment of double... 8 [00:07:55.183] checking for int8... no [00:07:55.211] checking for uint8... no [00:07:55.239] checking for int64... no [00:07:55.266] checking for uint64... no [00:07:55.294] checking for __int128... yes [00:07:55.328] checking for __int128 alignment bug... assuming ok [00:07:55.328] checking alignment of PG_INT128_TYPE... 16 [00:07:55.557] checking for builtin __sync char locking functions... yes [00:07:55.587] checking for builtin __sync int32 locking functions... yes [00:07:55.619] checking for builtin __sync int32 atomic operations... yes [00:07:55.649] checking for builtin __sync int64 atomic operations... yes [00:07:55.680] checking for builtin __atomic int32 atomic operations... yes [00:07:55.710] checking for builtin __atomic int64 atomic operations... yes [00:07:55.741] checking for __get_cpuid... yes [00:07:55.774] checking for __cpuid... no [00:07:56.003] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:07:56.036] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:07:56.098] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:07:56.112] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:07:56.123] 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 [00:07:56.160] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:07:56.160] checking which random number source to use... Windows native [00:07:56.161] checking for xmllint... /usr/bin/xmllint [00:07:56.162] checking for xsltproc... /usr/bin/xsltproc [00:07:56.162] checking for fop... /usr/bin/fop [00:07:56.162] checking for dbtoepub... no [00:07:56.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:07:56.162] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:07:56.170] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [00:07:56.170] 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 [00:07:56.170] configure: using CPPFLAGS= -I./src/include/port/win32 [00:07:56.170] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:07:56.222] configure: creating ./config.status [00:07:56.269] config.status: creating GNUmakefile [00:07:56.276] config.status: creating src/Makefile.global [00:07:56.285] config.status: creating src/include/pg_config.h [00:07:56.292] config.status: creating src/include/pg_config_ext.h [00:07:56.299] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:07:56.307] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:07:56.311] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:07:56.315] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:07:56.319] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:07:56.323] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:07:56.325] config.status: executing check_win32_symlinks commands [00:07:56.347] [00:07:56.347] real 0m10.970s [00:07:56.347] user 0m8.080s [00:07:56.347] sys 0m2.481s [00:07:56.347] make -s -j${BUILD_JOBS} clean [00:07:56.705] time make -s -j${BUILD_JOBS} world-bin [00:08:30.746] command.c: In function ‘exec_command’: [00:08:30.746] command.c:312:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] [00:08:30.746] 312 | curcmd = cmd; [00:08:30.746] | ^ [00:08:30.746] cc1: all warnings being treated as errors [00:08:30.747] make[3]: *** [: command.o] Error 1 [00:08:30.747] make[3]: *** Waiting for unfinished jobs.... [00:08:30.960] make[2]: *** [Makefile:45: all-psql-recurse] Error 2 [00:08:30.960] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [00:08:30.960] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:08:30.960] [00:08:30.960] real 0m34.255s [00:08:30.960] user 1m37.035s [00:08:30.960] sys 0m14.710s [00:08:30.960] [00:08:30.960] Exit status: 2