[22:12:48.868] time ./configure \ [22:12:48.868] --host=x86_64-w64-mingw32 \ [22:12:48.868] --enable-cassert \ [22:12:48.868] --without-icu \ [22:12:48.868] CC="ccache x86_64-w64-mingw32-gcc" \ [22:12:48.868] CXX="ccache x86_64-w64-mingw32-g++" [22:12:48.978] checking build system type... x86_64-pc-linux-gnu [22:12:49.153] checking host system type... x86_64-w64-mingw32 [22:12:49.158] checking which template to use... win32 [22:12:49.158] checking whether NLS is wanted... no [22:12:49.158] checking for default port number... 5432 [22:12:49.164] checking for block size... 8kB [22:12:49.165] checking for segment size... 1GB [22:12:49.167] checking for WAL block size... 8kB [22:12:49.169] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:12:49.199] checking whether the C compiler works... yes [22:12:49.360] checking for C compiler default output file name... a.exe [22:12:49.361] checking for suffix of executables... .exe [22:12:49.398] checking whether we are cross compiling... yes [22:12:49.474] checking for suffix of object files... o [22:12:49.481] checking whether we are using the GNU C compiler... yes [22:12:49.487] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:12:49.502] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:12:49.512] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:12:49.569] checking whether we are using the GNU C++ compiler... yes [22:12:49.575] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:12:49.762] checking for gawk... no [22:12:49.762] checking for mawk... mawk [22:12:49.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:12:49.771] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:12:49.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:12:49.829] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:12:49.872] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:12:49.901] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:12:49.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:12:49.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:12:49.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:12:49.949] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:12:49.955] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:12:49.962] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:12:49.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:12:49.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:12:49.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:12:49.988] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:12:49.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:12:50.027] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:12:50.033] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:12:50.039] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:12:50.045] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:12:50.051] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:12:50.057] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:12:50.077] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:12:50.091] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:12:50.098] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:12:50.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:12:50.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:12:50.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:12:50.180] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:12:50.212] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:12:50.226] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:12:50.241] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:12:50.299] checking whether the C compiler still works... yes [22:12:50.358] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:12:50.425] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:12:50.426] checking pkg-config is at least version 0.9.0... yes [22:12:50.441] checking whether to build with ICU support... no [22:12:50.441] checking whether to build with Tcl... no [22:12:50.442] checking whether to build Perl modules... no [22:12:50.442] checking whether to build Python modules... no [22:12:50.442] checking whether to build with GSSAPI support... no [22:12:50.443] checking whether to build with PAM support... no [22:12:50.443] checking whether to build with BSD Authentication support... no [22:12:50.443] checking whether to build with LDAP support... no [22:12:50.443] checking whether to build with Bonjour support... no [22:12:50.443] checking whether to build with SELinux support... no [22:12:50.443] checking whether to build with systemd support... no [22:12:50.443] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:12:50.443] checking whether to build with XML support... no [22:12:50.444] checking whether to build with LZ4 support... no [22:12:50.444] checking whether to build with ZSTD support... no [22:12:50.444] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:12:50.444] checking whether it is possible to strip libraries... yes [22:12:50.454] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:12:50.455] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:12:50.455] checking for a BSD-compatible install... /usr/bin/install -c [22:12:50.464] checking for tar... /usr/bin/tar [22:12:50.464] checking whether ln -s works... yes [22:12:50.464] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:12:50.466] checking for bison... /usr/bin/bison [22:12:50.468] configure: using bison (GNU Bison) 3.8.2 [22:12:50.471] checking for flex... /usr/bin/flex [22:12:50.473] configure: using flex 2.6.4 [22:12:50.473] checking for perl... /usr/bin/perl [22:12:50.476] configure: using perl 5.36.0 [22:12:50.478] checking for zic... /usr/sbin/zic [22:12:50.478] checking for a sed that does not truncate output... /usr/bin/sed [22:12:50.483] checking for grep that handles long lines and -e... /usr/bin/grep [22:12:50.485] checking for egrep... /usr/bin/grep -E [22:12:50.486] checking for ANSI C header files... yes [22:12:50.567] checking for sys/types.h... yes [22:12:50.584] checking for sys/stat.h... yes [22:12:50.599] checking for stdlib.h... yes [22:12:50.612] checking for string.h... yes [22:12:50.625] checking for memory.h... yes [22:12:50.639] checking for strings.h... yes [22:12:50.654] checking for inttypes.h... yes [22:12:50.669] checking for stdint.h... yes [22:12:50.683] checking for unistd.h... yes [22:12:50.697] checking for main in -lm... yes [22:12:50.740] checking for library containing setproctitle... no [22:12:50.821] checking for library containing dlsym... no [22:12:50.902] checking for library containing socket... -lws2_32 [22:12:51.024] checking for library containing getopt_long... none required [22:12:51.066] checking for library containing shm_open... no [22:12:51.144] checking for library containing shm_unlink... no [22:12:51.225] checking for library containing clock_gettime... no [22:12:51.303] checking for library containing shmget... no [22:12:51.382] checking for library containing backtrace_symbols... no [22:12:51.460] checking for library containing pthread_barrier_wait... -lpthread [22:12:51.541] checking for inflate in -lz... yes [22:12:51.584] checking atomic.h usability... no [22:12:51.634] checking atomic.h presence... no [22:12:51.650] checking for atomic.h... no [22:12:51.652] checking copyfile.h usability... no [22:12:51.700] checking copyfile.h presence... no [22:12:51.716] checking for copyfile.h... no [22:12:51.719] checking execinfo.h usability... no [22:12:51.766] checking execinfo.h presence... no [22:12:51.782] checking for execinfo.h... no [22:12:51.785] checking getopt.h usability... yes [22:12:51.791] checking getopt.h presence... yes [22:12:51.805] checking for getopt.h... yes [22:12:51.811] checking ifaddrs.h usability... no [22:12:51.861] checking ifaddrs.h presence... no [22:12:51.878] checking for ifaddrs.h... no [22:12:51.881] checking mbarrier.h usability... no [22:12:51.934] checking mbarrier.h presence... no [22:12:51.951] checking for mbarrier.h... no [22:12:51.954] checking sys/epoll.h usability... no [22:12:52.005] checking sys/epoll.h presence... no [22:12:52.022] checking for sys/epoll.h... no [22:12:52.025] checking sys/event.h usability... no [22:12:52.076] checking sys/event.h presence... no [22:12:52.093] checking for sys/event.h... no [22:12:52.096] checking sys/personality.h usability... no [22:12:52.145] checking sys/personality.h presence... no [22:12:52.162] checking for sys/personality.h... no [22:12:52.165] checking sys/prctl.h usability... no [22:12:52.216] checking sys/prctl.h presence... no [22:12:52.233] checking for sys/prctl.h... no [22:12:52.237] checking sys/procctl.h usability... no [22:12:52.288] checking sys/procctl.h presence... no [22:12:52.305] checking for sys/procctl.h... no [22:12:52.308] checking sys/signalfd.h usability... no [22:12:52.361] checking sys/signalfd.h presence... no [22:12:52.378] checking for sys/signalfd.h... no [22:12:52.381] checking sys/ucred.h usability... no [22:12:52.433] checking sys/ucred.h presence... no [22:12:52.450] checking for sys/ucred.h... no [22:12:52.453] checking termios.h usability... no [22:12:52.510] checking termios.h presence... no [22:12:52.527] checking for termios.h... no [22:12:52.530] checking ucred.h usability... no [22:12:52.581] checking ucred.h presence... no [22:12:52.597] checking for ucred.h... no [22:12:52.600] checking xlocale.h usability... no [22:12:52.651] checking xlocale.h presence... no [22:12:52.667] checking for xlocale.h... no [22:12:52.670] checking zlib.h usability... yes [22:12:52.725] checking zlib.h presence... yes [22:12:52.742] checking for zlib.h... yes [22:12:52.742] checking for lz4... /usr/bin/lz4 [22:12:52.742] checking for zstd... /usr/bin/zstd [22:12:52.743] checking for openssl... /usr/bin/openssl [22:12:52.747] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:12:52.747] checking crtdefs.h usability... yes [22:12:52.754] checking crtdefs.h presence... yes [22:12:52.768] checking for crtdefs.h... yes [22:12:52.769] checking whether byte ordering is bigendian... no [22:12:52.835] checking for inline... inline [22:12:52.842] checking for printf format archetype... gnu_printf [22:12:52.875] checking for _Static_assert... yes [22:12:52.914] checking for typeof... typeof [22:12:52.921] checking for __builtin_types_compatible_p... yes [22:12:52.932] checking for __builtin_constant_p... yes [22:12:52.942] checking for __builtin_mul_overflow... yes [22:12:52.988] checking for __builtin_unreachable... yes [22:12:53.028] checking for computed goto support... yes [22:12:53.035] checking for struct tm.tm_zone... no [22:12:53.108] checking for union semun... no [22:12:53.140] checking for socklen_t... yes [22:12:54.252] checking for struct sockaddr.sa_len... no [22:12:56.172] checking for C/C++ restrict keyword... __restrict [22:12:56.185] checking for struct option... yes [22:12:56.226] checking whether assembler supports x86_64 popcntq... yes [22:12:56.243] checking size of off_t... 4 [22:12:56.480] 0 [22:12:56.480] checking for int timezone... yes [22:12:56.531] checking for backtrace_symbols... no [22:12:56.580] checking for copyfile... no [22:12:56.629] checking for copy_file_range... no [22:12:56.678] checking for elf_aux_info... no [22:12:56.727] checking for getauxval... no [22:12:56.775] checking for getifaddrs... no [22:12:56.822] checking for getpeerucred... no [22:12:56.872] checking for inet_pton... yes [22:12:56.921] checking for kqueue... no [22:12:56.970] checking for mbstowcs_l... no [22:12:57.019] checking for memset_s... no [22:12:57.067] checking for posix_fallocate... no [22:12:57.114] checking for ppoll... no [22:12:57.161] checking for pthread_is_threaded_np... no [22:12:57.208] checking for setproctitle... no [22:12:57.255] checking for setproctitle_fast... no [22:12:57.302] checking for strchrnul... no [22:12:57.349] checking for strsignal... no [22:12:57.399] checking for syncfs... no [22:12:57.447] checking for sync_file_range... no [22:12:57.495] checking for uselocale... no [22:12:57.543] checking for wcstombs_l... no [22:12:57.589] checking for __builtin_bswap16... yes [22:12:57.636] checking for __builtin_bswap32... yes [22:12:57.682] checking for __builtin_bswap64... yes [22:12:57.728] checking for __builtin_clz... yes [22:12:57.776] checking for __builtin_ctz... yes [22:12:57.823] checking for __builtin_popcount... yes [22:12:57.869] checking for __builtin_frame_address... yes [22:12:57.915] checking for _LARGEFILE_SOURCE value needed for large files... no [22:12:57.966] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:12:57.996] checking for posix_fadvise... no [22:12:58.045] checking whether posix_fadvise is declared... no [22:12:58.087] checking whether fdatasync is declared... no [22:12:58.132] checking whether strlcat is declared... no [22:12:58.195] checking whether strlcpy is declared... no [22:12:58.257] checking whether strnlen is declared... yes [22:12:58.270] checking whether strsep is declared... no [22:12:58.330] checking whether preadv is declared... no [22:12:58.365] checking whether pwritev is declared... no [22:12:58.397] checking whether F_FULLFSYNC is declared... no [22:12:58.434] checking for explicit_bzero... no [22:12:58.478] checking for getopt... yes [22:12:58.521] checking for getpeereid... no [22:12:58.565] checking for inet_aton... no [22:12:58.610] checking for mkdtemp... no [22:12:58.655] checking for strlcat... no [22:12:58.700] checking for strlcpy... no [22:12:58.744] checking for strnlen... yes [22:12:58.790] checking for strsep... no [22:12:58.835] checking for pthread_barrier_wait... yes [22:12:58.877] configure: On mingw32 we will use our strtof wrapper. [22:12:58.877] checking for getopt_long... yes [22:12:58.919] checking for syslog... no [22:12:58.964] checking for opterr... yes [22:12:59.009] checking for optreset... no [22:12:59.058] checking test program... cross-compiling [22:12:59.058] checking size of void *... 8 [22:12:59.330] checking size of size_t... 8 [22:12:59.630] checking size of long... 4 [22:12:59.817] checking size of long long... 8 [22:13:00.065] checking alignment of short... 2 [22:13:00.194] checking alignment of int... 4 [22:13:00.427] checking alignment of long... 4 [22:13:00.706] checking alignment of int64_t... 8 [22:13:01.079] checking alignment of double... 8 [22:13:01.335] checking for __int128... yes [22:13:01.383] checking for __int128 alignment bug... assuming ok [22:13:01.383] checking alignment of PG_INT128_TYPE... 16 [22:13:01.720] checking for builtin __sync char locking functions... yes [22:13:01.760] checking for builtin __sync int32 locking functions... yes [22:13:01.799] checking for builtin __sync int32 atomic operations... yes [22:13:01.839] checking for builtin __sync int64 atomic operations... yes [22:13:01.879] checking for builtin __atomic int32 atomic operations... yes [22:13:01.919] checking for builtin __atomic int64 atomic operations... yes [22:13:01.959] checking for __get_cpuid... yes [22:13:02.003] checking for __get_cpuid_count... yes [22:13:02.044] checking for __cpuid... no [22:13:02.433] checking for __cpuidex... no [22:13:02.850] checking for _xgetbv... yes [22:13:03.243] checking for _mm512_popcnt_epi64... yes [22:13:03.653] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:13:03.752] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:13:03.775] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:13:03.794] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:13:03.812] 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 [22:13:03.866] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:13:03.866] checking which random number source to use... Windows native [22:13:03.868] checking for xmllint... /usr/bin/xmllint [22:13:03.868] checking for xsltproc... /usr/bin/xsltproc [22:13:03.869] checking for fop... /usr/bin/fop [22:13:03.869] checking for dbtoepub... no [22:13:03.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:13:03.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:13:03.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:13:03.880] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:13:03.880] 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 [22:13:03.880] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:13:03.880] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:13:03.965] configure: creating ./config.status [22:13:04.048] config.status: creating GNUmakefile [22:13:04.060] config.status: creating src/Makefile.global [22:13:04.076] config.status: creating src/include/pg_config.h [22:13:04.088] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:13:04.103] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:13:04.111] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:13:04.118] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:13:04.126] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:13:04.133] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:13:04.136] config.status: executing check_win32_symlinks commands [22:13:04.170] [22:13:04.170] real 0m15.302s [22:13:04.170] user 0m10.142s [22:13:04.170] sys 0m4.768s [22:13:04.170] make -s -j${BUILD_JOBS} clean [22:13:04.681] time make -s -j${BUILD_JOBS} world-bin [22:14:30.409] postgres.c: In function ‘finish_xact_command’: [22:14:30.409] postgres.c:2822:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [22:14:30.409] 2822 | char *old_brk = sbrk(0); [22:14:30.409] | ^~~~ [22:14:30.409] postgres.c:2822:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [22:14:30.409] postgres.c:2825:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [22:14:30.409] 2825 | malloc_trim(0); [22:14:30.409] | ^~~~~~~~~~~ [22:14:30.409] postgres.c:2826:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [22:14:30.409] 2826 | new_brk = sbrk(0); [22:14:30.409] | ^ [22:14:30.409] cc1: all warnings being treated as errors [22:14:30.410] make[3]: *** [: postgres.o] Error 1 [22:14:30.410] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [22:14:30.410] make[2]: *** Waiting for unfinished jobs.... [22:14:37.123] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:14:37.123] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:14:37.123] [22:14:37.123] real 1m32.442s [22:14:37.123] user 4m53.659s [22:14:37.123] sys 1m0.419s [22:14:37.124] [22:14:37.124] Exit status: 2