[20:55:01.945] time ./configure \ [20:55:01.945] --host=x86_64-w64-mingw32 \ [20:55:01.945] --enable-cassert \ [20:55:01.945] --without-icu \ [20:55:01.945] CC="ccache x86_64-w64-mingw32-gcc" \ [20:55:01.945] CXX="ccache x86_64-w64-mingw32-g++" [20:55:02.067] checking build system type... x86_64-pc-linux-gnu [20:55:02.258] checking host system type... x86_64-w64-mingw32 [20:55:02.264] checking which template to use... win32 [20:55:02.264] checking whether NLS is wanted... no [20:55:02.264] checking for default port number... 5432 [20:55:02.271] checking for block size... 8kB [20:55:02.272] checking for segment size... 1GB [20:55:02.275] checking for WAL block size... 8kB [20:55:02.276] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:55:02.310] checking whether the C compiler works... yes [20:55:02.464] checking for C compiler default output file name... a.exe [20:55:02.465] checking for suffix of executables... .exe [20:55:02.504] checking whether we are cross compiling... yes [20:55:02.581] checking for suffix of object files... o [20:55:02.588] checking whether we are using the GNU C compiler... yes [20:55:02.595] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:55:02.601] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:55:02.611] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:55:02.669] checking whether we are using the GNU C++ compiler... yes [20:55:02.676] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:55:02.740] checking for gawk... no [20:55:02.740] checking for mawk... mawk [20:55:02.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:55:02.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:55:02.755] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:55:02.798] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:55:02.966] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:55:02.972] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:55:02.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:55:02.984] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:55:02.991] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:55:02.997] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:55:03.004] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:55:03.010] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:55:03.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:55:03.022] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:55:03.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:55:03.035] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:55:03.042] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:55:03.077] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:55:03.084] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:55:03.090] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:55:03.096] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:55:03.103] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:55:03.109] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:55:03.132] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:55:03.139] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:55:03.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:55:03.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:55:03.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:55:03.227] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:55:03.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:55:03.268] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:55:03.275] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:55:03.281] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:55:03.289] checking whether the C compiler still works... yes [20:55:03.354] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:55:03.429] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:55:03.429] checking pkg-config is at least version 0.9.0... yes [20:55:03.446] checking whether to build with ICU support... no [20:55:03.446] checking whether to build with Tcl... no [20:55:03.446] checking whether to build Perl modules... no [20:55:03.446] checking whether to build Python modules... no [20:55:03.446] checking whether to build with GSSAPI support... no [20:55:03.447] checking whether to build with PAM support... no [20:55:03.447] checking whether to build with BSD Authentication support... no [20:55:03.448] checking whether to build with LDAP support... no [20:55:03.448] checking whether to build with Bonjour support... no [20:55:03.448] checking whether to build with SELinux support... no [20:55:03.448] checking whether to build with systemd support... no [20:55:03.448] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:55:03.448] checking whether to build with XML support... no [20:55:03.448] checking whether to build with LZ4 support... no [20:55:03.448] checking whether to build with ZSTD support... no [20:55:03.449] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:55:03.449] checking whether it is possible to strip libraries... yes [20:55:03.457] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:55:03.457] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:55:03.458] checking for a BSD-compatible install... /usr/bin/install -c [20:55:03.467] checking for tar... /usr/bin/tar [20:55:03.467] checking whether ln -s works... yes [20:55:03.467] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:55:03.469] checking for bison... /usr/bin/bison [20:55:03.472] configure: using bison (GNU Bison) 3.8.2 [20:55:03.474] checking for flex... /usr/bin/flex [20:55:03.487] configure: using flex 2.6.4 [20:55:03.487] checking for perl... /usr/bin/perl [20:55:03.490] configure: using perl 5.36.0 [20:55:03.492] checking for zic... /usr/sbin/zic [20:55:03.492] checking for a sed that does not truncate output... /usr/bin/sed [20:55:03.497] checking for grep that handles long lines and -e... /usr/bin/grep [20:55:03.499] checking for egrep... /usr/bin/grep -E [20:55:03.500] checking for ANSI C header files... yes [20:55:03.546] checking for sys/types.h... yes [20:55:03.564] checking for sys/stat.h... yes [20:55:03.579] checking for stdlib.h... yes [20:55:03.594] checking for string.h... yes [20:55:03.608] checking for memory.h... yes [20:55:03.623] checking for strings.h... yes [20:55:03.638] checking for inttypes.h... yes [20:55:03.655] checking for stdint.h... yes [20:55:03.669] checking for unistd.h... yes [20:55:03.684] checking for main in -lm... yes [20:55:03.732] checking for library containing setproctitle... no [20:55:03.820] checking for library containing dlsym... no [20:55:03.910] checking for library containing socket... -lws2_32 [20:55:04.046] checking for library containing getopt_long... none required [20:55:04.093] checking for library containing shm_open... no [20:55:04.182] checking for library containing shm_unlink... no [20:55:04.273] checking for library containing clock_gettime... no [20:55:04.365] checking for library containing shmget... no [20:55:04.448] checking for library containing backtrace_symbols... no [20:55:04.529] checking for library containing pthread_barrier_wait... -lpthread [20:55:04.612] checking for inflate in -lz... yes [20:55:04.654] checking for stdbool.h that conforms to C99... yes [20:55:04.666] checking for _Bool... yes [20:55:04.734] checking atomic.h usability... no [20:55:04.785] checking atomic.h presence... no [20:55:04.803] checking for atomic.h... no [20:55:04.806] checking copyfile.h usability... no [20:55:04.857] checking copyfile.h presence... no [20:55:04.876] checking for copyfile.h... no [20:55:04.879] checking execinfo.h usability... no [20:55:04.933] checking execinfo.h presence... no [20:55:04.951] checking for execinfo.h... no [20:55:04.954] checking getopt.h usability... yes [20:55:04.962] checking getopt.h presence... yes [20:55:04.976] checking for getopt.h... yes [20:55:04.983] checking ifaddrs.h usability... no [20:55:05.035] checking ifaddrs.h presence... no [20:55:05.053] checking for ifaddrs.h... no [20:55:05.057] checking mbarrier.h usability... no [20:55:05.109] checking mbarrier.h presence... no [20:55:05.128] checking for mbarrier.h... no [20:55:05.132] checking sys/epoll.h usability... no [20:55:05.184] checking sys/epoll.h presence... no [20:55:05.202] checking for sys/epoll.h... no [20:55:05.206] checking sys/event.h usability... no [20:55:05.264] checking sys/event.h presence... no [20:55:05.284] checking for sys/event.h... no [20:55:05.288] checking sys/personality.h usability... no [20:55:05.346] checking sys/personality.h presence... no [20:55:05.367] checking for sys/personality.h... no [20:55:05.371] checking sys/prctl.h usability... no [20:55:05.427] checking sys/prctl.h presence... no [20:55:05.446] checking for sys/prctl.h... no [20:55:05.450] checking sys/procctl.h usability... no [20:55:05.510] checking sys/procctl.h presence... no [20:55:05.531] checking for sys/procctl.h... no [20:55:05.534] checking sys/signalfd.h usability... no [20:55:05.592] checking sys/signalfd.h presence... no [20:55:05.610] checking for sys/signalfd.h... no [20:55:05.613] checking sys/ucred.h usability... no [20:55:05.665] checking sys/ucred.h presence... no [20:55:05.683] checking for sys/ucred.h... no [20:55:05.687] checking termios.h usability... no [20:55:05.740] checking termios.h presence... no [20:55:05.760] checking for termios.h... no [20:55:05.763] checking ucred.h usability... no [20:55:05.819] checking ucred.h presence... no [20:55:05.840] checking for ucred.h... no [20:55:05.844] checking xlocale.h usability... no [20:55:05.900] checking xlocale.h presence... no [20:55:05.919] checking for xlocale.h... no [20:55:05.922] checking zlib.h usability... yes [20:55:05.931] checking zlib.h presence... yes [20:55:05.951] checking for zlib.h... yes [20:55:05.952] checking for lz4... /usr/bin/lz4 [20:55:05.952] checking for zstd... /usr/bin/zstd [20:55:05.952] checking for openssl... /usr/bin/openssl [20:55:05.957] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [20:55:05.957] checking crtdefs.h usability... yes [20:55:05.965] checking crtdefs.h presence... yes [20:55:05.980] checking for crtdefs.h... yes [20:55:05.981] checking whether byte ordering is bigendian... no [20:55:06.055] checking for inline... inline [20:55:06.062] checking for printf format archetype... gnu_printf [20:55:06.070] checking for _Static_assert... yes [20:55:06.112] checking for typeof... typeof [20:55:06.119] checking for __builtin_types_compatible_p... yes [20:55:06.130] checking for __builtin_constant_p... yes [20:55:06.140] checking for __builtin_unreachable... yes [20:55:06.181] checking for computed goto support... yes [20:55:06.189] checking for struct tm.tm_zone... no [20:55:06.268] checking for union semun... no [20:55:06.302] checking for socklen_t... yes [20:55:07.478] checking for struct sockaddr.sa_len... no [20:55:09.453] checking for C/C++ restrict keyword... __restrict [20:55:09.466] checking for struct option... yes [20:55:09.510] checking whether assembler supports x86_64 popcntq... yes [20:55:09.518] checking size of off_t... 4 [20:55:09.723] 0 [20:55:09.723] checking size of bool... 1 [20:55:09.772] checking for int timezone... yes [20:55:09.830] checking for backtrace_symbols... no [20:55:09.884] checking for copyfile... no [20:55:09.937] checking for copy_file_range... no [20:55:09.990] checking for getifaddrs... no [20:55:10.042] checking for getpeerucred... no [20:55:10.093] checking for inet_pton... yes [20:55:10.144] checking for kqueue... no [20:55:10.194] checking for mbstowcs_l... no [20:55:10.247] checking for memset_s... no [20:55:10.298] checking for posix_fallocate... no [20:55:10.349] checking for ppoll... no [20:55:10.401] checking for pthread_is_threaded_np... no [20:55:10.452] checking for setproctitle... no [20:55:10.504] checking for setproctitle_fast... no [20:55:10.555] checking for strchrnul... no [20:55:10.606] checking for strsignal... no [20:55:10.657] checking for syncfs... no [20:55:10.707] checking for sync_file_range... no [20:55:10.756] checking for uselocale... no [20:55:10.807] checking for wcstombs_l... no [20:55:10.853] checking for __builtin_bswap16... yes [20:55:10.900] checking for __builtin_bswap32... yes [20:55:10.945] checking for __builtin_bswap64... yes [20:55:10.991] checking for __builtin_clz... yes [20:55:11.037] checking for __builtin_ctz... yes [20:55:11.082] checking for __builtin_popcount... yes [20:55:11.128] checking for __builtin_frame_address... yes [20:55:11.173] checking for _LARGEFILE_SOURCE value needed for large files... no [20:55:11.226] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:55:11.255] checking for posix_fadvise... no [20:55:11.304] checking whether posix_fadvise is declared... no [20:55:11.345] checking whether fdatasync is declared... no [20:55:11.390] checking whether strlcat is declared... no [20:55:11.455] checking whether strlcpy is declared... no [20:55:11.522] checking whether strnlen is declared... yes [20:55:11.537] checking whether strsep is declared... no [20:55:11.607] checking whether preadv is declared... no [20:55:11.648] checking whether pwritev is declared... no [20:55:11.688] checking whether F_FULLFSYNC is declared... no [20:55:11.732] checking for explicit_bzero... no [20:55:11.783] checking for getopt... yes [20:55:11.829] checking for getpeereid... no [20:55:11.879] checking for inet_aton... no [20:55:11.928] checking for mkdtemp... no [20:55:11.977] checking for strlcat... no [20:55:12.025] checking for strlcpy... no [20:55:12.073] checking for strnlen... yes [20:55:12.122] checking for strsep... no [20:55:12.172] checking for pthread_barrier_wait... yes [20:55:12.216] configure: On mingw32 we will use our strtof wrapper. [20:55:12.216] checking for getopt_long... yes [20:55:12.261] checking for _configthreadlocale... yes [20:55:12.307] checking for syslog... no [20:55:12.356] checking for opterr... yes [20:55:12.405] checking for optreset... no [20:55:12.460] checking test program... cross-compiling [20:55:12.460] checking whether long int is 64 bits... no [20:55:12.494] checking whether long long int is 64 bits... yes [20:55:12.504] checking for __builtin_mul_overflow... yes [20:55:12.548] checking size of void *... 8 [20:55:12.830] checking size of size_t... 8 [20:55:13.104] checking size of long... 4 [20:55:13.311] checking alignment of short... 2 [20:55:13.454] checking alignment of int... 4 [20:55:13.674] checking alignment of long... 4 [20:55:13.887] checking alignment of long long int... 8 [20:55:14.167] checking alignment of double... 8 [20:55:14.440] checking for __int128... yes [20:55:14.488] checking for __int128 alignment bug... assuming ok [20:55:14.488] checking alignment of PG_INT128_TYPE... 16 [20:55:14.816] checking for builtin __sync char locking functions... yes [20:55:14.857] checking for builtin __sync int32 locking functions... yes [20:55:14.901] checking for builtin __sync int32 atomic operations... yes [20:55:14.945] checking for builtin __sync int64 atomic operations... yes [20:55:14.989] checking for builtin __atomic int32 atomic operations... yes [20:55:15.031] checking for builtin __atomic int64 atomic operations... yes [20:55:15.074] checking for __get_cpuid... yes [20:55:15.121] checking for __get_cpuid_count... yes [20:55:15.167] checking for __cpuid... no [20:55:15.584] checking for __cpuidex... no [20:55:16.021] checking for _xgetbv with CFLAGS=... no [20:55:16.399] checking for _xgetbv with CFLAGS=-mxsave... yes [20:55:16.793] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:55:17.179] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:55:17.515] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:55:17.562] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:55:17.648] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:55:17.670] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:55:17.688] 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 [20:55:17.742] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:55:17.742] checking which random number source to use... Windows native [20:55:17.744] checking for xmllint... /usr/bin/xmllint [20:55:17.744] checking for xsltproc... /usr/bin/xsltproc [20:55:17.744] checking for fop... /usr/bin/fop [20:55:17.745] checking for dbtoepub... no [20:55:17.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:55:17.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:55:17.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:55:17.755] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:55:17.755] 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 [20:55:17.755] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:55:17.755] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:55:17.846] configure: creating ./config.status [20:55:17.936] config.status: creating GNUmakefile [20:55:17.949] config.status: creating src/Makefile.global [20:55:17.965] config.status: creating src/include/pg_config.h [20:55:17.978] config.status: creating src/include/pg_config_ext.h [20:55:17.990] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:55:18.006] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:55:18.014] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:55:18.021] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:55:18.030] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:55:18.038] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:55:18.042] config.status: executing check_win32_symlinks commands [20:55:18.077] [20:55:18.077] real 0m16.132s [20:55:18.077] user 0m10.723s [20:55:18.077] sys 0m5.057s [20:55:18.077] make -s -j${BUILD_JOBS} clean [20:55:18.608] time make -s -j${BUILD_JOBS} world-bin [20:55:24.278] postgres.c: In function ‘finish_xact_command’: [20:55:24.278] postgres.c:2825:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [20:55:24.278] 2825 | char *old_brk = sbrk(0); [20:55:24.278] | ^~~~ [20:55:24.278] postgres.c:2825:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:55:24.278] postgres.c:2828:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [20:55:24.278] 2828 | malloc_trim(0); [20:55:24.278] | ^~~~~~~~~~~ [20:55:24.278] postgres.c:2829:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:55:24.278] 2829 | new_brk = sbrk(0); [20:55:24.278] | ^ [20:55:24.278] cc1: all warnings being treated as errors [20:55:24.280] make[3]: *** [: postgres.o] Error 1 [20:55:24.280] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [20:55:24.281] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:55:24.281] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:55:24.281] [20:55:24.281] real 0m5.673s [20:55:24.281] user 0m9.674s [20:55:24.281] sys 0m6.716s [20:55:24.282] [20:55:24.282] Exit status: 2