[21:17:43.239] time ./configure \ [21:17:43.239] --host=x86_64-w64-mingw32 \ [21:17:43.239] --enable-cassert \ [21:17:43.239] --without-icu \ [21:17:43.239] CC="ccache x86_64-w64-mingw32-gcc" \ [21:17:43.239] CXX="ccache x86_64-w64-mingw32-g++" [21:17:43.367] checking build system type... x86_64-pc-linux-gnu [21:17:43.580] checking host system type... x86_64-w64-mingw32 [21:17:43.586] checking which template to use... win32 [21:17:43.586] checking whether NLS is wanted... no [21:17:43.586] checking for default port number... 5432 [21:17:43.593] checking for block size... 8kB [21:17:43.594] checking for segment size... 1GB [21:17:43.596] checking for WAL block size... 8kB [21:17:43.598] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:17:43.634] checking whether the C compiler works... yes [21:17:43.792] checking for C compiler default output file name... a.exe [21:17:43.793] checking for suffix of executables... .exe [21:17:43.838] checking whether we are cross compiling... yes [21:17:43.917] checking for suffix of object files... o [21:17:43.926] checking whether we are using the GNU C compiler... yes [21:17:43.934] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:17:43.941] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:17:43.957] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:17:44.031] checking whether we are using the GNU C++ compiler... yes [21:17:44.039] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:17:44.120] checking for gawk... no [21:17:44.120] checking for mawk... mawk [21:17:44.122] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:17:44.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:17:44.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:17:44.189] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:17:44.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:17:44.371] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:17:44.377] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:17:44.384] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:17:44.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:17:44.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:17:44.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:17:44.415] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:17:44.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:17:44.432] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:17:44.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:17:44.447] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:17:44.456] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:17:44.493] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:17:44.500] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:17:44.507] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:17:44.515] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:17:44.522] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:17:44.529] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:17:44.555] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:17:44.562] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:17:44.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:17:44.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:17:44.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:17:44.658] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:17:44.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:17:44.703] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:17:44.711] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:17:44.719] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:17:44.728] checking whether the C compiler still works... yes [21:17:44.796] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:17:44.873] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:17:44.873] checking pkg-config is at least version 0.9.0... yes [21:17:44.891] checking whether to build with ICU support... no [21:17:44.891] checking whether to build with Tcl... no [21:17:44.891] checking whether to build Perl modules... no [21:17:44.891] checking whether to build Python modules... no [21:17:44.891] checking whether to build with GSSAPI support... no [21:17:44.893] checking whether to build with PAM support... no [21:17:44.893] checking whether to build with BSD Authentication support... no [21:17:44.893] checking whether to build with LDAP support... no [21:17:44.893] checking whether to build with Bonjour support... no [21:17:44.893] checking whether to build with SELinux support... no [21:17:44.893] checking whether to build with systemd support... no [21:17:44.893] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:17:44.893] checking whether to build with XML support... no [21:17:44.894] checking whether to build with LZ4 support... no [21:17:44.894] checking whether to build with ZSTD support... no [21:17:44.894] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:17:44.894] checking whether it is possible to strip libraries... yes [21:17:44.903] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:17:44.903] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:17:44.903] checking for a BSD-compatible install... /usr/bin/install -c [21:17:44.914] checking for tar... /usr/bin/tar [21:17:44.914] checking whether ln -s works... yes [21:17:44.914] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:17:44.916] checking for bison... /usr/bin/bison [21:17:44.919] configure: using bison (GNU Bison) 3.8.2 [21:17:44.922] checking for flex... /usr/bin/flex [21:17:44.936] configure: using flex 2.6.4 [21:17:44.936] checking for perl... /usr/bin/perl [21:17:44.939] configure: using perl 5.36.0 [21:17:44.941] checking for zic... /usr/sbin/zic [21:17:44.941] checking for a sed that does not truncate output... /usr/bin/sed [21:17:44.947] checking for grep that handles long lines and -e... /usr/bin/grep [21:17:44.949] checking for egrep... /usr/bin/grep -E [21:17:44.951] checking for ANSI C header files... yes [21:17:45.001] checking for sys/types.h... yes [21:17:45.019] checking for sys/stat.h... yes [21:17:45.034] checking for stdlib.h... yes [21:17:45.049] checking for string.h... yes [21:17:45.064] checking for memory.h... yes [21:17:45.082] checking for strings.h... yes [21:17:45.099] checking for inttypes.h... yes [21:17:45.118] checking for stdint.h... yes [21:17:45.134] checking for unistd.h... yes [21:17:45.151] checking for main in -lm... yes [21:17:45.206] checking for library containing setproctitle... no [21:17:45.298] checking for library containing dlsym... no [21:17:45.386] checking for library containing socket... -lws2_32 [21:17:45.525] checking for library containing getopt_long... none required [21:17:45.574] checking for library containing shm_open... no [21:17:45.665] checking for library containing shm_unlink... no [21:17:45.758] checking for library containing clock_gettime... no [21:17:45.850] checking for library containing shmget... no [21:17:45.944] checking for library containing backtrace_symbols... no [21:17:46.036] checking for library containing pthread_barrier_wait... -lpthread [21:17:46.135] checking for inflate in -lz... yes [21:17:46.183] checking for stdbool.h that conforms to C99... yes [21:17:46.196] checking for _Bool... yes [21:17:46.275] checking atomic.h usability... no [21:17:46.335] checking atomic.h presence... no [21:17:46.356] checking for atomic.h... no [21:17:46.361] checking copyfile.h usability... no [21:17:46.421] checking copyfile.h presence... no [21:17:46.443] checking for copyfile.h... no [21:17:46.447] checking execinfo.h usability... no [21:17:46.508] checking execinfo.h presence... no [21:17:46.529] checking for execinfo.h... no [21:17:46.532] checking getopt.h usability... yes [21:17:46.540] checking getopt.h presence... yes [21:17:46.556] checking for getopt.h... yes [21:17:46.565] checking ifaddrs.h usability... no [21:17:46.620] checking ifaddrs.h presence... no [21:17:46.639] checking for ifaddrs.h... no [21:17:46.643] checking mbarrier.h usability... no [21:17:46.697] checking mbarrier.h presence... no [21:17:46.717] checking for mbarrier.h... no [21:17:46.722] checking sys/epoll.h usability... no [21:17:46.783] checking sys/epoll.h presence... no [21:17:46.803] checking for sys/epoll.h... no [21:17:46.807] checking sys/event.h usability... no [21:17:46.866] checking sys/event.h presence... no [21:17:46.888] checking for sys/event.h... no [21:17:46.891] checking sys/personality.h usability... no [21:17:46.952] checking sys/personality.h presence... no [21:17:46.974] checking for sys/personality.h... no [21:17:46.977] checking sys/prctl.h usability... no [21:17:47.037] checking sys/prctl.h presence... no [21:17:47.059] checking for sys/prctl.h... no [21:17:47.063] checking sys/procctl.h usability... no [21:17:47.120] checking sys/procctl.h presence... no [21:17:47.140] checking for sys/procctl.h... no [21:17:47.144] checking sys/signalfd.h usability... no [21:17:47.201] checking sys/signalfd.h presence... no [21:17:47.222] checking for sys/signalfd.h... no [21:17:47.225] checking sys/ucred.h usability... no [21:17:47.282] checking sys/ucred.h presence... no [21:17:47.301] checking for sys/ucred.h... no [21:17:47.305] checking termios.h usability... no [21:17:47.364] checking termios.h presence... no [21:17:47.384] checking for termios.h... no [21:17:47.387] checking ucred.h usability... no [21:17:47.445] checking ucred.h presence... no [21:17:47.466] checking for ucred.h... no [21:17:47.470] checking xlocale.h usability... no [21:17:47.526] checking xlocale.h presence... no [21:17:47.546] checking for xlocale.h... no [21:17:47.549] checking zlib.h usability... yes [21:17:47.561] checking zlib.h presence... yes [21:17:47.580] checking for zlib.h... yes [21:17:47.580] checking for lz4... /usr/bin/lz4 [21:17:47.580] checking for zstd... /usr/bin/zstd [21:17:47.581] checking for openssl... /usr/bin/openssl [21:17:47.585] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [21:17:47.585] checking crtdefs.h usability... yes [21:17:47.592] checking crtdefs.h presence... yes [21:17:47.606] checking for crtdefs.h... yes [21:17:47.607] checking whether byte ordering is bigendian... no [21:17:47.677] checking for inline... inline [21:17:47.684] checking for printf format archetype... gnu_printf [21:17:47.692] checking for _Static_assert... yes [21:17:47.733] checking for typeof... typeof [21:17:47.741] checking for __builtin_types_compatible_p... yes [21:17:47.752] checking for __builtin_constant_p... yes [21:17:47.764] checking for __builtin_unreachable... yes [21:17:47.807] checking for computed goto support... yes [21:17:47.815] checking for struct tm.tm_zone... no [21:17:47.893] checking for union semun... no [21:17:47.926] checking for socklen_t... yes [21:17:49.278] checking for struct sockaddr.sa_len... no [21:17:51.619] checking for C/C++ restrict keyword... __restrict [21:17:51.635] checking for struct option... yes [21:17:51.682] checking whether assembler supports x86_64 popcntq... yes [21:17:51.690] checking size of off_t... 4 [21:17:51.906] 0 [21:17:51.906] checking size of bool... 1 [21:17:51.957] checking for int timezone... yes [21:17:52.017] checking for backtrace_symbols... no [21:17:52.075] checking for copyfile... no [21:17:52.130] checking for copy_file_range... no [21:17:52.189] checking for getifaddrs... no [21:17:52.244] checking for getpeerucred... no [21:17:52.300] checking for inet_pton... yes [21:17:52.352] checking for kqueue... no [21:17:52.406] checking for mbstowcs_l... no [21:17:52.463] checking for memset_s... no [21:17:52.520] checking for posix_fallocate... no [21:17:52.574] checking for ppoll... no [21:17:52.628] checking for pthread_is_threaded_np... no [21:17:52.683] checking for setproctitle... no [21:17:52.738] checking for setproctitle_fast... no [21:17:52.793] checking for strchrnul... no [21:17:52.849] checking for strsignal... no [21:17:52.907] checking for syncfs... no [21:17:52.959] checking for sync_file_range... no [21:17:53.015] checking for uselocale... no [21:17:53.072] checking for wcstombs_l... no [21:17:53.125] checking for __builtin_bswap16... yes [21:17:53.177] checking for __builtin_bswap32... yes [21:17:53.229] checking for __builtin_bswap64... yes [21:17:53.284] checking for __builtin_clz... yes [21:17:53.339] checking for __builtin_ctz... yes [21:17:53.390] checking for __builtin_popcount... yes [21:17:53.440] checking for __builtin_frame_address... yes [21:17:53.490] checking for _LARGEFILE_SOURCE value needed for large files... no [21:17:53.547] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:17:53.581] checking for posix_fadvise... no [21:17:53.638] checking whether posix_fadvise is declared... no [21:17:53.691] checking whether fdatasync is declared... no [21:17:53.743] checking whether strlcat is declared... no [21:17:53.816] checking whether strlcpy is declared... no [21:17:53.892] checking whether strnlen is declared... yes [21:17:53.908] checking whether strsep is declared... no [21:17:53.975] checking whether preadv is declared... no [21:17:54.015] checking whether pwritev is declared... no [21:17:54.054] checking whether F_FULLFSYNC is declared... no [21:17:54.097] checking for explicit_bzero... no [21:17:54.148] checking for getopt... yes [21:17:54.194] checking for getpeereid... no [21:17:54.242] checking for inet_aton... no [21:17:54.291] checking for mkdtemp... no [21:17:54.340] checking for strlcat... no [21:17:54.389] checking for strlcpy... no [21:17:54.438] checking for strnlen... yes [21:17:54.486] checking for strsep... no [21:17:54.535] checking for pthread_barrier_wait... yes [21:17:54.580] configure: On mingw32 we will use our strtof wrapper. [21:17:54.580] checking for getopt_long... yes [21:17:54.627] checking for _configthreadlocale... yes [21:17:54.674] checking for syslog... no [21:17:54.724] checking for opterr... yes [21:17:54.773] checking for optreset... no [21:17:54.824] checking test program... cross-compiling [21:17:54.824] checking whether long int is 64 bits... no [21:17:54.858] checking whether long long int is 64 bits... yes [21:17:54.868] checking for __builtin_mul_overflow... yes [21:17:54.916] checking size of void *... 8 [21:17:55.206] checking size of size_t... 8 [21:17:55.501] checking size of long... 4 [21:17:55.722] checking alignment of short... 2 [21:17:55.868] checking alignment of int... 4 [21:17:56.084] checking alignment of long... 4 [21:17:56.300] checking alignment of long long int... 8 [21:17:56.604] checking alignment of double... 8 [21:17:56.890] checking for __int128... yes [21:17:56.942] checking for __int128 alignment bug... assuming ok [21:17:56.942] checking alignment of PG_INT128_TYPE... 16 [21:17:57.295] checking for builtin __sync char locking functions... yes [21:17:57.341] checking for builtin __sync int32 locking functions... yes [21:17:57.386] checking for builtin __sync int32 atomic operations... yes [21:17:57.431] checking for builtin __sync int64 atomic operations... yes [21:17:57.480] checking for builtin __atomic int32 atomic operations... yes [21:17:57.525] checking for builtin __atomic int64 atomic operations... yes [21:17:57.571] checking for __get_cpuid... yes [21:17:57.621] checking for __get_cpuid_count... yes [21:17:57.666] checking for __cpuid... no [21:17:58.067] checking for __cpuidex... no [21:17:58.491] checking for _xgetbv with CFLAGS=... no [21:17:58.876] checking for _xgetbv with CFLAGS=-mxsave... yes [21:17:59.276] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:17:59.657] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:17:59.995] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:18:00.041] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:18:00.132] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:18:00.157] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:18:00.178] 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 [21:18:00.237] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:18:00.237] checking which random number source to use... Windows native [21:18:00.239] checking for xmllint... /usr/bin/xmllint [21:18:00.239] checking for xsltproc... /usr/bin/xsltproc [21:18:00.240] checking for fop... /usr/bin/fop [21:18:00.240] checking for dbtoepub... no [21:18:00.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:18:00.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:18:00.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:18:00.253] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:18:00.253] 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 [21:18:00.253] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:18:00.253] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:18:00.347] configure: creating ./config.status [21:18:00.438] config.status: creating GNUmakefile [21:18:00.452] config.status: creating src/Makefile.global [21:18:00.470] config.status: creating src/include/pg_config.h [21:18:00.485] config.status: creating src/include/pg_config_ext.h [21:18:00.499] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:18:00.516] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:18:00.524] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:18:00.531] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:18:00.539] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:18:00.546] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:18:00.550] config.status: executing check_win32_symlinks commands [21:18:00.585] [21:18:00.585] real 0m17.346s [21:18:00.585] user 0m11.391s [21:18:00.585] sys 0m5.532s [21:18:00.585] make -s -j${BUILD_JOBS} clean [21:18:01.115] time make -s -j${BUILD_JOBS} world-bin [21:18:06.970] postgres.c: In function ‘finish_xact_command’: [21:18:06.970] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [21:18:06.970] 2826 | char *old_brk = sbrk(0); [21:18:06.970] | ^~~~ [21:18:06.970] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [21:18:06.970] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [21:18:06.970] 2829 | malloc_trim(0); [21:18:06.970] | ^~~~~~~~~~~ [21:18:06.970] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [21:18:06.970] 2830 | new_brk = sbrk(0); [21:18:06.970] | ^ [21:18:06.970] cc1: all warnings being treated as errors [21:18:06.972] make[3]: *** [: postgres.o] Error 1 [21:18:06.972] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [21:18:06.973] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:18:06.973] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:18:06.973] [21:18:06.973] real 0m5.858s [21:18:06.973] user 0m9.703s [21:18:06.973] sys 0m6.929s [21:18:06.973] [21:18:06.973] Exit status: 2