[04:16:55.354] time ./configure \ [04:16:55.354] --host=x86_64-w64-mingw32 \ [04:16:55.354] --enable-cassert \ [04:16:55.354] --without-icu \ [04:16:55.354] CC="ccache x86_64-w64-mingw32-gcc" \ [04:16:55.354] CXX="ccache x86_64-w64-mingw32-g++" [04:16:55.459] checking build system type... x86_64-pc-linux-gnu [04:16:55.664] checking host system type... x86_64-w64-mingw32 [04:16:55.669] checking which template to use... win32 [04:16:55.669] checking whether NLS is wanted... no [04:16:55.669] checking for default port number... 5432 [04:16:55.676] checking for block size... 8kB [04:16:55.677] checking for segment size... 1GB [04:16:55.680] checking for WAL block size... 8kB [04:16:55.681] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:16:55.714] checking whether the C compiler works... yes [04:16:55.865] checking for C compiler default output file name... a.exe [04:16:55.866] checking for suffix of executables... .exe [04:16:55.905] checking whether we are cross compiling... yes [04:16:55.980] checking for suffix of object files... o [04:16:55.988] checking whether we are using the GNU C compiler... yes [04:16:55.994] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:16:56.000] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:16:56.009] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:16:56.068] checking whether we are using the GNU C++ compiler... yes [04:16:56.075] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:16:56.140] checking for gawk... no [04:16:56.141] checking for mawk... mawk [04:16:56.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:16:56.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:16:56.155] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:16:56.199] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:16:56.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:16:56.384] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:16:56.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:16:56.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:16:56.404] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:16:56.410] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:16:56.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:16:56.423] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:16:56.429] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:16:56.436] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:16:56.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:16:56.449] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:16:56.455] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:16:56.490] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:16:56.497] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:16:56.503] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:16:56.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:16:56.515] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:16:56.522] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:16:56.543] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:16:56.549] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:16:56.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:16:56.591] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:16:56.629] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:16:56.635] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:16:56.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:16:56.676] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:16:56.682] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:16:56.689] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:16:56.697] checking whether the C compiler still works... yes [04:16:56.770] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:16:56.840] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:16:56.841] checking pkg-config is at least version 0.9.0... yes [04:16:56.858] checking whether to build with ICU support... no [04:16:56.858] checking whether to build with Tcl... no [04:16:56.858] checking whether to build Perl modules... no [04:16:56.858] checking whether to build Python modules... no [04:16:56.858] checking whether to build with GSSAPI support... no [04:16:56.859] checking whether to build with PAM support... no [04:16:56.859] checking whether to build with BSD Authentication support... no [04:16:56.859] checking whether to build with LDAP support... no [04:16:56.860] checking whether to build with Bonjour support... no [04:16:56.860] checking whether to build with SELinux support... no [04:16:56.860] checking whether to build with systemd support... no [04:16:56.860] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:16:56.860] checking whether to build with XML support... no [04:16:56.860] checking whether to build with LZ4 support... no [04:16:56.860] checking whether to build with ZSTD support... no [04:16:56.861] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:16:56.861] checking whether it is possible to strip libraries... yes [04:16:56.869] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:16:56.869] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:16:56.869] checking for a BSD-compatible install... /usr/bin/install -c [04:16:56.878] checking for tar... /usr/bin/tar [04:16:56.879] checking whether ln -s works... yes [04:16:56.879] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:16:56.881] checking for bison... /usr/bin/bison [04:16:56.883] configure: using bison (GNU Bison) 3.8.2 [04:16:56.886] checking for flex... /usr/bin/flex [04:16:56.898] configure: using flex 2.6.4 [04:16:56.899] checking for perl... /usr/bin/perl [04:16:56.901] configure: using perl 5.36.0 [04:16:56.903] checking for zic... /usr/sbin/zic [04:16:56.904] checking for a sed that does not truncate output... /usr/bin/sed [04:16:56.909] checking for grep that handles long lines and -e... /usr/bin/grep [04:16:56.911] checking for egrep... /usr/bin/grep -E [04:16:56.913] checking for ANSI C header files... yes [04:16:56.959] checking for sys/types.h... yes [04:16:56.976] checking for sys/stat.h... yes [04:16:56.993] checking for stdlib.h... yes [04:16:57.008] checking for string.h... yes [04:16:57.022] checking for memory.h... yes [04:16:57.037] checking for strings.h... yes [04:16:57.052] checking for inttypes.h... yes [04:16:57.070] checking for stdint.h... yes [04:16:57.084] checking for unistd.h... yes [04:16:57.100] checking for main in -lm... yes [04:16:57.146] checking for library containing setproctitle... no [04:16:57.235] checking for library containing dlsym... no [04:16:57.321] checking for library containing socket... -lws2_32 [04:16:57.449] checking for library containing getopt_long... none required [04:16:57.493] checking for library containing shm_open... no [04:16:57.576] checking for library containing shm_unlink... no [04:16:57.660] checking for library containing clock_gettime... no [04:16:57.745] checking for library containing shmget... no [04:16:57.829] checking for library containing backtrace_symbols... no [04:16:57.912] checking for library containing pthread_barrier_wait... -lpthread [04:16:57.996] checking for inflate in -lz... yes [04:16:58.043] checking for stdbool.h that conforms to C99... yes [04:16:58.053] checking for _Bool... yes [04:16:58.126] checking atomic.h usability... no [04:16:58.180] checking atomic.h presence... no [04:16:58.199] checking for atomic.h... no [04:16:58.202] checking copyfile.h usability... no [04:16:58.257] checking copyfile.h presence... no [04:16:58.276] checking for copyfile.h... no [04:16:58.279] checking execinfo.h usability... no [04:16:58.334] checking execinfo.h presence... no [04:16:58.353] checking for execinfo.h... no [04:16:58.356] checking getopt.h usability... yes [04:16:58.364] checking getopt.h presence... yes [04:16:58.378] checking for getopt.h... yes [04:16:58.385] checking ifaddrs.h usability... no [04:16:58.440] checking ifaddrs.h presence... no [04:16:58.459] checking for ifaddrs.h... no [04:16:58.462] checking mbarrier.h usability... no [04:16:58.516] checking mbarrier.h presence... no [04:16:58.535] checking for mbarrier.h... no [04:16:58.538] checking sys/epoll.h usability... no [04:16:58.592] checking sys/epoll.h presence... no [04:16:58.610] checking for sys/epoll.h... no [04:16:58.613] checking sys/event.h usability... no [04:16:58.667] checking sys/event.h presence... no [04:16:58.686] checking for sys/event.h... no [04:16:58.689] checking sys/personality.h usability... no [04:16:58.741] checking sys/personality.h presence... no [04:16:58.759] checking for sys/personality.h... no [04:16:58.762] checking sys/prctl.h usability... no [04:16:58.815] checking sys/prctl.h presence... no [04:16:58.832] checking for sys/prctl.h... no [04:16:58.835] checking sys/procctl.h usability... no [04:16:58.888] checking sys/procctl.h presence... no [04:16:58.905] checking for sys/procctl.h... no [04:16:58.908] checking sys/signalfd.h usability... no [04:16:58.960] checking sys/signalfd.h presence... no [04:16:58.977] checking for sys/signalfd.h... no [04:16:58.980] checking sys/ucred.h usability... no [04:16:59.032] checking sys/ucred.h presence... no [04:16:59.049] checking for sys/ucred.h... no [04:16:59.052] checking termios.h usability... no [04:16:59.104] checking termios.h presence... no [04:16:59.121] checking for termios.h... no [04:16:59.124] checking ucred.h usability... no [04:16:59.177] checking ucred.h presence... no [04:16:59.195] checking for ucred.h... no [04:16:59.198] checking xlocale.h usability... no [04:16:59.250] checking xlocale.h presence... no [04:16:59.268] checking for xlocale.h... no [04:16:59.271] checking zlib.h usability... yes [04:16:59.281] checking zlib.h presence... yes [04:16:59.300] checking for zlib.h... yes [04:16:59.300] checking for lz4... /usr/bin/lz4 [04:16:59.301] checking for zstd... /usr/bin/zstd [04:16:59.301] checking for openssl... /usr/bin/openssl [04:16:59.305] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [04:16:59.306] checking crtdefs.h usability... yes [04:16:59.313] checking crtdefs.h presence... yes [04:16:59.326] checking for crtdefs.h... yes [04:16:59.328] checking whether byte ordering is bigendian... no [04:16:59.400] checking for inline... inline [04:16:59.407] checking for printf format archetype... gnu_printf [04:16:59.414] checking for _Static_assert... yes [04:16:59.453] checking for typeof... typeof [04:16:59.460] checking for __builtin_types_compatible_p... yes [04:16:59.470] checking for __builtin_constant_p... yes [04:16:59.480] checking for __builtin_unreachable... yes [04:16:59.520] checking for computed goto support... yes [04:16:59.527] checking for struct tm.tm_zone... no [04:16:59.601] checking for union semun... no [04:16:59.633] checking for socklen_t... yes [04:17:00.745] checking for struct sockaddr.sa_len... no [04:17:02.704] checking for C/C++ restrict keyword... __restrict [04:17:02.716] checking for struct option... yes [04:17:02.756] checking whether assembler supports x86_64 popcntq... yes [04:17:02.763] checking size of off_t... 4 [04:17:02.956] 0 [04:17:02.957] checking size of bool... 1 [04:17:02.998] checking for int timezone... yes [04:17:03.049] checking for backtrace_symbols... no [04:17:03.097] checking for copyfile... no [04:17:03.145] checking for copy_file_range... no [04:17:03.192] checking for getifaddrs... no [04:17:03.240] checking for getpeerucred... no [04:17:03.288] checking for inet_pton... yes [04:17:03.336] checking for kqueue... no [04:17:03.384] checking for mbstowcs_l... no [04:17:03.431] checking for memset_s... no [04:17:03.477] checking for posix_fallocate... no [04:17:03.524] checking for ppoll... no [04:17:03.570] checking for pthread_is_threaded_np... no [04:17:03.617] checking for setproctitle... no [04:17:03.664] checking for setproctitle_fast... no [04:17:03.710] checking for strchrnul... no [04:17:03.758] checking for strsignal... no [04:17:03.807] checking for syncfs... no [04:17:03.854] checking for sync_file_range... no [04:17:03.902] checking for uselocale... no [04:17:03.950] checking for wcstombs_l... no [04:17:03.997] checking for __builtin_bswap16... yes [04:17:04.045] checking for __builtin_bswap32... yes [04:17:04.092] checking for __builtin_bswap64... yes [04:17:04.137] checking for __builtin_clz... yes [04:17:04.182] checking for __builtin_ctz... yes [04:17:04.228] checking for __builtin_popcount... yes [04:17:04.275] checking for __builtin_frame_address... yes [04:17:04.320] checking for _LARGEFILE_SOURCE value needed for large files... no [04:17:04.370] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:17:04.400] checking for posix_fadvise... no [04:17:04.451] checking whether posix_fadvise is declared... no [04:17:04.494] checking whether fdatasync is declared... no [04:17:04.537] checking whether strlcat is declared... no [04:17:04.597] checking whether strlcpy is declared... no [04:17:04.657] checking whether strnlen is declared... yes [04:17:04.669] checking whether strsep is declared... no [04:17:04.730] checking whether preadv is declared... no [04:17:04.764] checking whether pwritev is declared... no [04:17:04.798] checking whether F_FULLFSYNC is declared... no [04:17:04.835] checking for explicit_bzero... no [04:17:04.879] checking for getopt... yes [04:17:04.921] checking for getpeereid... no [04:17:04.966] checking for inet_aton... no [04:17:05.012] checking for mkdtemp... no [04:17:05.057] checking for strlcat... no [04:17:05.102] checking for strlcpy... no [04:17:05.148] checking for strnlen... yes [04:17:05.192] checking for strsep... no [04:17:05.237] checking for pthread_barrier_wait... yes [04:17:05.279] configure: On mingw32 we will use our strtof wrapper. [04:17:05.279] checking for getopt_long... yes [04:17:05.322] checking for _configthreadlocale... yes [04:17:05.364] checking for syslog... no [04:17:05.410] checking for opterr... yes [04:17:05.456] checking for optreset... no [04:17:05.505] checking test program... cross-compiling [04:17:05.505] checking whether long int is 64 bits... no [04:17:05.534] checking whether long long int is 64 bits... yes [04:17:05.542] checking for __builtin_mul_overflow... yes [04:17:05.583] checking size of void *... 8 [04:17:05.842] checking size of size_t... 8 [04:17:06.112] checking size of long... 4 [04:17:06.309] checking alignment of short... 2 [04:17:06.440] checking alignment of int... 4 [04:17:06.634] checking alignment of long... 4 [04:17:06.833] checking alignment of long long int... 8 [04:17:07.088] checking alignment of double... 8 [04:17:07.346] checking for __int128... yes [04:17:07.394] checking for __int128 alignment bug... assuming ok [04:17:07.394] checking alignment of PG_INT128_TYPE... 16 [04:17:07.716] checking for builtin __sync char locking functions... yes [04:17:07.758] checking for builtin __sync int32 locking functions... yes [04:17:07.799] checking for builtin __sync int32 atomic operations... yes [04:17:07.839] checking for builtin __sync int64 atomic operations... yes [04:17:07.879] checking for builtin __atomic int32 atomic operations... yes [04:17:07.919] checking for builtin __atomic int64 atomic operations... yes [04:17:07.960] checking for __get_cpuid... yes [04:17:08.005] checking for __get_cpuid_count... yes [04:17:08.049] checking for __cpuid... no [04:17:08.442] checking for __cpuidex... no [04:17:08.849] checking for _xgetbv... yes [04:17:09.246] checking for _mm512_popcnt_epi64... yes [04:17:09.658] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:17:09.702] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:17:09.789] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:17:09.811] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:17:09.830] 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 [04:17:09.884] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:17:09.884] checking which random number source to use... Windows native [04:17:09.886] checking for xmllint... /usr/bin/xmllint [04:17:09.886] checking for xsltproc... /usr/bin/xsltproc [04:17:09.887] checking for fop... /usr/bin/fop [04:17:09.887] checking for dbtoepub... no [04:17:09.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:17:09.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:17:09.887] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:17:09.898] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:17:09.898] 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 [04:17:09.898] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:17:09.899] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:17:09.982] configure: creating ./config.status [04:17:10.067] config.status: creating GNUmakefile [04:17:10.079] config.status: creating src/Makefile.global [04:17:10.095] config.status: creating src/include/pg_config.h [04:17:10.107] config.status: creating src/include/pg_config_ext.h [04:17:10.119] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:17:10.134] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:17:10.142] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:17:10.149] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:17:10.156] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:17:10.164] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:17:10.167] config.status: executing check_win32_symlinks commands [04:17:10.200] [04:17:10.200] real 0m14.847s [04:17:10.200] user 0m9.706s [04:17:10.200] sys 0m4.733s [04:17:10.200] make -s -j${BUILD_JOBS} clean [04:17:10.703] time make -s -j${BUILD_JOBS} world-bin [04:17:16.093] postgres.c: In function ‘finish_xact_command’: [04:17:16.093] postgres.c:2825:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [04:17:16.093] 2825 | char *old_brk = sbrk(0); [04:17:16.093] | ^~~~ [04:17:16.093] postgres.c:2825:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [04:17:16.093] postgres.c:2828:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [04:17:16.093] 2828 | malloc_trim(0); [04:17:16.093] | ^~~~~~~~~~~ [04:17:16.093] postgres.c:2829:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [04:17:16.093] 2829 | new_brk = sbrk(0); [04:17:16.093] | ^ [04:17:16.093] cc1: all warnings being treated as errors [04:17:16.095] make[3]: *** [: postgres.o] Error 1 [04:17:16.095] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [04:17:16.095] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:17:16.095] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:17:16.096] [04:17:16.096] real 0m5.393s [04:17:16.096] user 0m9.086s [04:17:16.096] sys 0m6.129s [04:17:16.096] [04:17:16.096] Exit status: 2