[13:05:30.578] time ./configure \ [13:05:30.578] --host=x86_64-w64-mingw32 \ [13:05:30.578] --enable-cassert \ [13:05:30.578] --without-icu \ [13:05:30.578] CC="ccache x86_64-w64-mingw32-gcc" \ [13:05:30.578] CXX="ccache x86_64-w64-mingw32-g++" [13:05:30.682] checking build system type... x86_64-pc-linux-gnu [13:05:30.876] checking host system type... x86_64-w64-mingw32 [13:05:30.881] checking which template to use... win32 [13:05:30.881] checking whether NLS is wanted... no [13:05:30.881] checking for default port number... 5432 [13:05:30.887] checking for block size... 8kB [13:05:30.889] checking for segment size... 1GB [13:05:30.891] checking for WAL block size... 8kB [13:05:30.892] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:05:30.924] checking whether the C compiler works... yes [13:05:31.068] checking for C compiler default output file name... a.exe [13:05:31.070] checking for suffix of executables... .exe [13:05:31.109] checking whether we are cross compiling... yes [13:05:31.181] checking for suffix of object files... o [13:05:31.189] checking whether we are using the GNU C compiler... yes [13:05:31.195] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:05:31.202] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:05:31.211] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:05:31.271] checking whether we are using the GNU C++ compiler... yes [13:05:31.277] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:05:31.341] checking for gawk... no [13:05:31.341] checking for mawk... mawk [13:05:31.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:05:31.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:05:31.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:05:31.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:05:31.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:05:31.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:05:31.588] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:05:31.594] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:05:31.600] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:05:31.607] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:05:31.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:05:31.644] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:05:31.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:05:31.657] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:05:31.664] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:05:31.694] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:05:31.700] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:05:31.736] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:05:31.743] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:05:31.749] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:05:31.756] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:05:31.762] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:05:31.769] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:05:31.792] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:05:31.799] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:05:31.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:05:31.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:05:31.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:05:31.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:05:31.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:05:31.950] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:05:31.957] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:05:31.964] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:05:31.971] checking whether the C compiler still works... yes [13:05:32.035] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:05:32.101] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:05:32.101] checking pkg-config is at least version 0.9.0... yes [13:05:32.117] checking whether to build with ICU support... no [13:05:32.117] checking whether to build with Tcl... no [13:05:32.117] checking whether to build Perl modules... no [13:05:32.118] checking whether to build Python modules... no [13:05:32.118] checking whether to build with GSSAPI support... no [13:05:32.119] checking whether to build with PAM support... no [13:05:32.119] checking whether to build with BSD Authentication support... no [13:05:32.119] checking whether to build with LDAP support... no [13:05:32.119] checking whether to build with Bonjour support... no [13:05:32.119] checking whether to build with SELinux support... no [13:05:32.119] checking whether to build with systemd support... no [13:05:32.119] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:05:32.119] checking whether to build with XML support... no [13:05:32.120] checking whether to build with LZ4 support... no [13:05:32.120] checking whether to build with ZSTD support... no [13:05:32.120] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:05:32.120] checking whether it is possible to strip libraries... yes [13:05:32.127] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:05:32.127] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:05:32.127] checking for a BSD-compatible install... /usr/bin/install -c [13:05:32.136] checking for tar... /usr/bin/tar [13:05:32.136] checking whether ln -s works... yes [13:05:32.136] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:05:32.138] checking for bison... /usr/bin/bison [13:05:32.140] configure: using bison (GNU Bison) 3.8.2 [13:05:32.142] checking for flex... /usr/bin/flex [13:05:32.153] configure: using flex 2.6.4 [13:05:32.153] checking for perl... /usr/bin/perl [13:05:32.156] configure: using perl 5.36.0 [13:05:32.158] checking for zic... /usr/sbin/zic [13:05:32.158] checking for a sed that does not truncate output... /usr/bin/sed [13:05:32.162] checking for grep that handles long lines and -e... /usr/bin/grep [13:05:32.164] checking for egrep... /usr/bin/grep -E [13:05:32.166] checking for ANSI C header files... yes [13:05:32.209] checking for sys/types.h... yes [13:05:32.224] checking for sys/stat.h... yes [13:05:32.238] checking for stdlib.h... yes [13:05:32.251] checking for string.h... yes [13:05:32.264] checking for memory.h... yes [13:05:32.277] checking for strings.h... yes [13:05:32.290] checking for inttypes.h... yes [13:05:32.304] checking for stdint.h... yes [13:05:32.316] checking for unistd.h... yes [13:05:32.329] checking for main in -lm... yes [13:05:32.374] checking for library containing setproctitle... no [13:05:32.457] checking for library containing dlsym... no [13:05:32.539] checking for library containing socket... -lws2_32 [13:05:32.662] checking for library containing getopt_long... none required [13:05:32.706] checking for library containing shm_open... no [13:05:32.788] checking for library containing shm_unlink... no [13:05:32.872] checking for library containing clock_gettime... no [13:05:32.952] checking for library containing shmget... no [13:05:33.034] checking for library containing backtrace_symbols... no [13:05:33.116] checking for library containing pthread_barrier_wait... -lpthread [13:05:33.201] checking for inflate in -lz... yes [13:05:33.245] checking for stdbool.h that conforms to C99... yes [13:05:33.255] checking for _Bool... yes [13:05:33.323] checking atomic.h usability... no [13:05:33.374] checking atomic.h presence... no [13:05:33.391] checking for atomic.h... no [13:05:33.394] checking copyfile.h usability... no [13:05:33.445] checking copyfile.h presence... no [13:05:33.462] checking for copyfile.h... no [13:05:33.465] checking execinfo.h usability... no [13:05:33.518] checking execinfo.h presence... no [13:05:33.535] checking for execinfo.h... no [13:05:33.538] checking getopt.h usability... yes [13:05:33.565] checking getopt.h presence... yes [13:05:33.579] checking for getopt.h... yes [13:05:33.585] checking ifaddrs.h usability... no [13:05:33.636] checking ifaddrs.h presence... no [13:05:33.652] checking for ifaddrs.h... no [13:05:33.655] checking mbarrier.h usability... no [13:05:33.706] checking mbarrier.h presence... no [13:05:33.723] checking for mbarrier.h... no [13:05:33.726] checking sys/epoll.h usability... no [13:05:33.778] checking sys/epoll.h presence... no [13:05:33.794] checking for sys/epoll.h... no [13:05:33.797] checking sys/event.h usability... no [13:05:33.848] checking sys/event.h presence... no [13:05:33.865] checking for sys/event.h... no [13:05:33.868] checking sys/personality.h usability... no [13:05:33.918] checking sys/personality.h presence... no [13:05:33.934] checking for sys/personality.h... no [13:05:33.937] checking sys/prctl.h usability... no [13:05:33.988] checking sys/prctl.h presence... no [13:05:34.004] checking for sys/prctl.h... no [13:05:34.007] checking sys/procctl.h usability... no [13:05:34.058] checking sys/procctl.h presence... no [13:05:34.075] checking for sys/procctl.h... no [13:05:34.078] checking sys/signalfd.h usability... no [13:05:34.128] checking sys/signalfd.h presence... no [13:05:34.145] checking for sys/signalfd.h... no [13:05:34.148] checking sys/ucred.h usability... no [13:05:34.198] checking sys/ucred.h presence... no [13:05:34.216] checking for sys/ucred.h... no [13:05:34.219] checking termios.h usability... no [13:05:34.270] checking termios.h presence... no [13:05:34.287] checking for termios.h... no [13:05:34.290] checking ucred.h usability... no [13:05:34.340] checking ucred.h presence... no [13:05:34.357] checking for ucred.h... no [13:05:34.359] checking zlib.h usability... yes [13:05:34.368] checking zlib.h presence... yes [13:05:34.385] checking for zlib.h... yes [13:05:34.385] checking for lz4... /usr/bin/lz4 [13:05:34.385] checking for zstd... /usr/bin/zstd [13:05:34.386] checking for openssl... /usr/bin/openssl [13:05:34.390] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:05:34.390] checking crtdefs.h usability... yes [13:05:34.397] checking crtdefs.h presence... yes [13:05:34.410] checking for crtdefs.h... yes [13:05:34.411] checking whether byte ordering is bigendian... no [13:05:34.476] checking for inline... inline [13:05:34.482] checking for printf format archetype... gnu_printf [13:05:34.490] checking for _Static_assert... yes [13:05:34.528] checking for typeof... typeof [13:05:34.559] checking for __builtin_types_compatible_p... yes [13:05:34.569] checking for __builtin_constant_p... yes [13:05:34.579] checking for __builtin_unreachable... yes [13:05:34.617] checking for computed goto support... yes [13:05:34.648] checking for struct tm.tm_zone... no [13:05:34.718] checking for union semun... no [13:05:34.749] checking for socklen_t... yes [13:05:35.862] checking for struct sockaddr.sa_len... no [13:05:37.800] checking for locale_t... no [13:05:37.859] checking for C/C++ restrict keyword... __restrict [13:05:37.870] checking for struct option... yes [13:05:37.908] checking whether assembler supports x86_64 popcntq... yes [13:05:37.938] checking size of off_t... 4 [13:05:38.126] 0 [13:05:38.126] checking size of bool... 1 [13:05:38.175] checking for int timezone... yes [13:05:38.220] checking for wcstombs_l declaration... no [13:05:38.298] checking for backtrace_symbols... no [13:05:38.344] checking for copyfile... no [13:05:38.391] checking for copy_file_range... no [13:05:38.440] checking for getifaddrs... no [13:05:38.487] checking for getpeerucred... no [13:05:38.534] checking for inet_pton... yes [13:05:38.581] checking for kqueue... no [13:05:38.627] checking for mbstowcs_l... no [13:05:38.674] checking for memset_s... no [13:05:38.720] checking for posix_fallocate... no [13:05:38.767] checking for ppoll... no [13:05:38.814] checking for pthread_is_threaded_np... no [13:05:38.860] checking for setproctitle... no [13:05:38.907] checking for setproctitle_fast... no [13:05:38.953] checking for strchrnul... no [13:05:38.998] checking for strsignal... no [13:05:39.044] checking for syncfs... no [13:05:39.091] checking for sync_file_range... no [13:05:39.139] checking for uselocale... no [13:05:39.186] checking for wcstombs_l... no [13:05:39.230] checking for __builtin_bswap16... yes [13:05:39.275] checking for __builtin_bswap32... yes [13:05:39.320] checking for __builtin_bswap64... yes [13:05:39.363] checking for __builtin_clz... yes [13:05:39.408] checking for __builtin_ctz... yes [13:05:39.452] checking for __builtin_popcount... yes [13:05:39.496] checking for __builtin_frame_address... yes [13:05:39.540] checking for _LARGEFILE_SOURCE value needed for large files... no [13:05:39.589] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:05:39.617] checking for posix_fadvise... no [13:05:39.664] checking whether posix_fadvise is declared... no [13:05:39.704] checking whether fdatasync is declared... no [13:05:39.747] checking whether strlcat is declared... no [13:05:39.806] checking whether strlcpy is declared... no [13:05:39.865] checking whether strnlen is declared... yes [13:05:39.877] checking whether strsep is declared... no [13:05:39.936] checking whether preadv is declared... no [13:05:39.969] checking whether pwritev is declared... no [13:05:40.001] checking whether F_FULLFSYNC is declared... no [13:05:40.038] checking for explicit_bzero... no [13:05:40.081] checking for getopt... yes [13:05:40.123] checking for getpeereid... no [13:05:40.166] checking for inet_aton... no [13:05:40.210] checking for mkdtemp... no [13:05:40.254] checking for strlcat... no [13:05:40.298] checking for strlcpy... no [13:05:40.342] checking for strnlen... yes [13:05:40.386] checking for strsep... no [13:05:40.430] checking for pthread_barrier_wait... yes [13:05:40.470] configure: On mingw32 we will use our strtof wrapper. [13:05:40.470] checking for getopt_long... yes [13:05:40.512] checking for _configthreadlocale... yes [13:05:40.554] checking for syslog... no [13:05:40.598] checking for opterr... yes [13:05:40.642] checking for optreset... no [13:05:40.690] checking test program... cross-compiling [13:05:40.690] checking whether long int is 64 bits... no [13:05:40.719] checking whether long long int is 64 bits... yes [13:05:40.727] checking for __builtin_mul_overflow... yes [13:05:40.767] checking size of void *... 8 [13:05:41.015] checking size of size_t... 8 [13:05:41.261] checking size of long... 4 [13:05:41.446] checking alignment of short... 2 [13:05:41.575] checking alignment of int... 4 [13:05:41.813] checking alignment of long... 4 [13:05:41.999] checking alignment of long long int... 8 [13:05:42.290] checking alignment of double... 8 [13:05:42.559] checking for int8... no [13:05:42.598] checking for uint8... no [13:05:42.637] checking for int64... no [13:05:42.676] checking for uint64... no [13:05:42.714] checking for __int128... yes [13:05:42.761] checking for __int128 alignment bug... assuming ok [13:05:42.761] checking alignment of PG_INT128_TYPE... 16 [13:05:43.120] checking for builtin __sync char locking functions... yes [13:05:43.159] checking for builtin __sync int32 locking functions... yes [13:05:43.199] checking for builtin __sync int32 atomic operations... yes [13:05:43.238] checking for builtin __sync int64 atomic operations... yes [13:05:43.278] checking for builtin __atomic int32 atomic operations... yes [13:05:43.319] checking for builtin __atomic int64 atomic operations... yes [13:05:43.360] checking for __get_cpuid... yes [13:05:43.405] checking for __get_cpuid_count... yes [13:05:43.448] checking for __cpuid... no [13:05:43.834] checking for __cpuidex... no [13:05:44.245] checking for _xgetbv with CFLAGS=... no [13:05:44.615] checking for _xgetbv with CFLAGS=-mxsave... yes [13:05:45.000] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:05:45.371] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:05:45.700] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:05:45.744] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:05:45.829] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:05:45.850] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:05:45.867] 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 [13:05:45.917] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:05:45.917] checking which random number source to use... Windows native [13:05:45.919] checking for xmllint... /usr/bin/xmllint [13:05:45.919] checking for xsltproc... /usr/bin/xsltproc [13:05:45.920] checking for fop... /usr/bin/fop [13:05:45.920] checking for dbtoepub... no [13:05:45.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:05:45.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:05:45.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:05:45.929] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:05:45.929] 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 [13:05:45.930] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:05:45.930] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:05:46.004] configure: creating ./config.status [13:05:46.079] config.status: creating GNUmakefile [13:05:46.091] config.status: creating src/Makefile.global [13:05:46.104] config.status: creating src/include/pg_config.h [13:05:46.115] config.status: creating src/include/pg_config_ext.h [13:05:46.126] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:05:46.140] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:05:46.146] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:05:46.152] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:05:46.159] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:05:46.165] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:05:46.168] config.status: executing check_win32_symlinks commands [13:05:46.199] [13:05:46.199] real 0m15.621s [13:05:46.199] user 0m10.503s [13:05:46.199] sys 0m4.743s [13:05:46.199] make -s -j${BUILD_JOBS} clean [13:05:46.687] time make -s -j${BUILD_JOBS} world-bin [13:06:05.479] postgres.c: In function ‘finish_xact_command’: [13:06:05.479] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [13:06:05.479] 2826 | char *old_brk = sbrk(0); [13:06:05.479] | ^~~~ [13:06:05.479] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [13:06:05.479] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [13:06:05.479] 2829 | malloc_trim(0); [13:06:05.479] | ^~~~~~~~~~~ [13:06:05.479] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [13:06:05.479] 2830 | new_brk = sbrk(0); [13:06:05.479] | ^ [13:06:05.479] cc1: all warnings being treated as errors [13:06:05.479] make[3]: *** [: postgres.o] Error 1 [13:06:05.480] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [13:06:05.480] make[2]: *** Waiting for unfinished jobs.... [13:06:11.013] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:06:11.013] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:06:11.013] [13:06:11.013] real 0m24.326s [13:06:11.013] user 1m10.921s [13:06:11.013] sys 0m17.758s [13:06:11.013] [13:06:11.013] Exit status: 2