[18:14:42.412] time ./configure \ [18:14:42.412] --host=x86_64-w64-mingw32 \ [18:14:42.412] --enable-cassert \ [18:14:42.412] --without-icu \ [18:14:42.412] CC="ccache x86_64-w64-mingw32-gcc" \ [18:14:42.412] CXX="ccache x86_64-w64-mingw32-g++" [18:14:42.529] checking build system type... x86_64-pc-linux-gnu [18:14:42.742] checking host system type... x86_64-w64-mingw32 [18:14:42.748] checking which template to use... win32 [18:14:42.748] checking whether NLS is wanted... no [18:14:42.748] checking for default port number... 5432 [18:14:42.756] checking for block size... 8kB [18:14:42.757] checking for segment size... 1GB [18:14:42.760] checking for WAL block size... 8kB [18:14:42.761] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:14:42.795] checking whether the C compiler works... yes [18:14:42.951] checking for C compiler default output file name... a.exe [18:14:42.952] checking for suffix of executables... .exe [18:14:42.993] checking whether we are cross compiling... yes [18:14:43.072] checking for suffix of object files... o [18:14:43.107] checking whether we are using the GNU C compiler... yes [18:14:43.141] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:14:43.161] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:14:43.243] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:14:43.385] checking whether we are using the GNU C++ compiler... yes [18:14:43.610] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:14:43.713] checking for gawk... no [18:14:43.714] checking for mawk... mawk [18:14:43.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:14:43.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:14:43.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:14:43.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:14:43.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:14:43.916] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:14:43.952] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:14:43.987] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:14:44.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:14:44.042] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:14:44.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:14:44.068] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:14:44.087] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:14:44.105] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:14:44.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:14:44.160] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:14:44.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:14:44.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:14:44.235] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:14:44.271] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:14:44.308] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:14:44.345] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:14:44.379] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:14:44.405] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:14:44.440] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:14:44.458] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:14:44.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:14:44.538] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:14:44.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:14:44.579] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:14:44.614] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:14:44.648] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:14:44.666] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:14:44.703] checking whether the C compiler still works... yes [18:14:44.782] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:14:44.856] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:14:44.856] checking pkg-config is at least version 0.9.0... yes [18:14:44.873] checking whether to build with ICU support... no [18:14:44.873] checking whether to build with Tcl... no [18:14:44.873] checking whether to build Perl modules... no [18:14:44.873] checking whether to build Python modules... no [18:14:44.873] checking whether to build with GSSAPI support... no [18:14:44.875] checking whether to build with PAM support... no [18:14:44.875] checking whether to build with BSD Authentication support... no [18:14:44.875] checking whether to build with LDAP support... no [18:14:44.875] checking whether to build with Bonjour support... no [18:14:44.875] checking whether to build with SELinux support... no [18:14:44.875] checking whether to build with systemd support... no [18:14:44.875] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:14:44.875] checking whether to build with XML support... no [18:14:44.876] checking whether to build with LZ4 support... no [18:14:44.876] checking whether to build with ZSTD support... no [18:14:44.876] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:14:44.876] checking whether it is possible to strip libraries... yes [18:14:44.887] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:14:44.887] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:14:44.887] checking for a BSD-compatible install... /usr/bin/install -c [18:14:44.897] checking for tar... /usr/bin/tar [18:14:44.897] checking whether ln -s works... yes [18:14:44.897] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:14:44.899] checking for bison... /usr/bin/bison [18:14:44.902] configure: using bison (GNU Bison) 3.8.2 [18:14:44.905] checking for flex... /usr/bin/flex [18:14:44.917] configure: using flex 2.6.4 [18:14:44.917] checking for perl... /usr/bin/perl [18:14:44.920] configure: using perl 5.36.0 [18:14:44.922] checking for zic... /usr/sbin/zic [18:14:44.923] checking for a sed that does not truncate output... /usr/bin/sed [18:14:44.928] checking for grep that handles long lines and -e... /usr/bin/grep [18:14:44.930] checking for egrep... /usr/bin/grep -E [18:14:44.932] checking for ANSI C header files... yes [18:14:45.024] checking for sys/types.h... yes [18:14:45.085] checking for sys/stat.h... yes [18:14:45.147] checking for stdlib.h... yes [18:14:45.207] checking for string.h... yes [18:14:45.241] checking for memory.h... yes [18:14:45.303] checking for strings.h... yes [18:14:45.340] checking for inttypes.h... yes [18:14:45.406] checking for stdint.h... yes [18:14:45.468] checking for unistd.h... yes [18:14:45.534] checking for main in -lm... yes [18:14:45.582] checking for library containing setproctitle... no [18:14:45.674] checking for library containing dlsym... no [18:14:45.765] checking for library containing socket... -lws2_32 [18:14:45.902] checking for library containing getopt_long... none required [18:14:45.951] checking for library containing shm_open... no [18:14:46.039] checking for library containing shm_unlink... no [18:14:46.132] checking for library containing clock_gettime... no [18:14:46.225] checking for library containing shmget... no [18:14:46.317] checking for library containing backtrace_symbols... no [18:14:46.407] checking for library containing pthread_barrier_wait... -lpthread [18:14:46.499] checking for inflate in -lz... yes [18:14:46.547] checking for stdbool.h that conforms to C99... yes [18:14:46.591] checking for _Bool... yes [18:14:46.714] checking atomic.h usability... no [18:14:46.773] checking atomic.h presence... no [18:14:46.796] checking for atomic.h... no [18:14:46.800] checking copyfile.h usability... no [18:14:46.857] checking copyfile.h presence... no [18:14:46.877] checking for copyfile.h... no [18:14:46.880] checking execinfo.h usability... no [18:14:46.940] checking execinfo.h presence... no [18:14:46.960] checking for execinfo.h... no [18:14:46.963] checking getopt.h usability... yes [18:14:47.021] checking getopt.h presence... yes [18:14:47.036] checking for getopt.h... yes [18:14:47.045] checking ifaddrs.h usability... no [18:14:47.104] checking ifaddrs.h presence... no [18:14:47.125] checking for ifaddrs.h... no [18:14:47.128] checking mbarrier.h usability... no [18:14:47.186] checking mbarrier.h presence... no [18:14:47.206] checking for mbarrier.h... no [18:14:47.209] checking sys/epoll.h usability... no [18:14:47.266] checking sys/epoll.h presence... no [18:14:47.286] checking for sys/epoll.h... no [18:14:47.289] checking sys/event.h usability... no [18:14:47.346] checking sys/event.h presence... no [18:14:47.366] checking for sys/event.h... no [18:14:47.369] checking sys/personality.h usability... no [18:14:47.425] checking sys/personality.h presence... no [18:14:47.445] checking for sys/personality.h... no [18:14:47.449] checking sys/prctl.h usability... no [18:14:47.505] checking sys/prctl.h presence... no [18:14:47.525] checking for sys/prctl.h... no [18:14:47.528] checking sys/procctl.h usability... no [18:14:47.585] checking sys/procctl.h presence... no [18:14:47.605] checking for sys/procctl.h... no [18:14:47.609] checking sys/signalfd.h usability... no [18:14:47.667] checking sys/signalfd.h presence... no [18:14:47.688] checking for sys/signalfd.h... no [18:14:47.691] checking sys/ucred.h usability... no [18:14:47.747] checking sys/ucred.h presence... no [18:14:47.767] checking for sys/ucred.h... no [18:14:47.770] checking termios.h usability... no [18:14:47.827] checking termios.h presence... no [18:14:47.847] checking for termios.h... no [18:14:47.851] checking ucred.h usability... no [18:14:47.909] checking ucred.h presence... no [18:14:47.929] checking for ucred.h... no [18:14:47.931] checking zlib.h usability... yes [18:14:47.996] checking zlib.h presence... yes [18:14:48.017] checking for zlib.h... yes [18:14:48.017] checking for lz4... /usr/bin/lz4 [18:14:48.017] checking for zstd... /usr/bin/zstd [18:14:48.017] checking for openssl... /usr/bin/openssl [18:14:48.022] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [18:14:48.022] checking crtdefs.h usability... yes [18:14:48.080] checking crtdefs.h presence... yes [18:14:48.097] checking for crtdefs.h... yes [18:14:48.098] checking whether byte ordering is bigendian... no [18:14:48.209] checking for inline... inline [18:14:48.228] checking for printf format archetype... gnu_printf [18:14:48.265] checking for _Static_assert... yes [18:14:48.309] checking for typeof... typeof [18:14:48.328] checking for __builtin_types_compatible_p... yes [18:14:48.370] checking for __builtin_constant_p... yes [18:14:48.405] checking for __builtin_unreachable... yes [18:14:48.448] checking for computed goto support... yes [18:14:48.467] checking for struct tm.tm_zone... no [18:14:48.546] checking for union semun... no [18:14:48.583] checking for socklen_t... yes [18:14:51.006] checking for struct sockaddr.sa_len... no [18:14:53.123] checking for locale_t... no [18:14:53.190] checking for C/C++ restrict keyword... __restrict [18:14:53.202] checking for struct option... yes [18:14:53.275] checking whether assembler supports x86_64 popcntq... yes [18:14:53.282] checking size of off_t... 4 [18:14:53.646] 0 [18:14:53.646] checking size of bool... 1 [18:14:53.732] checking for int timezone... yes [18:14:53.779] checking for wcstombs_l declaration... no [18:14:53.868] checking for backtrace_symbols... no [18:14:53.921] checking for copyfile... no [18:14:53.970] checking for copy_file_range... no [18:14:54.019] checking for getifaddrs... no [18:14:54.068] checking for getpeerucred... no [18:14:54.116] checking for inet_pton... yes [18:14:54.166] checking for kqueue... no [18:14:54.217] checking for mbstowcs_l... no [18:14:54.269] checking for memset_s... no [18:14:54.319] checking for posix_fallocate... no [18:14:54.368] checking for ppoll... no [18:14:54.417] checking for pthread_is_threaded_np... no [18:14:54.466] checking for setproctitle... no [18:14:54.517] checking for setproctitle_fast... no [18:14:54.566] checking for strchrnul... no [18:14:54.616] checking for strsignal... no [18:14:54.665] checking for syncfs... no [18:14:54.716] checking for sync_file_range... no [18:14:54.769] checking for uselocale... no [18:14:54.822] checking for wcstombs_l... no [18:14:54.870] checking for __builtin_bswap16... yes [18:14:54.920] checking for __builtin_bswap32... yes [18:14:54.968] checking for __builtin_bswap64... yes [18:14:55.017] checking for __builtin_clz... yes [18:14:55.067] checking for __builtin_ctz... yes [18:14:55.117] checking for __builtin_popcount... yes [18:14:55.166] checking for __builtin_frame_address... yes [18:14:55.215] checking for _LARGEFILE_SOURCE value needed for large files... no [18:14:55.268] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:14:55.300] checking for posix_fadvise... no [18:14:55.353] checking whether posix_fadvise is declared... no [18:14:55.398] checking whether fdatasync is declared... no [18:14:55.444] checking whether strlcat is declared... no [18:14:55.508] checking whether strlcpy is declared... no [18:14:55.572] checking whether strnlen is declared... yes [18:14:55.638] checking whether strsep is declared... no [18:14:55.702] checking whether preadv is declared... no [18:14:55.738] checking whether pwritev is declared... no [18:14:55.775] checking whether F_FULLFSYNC is declared... no [18:14:55.816] checking for explicit_bzero... no [18:14:55.864] checking for getopt... yes [18:14:55.909] checking for getpeereid... no [18:14:55.957] checking for inet_aton... no [18:14:56.005] checking for mkdtemp... no [18:14:56.051] checking for strlcat... no [18:14:56.099] checking for strlcpy... no [18:14:56.146] checking for strnlen... yes [18:14:56.193] checking for strsep... no [18:14:56.240] checking for pthread_barrier_wait... yes [18:14:56.283] configure: On mingw32 we will use our strtof wrapper. [18:14:56.284] checking for getopt_long... yes [18:14:56.329] checking for _configthreadlocale... yes [18:14:56.375] checking for syslog... no [18:14:56.424] checking for opterr... yes [18:14:56.475] checking for optreset... no [18:14:56.530] checking test program... cross-compiling [18:14:56.530] checking whether long int is 64 bits... no [18:14:56.564] checking whether long long int is 64 bits... yes [18:14:56.603] checking for __builtin_mul_overflow... yes [18:14:56.648] checking size of void *... 8 [18:14:57.215] checking size of size_t... 8 [18:14:57.685] checking size of long... 4 [18:14:58.082] checking alignment of short... 2 [18:14:58.393] checking alignment of int... 4 [18:14:58.773] checking alignment of long... 4 [18:14:59.133] checking alignment of long long int... 8 [18:14:59.558] checking alignment of double... 8 [18:15:00.076] checking for int8... no [18:15:00.121] checking for uint8... no [18:15:00.166] checking for int64... no [18:15:00.212] checking for uint64... no [18:15:00.258] checking for __int128... yes [18:15:00.308] checking for __int128 alignment bug... assuming ok [18:15:00.308] checking alignment of PG_INT128_TYPE... 16 [18:15:00.849] checking for builtin __sync char locking functions... yes [18:15:00.892] checking for builtin __sync int32 locking functions... yes [18:15:00.935] checking for builtin __sync int32 atomic operations... yes [18:15:00.979] checking for builtin __sync int64 atomic operations... yes [18:15:01.021] checking for builtin __atomic int32 atomic operations... yes [18:15:01.066] checking for builtin __atomic int64 atomic operations... yes [18:15:01.110] checking for __get_cpuid... yes [18:15:01.157] checking for __get_cpuid_count... yes [18:15:01.203] checking for __cpuid... no [18:15:01.615] checking for __cpuidex... no [18:15:02.061] checking for _xgetbv with CFLAGS=... no [18:15:02.439] checking for _xgetbv with CFLAGS=-mxsave... yes [18:15:02.846] checking for _mm512_popcnt_epi64 with CFLAGS=... no [18:15:03.237] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [18:15:03.582] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:15:03.631] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:15:03.726] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:15:03.750] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:15:03.769] 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:15:03.829] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:15:03.829] checking which random number source to use... Windows native [18:15:03.831] checking for xmllint... /usr/bin/xmllint [18:15:03.831] checking for xsltproc... /usr/bin/xsltproc [18:15:03.832] checking for fop... /usr/bin/fop [18:15:03.832] checking for dbtoepub... no [18:15:03.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:15:03.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:15:03.833] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:15:03.844] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:15:03.844] 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:15:03.844] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:15:03.844] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:15:03.937] configure: creating ./config.status [18:15:04.020] config.status: creating GNUmakefile [18:15:04.032] config.status: creating src/Makefile.global [18:15:04.048] config.status: creating src/include/pg_config.h [18:15:04.060] config.status: creating src/include/pg_config_ext.h [18:15:04.071] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:15:04.086] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:15:04.092] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:15:04.100] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:15:04.107] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:15:04.115] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:15:04.119] config.status: executing check_win32_symlinks commands [18:15:04.153] [18:15:04.153] real 0m21.741s [18:15:04.153] user 0m14.436s [18:15:04.153] sys 0m6.824s [18:15:04.153] make -s -j${BUILD_JOBS} clean [18:15:04.675] time make -s -j${BUILD_JOBS} world-bin [18:18:26.454] memtrim.c: In function ‘ProcessTrimHeapFreeMemoryInterrupt’: [18:18:26.454] memtrim.c:68:9: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [18:18:26.454] 68 | malloc_trim(0); [18:18:26.454] | ^~~~~~~~~~~ [18:18:26.454] cc1: all warnings being treated as errors [18:18:26.455] make[4]: *** [: memtrim.o] Error 1 [18:18:26.455] make[4]: *** Waiting for unfinished jobs.... [18:18:26.932] make[3]: *** [../../../src/backend/common.mk:37: mmgr-recursive] Error 2 [18:18:26.932] make[3]: *** Waiting for unfinished jobs.... [18:18:28.336] make[2]: *** [common.mk:37: utils-recursive] Error 2 [18:18:28.336] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:18:28.337] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:18:28.337] [18:18:28.337] real 3m23.662s [18:18:28.337] user 11m13.380s [18:18:28.337] sys 2m1.983s [18:18:28.337] [18:18:28.337] Exit status: 2