[22:45:35.594] time ./configure \ [22:45:35.594] --host=x86_64-w64-mingw32 \ [22:45:35.594] --enable-cassert \ [22:45:35.594] --without-icu \ [22:45:35.594] CC="ccache x86_64-w64-mingw32-gcc" \ [22:45:35.594] CXX="ccache x86_64-w64-mingw32-g++" [22:45:35.709] checking build system type... x86_64-pc-linux-gnu [22:45:35.901] checking host system type... x86_64-w64-mingw32 [22:45:35.906] checking which template to use... win32 [22:45:35.906] checking whether NLS is wanted... no [22:45:35.906] checking for default port number... 5432 [22:45:35.913] checking for block size... 8kB [22:45:35.915] checking for segment size... 1GB [22:45:35.917] checking for WAL block size... 8kB [22:45:35.918] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:45:35.951] checking whether the C compiler works... yes [22:45:36.091] checking for C compiler default output file name... a.exe [22:45:36.093] checking for suffix of executables... .exe [22:45:36.134] checking whether we are cross compiling... yes [22:45:36.210] checking for suffix of object files... o [22:45:36.244] checking whether we are using the GNU C compiler... yes [22:45:36.250] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:45:36.267] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:45:36.276] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:45:36.344] checking whether we are using the GNU C++ compiler... yes [22:45:36.355] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:45:36.424] checking for gawk... no [22:45:36.425] checking for mawk... mawk [22:45:36.427] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:45:36.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:45:36.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:45:36.490] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:45:36.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:45:36.678] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:45:36.711] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:45:36.718] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:45:36.725] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:45:36.731] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:45:36.738] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:45:36.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:45:36.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:45:36.777] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:45:36.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:45:36.812] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:45:36.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:45:36.855] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:45:36.862] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:45:36.869] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:45:36.875] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:45:36.882] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:45:36.915] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:45:36.939] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:45:36.972] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:45:36.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:45:37.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:45:37.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:45:37.075] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:45:37.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:45:37.118] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:45:37.135] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:45:37.143] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:45:37.150] checking whether the C compiler still works... yes [22:45:37.218] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:45:37.289] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:45:37.290] checking pkg-config is at least version 0.9.0... yes [22:45:37.309] checking whether to build with ICU support... no [22:45:37.309] checking whether to build with Tcl... no [22:45:37.309] checking whether to build Perl modules... no [22:45:37.310] checking whether to build Python modules... no [22:45:37.310] checking whether to build with GSSAPI support... no [22:45:37.311] checking whether to build with PAM support... no [22:45:37.311] checking whether to build with BSD Authentication support... no [22:45:37.311] checking whether to build with LDAP support... no [22:45:37.312] checking whether to build with Bonjour support... no [22:45:37.312] checking whether to build with SELinux support... no [22:45:37.312] checking whether to build with systemd support... no [22:45:37.312] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:45:37.312] checking whether to build with XML support... no [22:45:37.312] checking whether to build with LZ4 support... no [22:45:37.313] checking whether to build with ZSTD support... no [22:45:37.313] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:45:37.313] checking whether it is possible to strip libraries... yes [22:45:37.321] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:45:37.322] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:45:37.322] checking for a BSD-compatible install... /usr/bin/install -c [22:45:37.331] checking for tar... /usr/bin/tar [22:45:37.331] checking whether ln -s works... yes [22:45:37.331] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:45:37.333] checking for bison... /usr/bin/bison [22:45:37.336] configure: using bison (GNU Bison) 3.8.2 [22:45:37.338] checking for flex... /usr/bin/flex [22:45:37.350] configure: using flex 2.6.4 [22:45:37.350] checking for perl... /usr/bin/perl [22:45:37.353] configure: using perl 5.36.0 [22:45:37.355] checking for zic... /usr/sbin/zic [22:45:37.355] checking for a sed that does not truncate output... /usr/bin/sed [22:45:37.360] checking for grep that handles long lines and -e... /usr/bin/grep [22:45:37.362] checking for egrep... /usr/bin/grep -E [22:45:37.364] checking for ANSI C header files... yes [22:45:37.413] checking for sys/types.h... yes [22:45:37.450] checking for sys/stat.h... yes [22:45:37.466] checking for stdlib.h... yes [22:45:37.499] checking for string.h... yes [22:45:37.534] checking for memory.h... yes [22:45:37.550] checking for strings.h... yes [22:45:37.564] checking for inttypes.h... yes [22:45:37.580] checking for stdint.h... yes [22:45:37.594] checking for unistd.h... yes [22:45:37.663] checking for main in -lm... yes [22:45:37.713] checking for library containing setproctitle... no [22:45:37.804] checking for library containing dlsym... no [22:45:37.895] checking for library containing socket... -lws2_32 [22:45:38.033] checking for library containing getopt_long... none required [22:45:38.083] checking for library containing shm_open... no [22:45:38.171] checking for library containing shm_unlink... no [22:45:38.261] checking for library containing clock_gettime... no [22:45:38.351] checking for library containing shmget... no [22:45:38.443] checking for library containing backtrace_symbols... no [22:45:38.534] checking for library containing pthread_barrier_wait... -lpthread [22:45:38.623] checking for inflate in -lz... yes [22:45:38.669] checking for stdbool.h that conforms to C99... yes [22:45:38.680] checking for _Bool... yes [22:45:38.753] checking atomic.h usability... no [22:45:38.809] checking atomic.h presence... no [22:45:38.828] checking for atomic.h... no [22:45:38.831] checking copyfile.h usability... no [22:45:38.887] checking copyfile.h presence... no [22:45:38.907] checking for copyfile.h... no [22:45:38.910] checking execinfo.h usability... no [22:45:38.967] checking execinfo.h presence... no [22:45:38.986] checking for execinfo.h... no [22:45:38.990] checking getopt.h usability... yes [22:45:38.997] checking getopt.h presence... yes [22:45:39.014] checking for getopt.h... yes [22:45:39.022] checking ifaddrs.h usability... no [22:45:39.082] checking ifaddrs.h presence... no [22:45:39.102] checking for ifaddrs.h... no [22:45:39.106] checking mbarrier.h usability... no [22:45:39.162] checking mbarrier.h presence... no [22:45:39.182] checking for mbarrier.h... no [22:45:39.185] checking sys/epoll.h usability... no [22:45:39.242] checking sys/epoll.h presence... no [22:45:39.260] checking for sys/epoll.h... no [22:45:39.263] checking sys/event.h usability... no [22:45:39.319] checking sys/event.h presence... no [22:45:39.339] checking for sys/event.h... no [22:45:39.342] checking sys/personality.h usability... no [22:45:39.398] checking sys/personality.h presence... no [22:45:39.416] checking for sys/personality.h... no [22:45:39.420] checking sys/prctl.h usability... no [22:45:39.475] checking sys/prctl.h presence... no [22:45:39.495] checking for sys/prctl.h... no [22:45:39.498] checking sys/procctl.h usability... no [22:45:39.554] checking sys/procctl.h presence... no [22:45:39.573] checking for sys/procctl.h... no [22:45:39.576] checking sys/signalfd.h usability... no [22:45:39.634] checking sys/signalfd.h presence... no [22:45:39.653] checking for sys/signalfd.h... no [22:45:39.656] checking sys/ucred.h usability... no [22:45:39.711] checking sys/ucred.h presence... no [22:45:39.730] checking for sys/ucred.h... no [22:45:39.733] checking termios.h usability... no [22:45:39.788] checking termios.h presence... no [22:45:39.807] checking for termios.h... no [22:45:39.810] checking ucred.h usability... no [22:45:39.864] checking ucred.h presence... no [22:45:39.882] checking for ucred.h... no [22:45:39.885] checking xlocale.h usability... no [22:45:39.942] checking xlocale.h presence... no [22:45:39.962] checking for xlocale.h... no [22:45:39.965] checking zlib.h usability... yes [22:45:39.974] checking zlib.h presence... yes [22:45:39.994] checking for zlib.h... yes [22:45:39.994] checking for lz4... /usr/bin/lz4 [22:45:39.994] checking for zstd... /usr/bin/zstd [22:45:39.995] checking for openssl... /usr/bin/openssl [22:45:39.999] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [22:45:40.000] checking crtdefs.h usability... yes [22:45:40.008] checking crtdefs.h presence... yes [22:45:40.023] checking for crtdefs.h... yes [22:45:40.024] checking whether byte ordering is bigendian... no [22:45:40.111] checking for inline... inline [22:45:40.119] checking for printf format archetype... gnu_printf [22:45:40.127] checking for _Static_assert... yes [22:45:40.171] checking for typeof... typeof [22:45:40.178] checking for __builtin_types_compatible_p... yes [22:45:40.189] checking for __builtin_constant_p... yes [22:45:40.199] checking for __builtin_unreachable... yes [22:45:40.240] checking for computed goto support... yes [22:45:40.247] checking for struct tm.tm_zone... no [22:45:40.322] checking for union semun... no [22:45:40.356] checking for socklen_t... yes [22:45:41.895] checking for struct sockaddr.sa_len... no [22:45:43.987] checking for C/C++ restrict keyword... __restrict [22:45:44.001] checking for struct option... yes [22:45:44.074] checking whether assembler supports x86_64 popcntq... yes [22:45:44.081] checking size of off_t... 4 [22:45:44.281] 0 [22:45:44.282] checking size of bool... 1 [22:45:44.327] checking for int timezone... yes [22:45:44.380] checking for backtrace_symbols... no [22:45:44.429] checking for copyfile... no [22:45:44.479] checking for copy_file_range... no [22:45:44.529] checking for getifaddrs... no [22:45:44.578] checking for getpeerucred... no [22:45:44.630] checking for inet_pton... yes [22:45:44.682] checking for kqueue... no [22:45:44.735] checking for mbstowcs_l... no [22:45:44.787] checking for memset_s... no [22:45:44.839] checking for posix_fallocate... no [22:45:44.890] checking for ppoll... no [22:45:44.943] checking for pthread_is_threaded_np... no [22:45:44.995] checking for setproctitle... no [22:45:45.050] checking for setproctitle_fast... no [22:45:45.103] checking for strchrnul... no [22:45:45.156] checking for strsignal... no [22:45:45.210] checking for syncfs... no [22:45:45.260] checking for sync_file_range... no [22:45:45.314] checking for uselocale... no [22:45:45.366] checking for wcstombs_l... no [22:45:45.414] checking for __builtin_bswap16... yes [22:45:45.464] checking for __builtin_bswap32... yes [22:45:45.512] checking for __builtin_bswap64... yes [22:45:45.559] checking for __builtin_clz... yes [22:45:45.609] checking for __builtin_ctz... yes [22:45:45.657] checking for __builtin_popcount... yes [22:45:45.705] checking for __builtin_frame_address... yes [22:45:45.752] checking for _LARGEFILE_SOURCE value needed for large files... no [22:45:45.804] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:45:45.835] checking for posix_fadvise... no [22:45:45.884] checking whether posix_fadvise is declared... no [22:45:45.931] checking whether fdatasync is declared... no [22:45:45.977] checking whether strlcat is declared... no [22:45:46.044] checking whether strlcpy is declared... no [22:45:46.108] checking whether strnlen is declared... yes [22:45:46.121] checking whether strsep is declared... no [22:45:46.185] checking whether preadv is declared... no [22:45:46.223] checking whether pwritev is declared... no [22:45:46.260] checking whether F_FULLFSYNC is declared... no [22:45:46.300] checking for explicit_bzero... no [22:45:46.348] checking for getopt... yes [22:45:46.392] checking for getpeereid... no [22:45:46.439] checking for inet_aton... no [22:45:46.487] checking for mkdtemp... no [22:45:46.533] checking for strlcat... no [22:45:46.582] checking for strlcpy... no [22:45:46.631] checking for strnlen... yes [22:45:46.678] checking for strsep... no [22:45:46.726] checking for pthread_barrier_wait... yes [22:45:46.770] configure: On mingw32 we will use our strtof wrapper. [22:45:46.770] checking for getopt_long... yes [22:45:46.815] checking for _configthreadlocale... yes [22:45:46.861] checking for syslog... no [22:45:46.914] checking for opterr... yes [22:45:46.963] checking for optreset... no [22:45:47.015] checking test program... cross-compiling [22:45:47.015] checking whether long int is 64 bits... no [22:45:47.045] checking whether long long int is 64 bits... yes [22:45:47.054] checking for __builtin_mul_overflow... yes [22:45:47.096] checking size of void *... 8 [22:45:47.472] checking size of size_t... 8 [22:45:47.812] checking size of long... 4 [22:45:48.085] checking alignment of short... 2 [22:45:48.282] checking alignment of int... 4 [22:45:48.490] checking alignment of long... 4 [22:45:48.721] checking alignment of long long int... 8 [22:45:49.014] checking alignment of double... 8 [22:45:49.343] checking for int8... no [22:45:49.384] checking for uint8... no [22:45:49.425] checking for int64... no [22:45:49.466] checking for uint64... no [22:45:49.508] checking for __int128... yes [22:45:49.558] checking for __int128 alignment bug... assuming ok [22:45:49.558] checking alignment of PG_INT128_TYPE... 16 [22:45:49.904] checking for builtin __sync char locking functions... yes [22:45:49.947] checking for builtin __sync int32 locking functions... yes [22:45:49.990] checking for builtin __sync int32 atomic operations... yes [22:45:50.035] checking for builtin __sync int64 atomic operations... yes [22:45:50.079] checking for builtin __atomic int32 atomic operations... yes [22:45:50.123] checking for builtin __atomic int64 atomic operations... yes [22:45:50.165] checking for __get_cpuid... yes [22:45:50.212] checking for __get_cpuid_count... yes [22:45:50.256] checking for __cpuid... no [22:45:50.650] checking for __cpuidex... no [22:45:51.068] checking for _xgetbv with CFLAGS=... no [22:45:51.444] checking for _xgetbv with CFLAGS=-mxsave... yes [22:45:51.842] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:45:52.218] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:45:52.555] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:45:52.601] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:45:52.689] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:45:52.714] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:45:52.733] 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 [22:45:52.792] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:45:52.793] checking which random number source to use... Windows native [22:45:52.795] checking for xmllint... /usr/bin/xmllint [22:45:52.795] checking for xsltproc... /usr/bin/xsltproc [22:45:52.795] checking for fop... /usr/bin/fop [22:45:52.795] checking for dbtoepub... no [22:45:52.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:45:52.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:45:52.796] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:45:52.807] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:45:52.807] 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 [22:45:52.807] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:45:52.807] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:45:52.894] configure: creating ./config.status [22:45:52.979] config.status: creating GNUmakefile [22:45:52.991] config.status: creating src/Makefile.global [22:45:53.007] config.status: creating src/include/pg_config.h [22:45:53.020] config.status: creating src/include/pg_config_ext.h [22:45:53.032] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:45:53.047] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:45:53.055] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:45:53.062] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:45:53.070] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:45:53.077] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:45:53.081] config.status: executing check_win32_symlinks commands [22:45:53.116] [22:45:53.116] real 0m17.523s [22:45:53.116] user 0m11.563s [22:45:53.116] sys 0m5.580s [22:45:53.116] make -s -j${BUILD_JOBS} clean [22:45:53.652] time make -s -j${BUILD_JOBS} world-bin [22:47:05.183] postgres.c: In function ‘finish_xact_command’: [22:47:05.183] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [22:47:05.183] 2826 | char *old_brk = sbrk(0); [22:47:05.183] | ^~~~ [22:47:05.183] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [22:47:05.183] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [22:47:05.183] 2829 | malloc_trim(0); [22:47:05.183] | ^~~~~~~~~~~ [22:47:05.183] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [22:47:05.183] 2830 | new_brk = sbrk(0); [22:47:05.183] | ^ [22:47:05.183] cc1: all warnings being treated as errors [22:47:05.184] make[3]: *** [: postgres.o] Error 1 [22:47:05.184] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [22:47:05.184] make[2]: *** Waiting for unfinished jobs.... [22:47:07.606] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:47:07.607] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:47:07.607] [22:47:07.607] real 1m13.955s [22:47:07.607] user 3m58.682s [22:47:07.607] sys 0m46.403s [22:47:07.607] [22:47:07.607] Exit status: 2