[05:20:20.688] time ./configure \ [05:20:20.688] --host=x86_64-w64-mingw32 \ [05:20:20.688] --enable-cassert \ [05:20:20.688] --without-icu \ [05:20:20.688] CC="ccache x86_64-w64-mingw32-gcc" \ [05:20:20.688] CXX="ccache x86_64-w64-mingw32-g++" [05:20:20.840] checking build system type... x86_64-pc-linux-gnu [05:20:21.073] checking host system type... x86_64-w64-mingw32 [05:20:21.079] checking which template to use... win32 [05:20:21.080] checking whether NLS is wanted... no [05:20:21.080] checking for default port number... 5432 [05:20:21.088] checking for block size... 8kB [05:20:21.089] checking for segment size... 1GB [05:20:21.092] checking for WAL block size... 8kB [05:20:21.094] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:20:21.135] checking whether the C compiler works... yes [05:20:21.313] checking for C compiler default output file name... a.exe [05:20:21.315] checking for suffix of executables... .exe [05:20:21.366] checking whether we are cross compiling... yes [05:20:21.468] checking for suffix of object files... o [05:20:21.477] checking whether we are using the GNU C compiler... yes [05:20:21.486] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:20:21.494] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:20:21.505] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:20:21.580] checking whether we are using the GNU C++ compiler... yes [05:20:21.588] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:20:21.675] checking for gawk... no [05:20:21.676] checking for mawk... mawk [05:20:21.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:20:21.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:20:21.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:20:21.751] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:20:21.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:20:21.968] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:20:21.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:20:21.988] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:20:21.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:20:22.007] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:20:22.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:20:22.027] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:20:22.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:20:22.047] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:20:22.058] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:20:22.067] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:20:22.077] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:20:22.123] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:20:22.133] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:20:22.144] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:20:22.154] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:20:22.163] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:20:22.173] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:20:22.204] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:20:22.214] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:20:22.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:20:22.269] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:20:22.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:20:22.324] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:20:22.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:20:22.374] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:20:22.384] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:20:22.394] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:20:22.404] checking whether the C compiler still works... yes [05:20:22.491] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:20:22.584] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:20:22.585] checking pkg-config is at least version 0.9.0... yes [05:20:22.604] checking whether to build with ICU support... no [05:20:22.605] checking whether to build with Tcl... no [05:20:22.605] checking whether to build Perl modules... no [05:20:22.605] checking whether to build Python modules... no [05:20:22.605] checking whether to build with GSSAPI support... no [05:20:22.606] checking whether to build with PAM support... no [05:20:22.607] checking whether to build with BSD Authentication support... no [05:20:22.607] checking whether to build with LDAP support... no [05:20:22.607] checking whether to build with Bonjour support... no [05:20:22.607] checking whether to build with SELinux support... no [05:20:22.607] checking whether to build with systemd support... no [05:20:22.607] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:20:22.607] checking whether to build with XML support... no [05:20:22.608] checking whether to build with LZ4 support... no [05:20:22.608] checking whether to build with ZSTD support... no [05:20:22.608] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:20:22.609] checking whether it is possible to strip libraries... yes [05:20:22.617] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:20:22.618] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:20:22.618] checking for a BSD-compatible install... /usr/bin/install -c [05:20:22.631] checking for tar... /usr/bin/tar [05:20:22.631] checking whether ln -s works... yes [05:20:22.631] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:20:22.634] checking for bison... /usr/bin/bison [05:20:22.638] configure: using bison (GNU Bison) 3.8.2 [05:20:22.642] checking for flex... /usr/bin/flex [05:20:22.658] configure: using flex 2.6.4 [05:20:22.659] checking for perl... /usr/bin/perl [05:20:22.662] configure: using perl 5.36.0 [05:20:22.666] checking for zic... /usr/sbin/zic [05:20:22.666] checking for a sed that does not truncate output... /usr/bin/sed [05:20:22.673] checking for grep that handles long lines and -e... /usr/bin/grep [05:20:22.676] checking for egrep... /usr/bin/grep -E [05:20:22.678] checking for ANSI C header files... yes [05:20:22.739] checking for sys/types.h... yes [05:20:22.764] checking for sys/stat.h... yes [05:20:22.788] checking for stdlib.h... yes [05:20:22.808] checking for string.h... yes [05:20:22.827] checking for memory.h... yes [05:20:22.847] checking for strings.h... yes [05:20:22.869] checking for inttypes.h... yes [05:20:22.892] checking for stdint.h... yes [05:20:22.911] checking for unistd.h... yes [05:20:22.933] checking for main in -lm... yes [05:20:22.994] checking for library containing setproctitle... no [05:20:23.115] checking for library containing dlsym... no [05:20:23.230] checking for library containing socket... -lws2_32 [05:20:23.400] checking for library containing getopt_long... none required [05:20:23.463] checking for library containing shm_open... no [05:20:23.583] checking for library containing shm_unlink... no [05:20:23.700] checking for library containing clock_gettime... no [05:20:23.816] checking for library containing shmget... no [05:20:23.936] checking for library containing backtrace_symbols... no [05:20:24.056] checking for library containing pthread_barrier_wait... -lpthread [05:20:24.176] checking for inflate in -lz... yes [05:20:24.239] checking atomic.h usability... no [05:20:24.315] checking atomic.h presence... no [05:20:24.343] checking for atomic.h... no [05:20:24.348] checking copyfile.h usability... no [05:20:24.421] checking copyfile.h presence... no [05:20:24.447] checking for copyfile.h... no [05:20:24.452] checking execinfo.h usability... no [05:20:24.524] checking execinfo.h presence... no [05:20:24.550] checking for execinfo.h... no [05:20:24.555] checking getopt.h usability... yes [05:20:24.565] checking getopt.h presence... yes [05:20:24.586] checking for getopt.h... yes [05:20:24.596] checking ifaddrs.h usability... no [05:20:24.669] checking ifaddrs.h presence... no [05:20:24.696] checking for ifaddrs.h... no [05:20:24.701] checking mbarrier.h usability... no [05:20:24.773] checking mbarrier.h presence... no [05:20:24.799] checking for mbarrier.h... no [05:20:24.803] checking sys/epoll.h usability... no [05:20:24.874] checking sys/epoll.h presence... no [05:20:24.900] checking for sys/epoll.h... no [05:20:24.906] checking sys/event.h usability... no [05:20:24.979] checking sys/event.h presence... no [05:20:25.003] checking for sys/event.h... no [05:20:25.008] checking sys/personality.h usability... no [05:20:25.078] checking sys/personality.h presence... no [05:20:25.102] checking for sys/personality.h... no [05:20:25.107] checking sys/prctl.h usability... no [05:20:25.175] checking sys/prctl.h presence... no [05:20:25.199] checking for sys/prctl.h... no [05:20:25.203] checking sys/procctl.h usability... no [05:20:25.274] checking sys/procctl.h presence... no [05:20:25.300] checking for sys/procctl.h... no [05:20:25.305] checking sys/signalfd.h usability... no [05:20:25.376] checking sys/signalfd.h presence... no [05:20:25.401] checking for sys/signalfd.h... no [05:20:25.406] checking sys/ucred.h usability... no [05:20:25.476] checking sys/ucred.h presence... no [05:20:25.501] checking for sys/ucred.h... no [05:20:25.506] checking termios.h usability... no [05:20:25.574] checking termios.h presence... no [05:20:25.598] checking for termios.h... no [05:20:25.601] checking ucred.h usability... no [05:20:25.669] checking ucred.h presence... no [05:20:25.694] checking for ucred.h... no [05:20:25.698] checking xlocale.h usability... no [05:20:25.769] checking xlocale.h presence... no [05:20:25.794] checking for xlocale.h... no [05:20:25.798] checking zlib.h usability... yes [05:20:25.810] checking zlib.h presence... yes [05:20:25.834] checking for zlib.h... yes [05:20:25.834] checking for lz4... /usr/bin/lz4 [05:20:25.834] checking for zstd... /usr/bin/zstd [05:20:25.835] checking for openssl... /usr/bin/openssl [05:20:25.840] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:20:25.841] checking crtdefs.h usability... yes [05:20:25.851] checking crtdefs.h presence... yes [05:20:25.873] checking for crtdefs.h... yes [05:20:25.875] checking whether byte ordering is bigendian... no [05:20:25.974] checking for inline... inline [05:20:25.985] checking for printf format archetype... gnu_printf [05:20:25.996] checking for _Static_assert... yes [05:20:26.054] checking for typeof... typeof [05:20:26.064] checking for __builtin_types_compatible_p... yes [05:20:26.079] checking for __builtin_constant_p... yes [05:20:26.094] checking for __builtin_unreachable... yes [05:20:26.147] checking for computed goto support... yes [05:20:26.157] checking for struct tm.tm_zone... no [05:20:26.261] checking for union semun... no [05:20:26.307] checking for socklen_t... yes [05:20:27.746] checking for struct sockaddr.sa_len... no [05:20:30.242] checking for C/C++ restrict keyword... __restrict [05:20:30.258] checking for struct option... yes [05:20:30.314] checking whether assembler supports x86_64 popcntq... yes [05:20:30.325] checking size of off_t... 4 [05:20:30.598] 0 [05:20:30.599] checking for int timezone... yes [05:20:30.674] checking for backtrace_symbols... no [05:20:30.743] checking for copyfile... no [05:20:30.807] checking for copy_file_range... no [05:20:30.872] checking for elf_aux_info... no [05:20:30.938] checking for getauxval... no [05:20:31.004] checking for getifaddrs... no [05:20:31.075] checking for getpeerucred... no [05:20:31.145] checking for inet_pton... yes [05:20:31.215] checking for kqueue... no [05:20:31.280] checking for mbstowcs_l... no [05:20:31.353] checking for memset_s... no [05:20:31.422] checking for posix_fallocate... no [05:20:31.491] checking for ppoll... no [05:20:31.561] checking for pthread_is_threaded_np... no [05:20:31.632] checking for setproctitle... no [05:20:31.701] checking for setproctitle_fast... no [05:20:31.767] checking for strchrnul... no [05:20:31.835] checking for strsignal... no [05:20:31.901] checking for syncfs... no [05:20:31.973] checking for sync_file_range... no [05:20:32.043] checking for uselocale... no [05:20:32.114] checking for wcstombs_l... no [05:20:32.180] checking for __builtin_bswap16... yes [05:20:32.247] checking for __builtin_bswap32... yes [05:20:32.312] checking for __builtin_bswap64... yes [05:20:32.375] checking for __builtin_clz... yes [05:20:32.442] checking for __builtin_ctz... yes [05:20:32.508] checking for __builtin_popcount... yes [05:20:32.572] checking for __builtin_frame_address... yes [05:20:32.637] checking for _LARGEFILE_SOURCE value needed for large files... no [05:20:32.707] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:20:32.750] checking for posix_fadvise... no [05:20:32.821] checking whether posix_fadvise is declared... no [05:20:32.885] checking whether fdatasync is declared... no [05:20:32.949] checking whether strlcat is declared... no [05:20:33.033] checking whether strlcpy is declared... no [05:20:33.116] checking whether strnlen is declared... yes [05:20:33.136] checking whether strsep is declared... no [05:20:33.220] checking whether preadv is declared... no [05:20:33.274] checking whether pwritev is declared... no [05:20:33.326] checking whether F_FULLFSYNC is declared... no [05:20:33.384] checking for explicit_bzero... no [05:20:33.451] checking for getopt... yes [05:20:33.510] checking for getpeereid... no [05:20:33.575] checking for inet_aton... no [05:20:33.640] checking for mkdtemp... no [05:20:33.703] checking for strlcat... no [05:20:33.769] checking for strlcpy... no [05:20:33.833] checking for strnlen... yes [05:20:33.895] checking for strsep... no [05:20:33.960] checking for pthread_barrier_wait... yes [05:20:34.016] configure: On mingw32 we will use our strtof wrapper. [05:20:34.016] checking for getopt_long... yes [05:20:34.073] checking for syslog... no [05:20:34.137] checking for opterr... yes [05:20:34.202] checking for optreset... no [05:20:34.271] checking test program... cross-compiling [05:20:34.271] checking whether long int is 64 bits... no [05:20:34.315] checking whether long long int is 64 bits... yes [05:20:34.329] checking for __builtin_mul_overflow... yes [05:20:34.391] checking size of void *... 8 [05:20:34.730] checking size of size_t... 8 [05:20:35.082] checking size of long... 4 [05:20:35.342] checking alignment of short... 2 [05:20:35.520] checking alignment of int... 4 [05:20:35.784] checking alignment of long... 4 [05:20:36.044] checking alignment of long long int... 8 [05:20:36.402] checking alignment of double... 8 [05:20:36.754] checking for __int128... yes [05:20:36.822] checking for __int128 alignment bug... assuming ok [05:20:36.822] checking alignment of PG_INT128_TYPE... 16 [05:20:37.267] checking for builtin __sync char locking functions... yes [05:20:37.324] checking for builtin __sync int32 locking functions... yes [05:20:37.380] checking for builtin __sync int32 atomic operations... yes [05:20:37.441] checking for builtin __sync int64 atomic operations... yes [05:20:37.497] checking for builtin __atomic int32 atomic operations... yes [05:20:37.551] checking for builtin __atomic int64 atomic operations... yes [05:20:37.607] checking for __get_cpuid... yes [05:20:37.669] checking for __get_cpuid_count... yes [05:20:37.729] checking for __cpuid... no [05:20:38.179] checking for __cpuidex... no [05:20:38.645] checking for _xgetbv... yes [05:20:39.108] checking for _mm512_popcnt_epi64... yes [05:20:39.583] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [05:20:39.707] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:20:39.738] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [05:20:39.763] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:20:39.787] 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 [05:20:39.858] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:20:39.858] checking which random number source to use... Windows native [05:20:39.861] checking for xmllint... /usr/bin/xmllint [05:20:39.861] checking for xsltproc... /usr/bin/xsltproc [05:20:39.862] checking for fop... /usr/bin/fop [05:20:39.862] checking for dbtoepub... no [05:20:39.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:20:39.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:20:39.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:20:39.877] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:20:39.877] 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 [05:20:39.877] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:20:39.877] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:20:39.991] configure: creating ./config.status [05:20:40.109] config.status: creating GNUmakefile [05:20:40.126] config.status: creating src/Makefile.global [05:20:40.146] config.status: creating src/include/pg_config.h [05:20:40.162] config.status: creating src/include/pg_config_ext.h [05:20:40.177] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:20:40.197] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:20:40.206] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:20:40.217] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:20:40.227] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:20:40.237] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:20:40.242] config.status: executing check_win32_symlinks commands [05:20:40.288] [05:20:40.288] real 0m19.601s [05:20:40.288] user 0m12.105s [05:20:40.288] sys 0m7.074s [05:20:40.288] make -s -j${BUILD_JOBS} clean [05:20:40.942] time make -s -j${BUILD_JOBS} world-bin [05:20:47.208] postgres.c: In function ‘finish_xact_command’: [05:20:47.208] postgres.c:2836:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [05:20:47.208] 2836 | char *old_brk = sbrk(0); [05:20:47.208] | ^~~~ [05:20:47.208] postgres.c:2836:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [05:20:47.208] postgres.c:2839:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [05:20:47.208] 2839 | malloc_trim(0); [05:20:47.208] | ^~~~~~~~~~~ [05:20:47.208] postgres.c:2840:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [05:20:47.208] 2840 | new_brk = sbrk(0); [05:20:47.208] | ^ [05:20:47.208] cc1: all warnings being treated as errors [05:20:47.210] make[3]: *** [: postgres.o] Error 1 [05:20:47.210] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [05:20:47.211] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:20:47.211] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:20:47.212] [05:20:47.212] real 0m6.269s [05:20:47.212] user 0m9.874s [05:20:47.212] sys 0m8.790s [05:20:47.212] [05:20:47.212] Exit status: 2