[20:11:06.772] time ./configure \ [20:11:06.772] --host=x86_64-w64-mingw32 \ [20:11:06.772] --enable-cassert \ [20:11:06.772] --without-icu \ [20:11:06.772] CC="ccache x86_64-w64-mingw32-gcc" \ [20:11:06.772] CXX="ccache x86_64-w64-mingw32-g++" [20:11:06.887] checking build system type... x86_64-pc-linux-gnu [20:11:07.077] checking host system type... x86_64-w64-mingw32 [20:11:07.083] checking which template to use... win32 [20:11:07.083] checking whether NLS is wanted... no [20:11:07.083] checking for default port number... 5432 [20:11:07.090] checking for block size... 8kB [20:11:07.092] checking for segment size... 1GB [20:11:07.094] checking for WAL block size... 8kB [20:11:07.096] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:11:07.131] checking whether the C compiler works... yes [20:11:07.264] checking for C compiler default output file name... a.exe [20:11:07.266] checking for suffix of executables... .exe [20:11:07.308] checking whether we are cross compiling... yes [20:11:07.383] checking for suffix of object files... o [20:11:07.392] checking whether we are using the GNU C compiler... yes [20:11:07.399] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:11:07.418] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:11:07.445] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:11:07.511] checking whether we are using the GNU C++ compiler... yes [20:11:07.518] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:11:07.591] checking for gawk... no [20:11:07.591] checking for mawk... mawk [20:11:07.594] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:11:07.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:11:07.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:11:07.655] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:11:07.849] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:11:07.881] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:11:07.911] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:11:07.918] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:11:07.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:11:07.958] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:11:07.965] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:11:07.998] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:11:08.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:11:08.031] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:11:08.038] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:11:08.072] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:11:08.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:11:08.127] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:11:08.134] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:11:08.152] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:11:08.159] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:11:08.167] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:11:08.203] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:11:08.227] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:11:08.262] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:11:08.295] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:11:08.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:11:08.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:11:08.381] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:11:08.389] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:11:08.424] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:11:08.441] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:11:08.448] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:11:08.517] checking whether the C compiler still works... yes [20:11:08.582] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:11:08.658] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:11:08.658] checking pkg-config is at least version 0.9.0... yes [20:11:08.674] checking whether to build with ICU support... no [20:11:08.675] checking whether to build with Tcl... no [20:11:08.675] checking whether to build Perl modules... no [20:11:08.675] checking whether to build Python modules... no [20:11:08.675] checking whether to build with GSSAPI support... no [20:11:08.676] checking whether to build with PAM support... no [20:11:08.676] checking whether to build with BSD Authentication support... no [20:11:08.676] checking whether to build with LDAP support... no [20:11:08.676] checking whether to build with Bonjour support... no [20:11:08.676] checking whether to build with SELinux support... no [20:11:08.676] checking whether to build with systemd support... no [20:11:08.676] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:11:08.677] checking whether to build with XML support... no [20:11:08.677] checking whether to build with LZ4 support... no [20:11:08.677] checking whether to build with ZSTD support... no [20:11:08.677] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:11:08.678] checking whether it is possible to strip libraries... yes [20:11:08.684] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:11:08.684] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:11:08.685] checking for a BSD-compatible install... /usr/bin/install -c [20:11:08.694] checking for tar... /usr/bin/tar [20:11:08.694] checking whether ln -s works... yes [20:11:08.694] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:11:08.697] checking for bison... /usr/bin/bison [20:11:08.699] configure: using bison (GNU Bison) 3.8.2 [20:11:08.702] checking for flex... /usr/bin/flex [20:11:08.715] configure: using flex 2.6.4 [20:11:08.715] checking for perl... /usr/bin/perl [20:11:08.718] configure: using perl 5.36.0 [20:11:08.720] checking for zic... /usr/sbin/zic [20:11:08.720] checking for a sed that does not truncate output... /usr/bin/sed [20:11:08.725] checking for grep that handles long lines and -e... /usr/bin/grep [20:11:08.727] checking for egrep... /usr/bin/grep -E [20:11:08.729] checking for ANSI C header files... yes [20:11:08.819] checking for sys/types.h... yes [20:11:08.836] checking for sys/stat.h... yes [20:11:08.853] checking for stdlib.h... yes [20:11:08.913] checking for string.h... yes [20:11:08.928] checking for memory.h... yes [20:11:08.944] checking for strings.h... yes [20:11:08.960] checking for inttypes.h... yes [20:11:08.978] checking for stdint.h... yes [20:11:09.039] checking for unistd.h... yes [20:11:09.055] checking for main in -lm... yes [20:11:09.103] checking for library containing setproctitle... no [20:11:09.195] checking for library containing dlsym... no [20:11:09.284] checking for library containing socket... -lws2_32 [20:11:09.412] checking for library containing getopt_long... none required [20:11:09.458] checking for library containing shm_open... no [20:11:09.544] checking for library containing shm_unlink... no [20:11:09.633] checking for library containing clock_gettime... no [20:11:09.716] checking for library containing shmget... no [20:11:09.804] checking for library containing backtrace_symbols... no [20:11:09.895] checking for library containing pthread_barrier_wait... -lpthread [20:11:09.991] checking for inflate in -lz... yes [20:11:10.039] checking for stdbool.h that conforms to C99... yes [20:11:10.062] checking for _Bool... yes [20:11:10.136] checking atomic.h usability... no [20:11:10.193] checking atomic.h presence... no [20:11:10.213] checking for atomic.h... no [20:11:10.216] checking copyfile.h usability... no [20:11:10.274] checking copyfile.h presence... no [20:11:10.293] checking for copyfile.h... no [20:11:10.297] checking execinfo.h usability... no [20:11:10.351] checking execinfo.h presence... no [20:11:10.369] checking for execinfo.h... no [20:11:10.372] checking getopt.h usability... yes [20:11:10.426] checking getopt.h presence... yes [20:11:10.442] checking for getopt.h... yes [20:11:10.449] checking ifaddrs.h usability... no [20:11:10.502] checking ifaddrs.h presence... no [20:11:10.521] checking for ifaddrs.h... no [20:11:10.524] checking mbarrier.h usability... no [20:11:10.576] checking mbarrier.h presence... no [20:11:10.595] checking for mbarrier.h... no [20:11:10.598] checking sys/epoll.h usability... no [20:11:10.650] checking sys/epoll.h presence... no [20:11:10.667] checking for sys/epoll.h... no [20:11:10.670] checking sys/event.h usability... no [20:11:10.723] checking sys/event.h presence... no [20:11:10.742] checking for sys/event.h... no [20:11:10.745] checking sys/personality.h usability... no [20:11:10.800] checking sys/personality.h presence... no [20:11:10.818] checking for sys/personality.h... no [20:11:10.821] checking sys/prctl.h usability... no [20:11:10.875] checking sys/prctl.h presence... no [20:11:10.894] checking for sys/prctl.h... no [20:11:10.897] checking sys/procctl.h usability... no [20:11:10.952] checking sys/procctl.h presence... no [20:11:10.971] checking for sys/procctl.h... no [20:11:10.975] checking sys/signalfd.h usability... no [20:11:11.033] checking sys/signalfd.h presence... no [20:11:11.053] checking for sys/signalfd.h... no [20:11:11.056] checking sys/ucred.h usability... no [20:11:11.111] checking sys/ucred.h presence... no [20:11:11.131] checking for sys/ucred.h... no [20:11:11.135] checking termios.h usability... no [20:11:11.191] checking termios.h presence... no [20:11:11.211] checking for termios.h... no [20:11:11.215] checking ucred.h usability... no [20:11:11.272] checking ucred.h presence... no [20:11:11.293] checking for ucred.h... no [20:11:11.296] checking xlocale.h usability... no [20:11:11.354] checking xlocale.h presence... no [20:11:11.374] checking for xlocale.h... no [20:11:11.377] checking zlib.h usability... yes [20:11:11.387] checking zlib.h presence... yes [20:11:11.406] checking for zlib.h... yes [20:11:11.406] checking for lz4... /usr/bin/lz4 [20:11:11.406] checking for zstd... /usr/bin/zstd [20:11:11.407] checking for openssl... /usr/bin/openssl [20:11:11.411] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [20:11:11.412] checking crtdefs.h usability... yes [20:11:11.464] checking crtdefs.h presence... yes [20:11:11.480] checking for crtdefs.h... yes [20:11:11.481] checking whether byte ordering is bigendian... no [20:11:11.586] checking for inline... inline [20:11:11.594] checking for printf format archetype... gnu_printf [20:11:11.630] checking for _Static_assert... yes [20:11:11.670] checking for typeof... typeof [20:11:11.703] checking for __builtin_types_compatible_p... yes [20:11:11.722] checking for __builtin_constant_p... yes [20:11:11.742] checking for __builtin_unreachable... yes [20:11:11.782] checking for computed goto support... yes [20:11:11.816] checking for struct tm.tm_zone... no [20:11:11.890] checking for union semun... no [20:11:11.922] checking for socklen_t... yes [20:11:13.512] checking for struct sockaddr.sa_len... no [20:11:15.567] checking for C/C++ restrict keyword... __restrict [20:11:15.580] checking for struct option... yes [20:11:15.620] checking whether assembler supports x86_64 popcntq... yes [20:11:15.626] checking size of off_t... 4 [20:11:15.985] 0 [20:11:15.986] checking size of bool... 1 [20:11:16.037] checking for int timezone... yes [20:11:16.090] checking for backtrace_symbols... no [20:11:16.138] checking for copyfile... no [20:11:16.189] checking for copy_file_range... no [20:11:16.239] checking for getifaddrs... no [20:11:16.289] checking for getpeerucred... no [20:11:16.339] checking for inet_pton... yes [20:11:16.393] checking for kqueue... no [20:11:16.445] checking for mbstowcs_l... no [20:11:16.497] checking for memset_s... no [20:11:16.550] checking for posix_fallocate... no [20:11:16.602] checking for ppoll... no [20:11:16.650] checking for pthread_is_threaded_np... no [20:11:16.701] checking for setproctitle... no [20:11:16.753] checking for setproctitle_fast... no [20:11:16.807] checking for strchrnul... no [20:11:16.861] checking for strsignal... no [20:11:16.914] checking for syncfs... no [20:11:16.966] checking for sync_file_range... no [20:11:17.018] checking for uselocale... no [20:11:17.070] checking for wcstombs_l... no [20:11:17.120] checking for __builtin_bswap16... yes [20:11:17.171] checking for __builtin_bswap32... yes [20:11:17.221] checking for __builtin_bswap64... yes [20:11:17.271] checking for __builtin_clz... yes [20:11:17.321] checking for __builtin_ctz... yes [20:11:17.371] checking for __builtin_popcount... yes [20:11:17.421] checking for __builtin_frame_address... yes [20:11:17.469] checking for _LARGEFILE_SOURCE value needed for large files... no [20:11:17.521] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:11:17.553] checking for posix_fadvise... no [20:11:17.605] checking whether posix_fadvise is declared... no [20:11:17.653] checking whether fdatasync is declared... no [20:11:17.702] checking whether strlcat is declared... no [20:11:17.767] checking whether strlcpy is declared... no [20:11:17.829] checking whether strnlen is declared... yes [20:11:17.843] checking whether strsep is declared... no [20:11:17.909] checking whether preadv is declared... no [20:11:17.948] checking whether pwritev is declared... no [20:11:17.987] checking whether F_FULLFSYNC is declared... no [20:11:18.030] checking for explicit_bzero... no [20:11:18.079] checking for getopt... yes [20:11:18.126] checking for getpeereid... no [20:11:18.176] checking for inet_aton... no [20:11:18.225] checking for mkdtemp... no [20:11:18.275] checking for strlcat... no [20:11:18.325] checking for strlcpy... no [20:11:18.374] checking for strnlen... yes [20:11:18.423] checking for strsep... no [20:11:18.472] checking for pthread_barrier_wait... yes [20:11:18.517] configure: On mingw32 we will use our strtof wrapper. [20:11:18.517] checking for getopt_long... yes [20:11:18.562] checking for _configthreadlocale... yes [20:11:18.605] checking for syslog... no [20:11:18.652] checking for opterr... yes [20:11:18.702] checking for optreset... no [20:11:18.753] checking test program... cross-compiling [20:11:18.753] checking whether long int is 64 bits... no [20:11:18.784] checking whether long long int is 64 bits... yes [20:11:18.793] checking for __builtin_mul_overflow... yes [20:11:18.836] checking size of void *... 8 [20:11:19.151] checking size of size_t... 8 [20:11:19.437] checking size of long... 4 [20:11:19.690] checking alignment of short... 2 [20:11:19.854] checking alignment of int... 4 [20:11:20.121] checking alignment of long... 4 [20:11:20.377] checking alignment of long long int... 8 [20:11:20.746] checking alignment of double... 8 [20:11:21.087] checking for int8... no [20:11:21.128] checking for uint8... no [20:11:21.169] checking for int64... no [20:11:21.210] checking for uint64... no [20:11:21.253] checking for __int128... yes [20:11:21.302] checking for __int128 alignment bug... assuming ok [20:11:21.302] checking alignment of PG_INT128_TYPE... 16 [20:11:21.789] checking for builtin __sync char locking functions... yes [20:11:21.831] checking for builtin __sync int32 locking functions... yes [20:11:21.873] checking for builtin __sync int32 atomic operations... yes [20:11:21.915] checking for builtin __sync int64 atomic operations... yes [20:11:21.958] checking for builtin __atomic int32 atomic operations... yes [20:11:22.001] checking for builtin __atomic int64 atomic operations... yes [20:11:22.046] checking for __get_cpuid... yes [20:11:22.095] checking for __get_cpuid_count... yes [20:11:22.139] checking for __cpuid... no [20:11:22.534] checking for __cpuidex... no [20:11:22.956] checking for _xgetbv with CFLAGS=... no [20:11:23.334] checking for _xgetbv with CFLAGS=-mxsave... yes [20:11:23.738] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:11:24.121] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:11:24.466] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:11:24.512] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:11:24.604] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:11:24.627] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:11:24.646] 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:11:24.701] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:11:24.702] checking which random number source to use... Windows native [20:11:24.703] checking for xmllint... /usr/bin/xmllint [20:11:24.704] checking for xsltproc... /usr/bin/xsltproc [20:11:24.704] checking for fop... /usr/bin/fop [20:11:24.704] checking for dbtoepub... no [20:11:24.704] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:11:24.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:11:24.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:11:24.716] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:11:24.716] 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:11:24.716] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:11:24.716] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:11:24.799] configure: creating ./config.status [20:11:24.881] config.status: creating GNUmakefile [20:11:24.892] config.status: creating src/Makefile.global [20:11:24.907] config.status: creating src/include/pg_config.h [20:11:24.919] config.status: creating src/include/pg_config_ext.h [20:11:24.930] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:11:24.945] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:11:24.952] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:11:24.959] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:11:24.966] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:11:24.973] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:11:24.976] config.status: executing check_win32_symlinks commands [20:11:25.009] [20:11:25.009] real 0m18.237s [20:11:25.009] user 0m12.289s [20:11:25.009] sys 0m5.552s [20:11:25.009] make -s -j${BUILD_JOBS} clean [20:11:25.519] time make -s -j${BUILD_JOBS} world-bin [20:12:45.974] postgres.c: In function ‘finish_xact_command’: [20:12:45.974] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [20:12:45.974] 2826 | char *old_brk = sbrk(0); [20:12:45.974] | ^~~~ [20:12:45.974] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:12:45.974] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [20:12:45.974] 2829 | malloc_trim(0); [20:12:45.974] | ^~~~~~~~~~~ [20:12:45.974] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:12:45.974] 2830 | new_brk = sbrk(0); [20:12:45.974] | ^ [20:12:45.974] cc1: all warnings being treated as errors [20:12:45.975] make[3]: *** [: postgres.o] Error 1 [20:12:45.975] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [20:12:45.975] make[2]: *** Waiting for unfinished jobs.... [20:12:58.641] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:12:58.642] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:12:58.642] [20:12:58.642] real 1m33.123s [20:12:58.642] user 4m59.636s [20:12:58.642] sys 1m0.304s [20:12:58.642] [20:12:58.642] Exit status: 2