[16:07:51.907] time ./configure \ [16:07:51.907] --host=x86_64-w64-mingw32 \ [16:07:51.907] --enable-cassert \ [16:07:51.907] --without-icu \ [16:07:51.907] CC="ccache x86_64-w64-mingw32-gcc" \ [16:07:51.907] CXX="ccache x86_64-w64-mingw32-g++" [16:07:52.013] checking build system type... x86_64-pc-linux-gnu [16:07:52.200] checking host system type... x86_64-w64-mingw32 [16:07:52.205] checking which template to use... win32 [16:07:52.205] checking whether NLS is wanted... no [16:07:52.205] checking for default port number... 5432 [16:07:52.211] checking for block size... 8kB [16:07:52.212] checking for segment size... 1GB [16:07:52.214] checking for WAL block size... 8kB [16:07:52.216] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:07:52.246] checking whether the C compiler works... yes [16:07:52.392] checking for C compiler default output file name... a.exe [16:07:52.393] checking for suffix of executables... .exe [16:07:52.430] checking whether we are cross compiling... yes [16:07:52.509] checking for suffix of object files... o [16:07:52.517] checking whether we are using the GNU C compiler... yes [16:07:52.523] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:07:52.529] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:07:52.537] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:07:52.598] checking whether we are using the GNU C++ compiler... yes [16:07:52.604] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:07:52.664] checking for gawk... no [16:07:52.664] checking for mawk... mawk [16:07:52.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:07:52.673] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:07:52.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:07:52.721] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:07:52.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:07:52.902] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:07:52.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:07:52.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:07:52.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:07:52.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:07:52.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:07:52.938] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:07:52.945] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:07:52.951] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:07:52.957] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:07:52.963] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:07:52.969] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:07:53.004] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:07:53.010] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:07:53.017] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:07:53.023] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:07:53.029] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:07:53.035] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:07:53.057] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:07:53.063] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:07:53.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:07:53.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:07:53.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:07:53.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:07:53.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:07:53.187] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:07:53.193] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:07:53.200] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:07:53.207] checking whether the C compiler still works... yes [16:07:53.270] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:07:53.336] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:07:53.336] checking pkg-config is at least version 0.9.0... yes [16:07:53.354] checking whether to build with ICU support... no [16:07:53.355] checking whether to build with Tcl... no [16:07:53.355] checking whether to build Perl modules... no [16:07:53.355] checking whether to build Python modules... no [16:07:53.355] checking whether to build with GSSAPI support... no [16:07:53.356] checking whether to build with PAM support... no [16:07:53.356] checking whether to build with BSD Authentication support... no [16:07:53.356] checking whether to build with LDAP support... no [16:07:53.356] checking whether to build with Bonjour support... no [16:07:53.356] checking whether to build with SELinux support... no [16:07:53.356] checking whether to build with systemd support... no [16:07:53.357] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:07:53.357] checking whether to build with XML support... no [16:07:53.357] checking whether to build with LZ4 support... no [16:07:53.357] checking whether to build with ZSTD support... no [16:07:53.357] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:07:53.358] checking whether it is possible to strip libraries... yes [16:07:53.366] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:07:53.366] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:07:53.367] checking for a BSD-compatible install... /usr/bin/install -c [16:07:53.375] checking for tar... /usr/bin/tar [16:07:53.375] checking whether ln -s works... yes [16:07:53.375] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:07:53.377] checking for bison... /usr/bin/bison [16:07:53.379] configure: using bison (GNU Bison) 3.8.2 [16:07:53.382] checking for flex... /usr/bin/flex [16:07:53.393] configure: using flex 2.6.4 [16:07:53.393] checking for perl... /usr/bin/perl [16:07:53.396] configure: using perl 5.36.0 [16:07:53.397] checking for zic... /usr/sbin/zic [16:07:53.398] checking for a sed that does not truncate output... /usr/bin/sed [16:07:53.402] checking for grep that handles long lines and -e... /usr/bin/grep [16:07:53.404] checking for egrep... /usr/bin/grep -E [16:07:53.405] checking for ANSI C header files... yes [16:07:53.447] checking for sys/types.h... yes [16:07:53.462] checking for sys/stat.h... yes [16:07:53.477] checking for stdlib.h... yes [16:07:53.489] checking for string.h... yes [16:07:53.502] checking for memory.h... yes [16:07:53.515] checking for strings.h... yes [16:07:53.528] checking for inttypes.h... yes [16:07:53.543] checking for stdint.h... yes [16:07:53.556] checking for unistd.h... yes [16:07:53.569] checking for main in -lm... yes [16:07:53.612] checking for library containing setproctitle... no [16:07:53.693] checking for library containing dlsym... no [16:07:53.775] checking for library containing socket... -lws2_32 [16:07:53.893] checking for library containing getopt_long... none required [16:07:53.938] checking for library containing shm_open... no [16:07:54.019] checking for library containing shm_unlink... no [16:07:54.103] checking for library containing clock_gettime... no [16:07:54.188] checking for library containing shmget... no [16:07:54.273] checking for library containing backtrace_symbols... no [16:07:54.357] checking for library containing pthread_barrier_wait... -lpthread [16:07:54.441] checking for inflate in -lz... yes [16:07:54.486] checking for stdbool.h that conforms to C99... yes [16:07:54.496] checking for _Bool... yes [16:07:54.565] checking atomic.h usability... no [16:07:54.617] checking atomic.h presence... no [16:07:54.634] checking for atomic.h... no [16:07:54.637] checking copyfile.h usability... no [16:07:54.689] checking copyfile.h presence... no [16:07:54.708] checking for copyfile.h... no [16:07:54.711] checking execinfo.h usability... no [16:07:54.765] checking execinfo.h presence... no [16:07:54.782] checking for execinfo.h... no [16:07:54.786] checking getopt.h usability... yes [16:07:54.793] checking getopt.h presence... yes [16:07:54.807] checking for getopt.h... yes [16:07:54.814] checking ifaddrs.h usability... no [16:07:54.868] checking ifaddrs.h presence... no [16:07:54.886] checking for ifaddrs.h... no [16:07:54.889] checking mbarrier.h usability... no [16:07:54.942] checking mbarrier.h presence... no [16:07:54.960] checking for mbarrier.h... no [16:07:54.964] checking sys/epoll.h usability... no [16:07:55.015] checking sys/epoll.h presence... no [16:07:55.033] checking for sys/epoll.h... no [16:07:55.036] checking sys/event.h usability... no [16:07:55.088] checking sys/event.h presence... no [16:07:55.106] checking for sys/event.h... no [16:07:55.109] checking sys/personality.h usability... no [16:07:55.160] checking sys/personality.h presence... no [16:07:55.177] checking for sys/personality.h... no [16:07:55.179] checking sys/prctl.h usability... no [16:07:55.230] checking sys/prctl.h presence... no [16:07:55.247] checking for sys/prctl.h... no [16:07:55.250] checking sys/procctl.h usability... no [16:07:55.300] checking sys/procctl.h presence... no [16:07:55.317] checking for sys/procctl.h... no [16:07:55.320] checking sys/signalfd.h usability... no [16:07:55.370] checking sys/signalfd.h presence... no [16:07:55.386] checking for sys/signalfd.h... no [16:07:55.389] checking sys/ucred.h usability... no [16:07:55.441] checking sys/ucred.h presence... no [16:07:55.458] checking for sys/ucred.h... no [16:07:55.461] checking termios.h usability... no [16:07:55.514] checking termios.h presence... no [16:07:55.532] checking for termios.h... no [16:07:55.535] checking ucred.h usability... no [16:07:55.588] checking ucred.h presence... no [16:07:55.605] checking for ucred.h... no [16:07:55.608] checking xlocale.h usability... no [16:07:55.659] checking xlocale.h presence... no [16:07:55.676] checking for xlocale.h... no [16:07:55.679] checking zlib.h usability... yes [16:07:55.688] checking zlib.h presence... yes [16:07:55.705] checking for zlib.h... yes [16:07:55.705] checking for lz4... /usr/bin/lz4 [16:07:55.705] checking for zstd... /usr/bin/zstd [16:07:55.705] checking for openssl... /usr/bin/openssl [16:07:55.710] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:07:55.710] checking crtdefs.h usability... yes [16:07:55.717] checking crtdefs.h presence... yes [16:07:55.730] checking for crtdefs.h... yes [16:07:55.732] checking whether byte ordering is bigendian... no [16:07:55.798] checking for inline... inline [16:07:55.804] checking for printf format archetype... gnu_printf [16:07:55.811] checking for _Static_assert... yes [16:07:55.850] checking for typeof... typeof [16:07:55.856] checking for __builtin_types_compatible_p... yes [16:07:55.866] checking for __builtin_constant_p... yes [16:07:55.876] checking for __builtin_unreachable... yes [16:07:55.914] checking for computed goto support... yes [16:07:55.920] checking for struct tm.tm_zone... no [16:07:55.992] checking for union semun... no [16:07:56.022] checking for socklen_t... yes [16:07:57.120] checking for struct sockaddr.sa_len... no [16:07:59.020] checking for C/C++ restrict keyword... __restrict [16:07:59.032] checking for struct option... yes [16:07:59.073] checking whether assembler supports x86_64 popcntq... yes [16:07:59.080] checking size of off_t... 4 [16:07:59.273] 0 [16:07:59.273] checking size of bool... 1 [16:07:59.315] checking for int timezone... yes [16:07:59.366] checking for backtrace_symbols... no [16:07:59.412] checking for copyfile... no [16:07:59.459] checking for copy_file_range... no [16:07:59.507] checking for getifaddrs... no [16:07:59.555] checking for getpeerucred... no [16:07:59.602] checking for inet_pton... yes [16:07:59.648] checking for kqueue... no [16:07:59.694] checking for mbstowcs_l... no [16:07:59.741] checking for memset_s... no [16:07:59.788] checking for posix_fallocate... no [16:07:59.834] checking for ppoll... no [16:07:59.880] checking for pthread_is_threaded_np... no [16:07:59.927] checking for setproctitle... no [16:07:59.973] checking for setproctitle_fast... no [16:08:00.019] checking for strchrnul... no [16:08:00.066] checking for strsignal... no [16:08:00.115] checking for syncfs... no [16:08:00.162] checking for sync_file_range... no [16:08:00.211] checking for uselocale... no [16:08:00.259] checking for wcstombs_l... no [16:08:00.305] checking for __builtin_bswap16... yes [16:08:00.351] checking for __builtin_bswap32... yes [16:08:00.397] checking for __builtin_bswap64... yes [16:08:00.442] checking for __builtin_clz... yes [16:08:00.488] checking for __builtin_ctz... yes [16:08:00.534] checking for __builtin_popcount... yes [16:08:00.580] checking for __builtin_frame_address... yes [16:08:00.624] checking for _LARGEFILE_SOURCE value needed for large files... no [16:08:00.673] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:08:00.701] checking for posix_fadvise... no [16:08:00.749] checking whether posix_fadvise is declared... no [16:08:00.790] checking whether fdatasync is declared... no [16:08:00.831] checking whether strlcat is declared... no [16:08:00.889] checking whether strlcpy is declared... no [16:08:00.948] checking whether strnlen is declared... yes [16:08:00.960] checking whether strsep is declared... no [16:08:01.018] checking whether preadv is declared... no [16:08:01.052] checking whether pwritev is declared... no [16:08:01.087] checking whether F_FULLFSYNC is declared... no [16:08:01.124] checking for explicit_bzero... no [16:08:01.169] checking for getopt... yes [16:08:01.210] checking for getpeereid... no [16:08:01.256] checking for inet_aton... no [16:08:01.300] checking for mkdtemp... no [16:08:01.344] checking for strlcat... no [16:08:01.388] checking for strlcpy... no [16:08:01.432] checking for strnlen... yes [16:08:01.476] checking for strsep... no [16:08:01.520] checking for pthread_barrier_wait... yes [16:08:01.560] configure: On mingw32 we will use our strtof wrapper. [16:08:01.560] checking for getopt_long... yes [16:08:01.601] checking for _configthreadlocale... yes [16:08:01.642] checking for syslog... no [16:08:01.685] checking for opterr... yes [16:08:01.730] checking for optreset... no [16:08:01.777] checking test program... cross-compiling [16:08:01.777] checking whether long int is 64 bits... no [16:08:01.805] checking whether long long int is 64 bits... yes [16:08:01.814] checking for __builtin_mul_overflow... yes [16:08:01.854] checking size of void *... 8 [16:08:02.100] checking size of size_t... 8 [16:08:02.353] checking size of long... 4 [16:08:02.539] checking alignment of short... 2 [16:08:02.666] checking alignment of int... 4 [16:08:02.852] checking alignment of long... 4 [16:08:03.040] checking alignment of long long int... 8 [16:08:03.297] checking alignment of double... 8 [16:08:03.546] checking for __int128... yes [16:08:03.592] checking for __int128 alignment bug... assuming ok [16:08:03.592] checking alignment of PG_INT128_TYPE... 16 [16:08:03.898] checking for builtin __sync char locking functions... yes [16:08:03.937] checking for builtin __sync int32 locking functions... yes [16:08:03.976] checking for builtin __sync int32 atomic operations... yes [16:08:04.014] checking for builtin __sync int64 atomic operations... yes [16:08:04.053] checking for builtin __atomic int32 atomic operations... yes [16:08:04.094] checking for builtin __atomic int64 atomic operations... yes [16:08:04.134] checking for __get_cpuid... yes [16:08:04.178] checking for __get_cpuid_count... yes [16:08:04.219] checking for __cpuid... no [16:08:04.606] checking for __cpuidex... no [16:08:05.013] checking for _xgetbv... yes [16:08:05.404] checking for _mm512_popcnt_epi64... yes [16:08:05.813] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:08:05.856] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:08:05.940] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:08:05.961] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:08:05.980] 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 [16:08:06.033] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:08:06.033] checking which random number source to use... Windows native [16:08:06.035] checking for xmllint... /usr/bin/xmllint [16:08:06.035] checking for xsltproc... /usr/bin/xsltproc [16:08:06.035] checking for fop... /usr/bin/fop [16:08:06.036] checking for dbtoepub... no [16:08:06.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:08:06.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:08:06.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:08:06.047] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:08:06.047] 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 [16:08:06.047] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:08:06.047] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:08:06.130] configure: creating ./config.status [16:08:06.215] config.status: creating GNUmakefile [16:08:06.227] config.status: creating src/Makefile.global [16:08:06.242] config.status: creating src/include/pg_config.h [16:08:06.254] config.status: creating src/include/pg_config_ext.h [16:08:06.265] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:08:06.279] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:08:06.286] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:08:06.293] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:08:06.299] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:08:06.306] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:08:06.309] config.status: executing check_win32_symlinks commands [16:08:06.340] [16:08:06.340] real 0m14.433s [16:08:06.340] user 0m9.579s [16:08:06.340] sys 0m4.464s [16:08:06.340] make -s -j${BUILD_JOBS} clean [16:08:06.833] time make -s -j${BUILD_JOBS} world-bin [16:08:17.337] passwordcheck.c: In function ‘check_password’: [16:08:17.337] passwordcheck.c:91:50: error: implicit declaration of function ‘pg_mbstrlen’; did you mean ‘_mbstrlen’? [-Werror=implicit-function-declaration] [16:08:17.337] 91 | int pwdlen = pg_mbstrlen(password); [16:08:17.337] | ^~~~~~~~~~~ [16:08:17.337] | _mbstrlen [16:08:17.337] cc1: all warnings being treated as errors [16:08:17.339] make[2]: *** [: passwordcheck.o] Error 1 [16:08:17.339] make[1]: *** [Makefile:95: all-passwordcheck-recurse] Error 2 [16:08:17.339] make: *** [GNUmakefile:21: world-bin-contrib-recurse] Error 2 [16:08:17.339] [16:08:17.339] real 0m10.506s [16:08:17.339] user 0m16.075s [16:08:17.339] sys 0m11.559s [16:08:17.340] [16:08:17.340] Exit status: 2