[19:10:52.259] time ./configure \ [19:10:52.259] --host=x86_64-w64-mingw32 \ [19:10:52.259] --enable-cassert \ [19:10:52.259] --without-icu \ [19:10:52.259] CC="ccache x86_64-w64-mingw32-gcc" \ [19:10:52.259] CXX="ccache x86_64-w64-mingw32-g++" [19:10:52.363] checking build system type... x86_64-pc-linux-gnu [19:10:52.558] checking host system type... x86_64-w64-mingw32 [19:10:52.563] checking which template to use... win32 [19:10:52.563] checking whether NLS is wanted... no [19:10:52.563] checking for default port number... 5432 [19:10:52.569] checking for block size... 8kB [19:10:52.571] checking for segment size... 1GB [19:10:52.573] checking for WAL block size... 8kB [19:10:52.574] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:10:52.605] checking whether the C compiler works... yes [19:10:52.741] checking for C compiler default output file name... a.exe [19:10:52.742] checking for suffix of executables... .exe [19:10:52.790] checking whether we are cross compiling... yes [19:10:52.866] checking for suffix of object files... o [19:10:52.874] checking whether we are using the GNU C compiler... yes [19:10:52.880] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:10:52.886] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:10:52.895] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:10:52.953] checking whether we are using the GNU C++ compiler... yes [19:10:52.959] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:10:53.020] checking for gawk... no [19:10:53.021] checking for mawk... mawk [19:10:53.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:10:53.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:10:53.035] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:10:53.077] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:10:53.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:10:53.237] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:10:53.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:10:53.249] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:10:53.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:10:53.262] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:10:53.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:10:53.274] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:10:53.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:10:53.287] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:10:53.293] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:10:53.299] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:10:53.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:10:53.340] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:10:53.346] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:10:53.353] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:10:53.359] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:10:53.365] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:10:53.371] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:10:53.392] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:10:53.398] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:10:53.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:10:53.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:10:53.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:10:53.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:10:53.489] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:10:53.522] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:10:53.528] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:10:53.534] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:10:53.541] checking whether the C compiler still works... yes [19:10:53.604] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:10:53.669] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:10:53.670] checking pkg-config is at least version 0.9.0... yes [19:10:53.686] checking whether to build with ICU support... no [19:10:53.686] checking whether to build with Tcl... no [19:10:53.686] checking whether to build Perl modules... no [19:10:53.686] checking whether to build Python modules... no [19:10:53.686] checking whether to build with GSSAPI support... no [19:10:53.687] checking whether to build with PAM support... no [19:10:53.687] checking whether to build with BSD Authentication support... no [19:10:53.688] checking whether to build with LDAP support... no [19:10:53.688] checking whether to build with Bonjour support... no [19:10:53.688] checking whether to build with SELinux support... no [19:10:53.688] checking whether to build with systemd support... no [19:10:53.688] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:10:53.688] checking whether to build with XML support... no [19:10:53.688] checking whether to build with LZ4 support... no [19:10:53.688] checking whether to build with ZSTD support... no [19:10:53.689] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:10:53.689] checking whether it is possible to strip libraries... yes [19:10:53.696] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:10:53.696] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:10:53.696] checking for a BSD-compatible install... /usr/bin/install -c [19:10:53.704] checking for tar... /usr/bin/tar [19:10:53.705] checking whether ln -s works... yes [19:10:53.705] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:10:53.707] checking for bison... /usr/bin/bison [19:10:53.709] configure: using bison (GNU Bison) 3.8.2 [19:10:53.711] checking for flex... /usr/bin/flex [19:10:53.722] configure: using flex 2.6.4 [19:10:53.722] checking for perl... /usr/bin/perl [19:10:53.725] configure: using perl 5.36.0 [19:10:53.727] checking for zic... /usr/sbin/zic [19:10:53.727] checking for a sed that does not truncate output... /usr/bin/sed [19:10:53.732] checking for grep that handles long lines and -e... /usr/bin/grep [19:10:53.733] checking for egrep... /usr/bin/grep -E [19:10:53.735] checking for ANSI C header files... yes [19:10:53.779] checking for sys/types.h... yes [19:10:53.794] checking for sys/stat.h... yes [19:10:53.808] checking for stdlib.h... yes [19:10:53.821] checking for string.h... yes [19:10:53.833] checking for memory.h... yes [19:10:53.846] checking for strings.h... yes [19:10:53.859] checking for inttypes.h... yes [19:10:53.874] checking for stdint.h... yes [19:10:53.888] checking for unistd.h... yes [19:10:53.903] checking for main in -lm... yes [19:10:53.948] checking for library containing setproctitle... no [19:10:54.032] checking for library containing dlsym... no [19:10:54.116] checking for library containing socket... -lws2_32 [19:10:54.236] checking for library containing getopt_long... none required [19:10:54.281] checking for library containing shm_open... no [19:10:54.362] checking for library containing shm_unlink... no [19:10:54.443] checking for library containing clock_gettime... no [19:10:54.525] checking for library containing shmget... no [19:10:54.607] checking for library containing backtrace_symbols... no [19:10:54.689] checking for library containing pthread_barrier_wait... -lpthread [19:10:54.770] checking for inflate in -lz... yes [19:10:54.813] checking for stdbool.h that conforms to C99... yes [19:10:54.823] checking for _Bool... yes [19:10:54.892] checking atomic.h usability... no [19:10:54.944] checking atomic.h presence... no [19:10:54.962] checking for atomic.h... no [19:10:54.965] checking copyfile.h usability... no [19:10:55.016] checking copyfile.h presence... no [19:10:55.033] checking for copyfile.h... no [19:10:55.036] checking execinfo.h usability... no [19:10:55.088] checking execinfo.h presence... no [19:10:55.105] checking for execinfo.h... no [19:10:55.108] checking getopt.h usability... yes [19:10:55.115] checking getopt.h presence... yes [19:10:55.128] checking for getopt.h... yes [19:10:55.135] checking ifaddrs.h usability... no [19:10:55.185] checking ifaddrs.h presence... no [19:10:55.203] checking for ifaddrs.h... no [19:10:55.205] checking mbarrier.h usability... no [19:10:55.258] checking mbarrier.h presence... no [19:10:55.277] checking for mbarrier.h... no [19:10:55.281] checking sys/epoll.h usability... no [19:10:55.333] checking sys/epoll.h presence... no [19:10:55.351] checking for sys/epoll.h... no [19:10:55.354] checking sys/event.h usability... no [19:10:55.405] checking sys/event.h presence... no [19:10:55.423] checking for sys/event.h... no [19:10:55.426] checking sys/personality.h usability... no [19:10:55.478] checking sys/personality.h presence... no [19:10:55.496] checking for sys/personality.h... no [19:10:55.498] checking sys/prctl.h usability... no [19:10:55.550] checking sys/prctl.h presence... no [19:10:55.567] checking for sys/prctl.h... no [19:10:55.570] checking sys/procctl.h usability... no [19:10:55.621] checking sys/procctl.h presence... no [19:10:55.638] checking for sys/procctl.h... no [19:10:55.641] checking sys/signalfd.h usability... no [19:10:55.692] checking sys/signalfd.h presence... no [19:10:55.709] checking for sys/signalfd.h... no [19:10:55.712] checking sys/ucred.h usability... no [19:10:55.763] checking sys/ucred.h presence... no [19:10:55.780] checking for sys/ucred.h... no [19:10:55.783] checking termios.h usability... no [19:10:55.835] checking termios.h presence... no [19:10:55.852] checking for termios.h... no [19:10:55.854] checking ucred.h usability... no [19:10:55.907] checking ucred.h presence... no [19:10:55.924] checking for ucred.h... no [19:10:55.927] checking xlocale.h usability... no [19:10:55.979] checking xlocale.h presence... no [19:10:55.996] checking for xlocale.h... no [19:10:55.999] checking zlib.h usability... yes [19:10:56.008] checking zlib.h presence... yes [19:10:56.026] checking for zlib.h... yes [19:10:56.026] checking for lz4... /usr/bin/lz4 [19:10:56.026] checking for zstd... /usr/bin/zstd [19:10:56.026] checking for openssl... /usr/bin/openssl [19:10:56.030] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:10:56.031] checking crtdefs.h usability... yes [19:10:56.038] checking crtdefs.h presence... yes [19:10:56.051] checking for crtdefs.h... yes [19:10:56.053] checking whether byte ordering is bigendian... no [19:10:56.118] checking for inline... inline [19:10:56.125] checking for printf format archetype... gnu_printf [19:10:56.132] checking for _Static_assert... yes [19:10:56.171] checking for typeof... typeof [19:10:56.177] checking for __builtin_types_compatible_p... yes [19:10:56.188] checking for __builtin_constant_p... yes [19:10:56.198] checking for __builtin_unreachable... yes [19:10:56.236] checking for computed goto support... yes [19:10:56.243] checking for struct tm.tm_zone... no [19:10:56.314] checking for union semun... no [19:10:56.345] checking for socklen_t... yes [19:10:57.456] checking for struct sockaddr.sa_len... no [19:10:59.386] checking for C/C++ restrict keyword... __restrict [19:10:59.398] checking for struct option... yes [19:10:59.437] checking whether assembler supports x86_64 popcntq... yes [19:10:59.443] checking size of off_t... 4 [19:10:59.632] 0 [19:10:59.632] checking size of bool... 1 [19:10:59.673] checking for int timezone... yes [19:10:59.723] checking for backtrace_symbols... no [19:10:59.770] checking for copyfile... no [19:10:59.818] checking for copy_file_range... no [19:10:59.865] checking for getifaddrs... no [19:10:59.912] checking for getpeerucred... no [19:10:59.959] checking for inet_pton... yes [19:11:00.006] checking for kqueue... no [19:11:00.053] checking for mbstowcs_l... no [19:11:00.100] checking for memset_s... no [19:11:00.148] checking for posix_fallocate... no [19:11:00.195] checking for ppoll... no [19:11:00.242] checking for pthread_is_threaded_np... no [19:11:00.289] checking for setproctitle... no [19:11:00.336] checking for setproctitle_fast... no [19:11:00.384] checking for strchrnul... no [19:11:00.431] checking for strsignal... no [19:11:00.478] checking for syncfs... no [19:11:00.526] checking for sync_file_range... no [19:11:00.573] checking for uselocale... no [19:11:00.621] checking for wcstombs_l... no [19:11:00.666] checking for __builtin_bswap16... yes [19:11:00.712] checking for __builtin_bswap32... yes [19:11:00.755] checking for __builtin_bswap64... yes [19:11:00.800] checking for __builtin_clz... yes [19:11:00.846] checking for __builtin_ctz... yes [19:11:00.890] checking for __builtin_popcount... yes [19:11:00.935] checking for __builtin_frame_address... yes [19:11:00.978] checking for _LARGEFILE_SOURCE value needed for large files... no [19:11:01.027] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:11:01.056] checking for posix_fadvise... no [19:11:01.104] checking whether posix_fadvise is declared... no [19:11:01.145] checking whether fdatasync is declared... no [19:11:01.188] checking whether strlcat is declared... no [19:11:01.246] checking whether strlcpy is declared... no [19:11:01.306] checking whether strnlen is declared... yes [19:11:01.317] checking whether strsep is declared... no [19:11:01.377] checking whether preadv is declared... no [19:11:01.410] checking whether pwritev is declared... no [19:11:01.442] checking whether F_FULLFSYNC is declared... no [19:11:01.478] checking for explicit_bzero... no [19:11:01.523] checking for getopt... yes [19:11:01.564] checking for getpeereid... no [19:11:01.608] checking for inet_aton... no [19:11:01.652] checking for mkdtemp... no [19:11:01.697] checking for strlcat... no [19:11:01.742] checking for strlcpy... no [19:11:01.787] checking for strnlen... yes [19:11:01.833] checking for strsep... no [19:11:01.877] checking for pthread_barrier_wait... yes [19:11:01.918] configure: On mingw32 we will use our strtof wrapper. [19:11:01.918] checking for getopt_long... yes [19:11:01.960] checking for _configthreadlocale... yes [19:11:02.001] checking for syslog... no [19:11:02.046] checking for opterr... yes [19:11:02.090] checking for optreset... no [19:11:02.138] checking test program... cross-compiling [19:11:02.138] checking whether long int is 64 bits... no [19:11:02.166] checking whether long long int is 64 bits... yes [19:11:02.175] checking for __builtin_mul_overflow... yes [19:11:02.215] checking size of void *... 8 [19:11:02.467] checking size of size_t... 8 [19:11:02.718] checking size of long... 4 [19:11:02.924] checking alignment of short... 2 [19:11:03.061] checking alignment of int... 4 [19:11:03.257] checking alignment of long... 4 [19:11:03.449] checking alignment of long long int... 8 [19:11:03.700] checking alignment of double... 8 [19:11:03.957] checking for __int128... yes [19:11:04.004] checking for __int128 alignment bug... assuming ok [19:11:04.004] checking alignment of PG_INT128_TYPE... 16 [19:11:04.317] checking for builtin __sync char locking functions... yes [19:11:04.357] checking for builtin __sync int32 locking functions... yes [19:11:04.396] checking for builtin __sync int32 atomic operations... yes [19:11:04.436] checking for builtin __sync int64 atomic operations... yes [19:11:04.476] checking for builtin __atomic int32 atomic operations... yes [19:11:04.515] checking for builtin __atomic int64 atomic operations... yes [19:11:04.555] checking for __get_cpuid... yes [19:11:04.599] checking for __get_cpuid_count... yes [19:11:04.641] checking for __cpuid... no [19:11:05.036] checking for __cpuidex... no [19:11:05.452] checking for _xgetbv with CFLAGS=... no [19:11:05.828] checking for _xgetbv with CFLAGS=-mxsave... yes [19:11:06.225] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:11:06.597] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:11:06.929] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:11:06.973] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:11:07.058] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:11:07.080] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:11:07.097] 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:11:07.150] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:11:07.150] checking which random number source to use... Windows native [19:11:07.152] checking for xmllint... /usr/bin/xmllint [19:11:07.152] checking for xsltproc... /usr/bin/xsltproc [19:11:07.152] checking for fop... /usr/bin/fop [19:11:07.153] checking for dbtoepub... no [19:11:07.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:11:07.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:11:07.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:11:07.163] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:11:07.163] 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:11:07.163] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:11:07.163] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:11:07.240] configure: creating ./config.status [19:11:07.317] config.status: creating GNUmakefile [19:11:07.328] config.status: creating src/Makefile.global [19:11:07.343] config.status: creating src/include/pg_config.h [19:11:07.355] config.status: creating src/include/pg_config_ext.h [19:11:07.365] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:11:07.379] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:11:07.386] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:11:07.393] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:11:07.399] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:11:07.406] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:11:07.409] config.status: executing check_win32_symlinks commands [19:11:07.440] [19:11:07.440] real 0m15.181s [19:11:07.440] user 0m10.320s [19:11:07.440] sys 0m4.491s [19:11:07.440] make -s -j${BUILD_JOBS} clean [19:11:07.945] time make -s -j${BUILD_JOBS} world-bin [19:11:13.346] postgres.c: In function ‘finish_xact_command’: [19:11:13.346] postgres.c:2825:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [19:11:13.346] 2825 | char *old_brk = sbrk(0); [19:11:13.346] | ^~~~ [19:11:13.346] postgres.c:2825:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [19:11:13.346] postgres.c:2828:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [19:11:13.346] 2828 | malloc_trim(0); [19:11:13.346] | ^~~~~~~~~~~ [19:11:13.346] postgres.c:2829:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [19:11:13.346] 2829 | new_brk = sbrk(0); [19:11:13.346] | ^ [19:11:13.346] cc1: all warnings being treated as errors [19:11:13.348] make[3]: *** [: postgres.o] Error 1 [19:11:13.348] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [19:11:13.348] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:11:13.349] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:11:13.349] [19:11:13.349] real 0m5.404s [19:11:13.349] user 0m9.130s [19:11:13.349] sys 0m6.074s [19:11:13.349] [19:11:13.349] Exit status: 2