[18:17:09.674] time ./configure \ [18:17:09.674] --host=x86_64-w64-mingw32 \ [18:17:09.674] --enable-cassert \ [18:17:09.674] --without-icu \ [18:17:09.674] CC="ccache x86_64-w64-mingw32-gcc" \ [18:17:09.674] CXX="ccache x86_64-w64-mingw32-g++" [18:17:09.818] checking build system type... x86_64-pc-linux-gnu [18:17:10.028] checking host system type... x86_64-w64-mingw32 [18:17:10.033] checking which template to use... win32 [18:17:10.033] checking whether NLS is wanted... no [18:17:10.033] checking for default port number... 5432 [18:17:10.041] checking for block size... 8kB [18:17:10.042] checking for segment size... 1GB [18:17:10.045] checking for WAL block size... 8kB [18:17:10.046] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:17:10.086] checking whether the C compiler works... yes [18:17:10.252] checking for C compiler default output file name... a.exe [18:17:10.254] checking for suffix of executables... .exe [18:17:10.301] checking whether we are cross compiling... yes [18:17:10.393] checking for suffix of object files... o [18:17:10.402] checking whether we are using the GNU C compiler... yes [18:17:10.410] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:17:10.418] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:17:10.429] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:17:10.506] checking whether we are using the GNU C++ compiler... yes [18:17:10.515] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:17:10.595] checking for gawk... no [18:17:10.595] checking for mawk... mawk [18:17:10.598] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:17:10.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:17:10.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:17:10.665] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:17:10.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:17:10.867] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:17:10.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:17:10.884] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:17:10.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:17:10.900] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:17:10.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:17:10.917] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:17:10.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:17:10.934] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:17:10.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:17:10.952] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:17:10.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:17:11.003] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:17:11.012] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:17:11.020] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:17:11.028] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:17:11.037] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:17:11.045] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:17:11.074] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:17:11.081] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:17:11.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:17:11.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:17:11.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:17:11.179] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:17:11.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:17:11.225] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:17:11.232] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:17:11.239] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:17:11.248] checking whether the C compiler still works... yes [18:17:11.320] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:17:11.405] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:17:11.405] checking pkg-config is at least version 0.9.0... yes [18:17:11.423] checking whether to build with ICU support... no [18:17:11.424] checking whether to build with Tcl... no [18:17:11.424] checking whether to build Perl modules... no [18:17:11.424] checking whether to build Python modules... no [18:17:11.424] checking whether to build with GSSAPI support... no [18:17:11.426] checking whether to build with PAM support... no [18:17:11.426] checking whether to build with BSD Authentication support... no [18:17:11.426] checking whether to build with LDAP support... no [18:17:11.426] checking whether to build with Bonjour support... no [18:17:11.426] checking whether to build with SELinux support... no [18:17:11.426] checking whether to build with systemd support... no [18:17:11.426] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:17:11.426] checking whether to build with XML support... no [18:17:11.427] checking whether to build with LZ4 support... no [18:17:11.427] checking whether to build with ZSTD support... no [18:17:11.427] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:17:11.428] checking whether it is possible to strip libraries... yes [18:17:11.435] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:17:11.436] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:17:11.436] checking for a BSD-compatible install... /usr/bin/install -c [18:17:11.447] checking for tar... /usr/bin/tar [18:17:11.447] checking whether ln -s works... yes [18:17:11.447] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:17:11.450] checking for bison... /usr/bin/bison [18:17:11.453] configure: using bison (GNU Bison) 3.8.2 [18:17:11.456] checking for flex... /usr/bin/flex [18:17:11.471] configure: using flex 2.6.4 [18:17:11.472] checking for perl... /usr/bin/perl [18:17:11.475] configure: using perl 5.36.0 [18:17:11.478] checking for zic... /usr/sbin/zic [18:17:11.478] checking for a sed that does not truncate output... /usr/bin/sed [18:17:11.484] checking for grep that handles long lines and -e... /usr/bin/grep [18:17:11.487] checking for egrep... /usr/bin/grep -E [18:17:11.489] checking for ANSI C header files... yes [18:17:11.544] checking for sys/types.h... yes [18:17:11.565] checking for sys/stat.h... yes [18:17:11.587] checking for stdlib.h... yes [18:17:11.605] checking for string.h... yes [18:17:11.623] checking for memory.h... yes [18:17:11.642] checking for strings.h... yes [18:17:11.660] checking for inttypes.h... yes [18:17:11.682] checking for stdint.h... yes [18:17:11.699] checking for unistd.h... yes [18:17:11.721] checking for main in -lm... yes [18:17:11.776] checking for library containing setproctitle... no [18:17:11.874] checking for library containing dlsym... no [18:17:11.976] checking for library containing socket... -lws2_32 [18:17:12.122] checking for library containing getopt_long... none required [18:17:12.176] checking for library containing shm_open... no [18:17:12.277] checking for library containing shm_unlink... no [18:17:12.376] checking for library containing clock_gettime... no [18:17:12.476] checking for library containing shmget... no [18:17:12.578] checking for library containing backtrace_symbols... no [18:17:12.681] checking for library containing pthread_barrier_wait... -lpthread [18:17:12.784] checking for inflate in -lz... yes [18:17:12.833] checking for stdbool.h that conforms to C99... yes [18:17:12.846] checking for _Bool... yes [18:17:12.931] checking atomic.h usability... no [18:17:12.996] checking atomic.h presence... no [18:17:13.016] checking for atomic.h... no [18:17:13.020] checking copyfile.h usability... no [18:17:13.080] checking copyfile.h presence... no [18:17:13.103] checking for copyfile.h... no [18:17:13.107] checking execinfo.h usability... no [18:17:13.170] checking execinfo.h presence... no [18:17:13.192] checking for execinfo.h... no [18:17:13.196] checking getopt.h usability... yes [18:17:13.205] checking getopt.h presence... yes [18:17:13.222] checking for getopt.h... yes [18:17:13.231] checking ifaddrs.h usability... no [18:17:13.296] checking ifaddrs.h presence... no [18:17:13.319] checking for ifaddrs.h... no [18:17:13.323] checking mbarrier.h usability... no [18:17:13.397] checking mbarrier.h presence... no [18:17:13.420] checking for mbarrier.h... no [18:17:13.424] checking sys/epoll.h usability... no [18:17:13.488] checking sys/epoll.h presence... no [18:17:13.511] checking for sys/epoll.h... no [18:17:13.515] checking sys/event.h usability... no [18:17:13.578] checking sys/event.h presence... no [18:17:13.601] checking for sys/event.h... no [18:17:13.605] checking sys/personality.h usability... no [18:17:13.670] checking sys/personality.h presence... no [18:17:13.692] checking for sys/personality.h... no [18:17:13.697] checking sys/prctl.h usability... no [18:17:13.760] checking sys/prctl.h presence... no [18:17:13.782] checking for sys/prctl.h... no [18:17:13.786] checking sys/procctl.h usability... no [18:17:13.845] checking sys/procctl.h presence... no [18:17:13.869] checking for sys/procctl.h... no [18:17:13.873] checking sys/signalfd.h usability... no [18:17:13.936] checking sys/signalfd.h presence... no [18:17:13.959] checking for sys/signalfd.h... no [18:17:13.963] checking sys/ucred.h usability... no [18:17:14.024] checking sys/ucred.h presence... no [18:17:14.045] checking for sys/ucred.h... no [18:17:14.048] checking termios.h usability... no [18:17:14.111] checking termios.h presence... no [18:17:14.135] checking for termios.h... no [18:17:14.140] checking ucred.h usability... no [18:17:14.200] checking ucred.h presence... no [18:17:14.224] checking for ucred.h... no [18:17:14.228] checking xlocale.h usability... no [18:17:14.292] checking xlocale.h presence... no [18:17:14.316] checking for xlocale.h... no [18:17:14.319] checking zlib.h usability... yes [18:17:14.332] checking zlib.h presence... yes [18:17:14.355] checking for zlib.h... yes [18:17:14.356] checking for lz4... /usr/bin/lz4 [18:17:14.356] checking for zstd... /usr/bin/zstd [18:17:14.356] checking for openssl... /usr/bin/openssl [18:17:14.362] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:17:14.362] checking crtdefs.h usability... yes [18:17:14.372] checking crtdefs.h presence... yes [18:17:14.390] checking for crtdefs.h... yes [18:17:14.392] checking whether byte ordering is bigendian... no [18:17:14.483] checking for inline... inline [18:17:14.492] checking for printf format archetype... gnu_printf [18:17:14.503] checking for _Static_assert... yes [18:17:14.553] checking for typeof... typeof [18:17:14.562] checking for __builtin_types_compatible_p... yes [18:17:14.576] checking for __builtin_constant_p... yes [18:17:14.590] checking for __builtin_unreachable... yes [18:17:14.640] checking for computed goto support... yes [18:17:14.649] checking for struct tm.tm_zone... no [18:17:14.746] checking for union semun... no [18:17:14.787] checking for socklen_t... yes [18:17:16.085] checking for struct sockaddr.sa_len... no [18:17:18.404] checking for C/C++ restrict keyword... __restrict [18:17:18.420] checking for struct option... yes [18:17:18.467] checking whether assembler supports x86_64 popcntq... yes [18:17:18.476] checking size of off_t... 4 [18:17:18.709] 0 [18:17:18.709] checking size of bool... 1 [18:17:18.766] checking for int timezone... yes [18:17:18.824] checking for backtrace_symbols... no [18:17:18.880] checking for copyfile... no [18:17:18.935] checking for copy_file_range... no [18:17:18.990] checking for getifaddrs... no [18:17:19.046] checking for getpeerucred... no [18:17:19.103] checking for inet_pton... yes [18:17:19.160] checking for kqueue... no [18:17:19.216] checking for mbstowcs_l... no [18:17:19.275] checking for memset_s... no [18:17:19.333] checking for posix_fallocate... no [18:17:19.391] checking for ppoll... no [18:17:19.450] checking for pthread_is_threaded_np... no [18:17:19.508] checking for setproctitle... no [18:17:19.567] checking for setproctitle_fast... no [18:17:19.625] checking for strchrnul... no [18:17:19.683] checking for strsignal... no [18:17:19.742] checking for syncfs... no [18:17:19.800] checking for sync_file_range... no [18:17:19.855] checking for uselocale... no [18:17:19.910] checking for wcstombs_l... no [18:17:19.962] checking for __builtin_bswap16... yes [18:17:20.015] checking for __builtin_bswap32... yes [18:17:20.069] checking for __builtin_bswap64... yes [18:17:20.123] checking for __builtin_clz... yes [18:17:20.180] checking for __builtin_ctz... yes [18:17:20.235] checking for __builtin_popcount... yes [18:17:20.291] checking for __builtin_frame_address... yes [18:17:20.345] checking for _LARGEFILE_SOURCE value needed for large files... no [18:17:20.404] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:17:20.442] checking for posix_fadvise... no [18:17:20.502] checking whether posix_fadvise is declared... no [18:17:20.558] checking whether fdatasync is declared... no [18:17:20.614] checking whether strlcat is declared... no [18:17:20.687] checking whether strlcpy is declared... no [18:17:20.763] checking whether strnlen is declared... yes [18:17:20.780] checking whether strsep is declared... no [18:17:20.847] checking whether preadv is declared... no [18:17:20.888] checking whether pwritev is declared... no [18:17:20.929] checking whether F_FULLFSYNC is declared... no [18:17:20.976] checking for explicit_bzero... no [18:17:21.027] checking for getopt... yes [18:17:21.076] checking for getpeereid... no [18:17:21.133] checking for inet_aton... no [18:17:21.187] checking for mkdtemp... no [18:17:21.241] checking for strlcat... no [18:17:21.295] checking for strlcpy... no [18:17:21.349] checking for strnlen... yes [18:17:21.404] checking for strsep... no [18:17:21.458] checking for pthread_barrier_wait... yes [18:17:21.509] configure: On mingw32 we will use our strtof wrapper. [18:17:21.509] checking for getopt_long... yes [18:17:21.562] checking for _configthreadlocale... yes [18:17:21.615] checking for syslog... no [18:17:21.670] checking for opterr... yes [18:17:21.725] checking for optreset... no [18:17:21.782] checking test program... cross-compiling [18:17:21.782] checking whether long int is 64 bits... no [18:17:21.815] checking whether long long int is 64 bits... yes [18:17:21.825] checking for __builtin_mul_overflow... yes [18:17:21.870] checking size of void *... 8 [18:17:22.169] checking size of size_t... 8 [18:17:22.478] checking size of long... 4 [18:17:22.711] checking alignment of short... 2 [18:17:22.861] checking alignment of int... 4 [18:17:23.074] checking alignment of long... 4 [18:17:23.305] checking alignment of long long int... 8 [18:17:23.625] checking alignment of double... 8 [18:17:23.927] checking for __int128... yes [18:17:23.979] checking for __int128 alignment bug... assuming ok [18:17:23.979] checking alignment of PG_INT128_TYPE... 16 [18:17:24.355] checking for builtin __sync char locking functions... yes [18:17:24.403] checking for builtin __sync int32 locking functions... yes [18:17:24.453] checking for builtin __sync int32 atomic operations... yes [18:17:24.502] checking for builtin __sync int64 atomic operations... yes [18:17:24.552] checking for builtin __atomic int32 atomic operations... yes [18:17:24.601] checking for builtin __atomic int64 atomic operations... yes [18:17:24.650] checking for __get_cpuid... yes [18:17:24.706] checking for __get_cpuid_count... yes [18:17:24.755] checking for __cpuid... no [18:17:25.164] checking for __cpuidex... no [18:17:25.629] checking for _xgetbv... yes [18:17:26.046] checking for _mm512_popcnt_epi64... yes [18:17:26.505] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [18:17:26.557] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [18:17:26.655] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:17:26.680] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:17:26.700] 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:17:26.757] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:17:26.758] checking which random number source to use... Windows native [18:17:26.760] checking for xmllint... /usr/bin/xmllint [18:17:26.760] checking for xsltproc... /usr/bin/xsltproc [18:17:26.760] checking for fop... /usr/bin/fop [18:17:26.760] checking for dbtoepub... no [18:17:26.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:17:26.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:17:26.761] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:17:26.773] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:17:26.773] 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:17:26.773] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:17:26.773] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:17:26.862] configure: creating ./config.status [18:17:26.948] config.status: creating GNUmakefile [18:17:26.961] config.status: creating src/Makefile.global [18:17:26.977] config.status: creating src/include/pg_config.h [18:17:26.990] config.status: creating src/include/pg_config_ext.h [18:17:27.004] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:17:27.020] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:17:27.027] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:17:27.035] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:17:27.043] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:17:27.051] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:17:27.056] config.status: executing check_win32_symlinks commands [18:17:27.095] [18:17:27.095] real 0m17.421s [18:17:27.095] user 0m11.354s [18:17:27.095] sys 0m5.670s [18:17:27.095] make -s -j${BUILD_JOBS} clean [18:17:27.674] time make -s -j${BUILD_JOBS} world-bin [18:17:33.578] postgres.c: In function ‘finish_xact_command’: [18:17:33.578] postgres.c:2825:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [18:17:33.578] 2825 | char *old_brk = sbrk(0); [18:17:33.578] | ^~~~ [18:17:33.578] postgres.c:2825:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [18:17:33.578] postgres.c:2828:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [18:17:33.578] 2828 | malloc_trim(0); [18:17:33.578] | ^~~~~~~~~~~ [18:17:33.578] postgres.c:2829:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [18:17:33.578] 2829 | new_brk = sbrk(0); [18:17:33.578] | ^ [18:17:33.578] cc1: all warnings being treated as errors [18:17:33.580] make[3]: *** [: postgres.o] Error 1 [18:17:33.580] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [18:17:33.581] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:17:33.581] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:17:33.581] [18:17:33.581] real 0m5.908s [18:17:33.581] user 0m9.727s [18:17:33.581] sys 0m7.125s [18:17:33.581] [18:17:33.581] Exit status: 2