[12:44:21.247] time ./configure \ [12:44:21.247] --host=x86_64-w64-mingw32 \ [12:44:21.247] --enable-cassert \ [12:44:21.247] --without-icu \ [12:44:21.247] CC="ccache x86_64-w64-mingw32-gcc" \ [12:44:21.247] CXX="ccache x86_64-w64-mingw32-g++" [12:44:21.372] checking build system type... x86_64-pc-linux-gnu [12:44:21.578] checking host system type... x86_64-w64-mingw32 [12:44:21.584] checking which template to use... win32 [12:44:21.584] checking whether NLS is wanted... no [12:44:21.584] checking for default port number... 5432 [12:44:21.592] checking for block size... 8kB [12:44:21.593] checking for segment size... 1GB [12:44:21.596] checking for WAL block size... 8kB [12:44:21.597] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:44:21.635] checking whether the C compiler works... yes [12:44:21.777] checking for C compiler default output file name... a.exe [12:44:21.778] checking for suffix of executables... .exe [12:44:21.820] checking whether we are cross compiling... yes [12:44:21.895] checking for suffix of object files... o [12:44:21.929] checking whether we are using the GNU C compiler... yes [12:44:21.935] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:44:21.952] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:44:21.962] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:44:22.023] checking whether we are using the GNU C++ compiler... yes [12:44:22.031] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:44:22.098] checking for gawk... no [12:44:22.098] checking for mawk... mawk [12:44:22.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:44:22.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:44:22.116] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:44:22.164] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:44:22.331] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:44:22.339] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:44:22.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:44:22.381] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:44:22.389] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:44:22.396] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:44:22.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:44:22.411] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:44:22.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:44:22.447] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:44:22.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:44:22.484] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:44:22.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:44:22.530] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:44:22.538] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:44:22.545] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:44:22.552] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:44:22.560] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:44:22.593] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:44:22.619] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:44:22.654] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:44:22.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:44:22.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:44:22.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:44:22.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:44:22.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:44:22.813] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:44:22.830] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:44:22.838] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:44:22.847] checking whether the C compiler still works... yes [12:44:22.912] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:44:22.988] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:44:22.988] checking pkg-config is at least version 0.9.0... yes [12:44:23.004] checking whether to build with ICU support... no [12:44:23.005] checking whether to build with Tcl... no [12:44:23.005] checking whether to build Perl modules... no [12:44:23.005] checking whether to build Python modules... no [12:44:23.005] checking whether to build with GSSAPI support... no [12:44:23.006] checking whether to build with PAM support... no [12:44:23.006] checking whether to build with BSD Authentication support... no [12:44:23.006] checking whether to build with LDAP support... no [12:44:23.006] checking whether to build with Bonjour support... no [12:44:23.006] checking whether to build with SELinux support... no [12:44:23.006] checking whether to build with systemd support... no [12:44:23.007] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:44:23.007] checking whether to build with XML support... no [12:44:23.007] checking whether to build with LZ4 support... no [12:44:23.007] checking whether to build with ZSTD support... no [12:44:23.007] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:44:23.008] checking whether it is possible to strip libraries... yes [12:44:23.015] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:44:23.015] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:44:23.015] checking for a BSD-compatible install... /usr/bin/install -c [12:44:23.025] checking for tar... /usr/bin/tar [12:44:23.025] checking whether ln -s works... yes [12:44:23.025] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:44:23.028] checking for bison... /usr/bin/bison [12:44:23.031] configure: using bison (GNU Bison) 3.8.2 [12:44:23.034] checking for flex... /usr/bin/flex [12:44:23.047] configure: using flex 2.6.4 [12:44:23.047] checking for perl... /usr/bin/perl [12:44:23.050] configure: using perl 5.36.0 [12:44:23.052] checking for zic... /usr/sbin/zic [12:44:23.052] checking for a sed that does not truncate output... /usr/bin/sed [12:44:23.058] checking for grep that handles long lines and -e... /usr/bin/grep [12:44:23.060] checking for egrep... /usr/bin/grep -E [12:44:23.062] checking for ANSI C header files... yes [12:44:23.115] checking for sys/types.h... yes [12:44:23.153] checking for sys/stat.h... yes [12:44:23.190] checking for stdlib.h... yes [12:44:23.226] checking for string.h... yes [12:44:23.263] checking for memory.h... yes [12:44:23.280] checking for strings.h... yes [12:44:23.296] checking for inttypes.h... yes [12:44:23.335] checking for stdint.h... yes [12:44:23.351] checking for unistd.h... yes [12:44:23.418] checking for main in -lm... yes [12:44:23.467] checking for library containing setproctitle... no [12:44:23.560] checking for library containing dlsym... no [12:44:23.659] checking for library containing socket... -lws2_32 [12:44:23.795] checking for library containing getopt_long... none required [12:44:23.843] checking for library containing shm_open... no [12:44:23.937] checking for library containing shm_unlink... no [12:44:24.030] checking for library containing clock_gettime... no [12:44:24.123] checking for library containing shmget... no [12:44:24.215] checking for library containing backtrace_symbols... no [12:44:24.308] checking for library containing pthread_barrier_wait... -lpthread [12:44:24.403] checking for inflate in -lz... yes [12:44:24.452] checking for stdbool.h that conforms to C99... yes [12:44:24.505] checking for _Bool... yes [12:44:24.580] checking atomic.h usability... no [12:44:24.635] checking atomic.h presence... no [12:44:24.656] checking for atomic.h... no [12:44:24.659] checking copyfile.h usability... no [12:44:24.717] checking copyfile.h presence... no [12:44:24.737] checking for copyfile.h... no [12:44:24.740] checking execinfo.h usability... no [12:44:24.800] checking execinfo.h presence... no [12:44:24.820] checking for execinfo.h... no [12:44:24.824] checking getopt.h usability... yes [12:44:24.832] checking getopt.h presence... yes [12:44:24.847] checking for getopt.h... yes [12:44:24.855] checking ifaddrs.h usability... no [12:44:24.913] checking ifaddrs.h presence... no [12:44:24.932] checking for ifaddrs.h... no [12:44:24.936] checking mbarrier.h usability... no [12:44:24.993] checking mbarrier.h presence... no [12:44:25.012] checking for mbarrier.h... no [12:44:25.015] checking sys/epoll.h usability... no [12:44:25.069] checking sys/epoll.h presence... no [12:44:25.090] checking for sys/epoll.h... no [12:44:25.093] checking sys/event.h usability... no [12:44:25.151] checking sys/event.h presence... no [12:44:25.171] checking for sys/event.h... no [12:44:25.174] checking sys/personality.h usability... no [12:44:25.230] checking sys/personality.h presence... no [12:44:25.250] checking for sys/personality.h... no [12:44:25.253] checking sys/prctl.h usability... no [12:44:25.310] checking sys/prctl.h presence... no [12:44:25.329] checking for sys/prctl.h... no [12:44:25.332] checking sys/procctl.h usability... no [12:44:25.389] checking sys/procctl.h presence... no [12:44:25.409] checking for sys/procctl.h... no [12:44:25.412] checking sys/signalfd.h usability... no [12:44:25.472] checking sys/signalfd.h presence... no [12:44:25.493] checking for sys/signalfd.h... no [12:44:25.497] checking sys/ucred.h usability... no [12:44:25.556] checking sys/ucred.h presence... no [12:44:25.576] checking for sys/ucred.h... no [12:44:25.579] checking termios.h usability... no [12:44:25.640] checking termios.h presence... no [12:44:25.661] checking for termios.h... no [12:44:25.664] checking ucred.h usability... no [12:44:25.723] checking ucred.h presence... no [12:44:25.744] checking for ucred.h... no [12:44:25.747] checking xlocale.h usability... no [12:44:25.805] checking xlocale.h presence... no [12:44:25.826] checking for xlocale.h... no [12:44:25.829] checking zlib.h usability... yes [12:44:25.892] checking zlib.h presence... yes [12:44:25.913] checking for zlib.h... yes [12:44:25.913] checking for lz4... /usr/bin/lz4 [12:44:25.913] checking for zstd... /usr/bin/zstd [12:44:25.914] checking for openssl... /usr/bin/openssl [12:44:25.918] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [12:44:25.919] checking crtdefs.h usability... yes [12:44:25.927] checking crtdefs.h presence... yes [12:44:25.942] checking for crtdefs.h... yes [12:44:25.944] checking whether byte ordering is bigendian... no [12:44:26.034] checking for inline... inline [12:44:26.041] checking for printf format archetype... gnu_printf [12:44:26.050] checking for _Static_assert... yes [12:44:26.092] checking for typeof... typeof [12:44:26.109] checking for __builtin_types_compatible_p... yes [12:44:26.121] checking for __builtin_constant_p... yes [12:44:26.134] checking for __builtin_unreachable... yes [12:44:26.176] checking for computed goto support... yes [12:44:26.184] checking for struct tm.tm_zone... no [12:44:26.265] checking for union semun... no [12:44:26.302] checking for socklen_t... yes [12:44:27.925] checking for struct sockaddr.sa_len... no [12:44:30.100] checking for C/C++ restrict keyword... __restrict [12:44:30.113] checking for struct option... yes [12:44:30.191] checking whether assembler supports x86_64 popcntq... yes [12:44:30.199] checking size of off_t... 4 [12:44:30.517] 0 [12:44:30.517] checking size of bool... 1 [12:44:30.595] checking for int timezone... yes [12:44:30.647] checking for backtrace_symbols... no [12:44:30.700] checking for copyfile... no [12:44:30.755] checking for copy_file_range... no [12:44:30.809] checking for getifaddrs... no [12:44:30.861] checking for getpeerucred... no [12:44:30.915] checking for inet_pton... yes [12:44:30.968] checking for kqueue... no [12:44:31.021] checking for mbstowcs_l... no [12:44:31.075] checking for memset_s... no [12:44:31.128] checking for posix_fallocate... no [12:44:31.180] checking for ppoll... no [12:44:31.233] checking for pthread_is_threaded_np... no [12:44:31.287] checking for setproctitle... no [12:44:31.340] checking for setproctitle_fast... no [12:44:31.394] checking for strchrnul... no [12:44:31.448] checking for strsignal... no [12:44:31.502] checking for syncfs... no [12:44:31.554] checking for sync_file_range... no [12:44:31.607] checking for uselocale... no [12:44:31.659] checking for wcstombs_l... no [12:44:31.709] checking for __builtin_bswap16... yes [12:44:31.763] checking for __builtin_bswap32... yes [12:44:31.813] checking for __builtin_bswap64... yes [12:44:31.864] checking for __builtin_clz... yes [12:44:31.915] checking for __builtin_ctz... yes [12:44:31.966] checking for __builtin_popcount... yes [12:44:32.015] checking for __builtin_frame_address... yes [12:44:32.063] checking for _LARGEFILE_SOURCE value needed for large files... no [12:44:32.118] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:44:32.152] checking for posix_fadvise... no [12:44:32.205] checking whether posix_fadvise is declared... no [12:44:32.254] checking whether fdatasync is declared... no [12:44:32.305] checking whether strlcat is declared... no [12:44:32.374] checking whether strlcpy is declared... no [12:44:32.442] checking whether strnlen is declared... yes [12:44:32.513] checking whether strsep is declared... no [12:44:32.582] checking whether preadv is declared... no [12:44:32.625] checking whether pwritev is declared... no [12:44:32.664] checking whether F_FULLFSYNC is declared... no [12:44:32.708] checking for explicit_bzero... no [12:44:32.758] checking for getopt... yes [12:44:32.804] checking for getpeereid... no [12:44:32.854] checking for inet_aton... no [12:44:32.903] checking for mkdtemp... no [12:44:32.953] checking for strlcat... no [12:44:33.002] checking for strlcpy... no [12:44:33.053] checking for strnlen... yes [12:44:33.103] checking for strsep... no [12:44:33.153] checking for pthread_barrier_wait... yes [12:44:33.197] configure: On mingw32 we will use our strtof wrapper. [12:44:33.197] checking for getopt_long... yes [12:44:33.242] checking for _configthreadlocale... yes [12:44:33.288] checking for syslog... no [12:44:33.339] checking for opterr... yes [12:44:33.388] checking for optreset... no [12:44:33.441] checking test program... cross-compiling [12:44:33.441] checking whether long int is 64 bits... no [12:44:33.474] checking whether long long int is 64 bits... yes [12:44:33.484] checking for __builtin_mul_overflow... yes [12:44:33.528] checking size of void *... 8 [12:44:33.924] checking size of size_t... 8 [12:44:34.267] checking size of long... 4 [12:44:34.583] checking alignment of short... 2 [12:44:34.788] checking alignment of int... 4 [12:44:35.060] checking alignment of long... 4 [12:44:35.352] checking alignment of long long int... 8 [12:44:35.671] checking alignment of double... 8 [12:44:36.012] checking for __int128... yes [12:44:36.062] checking for __int128 alignment bug... assuming ok [12:44:36.062] checking alignment of PG_INT128_TYPE... 16 [12:44:36.433] checking for builtin __sync char locking functions... yes [12:44:36.477] checking for builtin __sync int32 locking functions... yes [12:44:36.520] checking for builtin __sync int32 atomic operations... yes [12:44:36.563] checking for builtin __sync int64 atomic operations... yes [12:44:36.605] checking for builtin __atomic int32 atomic operations... yes [12:44:36.648] checking for builtin __atomic int64 atomic operations... yes [12:44:36.691] checking for __get_cpuid... yes [12:44:36.739] checking for __get_cpuid_count... yes [12:44:36.785] checking for __cpuid... no [12:44:37.194] checking for __cpuidex... no [12:44:37.625] checking for _xgetbv with CFLAGS=... no [12:44:38.001] checking for _xgetbv with CFLAGS=-mxsave... yes [12:44:38.405] checking for _mm512_popcnt_epi64 with CFLAGS=... no [12:44:38.798] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [12:44:39.146] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [12:44:39.194] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [12:44:39.285] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:44:39.309] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:44:39.330] 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 [12:44:39.386] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:44:39.386] checking which random number source to use... Windows native [12:44:39.388] checking for xmllint... /usr/bin/xmllint [12:44:39.389] checking for xsltproc... /usr/bin/xsltproc [12:44:39.389] checking for fop... /usr/bin/fop [12:44:39.389] checking for dbtoepub... no [12:44:39.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:44:39.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:44:39.390] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:44:39.401] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:44:39.401] 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 [12:44:39.401] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:44:39.401] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:44:39.490] configure: creating ./config.status [12:44:39.581] config.status: creating GNUmakefile [12:44:39.593] config.status: creating src/Makefile.global [12:44:39.609] config.status: creating src/include/pg_config.h [12:44:39.623] config.status: creating src/include/pg_config_ext.h [12:44:39.636] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:44:39.652] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:44:39.660] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:44:39.668] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:44:39.676] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:44:39.683] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:44:39.687] config.status: executing check_win32_symlinks commands [12:44:39.721] [12:44:39.721] real 0m18.474s [12:44:39.721] user 0m12.344s [12:44:39.721] sys 0m5.778s [12:44:39.721] make -s -j${BUILD_JOBS} clean [12:44:40.251] time make -s -j${BUILD_JOBS} world-bin [12:46:02.742] postgres.c: In function ‘finish_xact_command’: [12:46:02.742] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [12:46:02.742] 2826 | char *old_brk = sbrk(0); [12:46:02.742] | ^~~~ [12:46:02.742] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [12:46:02.742] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [12:46:02.742] 2829 | malloc_trim(0); [12:46:02.742] | ^~~~~~~~~~~ [12:46:02.742] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [12:46:02.742] 2830 | new_brk = sbrk(0); [12:46:02.742] | ^ [12:46:02.742] cc1: all warnings being treated as errors [12:46:02.743] make[3]: *** [: postgres.o] Error 1 [12:46:02.743] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [12:46:02.743] make[2]: *** Waiting for unfinished jobs.... [12:46:14.236] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:46:14.236] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:46:14.236] [12:46:14.236] real 1m33.985s [12:46:14.236] user 5m3.586s [12:46:14.236] sys 0m58.342s [12:46:14.236] [12:46:14.236] Exit status: 2