[16:17:55.209] time ./configure \ [16:17:55.209] --host=x86_64-w64-mingw32 \ [16:17:55.209] --enable-cassert \ [16:17:55.209] --without-icu \ [16:17:55.209] CC="ccache x86_64-w64-mingw32-gcc" \ [16:17:55.209] CXX="ccache x86_64-w64-mingw32-g++" [16:17:55.326] checking build system type... x86_64-pc-linux-gnu [16:17:55.519] checking host system type... x86_64-w64-mingw32 [16:17:55.525] checking which template to use... win32 [16:17:55.525] checking whether NLS is wanted... no [16:17:55.525] checking for default port number... 5432 [16:17:55.533] checking for block size... 8kB [16:17:55.534] checking for segment size... 1GB [16:17:55.537] checking for WAL block size... 8kB [16:17:55.538] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:17:55.575] checking whether the C compiler works... yes [16:17:55.723] checking for C compiler default output file name... a.exe [16:17:55.724] checking for suffix of executables... .exe [16:17:55.773] checking whether we are cross compiling... yes [16:17:55.852] checking for suffix of object files... o [16:17:55.861] checking whether we are using the GNU C compiler... yes [16:17:55.869] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:17:55.876] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:17:55.886] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:17:55.948] checking whether we are using the GNU C++ compiler... yes [16:17:55.955] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:17:56.028] checking for gawk... no [16:17:56.028] checking for mawk... mawk [16:17:56.032] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:17:56.039] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:17:56.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:17:56.095] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:17:56.261] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:17:56.269] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:17:56.276] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:17:56.283] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:17:56.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:17:56.297] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:17:56.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:17:56.312] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:17:56.318] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:17:56.326] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:17:56.332] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:17:56.346] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:17:56.353] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:17:56.391] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:17:56.398] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:17:56.406] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:17:56.414] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:17:56.421] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:17:56.428] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:17:56.452] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:17:56.459] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:17:56.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:17:56.506] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:17:56.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:17:56.554] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:17:56.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:17:56.601] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:17:56.609] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:17:56.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:17:56.625] checking whether the C compiler still works... yes [16:17:56.691] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:17:56.764] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:17:56.765] checking pkg-config is at least version 0.9.0... yes [16:17:56.783] checking whether to build with ICU support... no [16:17:56.783] checking whether to build with Tcl... no [16:17:56.783] checking whether to build Perl modules... no [16:17:56.783] checking whether to build Python modules... no [16:17:56.783] checking whether to build with GSSAPI support... no [16:17:56.785] checking whether to build with PAM support... no [16:17:56.785] checking whether to build with BSD Authentication support... no [16:17:56.785] checking whether to build with LDAP support... no [16:17:56.785] checking whether to build with Bonjour support... no [16:17:56.785] checking whether to build with SELinux support... no [16:17:56.785] checking whether to build with systemd support... no [16:17:56.785] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:17:56.785] checking whether to build with XML support... no [16:17:56.786] checking whether to build with LZ4 support... no [16:17:56.786] checking whether to build with ZSTD support... no [16:17:56.786] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:17:56.786] checking whether it is possible to strip libraries... yes [16:17:56.793] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:17:56.794] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:17:56.794] checking for a BSD-compatible install... /usr/bin/install -c [16:17:56.803] checking for tar... /usr/bin/tar [16:17:56.803] checking whether ln -s works... yes [16:17:56.803] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:17:56.805] checking for bison... /usr/bin/bison [16:17:56.808] configure: using bison (GNU Bison) 3.8.2 [16:17:56.811] checking for flex... /usr/bin/flex [16:17:56.824] configure: using flex 2.6.4 [16:17:56.824] checking for perl... /usr/bin/perl [16:17:56.827] configure: using perl 5.36.0 [16:17:56.829] checking for zic... /usr/sbin/zic [16:17:56.829] checking for a sed that does not truncate output... /usr/bin/sed [16:17:56.834] checking for grep that handles long lines and -e... /usr/bin/grep [16:17:56.837] checking for egrep... /usr/bin/grep -E [16:17:56.838] checking for ANSI C header files... yes [16:17:56.887] checking for sys/types.h... yes [16:17:56.904] checking for sys/stat.h... yes [16:17:56.920] checking for stdlib.h... yes [16:17:56.936] checking for string.h... yes [16:17:56.951] checking for memory.h... yes [16:17:56.967] checking for strings.h... yes [16:17:56.983] checking for inttypes.h... yes [16:17:57.000] checking for stdint.h... yes [16:17:57.016] checking for unistd.h... yes [16:17:57.032] checking for main in -lm... yes [16:17:57.083] checking for library containing setproctitle... no [16:17:57.179] checking for library containing dlsym... no [16:17:57.268] checking for library containing socket... -lws2_32 [16:17:57.403] checking for library containing getopt_long... none required [16:17:57.449] checking for library containing shm_open... no [16:17:57.537] checking for library containing shm_unlink... no [16:17:57.625] checking for library containing clock_gettime... no [16:17:57.717] checking for library containing shmget... no [16:17:57.808] checking for library containing backtrace_symbols... no [16:17:57.898] checking for library containing pthread_barrier_wait... -lpthread [16:17:57.987] checking for inflate in -lz... yes [16:17:58.038] checking atomic.h usability... no [16:17:58.105] checking atomic.h presence... no [16:17:58.125] checking for atomic.h... no [16:17:58.129] checking copyfile.h usability... no [16:17:58.185] checking copyfile.h presence... no [16:17:58.204] checking for copyfile.h... no [16:17:58.208] checking execinfo.h usability... no [16:17:58.268] checking execinfo.h presence... no [16:17:58.289] checking for execinfo.h... no [16:17:58.292] checking getopt.h usability... yes [16:17:58.300] checking getopt.h presence... yes [16:17:58.317] checking for getopt.h... yes [16:17:58.324] checking ifaddrs.h usability... no [16:17:58.385] checking ifaddrs.h presence... no [16:17:58.405] checking for ifaddrs.h... no [16:17:58.408] checking mbarrier.h usability... no [16:17:58.466] checking mbarrier.h presence... no [16:17:58.486] checking for mbarrier.h... no [16:17:58.490] checking sys/epoll.h usability... no [16:17:58.550] checking sys/epoll.h presence... no [16:17:58.570] checking for sys/epoll.h... no [16:17:58.574] checking sys/event.h usability... no [16:17:58.633] checking sys/event.h presence... no [16:17:58.655] checking for sys/event.h... no [16:17:58.659] checking sys/personality.h usability... no [16:17:58.718] checking sys/personality.h presence... no [16:17:58.737] checking for sys/personality.h... no [16:17:58.740] checking sys/prctl.h usability... no [16:17:58.794] checking sys/prctl.h presence... no [16:17:58.811] checking for sys/prctl.h... no [16:17:58.814] checking sys/procctl.h usability... no [16:17:58.872] checking sys/procctl.h presence... no [16:17:58.892] checking for sys/procctl.h... no [16:17:58.895] checking sys/signalfd.h usability... no [16:17:58.953] checking sys/signalfd.h presence... no [16:17:58.972] checking for sys/signalfd.h... no [16:17:58.975] checking sys/ucred.h usability... no [16:17:59.034] checking sys/ucred.h presence... no [16:17:59.054] checking for sys/ucred.h... no [16:17:59.057] checking termios.h usability... no [16:17:59.117] checking termios.h presence... no [16:17:59.137] checking for termios.h... no [16:17:59.141] checking ucred.h usability... no [16:17:59.199] checking ucred.h presence... no [16:17:59.217] checking for ucred.h... no [16:17:59.220] checking xlocale.h usability... no [16:17:59.278] checking xlocale.h presence... no [16:17:59.298] checking for xlocale.h... no [16:17:59.301] checking zlib.h usability... yes [16:17:59.311] checking zlib.h presence... yes [16:17:59.332] checking for zlib.h... yes [16:17:59.332] checking for lz4... /usr/bin/lz4 [16:17:59.332] checking for zstd... /usr/bin/zstd [16:17:59.333] checking for openssl... /usr/bin/openssl [16:17:59.337] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:17:59.337] checking crtdefs.h usability... yes [16:17:59.346] checking crtdefs.h presence... yes [16:17:59.363] checking for crtdefs.h... yes [16:17:59.364] checking whether byte ordering is bigendian... no [16:17:59.444] checking for inline... inline [16:17:59.452] checking for printf format archetype... gnu_printf [16:17:59.461] checking for _Static_assert... yes [16:17:59.520] checking for typeof... typeof [16:17:59.529] checking for __builtin_types_compatible_p... yes [16:17:59.542] checking for __builtin_constant_p... yes [16:17:59.556] checking for __builtin_mul_overflow... yes [16:17:59.617] checking for __builtin_unreachable... yes [16:17:59.663] checking for computed goto support... yes [16:17:59.670] checking for struct tm.tm_zone... no [16:17:59.749] checking for union semun... no [16:17:59.783] checking for socklen_t... yes [16:18:01.016] checking for struct sockaddr.sa_len... no [16:18:03.116] checking for C/C++ restrict keyword... __restrict [16:18:03.130] checking for struct option... yes [16:18:03.174] checking whether assembler supports x86_64 popcntq... yes [16:18:03.181] checking size of off_t... 4 [16:18:03.390] 0 [16:18:03.391] checking for int timezone... yes [16:18:03.445] checking for backtrace_symbols... no [16:18:03.500] checking for copyfile... no [16:18:03.565] checking for copy_file_range... no [16:18:03.615] checking for elf_aux_info... no [16:18:03.670] checking for getauxval... no [16:18:03.729] checking for getifaddrs... no [16:18:03.785] checking for getpeerucred... no [16:18:03.838] checking for inet_pton... yes [16:18:03.892] checking for kqueue... no [16:18:03.943] checking for mbstowcs_l... no [16:18:03.995] checking for memset_s... no [16:18:04.047] checking for posix_fallocate... no [16:18:04.097] checking for ppoll... no [16:18:04.148] checking for pthread_is_threaded_np... no [16:18:04.201] checking for setproctitle... no [16:18:04.253] checking for setproctitle_fast... no [16:18:04.307] checking for strchrnul... no [16:18:04.359] checking for strsignal... no [16:18:04.411] checking for syncfs... no [16:18:04.465] checking for sync_file_range... no [16:18:04.519] checking for uselocale... no [16:18:04.575] checking for wcstombs_l... no [16:18:04.626] checking for __builtin_bswap16... yes [16:18:04.677] checking for __builtin_bswap32... yes [16:18:04.727] checking for __builtin_bswap64... yes [16:18:04.775] checking for __builtin_clz... yes [16:18:04.824] checking for __builtin_ctz... yes [16:18:04.875] checking for __builtin_popcount... yes [16:18:04.926] checking for __builtin_frame_address... yes [16:18:04.979] checking for _LARGEFILE_SOURCE value needed for large files... no [16:18:05.036] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:18:05.069] checking for posix_fadvise... no [16:18:05.123] checking whether posix_fadvise is declared... no [16:18:05.169] checking whether fdatasync is declared... no [16:18:05.218] checking whether strlcat is declared... no [16:18:05.285] checking whether strlcpy is declared... no [16:18:05.349] checking whether strnlen is declared... yes [16:18:05.363] checking whether strsep is declared... no [16:18:05.431] checking whether preadv is declared... no [16:18:05.473] checking whether pwritev is declared... no [16:18:05.512] checking whether F_FULLFSYNC is declared... no [16:18:05.557] checking for explicit_bzero... no [16:18:05.612] checking for getopt... yes [16:18:05.661] checking for getpeereid... no [16:18:05.710] checking for inet_aton... no [16:18:05.757] checking for mkdtemp... no [16:18:05.805] checking for strlcat... no [16:18:05.852] checking for strlcpy... no [16:18:05.905] checking for strnlen... yes [16:18:05.957] checking for strsep... no [16:18:06.008] checking for pthread_barrier_wait... yes [16:18:06.055] configure: On mingw32 we will use our strtof wrapper. [16:18:06.055] checking for getopt_long... yes [16:18:06.103] checking for syslog... no [16:18:06.154] checking for opterr... yes [16:18:06.205] checking for optreset... no [16:18:06.258] checking test program... cross-compiling [16:18:06.258] checking size of void *... 8 [16:18:06.551] checking size of size_t... 8 [16:18:06.866] checking size of long... 4 [16:18:07.080] checking size of long long... 8 [16:18:07.365] checking alignment of short... 2 [16:18:07.511] checking alignment of int... 4 [16:18:07.725] checking alignment of long... 4 [16:18:07.935] checking alignment of int64_t... 8 [16:18:08.218] checking alignment of double... 8 [16:18:08.503] checking for __int128... yes [16:18:08.558] checking for __int128 alignment bug... assuming ok [16:18:08.558] checking alignment of PG_INT128_TYPE... 16 [16:18:08.913] checking for builtin __sync char locking functions... yes [16:18:08.956] checking for builtin __sync int32 locking functions... yes [16:18:08.999] checking for builtin __sync int32 atomic operations... yes [16:18:09.042] checking for builtin __sync int64 atomic operations... yes [16:18:09.085] checking for builtin __atomic int32 atomic operations... yes [16:18:09.130] checking for builtin __atomic int64 atomic operations... yes [16:18:09.178] checking for __get_cpuid... yes [16:18:09.230] checking for __get_cpuid_count... yes [16:18:09.276] checking for __cpuid... no [16:18:09.685] checking for __cpuidex... no [16:18:10.114] checking for _xgetbv... yes [16:18:10.514] checking for _mm512_popcnt_epi64... yes [16:18:10.933] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:18:11.038] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:18:11.062] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:18:11.083] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:18:11.104] 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:18:11.164] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:18:11.165] checking which random number source to use... Windows native [16:18:11.167] checking for xmllint... /usr/bin/xmllint [16:18:11.167] checking for xsltproc... /usr/bin/xsltproc [16:18:11.167] checking for fop... /usr/bin/fop [16:18:11.167] checking for dbtoepub... no [16:18:11.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:18:11.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:18:11.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:18:11.179] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:18:11.179] 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:18:11.179] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:18:11.179] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:18:11.269] configure: creating ./config.status [16:18:11.369] config.status: creating GNUmakefile [16:18:11.383] config.status: creating src/Makefile.global [16:18:11.404] config.status: creating src/include/pg_config.h [16:18:11.418] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:18:11.436] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:18:11.445] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:18:11.455] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:18:11.463] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:18:11.472] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:18:11.476] config.status: executing check_win32_symlinks commands [16:18:11.516] [16:18:11.516] real 0m16.307s [16:18:11.516] user 0m10.955s [16:18:11.516] sys 0m5.015s [16:18:11.516] make -s -j${BUILD_JOBS} clean [16:18:12.067] time make -s -j${BUILD_JOBS} world-bin [16:19:04.196] postgres.c: In function ‘finish_xact_command’: [16:19:04.196] postgres.c:2822:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [16:19:04.196] 2822 | char *old_brk = sbrk(0); [16:19:04.196] | ^~~~ [16:19:04.196] postgres.c:2822:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:19:04.196] postgres.c:2825:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [16:19:04.196] 2825 | malloc_trim(0); [16:19:04.196] | ^~~~~~~~~~~ [16:19:04.196] postgres.c:2826:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:19:04.196] 2826 | new_brk = sbrk(0); [16:19:04.196] | ^ [16:19:04.196] cc1: all warnings being treated as errors [16:19:04.197] make[3]: *** [: postgres.o] Error 1 [16:19:04.197] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [16:19:04.197] make[2]: *** Waiting for unfinished jobs.... [16:19:06.034] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:19:06.035] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:19:06.035] [16:19:06.035] real 0m53.968s [16:19:06.035] user 2m48.509s [16:19:06.035] sys 0m37.104s [16:19:06.035] [16:19:06.035] Exit status: 2