[17:06:02.035] time ./configure \ [17:06:02.035] --host=x86_64-w64-mingw32 \ [17:06:02.035] --enable-cassert \ [17:06:02.035] --without-icu \ [17:06:02.035] CC="ccache x86_64-w64-mingw32-gcc" \ [17:06:02.035] CXX="ccache x86_64-w64-mingw32-g++" [17:06:02.152] checking build system type... x86_64-pc-linux-gnu [17:06:02.352] checking host system type... x86_64-w64-mingw32 [17:06:02.358] checking which template to use... win32 [17:06:02.358] checking whether NLS is wanted... no [17:06:02.358] checking for default port number... 5432 [17:06:02.365] checking for block size... 8kB [17:06:02.366] checking for segment size... 1GB [17:06:02.369] checking for WAL block size... 8kB [17:06:02.370] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:06:02.404] checking whether the C compiler works... yes [17:06:02.550] checking for C compiler default output file name... a.exe [17:06:02.551] checking for suffix of executables... .exe [17:06:02.593] checking whether we are cross compiling... yes [17:06:02.669] checking for suffix of object files... o [17:06:02.678] checking whether we are using the GNU C compiler... yes [17:06:02.686] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:06:02.693] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:06:02.703] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:06:02.769] checking whether we are using the GNU C++ compiler... yes [17:06:02.776] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:06:02.848] checking for gawk... no [17:06:02.848] checking for mawk... mawk [17:06:02.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:06:02.858] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:06:02.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:06:02.911] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:06:03.112] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:06:03.119] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:06:03.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:06:03.134] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:06:03.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:06:03.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:06:03.156] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:06:03.163] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:06:03.171] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:06:03.179] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:06:03.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:06:03.195] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:06:03.202] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:06:03.241] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:06:03.249] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:06:03.256] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:06:03.263] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:06:03.270] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:06:03.277] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:06:03.299] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:06:03.305] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:06:03.311] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:06:03.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:06:03.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:06:03.393] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:06:03.399] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:06:03.432] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:06:03.439] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:06:03.445] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:06:03.452] checking whether the C compiler still works... yes [17:06:03.516] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:06:03.588] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:06:03.588] checking pkg-config is at least version 0.9.0... yes [17:06:03.605] checking whether to build with ICU support... no [17:06:03.606] checking whether to build with Tcl... no [17:06:03.606] checking whether to build Perl modules... no [17:06:03.606] checking whether to build Python modules... no [17:06:03.606] checking whether to build with GSSAPI support... no [17:06:03.607] checking whether to build with PAM support... no [17:06:03.607] checking whether to build with BSD Authentication support... no [17:06:03.607] checking whether to build with LDAP support... no [17:06:03.607] checking whether to build with Bonjour support... no [17:06:03.607] checking whether to build with SELinux support... no [17:06:03.607] checking whether to build with systemd support... no [17:06:03.607] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:06:03.608] checking whether to build with XML support... no [17:06:03.608] checking whether to build with LZ4 support... no [17:06:03.608] checking whether to build with ZSTD support... no [17:06:03.608] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:06:03.609] checking whether it is possible to strip libraries... yes [17:06:03.616] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:06:03.617] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:06:03.617] checking for a BSD-compatible install... /usr/bin/install -c [17:06:03.626] checking for tar... /usr/bin/tar [17:06:03.626] checking whether ln -s works... yes [17:06:03.626] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:06:03.629] checking for bison... /usr/bin/bison [17:06:03.631] configure: using bison (GNU Bison) 3.8.2 [17:06:03.634] checking for flex... /usr/bin/flex [17:06:03.646] configure: using flex 2.6.4 [17:06:03.647] checking for perl... /usr/bin/perl [17:06:03.649] configure: using perl 5.36.0 [17:06:03.652] checking for zic... /usr/sbin/zic [17:06:03.652] checking for a sed that does not truncate output... /usr/bin/sed [17:06:03.656] checking for grep that handles long lines and -e... /usr/bin/grep [17:06:03.658] checking for egrep... /usr/bin/grep -E [17:06:03.660] checking for ANSI C header files... yes [17:06:03.708] checking for sys/types.h... yes [17:06:03.725] checking for sys/stat.h... yes [17:06:03.741] checking for stdlib.h... yes [17:06:03.756] checking for string.h... yes [17:06:03.777] checking for memory.h... yes [17:06:03.792] checking for strings.h... yes [17:06:03.807] checking for inttypes.h... yes [17:06:03.824] checking for stdint.h... yes [17:06:03.840] checking for unistd.h... yes [17:06:03.855] checking for main in -lm... yes [17:06:03.904] checking for library containing setproctitle... no [17:06:03.996] checking for library containing dlsym... no [17:06:04.087] checking for library containing socket... -lws2_32 [17:06:04.222] checking for library containing getopt_long... none required [17:06:04.271] checking for library containing shm_open... no [17:06:04.362] checking for library containing shm_unlink... no [17:06:04.455] checking for library containing clock_gettime... no [17:06:04.545] checking for library containing shmget... no [17:06:04.635] checking for library containing backtrace_symbols... no [17:06:04.724] checking for library containing pthread_barrier_wait... -lpthread [17:06:04.815] checking for inflate in -lz... yes [17:06:04.863] checking for stdbool.h that conforms to C99... yes [17:06:04.875] checking for _Bool... yes [17:06:04.950] checking atomic.h usability... no [17:06:05.008] checking atomic.h presence... no [17:06:05.027] checking for atomic.h... no [17:06:05.031] checking copyfile.h usability... no [17:06:05.087] checking copyfile.h presence... no [17:06:05.106] checking for copyfile.h... no [17:06:05.110] checking execinfo.h usability... no [17:06:05.169] checking execinfo.h presence... no [17:06:05.189] checking for execinfo.h... no [17:06:05.193] checking getopt.h usability... yes [17:06:05.201] checking getopt.h presence... yes [17:06:05.218] checking for getopt.h... yes [17:06:05.226] checking ifaddrs.h usability... no [17:06:05.282] checking ifaddrs.h presence... no [17:06:05.301] checking for ifaddrs.h... no [17:06:05.304] checking mbarrier.h usability... no [17:06:05.361] checking mbarrier.h presence... no [17:06:05.381] checking for mbarrier.h... no [17:06:05.385] checking sys/epoll.h usability... no [17:06:05.444] checking sys/epoll.h presence... no [17:06:05.466] checking for sys/epoll.h... no [17:06:05.470] checking sys/event.h usability... no [17:06:05.529] checking sys/event.h presence... no [17:06:05.550] checking for sys/event.h... no [17:06:05.553] checking sys/personality.h usability... no [17:06:05.611] checking sys/personality.h presence... no [17:06:05.633] checking for sys/personality.h... no [17:06:05.636] checking sys/prctl.h usability... no [17:06:05.696] checking sys/prctl.h presence... no [17:06:05.716] checking for sys/prctl.h... no [17:06:05.720] checking sys/procctl.h usability... no [17:06:05.779] checking sys/procctl.h presence... no [17:06:05.800] checking for sys/procctl.h... no [17:06:05.803] checking sys/signalfd.h usability... no [17:06:05.860] checking sys/signalfd.h presence... no [17:06:05.881] checking for sys/signalfd.h... no [17:06:05.884] checking sys/ucred.h usability... no [17:06:05.940] checking sys/ucred.h presence... no [17:06:05.959] checking for sys/ucred.h... no [17:06:05.962] checking termios.h usability... no [17:06:06.017] checking termios.h presence... no [17:06:06.037] checking for termios.h... no [17:06:06.040] checking ucred.h usability... no [17:06:06.097] checking ucred.h presence... no [17:06:06.117] checking for ucred.h... no [17:06:06.120] checking zlib.h usability... yes [17:06:06.130] checking zlib.h presence... yes [17:06:06.149] checking for zlib.h... yes [17:06:06.150] checking for lz4... /usr/bin/lz4 [17:06:06.150] checking for zstd... /usr/bin/zstd [17:06:06.150] checking for openssl... /usr/bin/openssl [17:06:06.155] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:06:06.156] checking crtdefs.h usability... yes [17:06:06.164] checking crtdefs.h presence... yes [17:06:06.181] checking for crtdefs.h... yes [17:06:06.182] checking whether byte ordering is bigendian... no [17:06:06.261] checking for inline... inline [17:06:06.269] checking for printf format archetype... gnu_printf [17:06:06.278] checking for _Static_assert... yes [17:06:06.322] checking for typeof... typeof [17:06:06.330] checking for __builtin_types_compatible_p... yes [17:06:06.341] checking for __builtin_constant_p... yes [17:06:06.353] checking for __builtin_unreachable... yes [17:06:06.397] checking for computed goto support... yes [17:06:06.404] checking for struct tm.tm_zone... no [17:06:06.487] checking for union semun... no [17:06:06.525] checking for socklen_t... yes [17:06:07.821] checking for struct sockaddr.sa_len... no [17:06:10.010] checking for locale_t... no [17:06:10.079] checking for C/C++ restrict keyword... __restrict [17:06:10.092] checking for struct option... yes [17:06:10.135] checking whether assembler supports x86_64 popcntq... yes [17:06:10.142] checking size of off_t... 4 [17:06:10.357] 0 [17:06:10.357] checking size of bool... 1 [17:06:10.403] checking for int timezone... yes [17:06:10.452] checking for wcstombs_l declaration... no [17:06:10.538] checking for backtrace_symbols... no [17:06:10.589] checking for copyfile... no [17:06:10.642] checking for copy_file_range... no [17:06:10.696] checking for getifaddrs... no [17:06:10.748] checking for getpeerucred... no [17:06:10.801] checking for inet_pton... yes [17:06:10.855] checking for kqueue... no [17:06:10.908] checking for mbstowcs_l... no [17:06:10.962] checking for memset_s... no [17:06:11.016] checking for posix_fallocate... no [17:06:11.069] checking for ppoll... no [17:06:11.122] checking for pthread_is_threaded_np... no [17:06:11.174] checking for setproctitle... no [17:06:11.225] checking for setproctitle_fast... no [17:06:11.277] checking for strchrnul... no [17:06:11.329] checking for strsignal... no [17:06:11.381] checking for syncfs... no [17:06:11.431] checking for sync_file_range... no [17:06:11.483] checking for uselocale... no [17:06:11.535] checking for wcstombs_l... no [17:06:11.586] checking for __builtin_bswap16... yes [17:06:11.637] checking for __builtin_bswap32... yes [17:06:11.687] checking for __builtin_bswap64... yes [17:06:11.736] checking for __builtin_clz... yes [17:06:11.787] checking for __builtin_ctz... yes [17:06:11.836] checking for __builtin_popcount... yes [17:06:11.885] checking for __builtin_frame_address... yes [17:06:11.934] checking for _LARGEFILE_SOURCE value needed for large files... no [17:06:11.987] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:06:12.018] checking for posix_fadvise... no [17:06:12.071] checking whether posix_fadvise is declared... no [17:06:12.116] checking whether fdatasync is declared... no [17:06:12.166] checking whether strlcat is declared... no [17:06:12.235] checking whether strlcpy is declared... no [17:06:12.304] checking whether strnlen is declared... yes [17:06:12.318] checking whether strsep is declared... no [17:06:12.384] checking whether preadv is declared... no [17:06:12.421] checking whether pwritev is declared... no [17:06:12.459] checking whether F_FULLFSYNC is declared... no [17:06:12.500] checking for explicit_bzero... no [17:06:12.549] checking for getopt... yes [17:06:12.595] checking for getpeereid... no [17:06:12.645] checking for inet_aton... no [17:06:12.693] checking for mkdtemp... no [17:06:12.742] checking for strlcat... no [17:06:12.790] checking for strlcpy... no [17:06:12.840] checking for strnlen... yes [17:06:12.890] checking for strsep... no [17:06:12.941] checking for pthread_barrier_wait... yes [17:06:12.986] configure: On mingw32 we will use our strtof wrapper. [17:06:12.986] checking for getopt_long... yes [17:06:13.033] checking for _configthreadlocale... yes [17:06:13.079] checking for syslog... no [17:06:13.127] checking for opterr... yes [17:06:13.176] checking for optreset... no [17:06:13.228] checking test program... cross-compiling [17:06:13.228] checking whether long int is 64 bits... no [17:06:13.262] checking whether long long int is 64 bits... yes [17:06:13.273] checking for __builtin_mul_overflow... yes [17:06:13.318] checking size of void *... 8 [17:06:13.605] checking size of size_t... 8 [17:06:13.891] checking size of long... 4 [17:06:14.112] checking alignment of short... 2 [17:06:14.260] checking alignment of int... 4 [17:06:14.475] checking alignment of long... 4 [17:06:14.691] checking alignment of long long int... 8 [17:06:14.978] checking alignment of double... 8 [17:06:15.268] checking for int8... no [17:06:15.315] checking for uint8... no [17:06:15.361] checking for int64... no [17:06:15.408] checking for uint64... no [17:06:15.453] checking for __int128... yes [17:06:15.506] checking for __int128 alignment bug... assuming ok [17:06:15.506] checking alignment of PG_INT128_TYPE... 16 [17:06:15.871] checking for builtin __sync char locking functions... yes [17:06:15.916] checking for builtin __sync int32 locking functions... yes [17:06:15.960] checking for builtin __sync int32 atomic operations... yes [17:06:16.005] checking for builtin __sync int64 atomic operations... yes [17:06:16.052] checking for builtin __atomic int32 atomic operations... yes [17:06:16.096] checking for builtin __atomic int64 atomic operations... yes [17:06:16.142] checking for __get_cpuid... yes [17:06:16.195] checking for __get_cpuid_count... yes [17:06:16.244] checking for __cpuid... no [17:06:16.659] checking for __cpuidex... no [17:06:17.091] checking for _xgetbv with CFLAGS=... no [17:06:17.481] checking for _xgetbv with CFLAGS=-mxsave... yes [17:06:17.894] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:06:18.289] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:06:18.640] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:06:18.689] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:06:18.783] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:06:18.807] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:06:18.828] 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 [17:06:18.884] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:06:18.885] checking which random number source to use... Windows native [17:06:18.887] checking for xmllint... /usr/bin/xmllint [17:06:18.887] checking for xsltproc... /usr/bin/xsltproc [17:06:18.887] checking for fop... /usr/bin/fop [17:06:18.887] checking for dbtoepub... no [17:06:18.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:06:18.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:06:18.888] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:06:18.898] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:06:18.898] 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 [17:06:18.898] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:06:18.898] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:06:18.995] configure: creating ./config.status [17:06:19.083] config.status: creating GNUmakefile [17:06:19.096] config.status: creating src/Makefile.global [17:06:19.111] config.status: creating src/include/pg_config.h [17:06:19.124] config.status: creating src/include/pg_config_ext.h [17:06:19.137] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:06:19.153] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:06:19.160] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:06:19.167] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:06:19.175] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:06:19.183] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:06:19.186] config.status: executing check_win32_symlinks commands [17:06:19.225] [17:06:19.225] real 0m17.190s [17:06:19.225] user 0m11.347s [17:06:19.225] sys 0m5.437s [17:06:19.225] make -s -j${BUILD_JOBS} clean [17:06:19.747] time make -s -j${BUILD_JOBS} world-bin [17:06:25.891] postgres.c: In function ‘finish_xact_command’: [17:06:25.891] postgres.c:2802:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [17:06:25.891] 2802 | char *old_brk = sbrk(0); [17:06:25.891] | ^~~~ [17:06:25.891] postgres.c:2802:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [17:06:25.891] postgres.c:2805:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [17:06:25.891] 2805 | malloc_trim(0); [17:06:25.891] | ^~~~~~~~~~~ [17:06:25.891] postgres.c:2806:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [17:06:25.891] 2806 | new_brk = sbrk(0); [17:06:25.891] | ^ [17:06:25.891] cc1: all warnings being treated as errors [17:06:25.891] make[3]: *** [: postgres.o] Error 1 [17:06:25.891] make[3]: *** Waiting for unfinished jobs.... [17:06:26.833] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [17:06:26.833] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:06:26.833] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:06:26.834] [17:06:26.834] real 0m7.086s [17:06:26.834] user 0m13.951s [17:06:26.834] sys 0m7.448s [17:06:26.834] [17:06:26.834] Exit status: 2