[16:08:22.308] time ./configure \ [16:08:22.308] --host=x86_64-w64-mingw32 \ [16:08:22.308] --enable-cassert \ [16:08:22.308] --without-icu \ [16:08:22.308] CC="ccache x86_64-w64-mingw32-gcc" \ [16:08:22.308] CXX="ccache x86_64-w64-mingw32-g++" [16:08:22.438] checking build system type... x86_64-pc-linux-gnu [16:08:22.645] checking host system type... x86_64-w64-mingw32 [16:08:22.652] checking which template to use... win32 [16:08:22.652] checking whether NLS is wanted... no [16:08:22.653] checking for default port number... 5432 [16:08:22.660] checking for block size... 8kB [16:08:22.662] checking for segment size... 1GB [16:08:22.665] checking for WAL block size... 8kB [16:08:22.666] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:08:22.705] checking whether the C compiler works... yes [16:08:22.848] checking for C compiler default output file name... a.exe [16:08:22.850] checking for suffix of executables... .exe [16:08:22.894] checking whether we are cross compiling... yes [16:08:22.977] checking for suffix of object files... o [16:08:22.986] checking whether we are using the GNU C compiler... yes [16:08:22.993] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:08:23.000] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:08:23.011] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:08:23.083] checking whether we are using the GNU C++ compiler... yes [16:08:23.090] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:08:23.161] checking for gawk... no [16:08:23.161] checking for mawk... mawk [16:08:23.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:08:23.171] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:08:23.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:08:23.225] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:08:23.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:08:23.422] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:08:23.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:08:23.437] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:08:23.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:08:23.453] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:08:23.460] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:08:23.468] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:08:23.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:08:23.483] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:08:23.490] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:08:23.497] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:08:23.505] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:08:23.545] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:08:23.553] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:08:23.560] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:08:23.568] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:08:23.575] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:08:23.582] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:08:23.607] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:08:23.615] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:08:23.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:08:23.661] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:08:23.703] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:08:23.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:08:23.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:08:23.754] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:08:23.762] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:08:23.769] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:08:23.782] checking whether the C compiler still works... yes [16:08:23.854] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:08:23.929] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:08:23.929] checking pkg-config is at least version 0.9.0... yes [16:08:23.946] checking whether to build with ICU support... no [16:08:23.946] checking whether to build with Tcl... no [16:08:23.946] checking whether to build Perl modules... no [16:08:23.946] checking whether to build Python modules... no [16:08:23.946] checking whether to build with GSSAPI support... no [16:08:23.948] checking whether to build with PAM support... no [16:08:23.948] checking whether to build with BSD Authentication support... no [16:08:23.948] checking whether to build with LDAP support... no [16:08:23.948] checking whether to build with Bonjour support... no [16:08:23.948] checking whether to build with SELinux support... no [16:08:23.948] checking whether to build with systemd support... no [16:08:23.948] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:08:23.948] checking whether to build with XML support... no [16:08:23.949] checking whether to build with LZ4 support... no [16:08:23.949] checking whether to build with ZSTD support... no [16:08:23.950] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:08:23.950] checking whether it is possible to strip libraries... yes [16:08:23.958] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:08:23.959] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:08:23.959] checking for a BSD-compatible install... /usr/bin/install -c [16:08:23.968] checking for tar... /usr/bin/tar [16:08:23.968] checking whether ln -s works... yes [16:08:23.969] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:08:23.971] checking for bison... /usr/bin/bison [16:08:23.973] configure: using bison (GNU Bison) 3.8.2 [16:08:23.976] checking for flex... /usr/bin/flex [16:08:23.989] configure: using flex 2.6.4 [16:08:23.989] checking for perl... /usr/bin/perl [16:08:23.992] configure: using perl 5.36.0 [16:08:23.995] checking for zic... /usr/sbin/zic [16:08:23.995] checking for a sed that does not truncate output... /usr/bin/sed [16:08:24.000] checking for grep that handles long lines and -e... /usr/bin/grep [16:08:24.002] checking for egrep... /usr/bin/grep -E [16:08:24.004] checking for ANSI C header files... yes [16:08:24.055] checking for sys/types.h... yes [16:08:24.073] checking for sys/stat.h... yes [16:08:24.092] checking for stdlib.h... yes [16:08:24.107] checking for string.h... yes [16:08:24.122] checking for memory.h... yes [16:08:24.140] checking for strings.h... yes [16:08:24.156] checking for inttypes.h... yes [16:08:24.173] checking for stdint.h... yes [16:08:24.188] checking for unistd.h... yes [16:08:24.206] checking for main in -lm... yes [16:08:24.257] checking for library containing setproctitle... no [16:08:24.354] checking for library containing dlsym... no [16:08:24.447] checking for library containing socket... -lws2_32 [16:08:24.585] checking for library containing getopt_long... none required [16:08:24.634] checking for library containing shm_open... no [16:08:24.728] checking for library containing shm_unlink... no [16:08:24.822] checking for library containing clock_gettime... no [16:08:24.913] checking for library containing shmget... no [16:08:25.005] checking for library containing backtrace_symbols... no [16:08:25.099] checking for library containing pthread_barrier_wait... -lpthread [16:08:25.193] checking for inflate in -lz... yes [16:08:25.241] checking for stdbool.h that conforms to C99... yes [16:08:25.253] checking for _Bool... yes [16:08:25.334] checking atomic.h usability... no [16:08:25.392] checking atomic.h presence... no [16:08:25.410] checking for atomic.h... no [16:08:25.414] checking copyfile.h usability... no [16:08:25.470] checking copyfile.h presence... no [16:08:25.489] checking for copyfile.h... no [16:08:25.492] checking execinfo.h usability... no [16:08:25.548] checking execinfo.h presence... no [16:08:25.569] checking for execinfo.h... no [16:08:25.572] checking getopt.h usability... yes [16:08:25.580] checking getopt.h presence... yes [16:08:25.596] checking for getopt.h... yes [16:08:25.604] checking ifaddrs.h usability... no [16:08:25.661] checking ifaddrs.h presence... no [16:08:25.680] checking for ifaddrs.h... no [16:08:25.683] checking mbarrier.h usability... no [16:08:25.742] checking mbarrier.h presence... no [16:08:25.761] checking for mbarrier.h... no [16:08:25.764] checking sys/epoll.h usability... no [16:08:25.819] checking sys/epoll.h presence... no [16:08:25.838] checking for sys/epoll.h... no [16:08:25.841] checking sys/event.h usability... no [16:08:25.898] checking sys/event.h presence... no [16:08:25.917] checking for sys/event.h... no [16:08:25.920] checking sys/personality.h usability... no [16:08:25.978] checking sys/personality.h presence... no [16:08:25.997] checking for sys/personality.h... no [16:08:26.000] checking sys/prctl.h usability... no [16:08:26.057] checking sys/prctl.h presence... no [16:08:26.076] checking for sys/prctl.h... no [16:08:26.080] checking sys/procctl.h usability... no [16:08:26.137] checking sys/procctl.h presence... no [16:08:26.156] checking for sys/procctl.h... no [16:08:26.160] checking sys/signalfd.h usability... no [16:08:26.218] checking sys/signalfd.h presence... no [16:08:26.238] checking for sys/signalfd.h... no [16:08:26.241] checking sys/ucred.h usability... no [16:08:26.300] checking sys/ucred.h presence... no [16:08:26.319] checking for sys/ucred.h... no [16:08:26.323] checking termios.h usability... no [16:08:26.379] checking termios.h presence... no [16:08:26.399] checking for termios.h... no [16:08:26.402] checking ucred.h usability... no [16:08:26.459] checking ucred.h presence... no [16:08:26.479] checking for ucred.h... no [16:08:26.482] checking zlib.h usability... yes [16:08:26.492] checking zlib.h presence... yes [16:08:26.512] checking for zlib.h... yes [16:08:26.512] checking for lz4... /usr/bin/lz4 [16:08:26.513] checking for zstd... /usr/bin/zstd [16:08:26.513] checking for openssl... /usr/bin/openssl [16:08:26.518] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [16:08:26.518] checking crtdefs.h usability... yes [16:08:26.526] checking crtdefs.h presence... yes [16:08:26.542] checking for crtdefs.h... yes [16:08:26.544] checking whether byte ordering is bigendian... no [16:08:26.622] checking for inline... inline [16:08:26.630] checking for printf format archetype... gnu_printf [16:08:26.639] checking for _Static_assert... yes [16:08:26.684] checking for typeof... typeof [16:08:26.692] checking for __builtin_types_compatible_p... yes [16:08:26.703] checking for __builtin_constant_p... yes [16:08:26.715] checking for __builtin_unreachable... yes [16:08:26.758] checking for computed goto support... yes [16:08:26.766] checking for struct tm.tm_zone... no [16:08:26.847] checking for union semun... no [16:08:26.882] checking for socklen_t... yes [16:08:28.193] checking for struct sockaddr.sa_len... no [16:08:30.397] checking for locale_t... no [16:08:30.469] checking for C/C++ restrict keyword... __restrict [16:08:30.484] checking for struct option... yes [16:08:30.529] checking whether assembler supports x86_64 popcntq... yes [16:08:30.537] checking size of off_t... 4 [16:08:30.756] 0 [16:08:30.756] checking size of bool... 1 [16:08:30.806] checking for int timezone... yes [16:08:30.860] checking for wcstombs_l declaration... no [16:08:30.952] checking for backtrace_symbols... no [16:08:31.006] checking for copyfile... no [16:08:31.061] checking for copy_file_range... no [16:08:31.117] checking for getifaddrs... no [16:08:31.172] checking for getpeerucred... no [16:08:31.226] checking for inet_pton... yes [16:08:31.282] checking for kqueue... no [16:08:31.336] checking for mbstowcs_l... no [16:08:31.388] checking for memset_s... no [16:08:31.442] checking for posix_fallocate... no [16:08:31.496] checking for ppoll... no [16:08:31.550] checking for pthread_is_threaded_np... no [16:08:31.606] checking for setproctitle... no [16:08:31.662] checking for setproctitle_fast... no [16:08:31.716] checking for strchrnul... no [16:08:31.769] checking for strsignal... no [16:08:31.826] checking for syncfs... no [16:08:31.882] checking for sync_file_range... no [16:08:31.937] checking for uselocale... no [16:08:31.992] checking for wcstombs_l... no [16:08:32.043] checking for __builtin_bswap16... yes [16:08:32.098] checking for __builtin_bswap32... yes [16:08:32.149] checking for __builtin_bswap64... yes [16:08:32.198] checking for __builtin_clz... yes [16:08:32.252] checking for __builtin_ctz... yes [16:08:32.305] checking for __builtin_popcount... yes [16:08:32.358] checking for __builtin_frame_address... yes [16:08:32.411] checking for _LARGEFILE_SOURCE value needed for large files... no [16:08:32.468] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:08:32.503] checking for posix_fadvise... no [16:08:32.559] checking whether posix_fadvise is declared... no [16:08:32.609] checking whether fdatasync is declared... no [16:08:32.659] checking whether strlcat is declared... no [16:08:32.729] checking whether strlcpy is declared... no [16:08:32.798] checking whether strnlen is declared... yes [16:08:32.812] checking whether strsep is declared... no [16:08:32.880] checking whether preadv is declared... no [16:08:32.920] checking whether pwritev is declared... no [16:08:32.957] checking whether F_FULLFSYNC is declared... no [16:08:33.000] checking for explicit_bzero... no [16:08:33.053] checking for getopt... yes [16:08:33.101] checking for getpeereid... no [16:08:33.153] checking for inet_aton... no [16:08:33.206] checking for mkdtemp... no [16:08:33.259] checking for strlcat... no [16:08:33.310] checking for strlcpy... no [16:08:33.362] checking for strnlen... yes [16:08:33.415] checking for strsep... no [16:08:33.469] checking for pthread_barrier_wait... yes [16:08:33.518] configure: On mingw32 we will use our strtof wrapper. [16:08:33.518] checking for getopt_long... yes [16:08:33.567] checking for _configthreadlocale... yes [16:08:33.616] checking for syslog... no [16:08:33.669] checking for opterr... yes [16:08:33.722] checking for optreset... no [16:08:33.778] checking test program... cross-compiling [16:08:33.778] checking whether long int is 64 bits... no [16:08:33.812] checking whether long long int is 64 bits... yes [16:08:33.823] checking for __builtin_mul_overflow... yes [16:08:33.868] checking size of void *... 8 [16:08:34.171] checking size of size_t... 8 [16:08:34.460] checking size of long... 4 [16:08:34.675] checking alignment of short... 2 [16:08:34.823] checking alignment of int... 4 [16:08:35.034] checking alignment of long... 4 [16:08:35.246] checking alignment of long long int... 8 [16:08:35.524] checking alignment of double... 8 [16:08:35.800] checking for int8... no [16:08:35.845] checking for uint8... no [16:08:35.889] checking for int64... no [16:08:35.934] checking for uint64... no [16:08:35.979] checking for __int128... yes [16:08:36.032] checking for __int128 alignment bug... assuming ok [16:08:36.032] checking alignment of PG_INT128_TYPE... 16 [16:08:36.377] checking for builtin __sync char locking functions... yes [16:08:36.421] checking for builtin __sync int32 locking functions... yes [16:08:36.466] checking for builtin __sync int32 atomic operations... yes [16:08:36.509] checking for builtin __sync int64 atomic operations... yes [16:08:36.553] checking for builtin __atomic int32 atomic operations... yes [16:08:36.598] checking for builtin __atomic int64 atomic operations... yes [16:08:36.643] checking for __get_cpuid... yes [16:08:36.692] checking for __get_cpuid_count... yes [16:08:36.738] checking for __cpuid... no [16:08:37.148] checking for __cpuidex... no [16:08:37.574] checking for _xgetbv with CFLAGS=... no [16:08:37.955] checking for _xgetbv with CFLAGS=-mxsave... yes [16:08:38.360] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:08:38.745] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:08:39.093] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:08:39.144] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:08:39.236] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:08:39.260] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:08:39.280] 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:08:39.337] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:08:39.337] checking which random number source to use... Windows native [16:08:39.339] checking for xmllint... /usr/bin/xmllint [16:08:39.339] checking for xsltproc... /usr/bin/xsltproc [16:08:39.340] checking for fop... /usr/bin/fop [16:08:39.340] checking for dbtoepub... no [16:08:39.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:08:39.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:08:39.341] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:08:39.351] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:08:39.351] 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:08:39.351] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:08:39.351] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:08:39.439] configure: creating ./config.status [16:08:39.530] config.status: creating GNUmakefile [16:08:39.543] config.status: creating src/Makefile.global [16:08:39.559] config.status: creating src/include/pg_config.h [16:08:39.572] config.status: creating src/include/pg_config_ext.h [16:08:39.585] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:08:39.601] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:08:39.609] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:08:39.617] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:08:39.624] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:08:39.632] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:08:39.635] config.status: executing check_win32_symlinks commands [16:08:39.671] [16:08:39.671] real 0m17.363s [16:08:39.671] user 0m11.755s [16:08:39.671] sys 0m5.204s [16:08:39.671] make -s -j${BUILD_JOBS} clean [16:08:40.187] time make -s -j${BUILD_JOBS} world-bin [16:08:46.481] postgres.c: In function ‘finish_xact_command’: [16:08:46.481] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [16:08:46.481] 2826 | char *old_brk = sbrk(0); [16:08:46.481] | ^~~~ [16:08:46.481] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:08:46.481] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [16:08:46.481] 2829 | malloc_trim(0); [16:08:46.481] | ^~~~~~~~~~~ [16:08:46.481] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:08:46.481] 2830 | new_brk = sbrk(0); [16:08:46.481] | ^ [16:08:46.481] cc1: all warnings being treated as errors [16:08:46.481] make[3]: *** [: postgres.o] Error 1 [16:08:46.481] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [16:08:46.481] make[2]: *** Waiting for unfinished jobs.... [16:08:47.742] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:08:47.742] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:08:47.742] [16:08:47.742] real 0m7.555s [16:08:47.742] user 0m14.752s [16:08:47.742] sys 0m7.327s [16:08:47.742] [16:08:47.742] Exit status: 2