[19:59:46.084] time ./configure \ [19:59:46.084] --host=x86_64-w64-mingw32 \ [19:59:46.084] --enable-cassert \ [19:59:46.084] --without-icu \ [19:59:46.084] CC="ccache x86_64-w64-mingw32-gcc" \ [19:59:46.084] CXX="ccache x86_64-w64-mingw32-g++" [19:59:46.210] checking build system type... x86_64-pc-linux-gnu [19:59:46.401] checking host system type... x86_64-w64-mingw32 [19:59:46.406] checking which template to use... win32 [19:59:46.407] checking whether NLS is wanted... no [19:59:46.407] checking for default port number... 5432 [19:59:46.414] checking for block size... 8kB [19:59:46.415] checking for segment size... 1GB [19:59:46.417] checking for WAL block size... 8kB [19:59:46.419] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:59:46.454] checking whether the C compiler works... yes [19:59:46.587] checking for C compiler default output file name... a.exe [19:59:46.588] checking for suffix of executables... .exe [19:59:46.639] checking whether we are cross compiling... yes [19:59:46.716] checking for suffix of object files... o [19:59:46.725] checking whether we are using the GNU C compiler... yes [19:59:46.760] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:59:46.768] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:59:46.851] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:59:46.912] checking whether we are using the GNU C++ compiler... yes [19:59:46.920] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:59:46.992] checking for gawk... no [19:59:46.992] checking for mawk... mawk [19:59:46.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:59:47.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:59:47.009] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:59:47.057] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:59:47.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:59:47.227] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:59:47.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:59:47.241] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:59:47.248] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:59:47.266] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:59:47.274] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:59:47.281] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:59:47.364] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:59:47.372] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:59:47.379] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:59:47.387] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:59:47.395] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:59:47.434] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:59:47.468] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:59:47.476] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:59:47.483] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:59:47.490] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:59:47.498] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:59:47.523] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:59:47.540] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:59:47.548] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:59:47.586] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:59:47.626] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:59:47.633] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:59:47.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:59:47.704] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:59:47.711] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:59:47.718] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:59:47.726] checking whether the C compiler still works... yes [19:59:47.778] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:59:47.855] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:59:47.855] checking pkg-config is at least version 0.9.0... yes [19:59:47.871] checking whether to build with ICU support... no [19:59:47.871] checking whether to build with Tcl... no [19:59:47.871] checking whether to build Perl modules... no [19:59:47.872] checking whether to build Python modules... no [19:59:47.872] checking whether to build with GSSAPI support... no [19:59:47.873] checking whether to build with PAM support... no [19:59:47.873] checking whether to build with BSD Authentication support... no [19:59:47.873] checking whether to build with LDAP support... no [19:59:47.873] checking whether to build with Bonjour support... no [19:59:47.873] checking whether to build with SELinux support... no [19:59:47.873] checking whether to build with systemd support... no [19:59:47.873] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:59:47.874] checking whether to build with XML support... no [19:59:47.874] checking whether to build with LZ4 support... no [19:59:47.874] checking whether to build with ZSTD support... no [19:59:47.874] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:59:47.875] checking whether it is possible to strip libraries... yes [19:59:47.882] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:59:47.883] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:59:47.883] checking for a BSD-compatible install... /usr/bin/install -c [19:59:47.893] checking for tar... /usr/bin/tar [19:59:47.893] checking whether ln -s works... yes [19:59:47.893] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:59:47.895] checking for bison... /usr/bin/bison [19:59:47.898] configure: using bison (GNU Bison) 3.8.2 [19:59:47.901] checking for flex... /usr/bin/flex [19:59:47.913] configure: using flex 2.6.4 [19:59:47.913] checking for perl... /usr/bin/perl [19:59:47.916] configure: using perl 5.36.0 [19:59:47.919] checking for zic... /usr/sbin/zic [19:59:47.919] checking for a sed that does not truncate output... /usr/bin/sed [19:59:47.925] checking for grep that handles long lines and -e... /usr/bin/grep [19:59:47.927] checking for egrep... /usr/bin/grep -E [19:59:47.929] checking for ANSI C header files... yes [19:59:47.976] checking for sys/types.h... yes [19:59:47.993] checking for sys/stat.h... yes [19:59:48.056] checking for stdlib.h... yes [19:59:48.073] checking for string.h... yes [19:59:48.089] checking for memory.h... yes [19:59:48.106] checking for strings.h... yes [19:59:48.143] checking for inttypes.h... yes [19:59:48.161] checking for stdint.h... yes [19:59:48.176] checking for unistd.h... yes [19:59:48.192] checking for main in -lm... yes [19:59:48.244] checking for library containing setproctitle... no [19:59:48.330] checking for library containing dlsym... no [19:59:48.419] checking for library containing socket... -lws2_32 [19:59:48.552] checking for library containing getopt_long... none required [19:59:48.600] checking for library containing shm_open... no [19:59:48.691] checking for library containing shm_unlink... no [19:59:48.785] checking for library containing clock_gettime... no [19:59:48.878] checking for library containing shmget... no [19:59:48.968] checking for library containing backtrace_symbols... no [19:59:49.061] checking for library containing pthread_barrier_wait... -lpthread [19:59:49.153] checking for inflate in -lz... yes [19:59:49.201] checking for stdbool.h that conforms to C99... yes [19:59:49.213] checking for _Bool... yes [19:59:49.287] checking atomic.h usability... no [19:59:49.344] checking atomic.h presence... no [19:59:49.365] checking for atomic.h... no [19:59:49.368] checking copyfile.h usability... no [19:59:49.427] checking copyfile.h presence... no [19:59:49.446] checking for copyfile.h... no [19:59:49.449] checking execinfo.h usability... no [19:59:49.504] checking execinfo.h presence... no [19:59:49.525] checking for execinfo.h... no [19:59:49.528] checking getopt.h usability... yes [19:59:49.536] checking getopt.h presence... yes [19:59:49.552] checking for getopt.h... yes [19:59:49.560] checking ifaddrs.h usability... no [19:59:49.616] checking ifaddrs.h presence... no [19:59:49.635] checking for ifaddrs.h... no [19:59:49.639] checking mbarrier.h usability... no [19:59:49.695] checking mbarrier.h presence... no [19:59:49.715] checking for mbarrier.h... no [19:59:49.718] checking sys/epoll.h usability... no [19:59:49.775] checking sys/epoll.h presence... no [19:59:49.795] checking for sys/epoll.h... no [19:59:49.798] checking sys/event.h usability... no [19:59:49.853] checking sys/event.h presence... no [19:59:49.874] checking for sys/event.h... no [19:59:49.877] checking sys/personality.h usability... no [19:59:49.936] checking sys/personality.h presence... no [19:59:49.955] checking for sys/personality.h... no [19:59:49.959] checking sys/prctl.h usability... no [19:59:50.016] checking sys/prctl.h presence... no [19:59:50.037] checking for sys/prctl.h... no [19:59:50.040] checking sys/procctl.h usability... no [19:59:50.099] checking sys/procctl.h presence... no [19:59:50.119] checking for sys/procctl.h... no [19:59:50.122] checking sys/signalfd.h usability... no [19:59:50.178] checking sys/signalfd.h presence... no [19:59:50.197] checking for sys/signalfd.h... no [19:59:50.201] checking sys/ucred.h usability... no [19:59:50.258] checking sys/ucred.h presence... no [19:59:50.278] checking for sys/ucred.h... no [19:59:50.281] checking termios.h usability... no [19:59:50.335] checking termios.h presence... no [19:59:50.355] checking for termios.h... no [19:59:50.358] checking ucred.h usability... no [19:59:50.414] checking ucred.h presence... no [19:59:50.433] checking for ucred.h... no [19:59:50.437] checking xlocale.h usability... no [19:59:50.490] checking xlocale.h presence... no [19:59:50.510] checking for xlocale.h... no [19:59:50.513] checking zlib.h usability... yes [19:59:50.523] checking zlib.h presence... yes [19:59:50.542] checking for zlib.h... yes [19:59:50.543] checking for lz4... /usr/bin/lz4 [19:59:50.543] checking for zstd... /usr/bin/zstd [19:59:50.543] checking for openssl... /usr/bin/openssl [19:59:50.547] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:59:50.548] checking crtdefs.h usability... yes [19:59:50.556] checking crtdefs.h presence... yes [19:59:50.571] checking for crtdefs.h... yes [19:59:50.572] checking whether byte ordering is bigendian... no [19:59:50.649] checking for inline... inline [19:59:50.667] checking for printf format archetype... gnu_printf [19:59:50.677] checking for _Static_assert... yes [19:59:50.720] checking for typeof... typeof [19:59:50.729] checking for __builtin_types_compatible_p... yes [19:59:50.741] checking for __builtin_constant_p... yes [19:59:50.753] checking for __builtin_unreachable... yes [19:59:50.796] checking for computed goto support... yes [19:59:50.804] checking for struct tm.tm_zone... no [19:59:50.881] checking for union semun... no [19:59:50.915] checking for socklen_t... yes [19:59:53.077] checking for struct sockaddr.sa_len... no [19:59:55.150] checking for C/C++ restrict keyword... __restrict [19:59:55.164] checking for struct option... yes [19:59:55.207] checking whether assembler supports x86_64 popcntq... yes [19:59:55.215] checking size of off_t... 4 [19:59:55.428] 0 [19:59:55.428] checking size of bool... 1 [19:59:55.477] checking for int timezone... yes [19:59:55.531] checking for backtrace_symbols... no [19:59:55.583] checking for copyfile... no [19:59:55.634] checking for copy_file_range... no [19:59:55.686] checking for getifaddrs... no [19:59:55.738] checking for getpeerucred... no [19:59:55.790] checking for inet_pton... yes [19:59:55.844] checking for kqueue... no [19:59:55.897] checking for mbstowcs_l... no [19:59:55.951] checking for memset_s... no [19:59:56.003] checking for posix_fallocate... no [19:59:56.054] checking for ppoll... no [19:59:56.106] checking for pthread_is_threaded_np... no [19:59:56.158] checking for setproctitle... no [19:59:56.210] checking for setproctitle_fast... no [19:59:56.264] checking for strchrnul... no [19:59:56.319] checking for strsignal... no [19:59:56.372] checking for syncfs... no [19:59:56.424] checking for sync_file_range... no [19:59:56.476] checking for uselocale... no [19:59:56.529] checking for wcstombs_l... no [19:59:56.578] checking for __builtin_bswap16... yes [19:59:56.631] checking for __builtin_bswap32... yes [19:59:56.681] checking for __builtin_bswap64... yes [19:59:56.732] checking for __builtin_clz... yes [19:59:56.780] checking for __builtin_ctz... yes [19:59:56.830] checking for __builtin_popcount... yes [19:59:56.877] checking for __builtin_frame_address... yes [19:59:56.928] checking for _LARGEFILE_SOURCE value needed for large files... no [19:59:56.982] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:59:57.016] checking for posix_fadvise... no [19:59:57.073] checking whether posix_fadvise is declared... no [19:59:57.123] checking whether fdatasync is declared... no [19:59:57.173] checking whether strlcat is declared... no [19:59:57.241] checking whether strlcpy is declared... no [19:59:57.308] checking whether strnlen is declared... yes [19:59:57.323] checking whether strsep is declared... no [19:59:57.391] checking whether preadv is declared... no [19:59:57.430] checking whether pwritev is declared... no [19:59:57.468] checking whether F_FULLFSYNC is declared... no [19:59:57.508] checking for explicit_bzero... no [19:59:57.557] checking for getopt... yes [19:59:57.603] checking for getpeereid... no [19:59:57.653] checking for inet_aton... no [19:59:57.703] checking for mkdtemp... no [19:59:57.753] checking for strlcat... no [19:59:57.804] checking for strlcpy... no [19:59:57.855] checking for strnlen... yes [19:59:57.904] checking for strsep... no [19:59:57.955] checking for pthread_barrier_wait... yes [19:59:58.001] configure: On mingw32 we will use our strtof wrapper. [19:59:58.001] checking for getopt_long... yes [19:59:58.047] checking for _configthreadlocale... yes [19:59:58.093] checking for syslog... no [19:59:58.144] checking for opterr... yes [19:59:58.195] checking for optreset... no [19:59:58.249] checking test program... cross-compiling [19:59:58.249] checking whether long int is 64 bits... no [19:59:58.282] checking whether long long int is 64 bits... yes [19:59:58.292] checking for __builtin_mul_overflow... yes [19:59:58.337] checking size of void *... 8 [19:59:58.616] checking size of size_t... 8 [19:59:58.953] checking size of long... 4 [19:59:59.192] checking alignment of short... 2 [19:59:59.342] checking alignment of int... 4 [19:59:59.559] checking alignment of long... 4 [19:59:59.773] checking alignment of long long int... 8 [20:00:00.055] checking alignment of double... 8 [20:00:00.361] checking for int8... no [20:00:00.406] checking for uint8... no [20:00:00.452] checking for int64... no [20:00:00.497] checking for uint64... no [20:00:00.542] checking for __int128... yes [20:00:00.594] checking for __int128 alignment bug... assuming ok [20:00:00.595] checking alignment of PG_INT128_TYPE... 16 [20:00:01.012] checking for builtin __sync char locking functions... yes [20:00:01.056] checking for builtin __sync int32 locking functions... yes [20:00:01.100] checking for builtin __sync int32 atomic operations... yes [20:00:01.144] checking for builtin __sync int64 atomic operations... yes [20:00:01.189] checking for builtin __atomic int32 atomic operations... yes [20:00:01.234] checking for builtin __atomic int64 atomic operations... yes [20:00:01.278] checking for __get_cpuid... yes [20:00:01.327] checking for __get_cpuid_count... yes [20:00:01.373] checking for __cpuid... no [20:00:01.783] checking for __cpuidex... no [20:00:02.210] checking for _xgetbv with CFLAGS=... no [20:00:02.595] checking for _xgetbv with CFLAGS=-mxsave... yes [20:00:02.995] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:00:03.375] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:00:03.727] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:00:03.777] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:00:03.869] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:00:03.895] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:00:03.915] 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:00:03.972] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:00:03.973] checking which random number source to use... Windows native [20:00:03.975] checking for xmllint... /usr/bin/xmllint [20:00:03.975] checking for xsltproc... /usr/bin/xsltproc [20:00:03.975] checking for fop... /usr/bin/fop [20:00:03.976] checking for dbtoepub... no [20:00:03.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:00:03.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:00:03.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:00:03.987] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:00:03.987] 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:00:03.987] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:00:03.987] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:00:04.076] configure: creating ./config.status [20:00:04.164] config.status: creating GNUmakefile [20:00:04.176] config.status: creating src/Makefile.global [20:00:04.193] config.status: creating src/include/pg_config.h [20:00:04.207] config.status: creating src/include/pg_config_ext.h [20:00:04.220] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:00:04.236] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:00:04.244] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:00:04.251] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:00:04.259] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:00:04.267] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:00:04.270] config.status: executing check_win32_symlinks commands [20:00:04.307] [20:00:04.307] real 0m18.222s [20:00:04.307] user 0m12.185s [20:00:04.307] sys 0m5.684s [20:00:04.307] make -s -j${BUILD_JOBS} clean [20:00:04.837] time make -s -j${BUILD_JOBS} world-bin [20:00:32.419] postgres.c: In function ‘finish_xact_command’: [20:00:32.419] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [20:00:32.419] 2826 | char *old_brk = sbrk(0); [20:00:32.419] | ^~~~ [20:00:32.419] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:00:32.419] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [20:00:32.419] 2829 | malloc_trim(0); [20:00:32.419] | ^~~~~~~~~~~ [20:00:32.419] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [20:00:32.419] 2830 | new_brk = sbrk(0); [20:00:32.419] | ^ [20:00:32.419] cc1: all warnings being treated as errors [20:00:32.419] make[3]: *** [: postgres.o] Error 1 [20:00:32.419] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [20:00:32.419] make[2]: *** Waiting for unfinished jobs.... [20:00:39.460] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:00:39.460] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:00:39.461] [20:00:39.461] real 0m34.624s [20:00:39.461] user 1m44.466s [20:00:39.461] sys 0m23.841s [20:00:39.461] [20:00:39.461] Exit status: 2