[19:35:00.119] time ./configure \ [19:35:00.119] --host=x86_64-w64-mingw32 \ [19:35:00.119] --enable-cassert \ [19:35:00.119] --without-icu \ [19:35:00.119] CC="ccache x86_64-w64-mingw32-gcc" \ [19:35:00.119] CXX="ccache x86_64-w64-mingw32-g++" [19:35:00.236] checking build system type... x86_64-pc-linux-gnu [19:35:00.443] checking host system type... x86_64-w64-mingw32 [19:35:00.449] checking which template to use... win32 [19:35:00.449] checking whether NLS is wanted... no [19:35:00.449] checking for default port number... 5432 [19:35:00.456] checking for block size... 8kB [19:35:00.458] checking for segment size... 1GB [19:35:00.460] checking for WAL block size... 8kB [19:35:00.462] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:35:00.497] checking whether the C compiler works... yes [19:35:00.657] checking for C compiler default output file name... a.exe [19:35:00.658] checking for suffix of executables... .exe [19:35:00.700] checking whether we are cross compiling... yes [19:35:00.775] checking for suffix of object files... o [19:35:00.784] checking whether we are using the GNU C compiler... yes [19:35:00.791] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:35:00.798] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:35:00.808] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:35:00.871] checking whether we are using the GNU C++ compiler... yes [19:35:00.879] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:35:00.952] checking for gawk... no [19:35:00.952] checking for mawk... mawk [19:35:00.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:35:00.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:35:00.968] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:35:01.014] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:35:01.195] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:35:01.202] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:35:01.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:35:01.217] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:35:01.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:35:01.232] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:35:01.239] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:35:01.247] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:35:01.254] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:35:01.262] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:35:01.269] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:35:01.277] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:35:01.284] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:35:01.324] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:35:01.331] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:35:01.338] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:35:01.344] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:35:01.351] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:35:01.358] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:35:01.382] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:35:01.390] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:35:01.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:35:01.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:35:01.474] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:35:01.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:35:01.488] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:35:01.523] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:35:01.530] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:35:01.537] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:35:01.546] checking whether the C compiler still works... yes [19:35:01.613] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:35:01.683] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:35:01.683] checking pkg-config is at least version 0.9.0... yes [19:35:01.700] checking whether to build with ICU support... no [19:35:01.700] checking whether to build with Tcl... no [19:35:01.700] checking whether to build Perl modules... no [19:35:01.700] checking whether to build Python modules... no [19:35:01.700] checking whether to build with GSSAPI support... no [19:35:01.702] checking whether to build with PAM support... no [19:35:01.702] checking whether to build with BSD Authentication support... no [19:35:01.702] checking whether to build with LDAP support... no [19:35:01.702] checking whether to build with Bonjour support... no [19:35:01.702] checking whether to build with SELinux support... no [19:35:01.702] checking whether to build with systemd support... no [19:35:01.702] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:35:01.702] checking whether to build with XML support... no [19:35:01.703] checking whether to build with LZ4 support... no [19:35:01.703] checking whether to build with ZSTD support... no [19:35:01.703] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:35:01.703] checking whether it is possible to strip libraries... yes [19:35:01.714] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:35:01.714] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:35:01.715] checking for a BSD-compatible install... /usr/bin/install -c [19:35:01.724] checking for tar... /usr/bin/tar [19:35:01.724] checking whether ln -s works... yes [19:35:01.724] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:35:01.727] checking for bison... /usr/bin/bison [19:35:01.730] configure: using bison (GNU Bison) 3.8.2 [19:35:01.733] checking for flex... /usr/bin/flex [19:35:01.746] configure: using flex 2.6.4 [19:35:01.746] checking for perl... /usr/bin/perl [19:35:01.749] configure: using perl 5.36.0 [19:35:01.752] checking for zic... /usr/sbin/zic [19:35:01.752] checking for a sed that does not truncate output... /usr/bin/sed [19:35:01.758] checking for grep that handles long lines and -e... /usr/bin/grep [19:35:01.760] checking for egrep... /usr/bin/grep -E [19:35:01.762] checking for ANSI C header files... yes [19:35:01.810] checking for sys/types.h... yes [19:35:01.827] checking for sys/stat.h... yes [19:35:01.844] checking for stdlib.h... yes [19:35:01.860] checking for string.h... yes [19:35:01.875] checking for memory.h... yes [19:35:01.890] checking for strings.h... yes [19:35:01.904] checking for inttypes.h... yes [19:35:01.920] checking for stdint.h... yes [19:35:01.936] checking for unistd.h... yes [19:35:01.952] checking for main in -lm... yes [19:35:02.000] checking for library containing setproctitle... no [19:35:02.090] checking for library containing dlsym... no [19:35:02.181] checking for library containing socket... -lws2_32 [19:35:02.315] checking for library containing getopt_long... none required [19:35:02.364] checking for library containing shm_open... no [19:35:02.449] checking for library containing shm_unlink... no [19:35:02.534] checking for library containing clock_gettime... no [19:35:02.618] checking for library containing shmget... no [19:35:02.714] checking for library containing backtrace_symbols... no [19:35:02.807] checking for library containing pthread_barrier_wait... -lpthread [19:35:02.897] checking for inflate in -lz... yes [19:35:02.942] checking for stdbool.h that conforms to C99... yes [19:35:02.954] checking for _Bool... yes [19:35:03.026] checking atomic.h usability... no [19:35:03.079] checking atomic.h presence... no [19:35:03.098] checking for atomic.h... no [19:35:03.101] checking copyfile.h usability... no [19:35:03.158] checking copyfile.h presence... no [19:35:03.177] checking for copyfile.h... no [19:35:03.181] checking execinfo.h usability... no [19:35:03.236] checking execinfo.h presence... no [19:35:03.254] checking for execinfo.h... no [19:35:03.257] checking getopt.h usability... yes [19:35:03.265] checking getopt.h presence... yes [19:35:03.279] checking for getopt.h... yes [19:35:03.286] checking ifaddrs.h usability... no [19:35:03.341] checking ifaddrs.h presence... no [19:35:03.360] checking for ifaddrs.h... no [19:35:03.363] checking mbarrier.h usability... no [19:35:03.418] checking mbarrier.h presence... no [19:35:03.436] checking for mbarrier.h... no [19:35:03.440] checking sys/epoll.h usability... no [19:35:03.496] checking sys/epoll.h presence... no [19:35:03.516] checking for sys/epoll.h... no [19:35:03.519] checking sys/event.h usability... no [19:35:03.574] checking sys/event.h presence... no [19:35:03.592] checking for sys/event.h... no [19:35:03.595] checking sys/personality.h usability... no [19:35:03.651] checking sys/personality.h presence... no [19:35:03.670] checking for sys/personality.h... no [19:35:03.673] checking sys/prctl.h usability... no [19:35:03.729] checking sys/prctl.h presence... no [19:35:03.748] checking for sys/prctl.h... no [19:35:03.752] checking sys/procctl.h usability... no [19:35:03.806] checking sys/procctl.h presence... no [19:35:03.825] checking for sys/procctl.h... no [19:35:03.828] checking sys/signalfd.h usability... no [19:35:03.883] checking sys/signalfd.h presence... no [19:35:03.902] checking for sys/signalfd.h... no [19:35:03.905] checking sys/ucred.h usability... no [19:35:03.963] checking sys/ucred.h presence... no [19:35:03.983] checking for sys/ucred.h... no [19:35:03.986] checking termios.h usability... no [19:35:04.041] checking termios.h presence... no [19:35:04.060] checking for termios.h... no [19:35:04.063] checking ucred.h usability... no [19:35:04.121] checking ucred.h presence... no [19:35:04.140] checking for ucred.h... no [19:35:04.143] checking zlib.h usability... yes [19:35:04.154] checking zlib.h presence... yes [19:35:04.174] checking for zlib.h... yes [19:35:04.175] checking for lz4... /usr/bin/lz4 [19:35:04.175] checking for zstd... /usr/bin/zstd [19:35:04.175] checking for openssl... /usr/bin/openssl [19:35:04.180] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:35:04.180] checking crtdefs.h usability... yes [19:35:04.189] checking crtdefs.h presence... yes [19:35:04.205] checking for crtdefs.h... yes [19:35:04.207] checking whether byte ordering is bigendian... no [19:35:04.283] checking for inline... inline [19:35:04.291] checking for printf format archetype... gnu_printf [19:35:04.299] checking for _Static_assert... yes [19:35:04.341] checking for typeof... typeof [19:35:04.348] checking for __builtin_types_compatible_p... yes [19:35:04.361] checking for __builtin_constant_p... yes [19:35:04.373] checking for __builtin_unreachable... yes [19:35:04.418] checking for computed goto support... yes [19:35:04.426] checking for struct tm.tm_zone... no [19:35:04.506] checking for union semun... no [19:35:04.542] checking for socklen_t... yes [19:35:05.727] checking for struct sockaddr.sa_len... no [19:35:07.843] checking for locale_t... no [19:35:07.907] checking for C/C++ restrict keyword... __restrict [19:35:07.921] checking for struct option... yes [19:35:07.965] checking whether assembler supports x86_64 popcntq... yes [19:35:07.973] checking size of off_t... 4 [19:35:08.182] 0 [19:35:08.182] checking size of bool... 1 [19:35:08.231] checking for int timezone... yes [19:35:08.281] checking for wcstombs_l declaration... no [19:35:08.369] checking for backtrace_symbols... no [19:35:08.422] checking for copyfile... no [19:35:08.475] checking for copy_file_range... no [19:35:08.528] checking for getifaddrs... no [19:35:08.581] checking for getpeerucred... no [19:35:08.634] checking for inet_pton... yes [19:35:08.687] checking for kqueue... no [19:35:08.737] checking for mbstowcs_l... no [19:35:08.789] checking for memset_s... no [19:35:08.838] checking for posix_fallocate... no [19:35:08.889] checking for ppoll... no [19:35:08.939] checking for pthread_is_threaded_np... no [19:35:08.990] checking for setproctitle... no [19:35:09.041] checking for setproctitle_fast... no [19:35:09.094] checking for strchrnul... no [19:35:09.147] checking for strsignal... no [19:35:09.198] checking for syncfs... no [19:35:09.249] checking for sync_file_range... no [19:35:09.302] checking for uselocale... no [19:35:09.351] checking for wcstombs_l... no [19:35:09.399] checking for __builtin_bswap16... yes [19:35:09.448] checking for __builtin_bswap32... yes [19:35:09.495] checking for __builtin_bswap64... yes [19:35:09.544] checking for __builtin_clz... yes [19:35:09.595] checking for __builtin_ctz... yes [19:35:09.644] checking for __builtin_popcount... yes [19:35:09.695] checking for __builtin_frame_address... yes [19:35:09.747] checking for _LARGEFILE_SOURCE value needed for large files... no [19:35:09.802] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:35:09.833] checking for posix_fadvise... no [19:35:09.888] checking whether posix_fadvise is declared... no [19:35:09.935] checking whether fdatasync is declared... no [19:35:09.983] checking whether strlcat is declared... no [19:35:10.049] checking whether strlcpy is declared... no [19:35:10.116] checking whether strnlen is declared... yes [19:35:10.129] checking whether strsep is declared... no [19:35:10.194] checking whether preadv is declared... no [19:35:10.234] checking whether pwritev is declared... no [19:35:10.272] checking whether F_FULLFSYNC is declared... no [19:35:10.314] checking for explicit_bzero... no [19:35:10.363] checking for getopt... yes [19:35:10.409] checking for getpeereid... no [19:35:10.458] checking for inet_aton... no [19:35:10.508] checking for mkdtemp... no [19:35:10.556] checking for strlcat... no [19:35:10.604] checking for strlcpy... no [19:35:10.653] checking for strnlen... yes [19:35:10.701] checking for strsep... no [19:35:10.750] checking for pthread_barrier_wait... yes [19:35:10.794] configure: On mingw32 we will use our strtof wrapper. [19:35:10.794] checking for getopt_long... yes [19:35:10.838] checking for _configthreadlocale... yes [19:35:10.886] checking for syslog... no [19:35:10.933] checking for opterr... yes [19:35:10.982] checking for optreset... no [19:35:11.034] checking test program... cross-compiling [19:35:11.035] checking whether long int is 64 bits... no [19:35:11.065] checking whether long long int is 64 bits... yes [19:35:11.075] checking for __builtin_mul_overflow... yes [19:35:11.119] checking size of void *... 8 [19:35:11.385] checking size of size_t... 8 [19:35:11.659] checking size of long... 4 [19:35:11.868] checking alignment of short... 2 [19:35:12.007] checking alignment of int... 4 [19:35:12.213] checking alignment of long... 4 [19:35:12.416] checking alignment of long long int... 8 [19:35:12.693] checking alignment of double... 8 [19:35:12.974] checking for int8... no [19:35:13.025] checking for uint8... no [19:35:13.069] checking for int64... no [19:35:13.113] checking for uint64... no [19:35:13.156] checking for __int128... yes [19:35:13.209] checking for __int128 alignment bug... assuming ok [19:35:13.209] checking alignment of PG_INT128_TYPE... 16 [19:35:13.558] checking for builtin __sync char locking functions... yes [19:35:13.604] checking for builtin __sync int32 locking functions... yes [19:35:13.648] checking for builtin __sync int32 atomic operations... yes [19:35:13.690] checking for builtin __sync int64 atomic operations... yes [19:35:13.733] checking for builtin __atomic int32 atomic operations... yes [19:35:13.777] checking for builtin __atomic int64 atomic operations... yes [19:35:13.821] checking for __get_cpuid... yes [19:35:13.871] checking for __get_cpuid_count... yes [19:35:13.915] checking for __cpuid... no [19:35:14.313] checking for __cpuidex... no [19:35:14.746] checking for _xgetbv with CFLAGS=... no [19:35:15.134] checking for _xgetbv with CFLAGS=-mxsave... yes [19:35:15.530] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:35:15.916] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:35:16.257] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:35:16.302] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:35:16.395] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:35:16.419] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:35:16.439] 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 [19:35:16.494] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:35:16.494] checking which random number source to use... Windows native [19:35:16.496] checking for xmllint... /usr/bin/xmllint [19:35:16.496] checking for xsltproc... /usr/bin/xsltproc [19:35:16.497] checking for fop... /usr/bin/fop [19:35:16.497] checking for dbtoepub... no [19:35:16.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:35:16.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:35:16.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:35:16.509] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:35:16.509] 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 [19:35:16.509] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:35:16.509] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:35:16.596] configure: creating ./config.status [19:35:16.685] config.status: creating GNUmakefile [19:35:16.699] config.status: creating src/Makefile.global [19:35:16.717] config.status: creating src/include/pg_config.h [19:35:16.730] config.status: creating src/include/pg_config_ext.h [19:35:16.743] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:35:16.758] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:35:16.766] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:35:16.773] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:35:16.780] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:35:16.787] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:35:16.791] config.status: executing check_win32_symlinks commands [19:35:16.825] [19:35:16.825] real 0m16.707s [19:35:16.825] user 0m11.368s [19:35:16.825] sys 0m4.917s [19:35:16.825] make -s -j${BUILD_JOBS} clean [19:35:17.344] time make -s -j${BUILD_JOBS} world-bin [19:35:22.994] postgres.c: In function ‘finish_xact_command’: [19:35:22.994] postgres.c:2802:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [19:35:22.994] 2802 | char *old_brk = sbrk(0); [19:35:22.994] | ^~~~ [19:35:22.994] postgres.c:2802:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [19:35:22.994] postgres.c:2805:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [19:35:22.994] 2805 | malloc_trim(0); [19:35:22.994] | ^~~~~~~~~~~ [19:35:22.994] postgres.c:2806:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [19:35:22.994] 2806 | new_brk = sbrk(0); [19:35:22.994] | ^ [19:35:22.994] cc1: all warnings being treated as errors [19:35:22.996] make[3]: *** [: postgres.o] Error 1 [19:35:22.996] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [19:35:22.997] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:35:22.997] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:35:22.997] [19:35:22.997] real 0m5.654s [19:35:22.997] user 0m9.417s [19:35:22.997] sys 0m6.768s [19:35:22.998] [19:35:22.998] Exit status: 2