[16:42:15.526] time ./configure \ [16:42:15.526] --host=x86_64-w64-mingw32 \ [16:42:15.526] --enable-cassert \ [16:42:15.526] --without-icu \ [16:42:15.526] CC="ccache x86_64-w64-mingw32-gcc" \ [16:42:15.526] CXX="ccache x86_64-w64-mingw32-g++" [16:42:15.643] checking build system type... x86_64-pc-linux-gnu [16:42:15.842] checking host system type... x86_64-w64-mingw32 [16:42:15.848] checking which template to use... win32 [16:42:15.848] checking whether NLS is wanted... no [16:42:15.848] checking for default port number... 5432 [16:42:15.855] checking for block size... 8kB [16:42:15.857] checking for segment size... 1GB [16:42:15.859] checking for WAL block size... 8kB [16:42:15.861] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:42:15.899] checking whether the C compiler works... yes [16:42:16.044] checking for C compiler default output file name... a.exe [16:42:16.046] checking for suffix of executables... .exe [16:42:16.087] checking whether we are cross compiling... yes [16:42:16.162] checking for suffix of object files... o [16:42:16.170] checking whether we are using the GNU C compiler... yes [16:42:16.177] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:42:16.184] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:42:16.193] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:42:16.258] checking whether we are using the GNU C++ compiler... yes [16:42:16.265] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:42:16.341] checking for gawk... no [16:42:16.341] checking for mawk... mawk [16:42:16.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:42:16.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:42:16.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:42:16.413] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:42:16.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:42:16.590] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:42:16.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:42:16.604] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:42:16.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:42:16.619] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:42:16.627] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:42:16.635] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:42:16.643] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:42:16.652] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:42:16.660] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:42:16.667] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:42:16.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:42:16.712] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:42:16.719] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:42:16.726] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:42:16.733] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:42:16.740] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:42:16.747] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:42:16.772] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:42:16.779] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:42:16.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:42:16.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:42:16.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:42:16.874] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:42:16.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:42:16.919] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:42:16.928] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:42:16.937] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:42:16.946] checking whether the C compiler still works... yes [16:42:17.014] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:42:17.088] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:42:17.088] checking pkg-config is at least version 0.9.0... yes [16:42:17.105] checking whether to build with ICU support... no [16:42:17.105] checking whether to build with Tcl... no [16:42:17.105] checking whether to build Perl modules... no [16:42:17.105] checking whether to build Python modules... no [16:42:17.105] checking whether to build with GSSAPI support... no [16:42:17.107] checking whether to build with PAM support... no [16:42:17.107] checking whether to build with BSD Authentication support... no [16:42:17.107] checking whether to build with LDAP support... no [16:42:17.107] checking whether to build with Bonjour support... no [16:42:17.107] checking whether to build with SELinux support... no [16:42:17.107] checking whether to build with systemd support... no [16:42:17.107] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:42:17.107] checking whether to build with XML support... no [16:42:17.108] checking whether to build with LZ4 support... no [16:42:17.108] checking whether to build with ZSTD support... no [16:42:17.108] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:42:17.108] checking whether it is possible to strip libraries... yes [16:42:17.117] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:42:17.117] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:42:17.118] checking for a BSD-compatible install... /usr/bin/install -c [16:42:17.127] checking for tar... /usr/bin/tar [16:42:17.127] checking whether ln -s works... yes [16:42:17.127] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:42:17.130] checking for bison... /usr/bin/bison [16:42:17.132] configure: using bison (GNU Bison) 3.8.2 [16:42:17.135] checking for flex... /usr/bin/flex [16:42:17.148] configure: using flex 2.6.4 [16:42:17.149] checking for perl... /usr/bin/perl [16:42:17.152] configure: using perl 5.36.0 [16:42:17.154] checking for zic... /usr/sbin/zic [16:42:17.154] checking for a sed that does not truncate output... /usr/bin/sed [16:42:17.160] checking for grep that handles long lines and -e... /usr/bin/grep [16:42:17.162] checking for egrep... /usr/bin/grep -E [16:42:17.164] checking for ANSI C header files... yes [16:42:17.215] checking for sys/types.h... yes [16:42:17.233] checking for sys/stat.h... yes [16:42:17.250] checking for stdlib.h... yes [16:42:17.265] checking for string.h... yes [16:42:17.279] checking for memory.h... yes [16:42:17.293] checking for strings.h... yes [16:42:17.308] checking for inttypes.h... yes [16:42:17.324] checking for stdint.h... yes [16:42:17.338] checking for unistd.h... yes [16:42:17.354] checking for main in -lm... yes [16:42:17.402] checking for library containing setproctitle... no [16:42:17.491] checking for library containing dlsym... no [16:42:17.585] checking for library containing socket... -lws2_32 [16:42:17.725] checking for library containing getopt_long... none required [16:42:17.780] checking for library containing shm_open... no [16:42:17.872] checking for library containing shm_unlink... no [16:42:17.964] checking for library containing clock_gettime... no [16:42:18.053] checking for library containing shmget... no [16:42:18.139] checking for library containing backtrace_symbols... no [16:42:18.229] checking for library containing pthread_barrier_wait... -lpthread [16:42:18.321] checking for inflate in -lz... yes [16:42:18.369] checking for stdbool.h that conforms to C99... yes [16:42:18.382] checking for _Bool... yes [16:42:18.462] checking atomic.h usability... no [16:42:18.520] checking atomic.h presence... no [16:42:18.540] checking for atomic.h... no [16:42:18.544] checking copyfile.h usability... no [16:42:18.604] checking copyfile.h presence... no [16:42:18.625] checking for copyfile.h... no [16:42:18.628] checking execinfo.h usability... no [16:42:18.689] checking execinfo.h presence... no [16:42:18.712] checking for execinfo.h... no [16:42:18.716] checking getopt.h usability... yes [16:42:18.724] checking getopt.h presence... yes [16:42:18.742] checking for getopt.h... yes [16:42:18.752] checking ifaddrs.h usability... no [16:42:18.831] checking ifaddrs.h presence... no [16:42:18.852] checking for ifaddrs.h... no [16:42:18.855] checking mbarrier.h usability... no [16:42:18.912] checking mbarrier.h presence... no [16:42:18.931] checking for mbarrier.h... no [16:42:18.934] checking sys/epoll.h usability... no [16:42:18.992] checking sys/epoll.h presence... no [16:42:19.013] checking for sys/epoll.h... no [16:42:19.017] checking sys/event.h usability... no [16:42:19.075] checking sys/event.h presence... no [16:42:19.096] checking for sys/event.h... no [16:42:19.100] checking sys/personality.h usability... no [16:42:19.159] checking sys/personality.h presence... no [16:42:19.179] checking for sys/personality.h... no [16:42:19.182] checking sys/prctl.h usability... no [16:42:19.238] checking sys/prctl.h presence... no [16:42:19.257] checking for sys/prctl.h... no [16:42:19.260] checking sys/procctl.h usability... no [16:42:19.316] checking sys/procctl.h presence... no [16:42:19.335] checking for sys/procctl.h... no [16:42:19.338] checking sys/signalfd.h usability... no [16:42:19.392] checking sys/signalfd.h presence... no [16:42:19.410] checking for sys/signalfd.h... no [16:42:19.413] checking sys/ucred.h usability... no [16:42:19.467] checking sys/ucred.h presence... no [16:42:19.486] checking for sys/ucred.h... no [16:42:19.490] checking termios.h usability... no [16:42:19.546] checking termios.h presence... no [16:42:19.566] checking for termios.h... no [16:42:19.570] checking ucred.h usability... no [16:42:19.628] checking ucred.h presence... no [16:42:19.651] checking for ucred.h... no [16:42:19.654] checking zlib.h usability... yes [16:42:19.672] checking zlib.h presence... yes [16:42:19.693] checking for zlib.h... yes [16:42:19.694] checking for lz4... /usr/bin/lz4 [16:42:19.694] checking for zstd... /usr/bin/zstd [16:42:19.694] checking for openssl... /usr/bin/openssl [16:42:19.699] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [16:42:19.700] checking crtdefs.h usability... yes [16:42:19.708] checking crtdefs.h presence... yes [16:42:19.725] checking for crtdefs.h... yes [16:42:19.726] checking whether byte ordering is bigendian... no [16:42:19.805] checking for inline... inline [16:42:19.813] checking for printf format archetype... gnu_printf [16:42:19.823] checking for _Static_assert... yes [16:42:19.867] checking for typeof... typeof [16:42:19.875] checking for __builtin_types_compatible_p... yes [16:42:19.885] checking for __builtin_constant_p... yes [16:42:19.897] checking for __builtin_unreachable... yes [16:42:19.940] checking for computed goto support... yes [16:42:19.948] checking for struct tm.tm_zone... no [16:42:20.033] checking for union semun... no [16:42:20.072] checking for socklen_t... yes [16:42:21.230] checking for struct sockaddr.sa_len... no [16:42:23.439] checking for locale_t... no [16:42:23.504] checking for C/C++ restrict keyword... __restrict [16:42:23.518] checking for struct option... yes [16:42:23.560] checking whether assembler supports x86_64 popcntq... yes [16:42:23.568] checking size of off_t... 4 [16:42:23.788] 0 [16:42:23.788] checking size of bool... 1 [16:42:23.835] checking for int timezone... yes [16:42:23.886] checking for wcstombs_l declaration... no [16:42:23.976] checking for backtrace_symbols... no [16:42:24.028] checking for copyfile... no [16:42:24.079] checking for copy_file_range... no [16:42:24.130] checking for getifaddrs... no [16:42:24.180] checking for getpeerucred... no [16:42:24.233] checking for inet_pton... yes [16:42:24.286] checking for kqueue... no [16:42:24.340] checking for mbstowcs_l... no [16:42:24.394] checking for memset_s... no [16:42:24.448] checking for posix_fallocate... no [16:42:24.503] checking for ppoll... no [16:42:24.559] checking for pthread_is_threaded_np... no [16:42:24.615] checking for setproctitle... no [16:42:24.673] checking for setproctitle_fast... no [16:42:24.728] checking for strchrnul... no [16:42:24.782] checking for strsignal... no [16:42:24.837] checking for syncfs... no [16:42:24.891] checking for sync_file_range... no [16:42:24.944] checking for uselocale... no [16:42:25.000] checking for wcstombs_l... no [16:42:25.052] checking for __builtin_bswap16... yes [16:42:25.106] checking for __builtin_bswap32... yes [16:42:25.158] checking for __builtin_bswap64... yes [16:42:25.212] checking for __builtin_clz... yes [16:42:25.266] checking for __builtin_ctz... yes [16:42:25.319] checking for __builtin_popcount... yes [16:42:25.371] checking for __builtin_frame_address... yes [16:42:25.425] checking for _LARGEFILE_SOURCE value needed for large files... no [16:42:25.485] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:42:25.519] checking for posix_fadvise... no [16:42:25.576] checking whether posix_fadvise is declared... no [16:42:25.622] checking whether fdatasync is declared... no [16:42:25.673] checking whether strlcat is declared... no [16:42:25.741] checking whether strlcpy is declared... no [16:42:25.809] checking whether strnlen is declared... yes [16:42:25.824] checking whether strsep is declared... no [16:42:25.892] checking whether preadv is declared... no [16:42:25.936] checking whether pwritev is declared... no [16:42:25.979] checking whether F_FULLFSYNC is declared... no [16:42:26.032] checking for explicit_bzero... no [16:42:26.090] checking for getopt... yes [16:42:26.140] checking for getpeereid... no [16:42:26.194] checking for inet_aton... no [16:42:26.244] checking for mkdtemp... no [16:42:26.294] checking for strlcat... no [16:42:26.345] checking for strlcpy... no [16:42:26.416] checking for strnlen... yes [16:42:26.470] checking for strsep... no [16:42:26.524] checking for pthread_barrier_wait... yes [16:42:26.572] configure: On mingw32 we will use our strtof wrapper. [16:42:26.572] checking for getopt_long... yes [16:42:26.621] checking for _configthreadlocale... yes [16:42:26.671] checking for syslog... no [16:42:26.723] checking for opterr... yes [16:42:26.777] checking for optreset... no [16:42:26.835] checking test program... cross-compiling [16:42:26.835] checking whether long int is 64 bits... no [16:42:26.870] checking whether long long int is 64 bits... yes [16:42:26.881] checking for __builtin_mul_overflow... yes [16:42:26.928] checking size of void *... 8 [16:42:27.231] checking size of size_t... 8 [16:42:27.526] checking size of long... 4 [16:42:27.752] checking alignment of short... 2 [16:42:27.907] checking alignment of int... 4 [16:42:28.127] checking alignment of long... 4 [16:42:28.348] checking alignment of long long int... 8 [16:42:28.644] checking alignment of double... 8 [16:42:28.973] checking for int8... no [16:42:29.020] checking for uint8... no [16:42:29.066] checking for int64... no [16:42:29.111] checking for uint64... no [16:42:29.158] checking for __int128... yes [16:42:29.213] checking for __int128 alignment bug... assuming ok [16:42:29.213] checking alignment of PG_INT128_TYPE... 16 [16:42:29.581] checking for builtin __sync char locking functions... yes [16:42:29.628] checking for builtin __sync int32 locking functions... yes [16:42:29.676] checking for builtin __sync int32 atomic operations... yes [16:42:29.719] checking for builtin __sync int64 atomic operations... yes [16:42:29.764] checking for builtin __atomic int32 atomic operations... yes [16:42:29.809] checking for builtin __atomic int64 atomic operations... yes [16:42:29.856] checking for __get_cpuid... yes [16:42:29.906] checking for __get_cpuid_count... yes [16:42:29.956] checking for __cpuid... no [16:42:30.368] checking for __cpuidex... no [16:42:30.808] checking for _xgetbv with CFLAGS=... no [16:42:31.189] checking for _xgetbv with CFLAGS=-mxsave... yes [16:42:31.599] checking for _mm512_popcnt_epi64 with CFLAGS=... no [16:42:31.990] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [16:42:32.345] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:42:32.395] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:42:32.493] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:42:32.519] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:42:32.540] 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 [16:42:32.601] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:42:32.601] checking which random number source to use... Windows native [16:42:32.603] checking for xmllint... /usr/bin/xmllint [16:42:32.604] checking for xsltproc... /usr/bin/xsltproc [16:42:32.604] checking for fop... /usr/bin/fop [16:42:32.604] checking for dbtoepub... no [16:42:32.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:42:32.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:42:32.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:42:32.616] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:42:32.616] 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 [16:42:32.616] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:42:32.616] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:42:32.711] configure: creating ./config.status [16:42:32.807] config.status: creating GNUmakefile [16:42:32.821] config.status: creating src/Makefile.global [16:42:32.839] config.status: creating src/include/pg_config.h [16:42:32.853] config.status: creating src/include/pg_config_ext.h [16:42:32.867] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:42:32.884] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:42:32.892] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:42:32.900] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:42:32.908] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:42:32.917] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:42:32.920] config.status: executing check_win32_symlinks commands [16:42:32.956] [16:42:32.956] real 0m17.430s [16:42:32.956] user 0m11.555s [16:42:32.956] sys 0m5.544s [16:42:32.956] make -s -j${BUILD_JOBS} clean [16:42:33.474] time make -s -j${BUILD_JOBS} world-bin [16:42:39.132] postgres.c: In function ‘finish_xact_command’: [16:42:39.132] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [16:42:39.132] 2826 | char *old_brk = sbrk(0); [16:42:39.132] | ^~~~ [16:42:39.132] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:42:39.132] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [16:42:39.132] 2829 | malloc_trim(0); [16:42:39.132] | ^~~~~~~~~~~ [16:42:39.132] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [16:42:39.132] 2830 | new_brk = sbrk(0); [16:42:39.132] | ^ [16:42:39.132] cc1: all warnings being treated as errors [16:42:39.133] make[3]: *** [: postgres.o] Error 1 [16:42:39.134] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [16:42:39.134] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:42:39.134] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:42:39.135] [16:42:39.135] real 0m5.661s [16:42:39.135] user 0m10.907s [16:42:39.135] sys 0m6.612s [16:42:39.135] [16:42:39.135] Exit status: 2