[11:37:16.743] time ./configure \ [11:37:16.743] --host=x86_64-w64-mingw32 \ [11:37:16.743] --enable-cassert \ [11:37:16.743] --without-icu \ [11:37:16.743] CC="ccache x86_64-w64-mingw32-gcc" \ [11:37:16.743] CXX="ccache x86_64-w64-mingw32-g++" [11:37:16.849] checking build system type... x86_64-pc-linux-gnu [11:37:17.069] checking host system type... x86_64-w64-mingw32 [11:37:17.073] checking which template to use... win32 [11:37:17.074] checking whether NLS is wanted... no [11:37:17.074] checking for default port number... 5432 [11:37:17.080] checking for block size... 8kB [11:37:17.081] checking for segment size... 1GB [11:37:17.083] checking for WAL block size... 8kB [11:37:17.084] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:37:17.116] checking whether the C compiler works... yes [11:37:17.260] checking for C compiler default output file name... a.exe [11:37:17.261] checking for suffix of executables... .exe [11:37:17.299] checking whether we are cross compiling... yes [11:37:17.382] checking for suffix of object files... o [11:37:17.390] checking whether we are using the GNU C compiler... yes [11:37:17.405] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:37:17.411] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:37:17.420] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:37:17.482] checking whether we are using the GNU C++ compiler... yes [11:37:17.488] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:37:17.555] checking for gawk... no [11:37:17.555] checking for mawk... mawk [11:37:17.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:37:17.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:37:17.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:37:17.615] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:37:17.800] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:37:17.807] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:37:17.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:37:17.821] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:37:17.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:37:17.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:37:17.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:37:17.850] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:37:17.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:37:17.864] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:37:17.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:37:17.878] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:37:17.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:37:18.000] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:37:18.006] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:37:18.013] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:37:18.019] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:37:18.026] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:37:18.032] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:37:18.055] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:37:18.061] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:37:18.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:37:18.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:37:18.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:37:18.171] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:37:18.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:37:18.210] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:37:18.217] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:37:18.223] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:37:18.231] checking whether the C compiler still works... yes [11:37:18.303] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:37:18.369] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:37:18.370] checking pkg-config is at least version 0.9.0... yes [11:37:18.386] checking whether to build with ICU support... no [11:37:18.386] checking whether to build with Tcl... no [11:37:18.387] checking whether to build Perl modules... no [11:37:18.387] checking whether to build Python modules... no [11:37:18.387] checking whether to build with GSSAPI support... no [11:37:18.388] checking whether to build with PAM support... no [11:37:18.388] checking whether to build with BSD Authentication support... no [11:37:18.388] checking whether to build with LDAP support... no [11:37:18.388] checking whether to build with Bonjour support... no [11:37:18.388] checking whether to build with SELinux support... no [11:37:18.388] checking whether to build with systemd support... no [11:37:18.388] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:37:18.388] checking whether to build with XML support... no [11:37:18.389] checking whether to build with LZ4 support... no [11:37:18.389] checking whether to build with ZSTD support... no [11:37:18.389] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:37:18.390] checking whether it is possible to strip libraries... yes [11:37:18.398] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:37:18.399] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:37:18.399] checking for a BSD-compatible install... /usr/bin/install -c [11:37:18.408] checking for tar... /usr/bin/tar [11:37:18.408] checking whether ln -s works... yes [11:37:18.408] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:37:18.411] checking for bison... /usr/bin/bison [11:37:18.413] configure: using bison (GNU Bison) 3.8.2 [11:37:18.416] checking for flex... /usr/bin/flex [11:37:18.428] configure: using flex 2.6.4 [11:37:18.428] checking for perl... /usr/bin/perl [11:37:18.431] configure: using perl 5.36.0 [11:37:18.433] checking for zic... /usr/sbin/zic [11:37:18.433] checking for a sed that does not truncate output... /usr/bin/sed [11:37:18.438] checking for grep that handles long lines and -e... /usr/bin/grep [11:37:18.440] checking for egrep... /usr/bin/grep -E [11:37:18.441] checking for ANSI C header files... yes [11:37:18.485] checking for sys/types.h... yes [11:37:18.501] checking for sys/stat.h... yes [11:37:18.516] checking for stdlib.h... yes [11:37:18.576] checking for string.h... yes [11:37:18.590] checking for memory.h... yes [11:37:18.605] checking for strings.h... yes [11:37:18.664] checking for inttypes.h... yes [11:37:18.682] checking for stdint.h... yes [11:37:18.740] checking for unistd.h... yes [11:37:18.755] checking for main in -lm... yes [11:37:18.801] checking for library containing setproctitle... no [11:37:18.890] checking for library containing dlsym... no [11:37:18.973] checking for library containing socket... -lws2_32 [11:37:19.095] checking for library containing getopt_long... none required [11:37:19.140] checking for library containing shm_open... no [11:37:19.224] checking for library containing shm_unlink... no [11:37:19.308] checking for library containing clock_gettime... no [11:37:19.393] checking for library containing shmget... no [11:37:19.476] checking for library containing backtrace_symbols... no [11:37:19.562] checking for library containing pthread_barrier_wait... -lpthread [11:37:19.647] checking for inflate in -lz... yes [11:37:19.694] checking atomic.h usability... no [11:37:19.747] checking atomic.h presence... no [11:37:19.765] checking for atomic.h... no [11:37:19.769] checking copyfile.h usability... no [11:37:19.822] checking copyfile.h presence... no [11:37:19.839] checking for copyfile.h... no [11:37:19.842] checking execinfo.h usability... no [11:37:19.894] checking execinfo.h presence... no [11:37:19.911] checking for execinfo.h... no [11:37:19.914] checking getopt.h usability... yes [11:37:19.941] checking getopt.h presence... yes [11:37:19.956] checking for getopt.h... yes [11:37:19.962] checking ifaddrs.h usability... no [11:37:20.014] checking ifaddrs.h presence... no [11:37:20.031] checking for ifaddrs.h... no [11:37:20.034] checking mbarrier.h usability... no [11:37:20.085] checking mbarrier.h presence... no [11:37:20.102] checking for mbarrier.h... no [11:37:20.105] checking sys/epoll.h usability... no [11:37:20.156] checking sys/epoll.h presence... no [11:37:20.173] checking for sys/epoll.h... no [11:37:20.176] checking sys/event.h usability... no [11:37:20.226] checking sys/event.h presence... no [11:37:20.243] checking for sys/event.h... no [11:37:20.246] checking sys/personality.h usability... no [11:37:20.297] checking sys/personality.h presence... no [11:37:20.314] checking for sys/personality.h... no [11:37:20.317] checking sys/prctl.h usability... no [11:37:20.368] checking sys/prctl.h presence... no [11:37:20.385] checking for sys/prctl.h... no [11:37:20.389] checking sys/procctl.h usability... no [11:37:20.441] checking sys/procctl.h presence... no [11:37:20.458] checking for sys/procctl.h... no [11:37:20.461] checking sys/signalfd.h usability... no [11:37:20.512] checking sys/signalfd.h presence... no [11:37:20.529] checking for sys/signalfd.h... no [11:37:20.532] checking sys/ucred.h usability... no [11:37:20.582] checking sys/ucred.h presence... no [11:37:20.599] checking for sys/ucred.h... no [11:37:20.602] checking termios.h usability... no [11:37:20.653] checking termios.h presence... no [11:37:20.670] checking for termios.h... no [11:37:20.673] checking ucred.h usability... no [11:37:20.724] checking ucred.h presence... no [11:37:20.741] checking for ucred.h... no [11:37:20.745] checking xlocale.h usability... no [11:37:20.797] checking xlocale.h presence... no [11:37:20.815] checking for xlocale.h... no [11:37:20.818] checking zlib.h usability... yes [11:37:20.827] checking zlib.h presence... yes [11:37:20.845] checking for zlib.h... yes [11:37:20.845] checking for lz4... /usr/bin/lz4 [11:37:20.845] checking for zstd... /usr/bin/zstd [11:37:20.846] checking for openssl... /usr/bin/openssl [11:37:20.850] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [11:37:20.850] checking crtdefs.h usability... yes [11:37:20.858] checking crtdefs.h presence... yes [11:37:20.872] checking for crtdefs.h... yes [11:37:20.873] checking whether byte ordering is bigendian... no [11:37:20.941] checking for inline... inline [11:37:20.966] checking for printf format archetype... gnu_printf [11:37:20.974] checking for _Static_assert... yes [11:37:21.012] checking for typeof... typeof [11:37:21.027] checking for __builtin_types_compatible_p... yes [11:37:21.037] checking for __builtin_constant_p... yes [11:37:21.047] checking for __builtin_mul_overflow... yes [11:37:21.092] checking for __builtin_unreachable... yes [11:37:21.130] checking for computed goto support... yes [11:37:21.137] checking for struct tm.tm_zone... no [11:37:21.210] checking for union semun... no [11:37:21.242] checking for socklen_t... yes [11:37:22.361] checking for struct sockaddr.sa_len... no [11:37:24.264] checking for C/C++ restrict keyword... __restrict [11:37:24.276] checking for struct option... yes [11:37:24.325] checking whether assembler supports x86_64 popcntq... yes [11:37:24.331] checking size of off_t... 4 [11:37:24.528] 0 [11:37:24.529] checking for int timezone... yes [11:37:24.580] checking for backtrace_symbols... no [11:37:24.629] checking for copyfile... no [11:37:24.678] checking for copy_file_range... no [11:37:24.728] checking for elf_aux_info... no [11:37:24.778] checking for getauxval... no [11:37:24.827] checking for getifaddrs... no [11:37:24.875] checking for getpeerucred... no [11:37:24.924] checking for inet_pton... yes [11:37:24.972] checking for kqueue... no [11:37:25.020] checking for mbstowcs_l... no [11:37:25.067] checking for memset_s... no [11:37:25.115] checking for posix_fallocate... no [11:37:25.164] checking for ppoll... no [11:37:25.213] checking for pthread_is_threaded_np... no [11:37:25.261] checking for setproctitle... no [11:37:25.309] checking for setproctitle_fast... no [11:37:25.357] checking for strchrnul... no [11:37:25.408] checking for strsignal... no [11:37:25.456] checking for syncfs... no [11:37:25.504] checking for sync_file_range... no [11:37:25.553] checking for uselocale... no [11:37:25.600] checking for wcstombs_l... no [11:37:25.648] checking for __builtin_bswap16... yes [11:37:25.695] checking for __builtin_bswap32... yes [11:37:25.741] checking for __builtin_bswap64... yes [11:37:25.788] checking for __builtin_clz... yes [11:37:25.835] checking for __builtin_ctz... yes [11:37:25.883] checking for __builtin_popcount... yes [11:37:25.929] checking for __builtin_frame_address... yes [11:37:25.975] checking for _LARGEFILE_SOURCE value needed for large files... no [11:37:26.026] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:37:26.055] checking for posix_fadvise... no [11:37:26.104] checking whether posix_fadvise is declared... no [11:37:26.146] checking whether fdatasync is declared... no [11:37:26.192] checking whether strlcat is declared... no [11:37:26.254] checking whether strlcpy is declared... no [11:37:26.316] checking whether strnlen is declared... yes [11:37:26.329] checking whether strsep is declared... no [11:37:26.390] checking whether preadv is declared... no [11:37:26.425] checking whether pwritev is declared... no [11:37:26.461] checking whether F_FULLFSYNC is declared... no [11:37:26.500] checking for explicit_bzero... no [11:37:26.545] checking for getopt... yes [11:37:26.587] checking for getpeereid... no [11:37:26.632] checking for inet_aton... no [11:37:26.676] checking for mkdtemp... no [11:37:26.721] checking for strlcat... no [11:37:26.766] checking for strlcpy... no [11:37:26.811] checking for strnlen... yes [11:37:26.856] checking for strsep... no [11:37:26.903] checking for pthread_barrier_wait... yes [11:37:26.946] configure: On mingw32 we will use our strtof wrapper. [11:37:26.946] checking for getopt_long... yes [11:37:26.990] checking for syslog... no [11:37:27.036] checking for opterr... yes [11:37:27.083] checking for optreset... no [11:37:27.132] checking test program... cross-compiling [11:37:27.132] checking size of void *... 8 [11:37:27.466] checking size of size_t... 8 [11:37:27.782] checking size of long... 4 [11:37:28.054] checking size of long long... 8 [11:37:28.518] checking alignment of short... 2 [11:37:28.692] checking alignment of int... 4 [11:37:28.907] checking alignment of long... 4 [11:37:29.113] checking alignment of int64_t... 8 [11:37:29.496] checking alignment of double... 8 [11:37:29.765] checking for __int128... yes [11:37:29.816] checking for __int128 alignment bug... assuming ok [11:37:29.816] checking alignment of PG_INT128_TYPE... 16 [11:37:30.256] checking for builtin __sync char locking functions... yes [11:37:30.296] checking for builtin __sync int32 locking functions... yes [11:37:30.336] checking for builtin __sync int32 atomic operations... yes [11:37:30.376] checking for builtin __sync int64 atomic operations... yes [11:37:30.422] checking for builtin __atomic int32 atomic operations... yes [11:37:30.463] checking for builtin __atomic int64 atomic operations... yes [11:37:30.506] checking for __get_cpuid... yes [11:37:30.553] checking for __get_cpuid_count... yes [11:37:30.595] checking for __cpuid... no [11:37:30.987] checking for __cpuidex... no [11:37:31.403] checking for _xgetbv... yes [11:37:31.797] checking for _mm512_popcnt_epi64... yes [11:37:32.210] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [11:37:32.308] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:37:32.330] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [11:37:32.347] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:37:32.365] 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 [11:37:32.420] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:37:32.420] checking which random number source to use... Windows native [11:37:32.422] checking for xmllint... /usr/bin/xmllint [11:37:32.422] checking for xsltproc... /usr/bin/xsltproc [11:37:32.422] checking for fop... /usr/bin/fop [11:37:32.423] checking for dbtoepub... no [11:37:32.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:37:32.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:37:32.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:37:32.433] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:37:32.433] 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 [11:37:32.433] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:37:32.433] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:37:32.510] configure: creating ./config.status [11:37:32.588] config.status: creating GNUmakefile [11:37:32.599] config.status: creating src/Makefile.global [11:37:32.614] config.status: creating src/include/pg_config.h [11:37:32.625] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:37:32.639] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:37:32.646] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:37:32.653] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:37:32.660] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:37:32.666] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:37:32.669] config.status: executing check_win32_symlinks commands [11:37:32.700] [11:37:32.700] real 0m15.957s [11:37:32.700] user 0m10.294s [11:37:32.700] sys 0m5.170s [11:37:32.700] make -s -j${BUILD_JOBS} clean [11:37:33.202] time make -s -j${BUILD_JOBS} world-bin [11:38:50.061] postgres.c: In function ‘finish_xact_command’: [11:38:50.061] postgres.c:2834:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [11:38:50.061] 2834 | char *old_brk = sbrk(0); [11:38:50.061] | ^~~~ [11:38:50.061] postgres.c:2834:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [11:38:50.061] postgres.c:2837:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [11:38:50.061] 2837 | malloc_trim(0); [11:38:50.061] | ^~~~~~~~~~~ [11:38:50.061] postgres.c:2838:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [11:38:50.061] 2838 | new_brk = sbrk(0); [11:38:50.061] | ^ [11:38:50.061] cc1: all warnings being treated as errors [11:38:50.062] make[3]: *** [: postgres.o] Error 1 [11:38:50.062] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [11:38:50.062] make[2]: *** Waiting for unfinished jobs.... [11:38:57.127] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:38:57.127] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:38:57.128] [11:38:57.128] real 1m23.926s [11:38:57.128] user 4m27.834s [11:38:57.128] sys 0m54.144s [11:38:57.128] [11:38:57.128] Exit status: 2