[09:02:43.158] time ./configure \ [09:02:43.158] --host=x86_64-w64-mingw32 \ [09:02:43.158] --enable-cassert \ [09:02:43.158] --without-icu \ [09:02:43.158] CC="ccache x86_64-w64-mingw32-gcc" \ [09:02:43.158] CXX="ccache x86_64-w64-mingw32-g++" [09:02:43.266] checking build system type... x86_64-pc-linux-gnu [09:02:43.461] checking host system type... x86_64-w64-mingw32 [09:02:43.466] checking which template to use... win32 [09:02:43.466] checking whether NLS is wanted... no [09:02:43.466] checking for default port number... 5432 [09:02:43.473] checking for block size... 8kB [09:02:43.474] checking for segment size... 1GB [09:02:43.477] checking for WAL block size... 8kB [09:02:43.478] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:02:43.511] checking whether the C compiler works... yes [09:02:43.660] checking for C compiler default output file name... a.exe [09:02:43.662] checking for suffix of executables... .exe [09:02:43.702] checking whether we are cross compiling... yes [09:02:43.777] checking for suffix of object files... o [09:02:43.785] checking whether we are using the GNU C compiler... yes [09:02:43.815] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:02:43.821] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:02:43.901] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:02:43.965] checking whether we are using the GNU C++ compiler... yes [09:02:43.972] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:02:44.041] checking for gawk... no [09:02:44.042] checking for mawk... mawk [09:02:44.044] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:02:44.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:02:44.058] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:02:44.102] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:02:44.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:02:44.331] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:02:44.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:02:44.345] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:02:44.352] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:02:44.385] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:02:44.392] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:02:44.426] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:02:44.513] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:02:44.520] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:02:44.537] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:02:44.568] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:02:44.584] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:02:44.620] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:02:44.653] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:02:44.660] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:02:44.666] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:02:44.673] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:02:44.680] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:02:44.703] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:02:44.718] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:02:44.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:02:44.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:02:44.807] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:02:44.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:02:44.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:02:44.881] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:02:44.888] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:02:44.896] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:02:44.931] checking whether the C compiler still works... yes [09:02:44.980] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:02:45.051] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:02:45.051] checking pkg-config is at least version 0.9.0... yes [09:02:45.068] checking whether to build with ICU support... no [09:02:45.069] checking whether to build with Tcl... no [09:02:45.069] checking whether to build Perl modules... no [09:02:45.069] checking whether to build Python modules... no [09:02:45.069] checking whether to build with GSSAPI support... no [09:02:45.070] checking whether to build with PAM support... no [09:02:45.070] checking whether to build with BSD Authentication support... no [09:02:45.070] checking whether to build with LDAP support... no [09:02:45.070] checking whether to build with Bonjour support... no [09:02:45.070] checking whether to build with SELinux support... no [09:02:45.070] checking whether to build with systemd support... no [09:02:45.071] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:02:45.071] checking whether to build with XML support... no [09:02:45.071] checking whether to build with LZ4 support... no [09:02:45.071] checking whether to build with ZSTD support... no [09:02:45.072] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:02:45.072] checking whether it is possible to strip libraries... yes [09:02:45.080] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:02:45.080] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:02:45.081] checking for a BSD-compatible install... /usr/bin/install -c [09:02:45.089] checking for tar... /usr/bin/tar [09:02:45.089] checking whether ln -s works... yes [09:02:45.089] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:02:45.092] checking for bison... /usr/bin/bison [09:02:45.094] configure: using bison (GNU Bison) 3.8.2 [09:02:45.097] checking for flex... /usr/bin/flex [09:02:45.109] configure: using flex 2.6.4 [09:02:45.109] checking for perl... /usr/bin/perl [09:02:45.112] configure: using perl 5.36.0 [09:02:45.114] checking for zic... /usr/sbin/zic [09:02:45.114] checking for a sed that does not truncate output... /usr/bin/sed [09:02:45.119] checking for grep that handles long lines and -e... /usr/bin/grep [09:02:45.121] checking for egrep... /usr/bin/grep -E [09:02:45.123] checking for ANSI C header files... yes [09:02:45.210] checking for sys/types.h... yes [09:02:45.244] checking for sys/stat.h... yes [09:02:45.303] checking for stdlib.h... yes [09:02:45.360] checking for string.h... yes [09:02:45.392] checking for memory.h... yes [09:02:45.407] checking for strings.h... yes [09:02:45.440] checking for inttypes.h... yes [09:02:45.455] checking for stdint.h... yes [09:02:45.515] checking for unistd.h... yes [09:02:45.579] checking for main in -lm... yes [09:02:45.625] checking for library containing setproctitle... no [09:02:45.712] checking for library containing dlsym... no [09:02:45.797] checking for library containing socket... -lws2_32 [09:02:45.925] checking for library containing getopt_long... none required [09:02:45.971] checking for library containing shm_open... no [09:02:46.057] checking for library containing shm_unlink... no [09:02:46.142] checking for library containing clock_gettime... no [09:02:46.227] checking for library containing shmget... no [09:02:46.310] checking for library containing backtrace_symbols... no [09:02:46.396] checking for library containing pthread_barrier_wait... -lpthread [09:02:46.483] checking for inflate in -lz... yes [09:02:46.527] checking for stdbool.h that conforms to C99... yes [09:02:46.547] checking for _Bool... yes [09:02:46.618] checking atomic.h usability... no [09:02:46.670] checking atomic.h presence... no [09:02:46.687] checking for atomic.h... no [09:02:46.690] checking copyfile.h usability... no [09:02:46.742] checking copyfile.h presence... no [09:02:46.760] checking for copyfile.h... no [09:02:46.763] checking execinfo.h usability... no [09:02:46.815] checking execinfo.h presence... no [09:02:46.832] checking for execinfo.h... no [09:02:46.835] checking getopt.h usability... yes [09:02:46.862] checking getopt.h presence... yes [09:02:46.877] checking for getopt.h... yes [09:02:46.884] checking ifaddrs.h usability... no [09:02:46.937] checking ifaddrs.h presence... no [09:02:46.954] checking for ifaddrs.h... no [09:02:46.957] checking mbarrier.h usability... no [09:02:47.009] checking mbarrier.h presence... no [09:02:47.028] checking for mbarrier.h... no [09:02:47.031] checking sys/epoll.h usability... no [09:02:47.084] checking sys/epoll.h presence... no [09:02:47.102] checking for sys/epoll.h... no [09:02:47.104] checking sys/event.h usability... no [09:02:47.157] checking sys/event.h presence... no [09:02:47.175] checking for sys/event.h... no [09:02:47.178] checking sys/personality.h usability... no [09:02:47.231] checking sys/personality.h presence... no [09:02:47.249] checking for sys/personality.h... no [09:02:47.253] checking sys/prctl.h usability... no [09:02:47.308] checking sys/prctl.h presence... no [09:02:47.327] checking for sys/prctl.h... no [09:02:47.330] checking sys/procctl.h usability... no [09:02:47.388] checking sys/procctl.h presence... no [09:02:47.409] checking for sys/procctl.h... no [09:02:47.412] checking sys/signalfd.h usability... no [09:02:47.468] checking sys/signalfd.h presence... no [09:02:47.486] checking for sys/signalfd.h... no [09:02:47.489] checking sys/ucred.h usability... no [09:02:47.543] checking sys/ucred.h presence... no [09:02:47.561] checking for sys/ucred.h... no [09:02:47.564] checking termios.h usability... no [09:02:47.618] checking termios.h presence... no [09:02:47.636] checking for termios.h... no [09:02:47.639] checking ucred.h usability... no [09:02:47.693] checking ucred.h presence... no [09:02:47.712] checking for ucred.h... no [09:02:47.715] checking xlocale.h usability... no [09:02:47.768] checking xlocale.h presence... no [09:02:47.785] checking for xlocale.h... no [09:02:47.788] checking zlib.h usability... yes [09:02:47.797] checking zlib.h presence... yes [09:02:47.816] checking for zlib.h... yes [09:02:47.816] checking for lz4... /usr/bin/lz4 [09:02:47.816] checking for zstd... /usr/bin/zstd [09:02:47.817] checking for openssl... /usr/bin/openssl [09:02:47.821] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:02:47.821] checking crtdefs.h usability... yes [09:02:47.829] checking crtdefs.h presence... yes [09:02:47.844] checking for crtdefs.h... yes [09:02:47.845] checking whether byte ordering is bigendian... no [09:02:47.958] checking for inline... inline [09:02:47.976] checking for printf format archetype... gnu_printf [09:02:47.985] checking for _Static_assert... yes [09:02:48.029] checking for typeof... typeof [09:02:48.064] checking for __builtin_types_compatible_p... yes [09:02:48.076] checking for __builtin_constant_p... yes [09:02:48.097] checking for __builtin_unreachable... yes [09:02:48.137] checking for computed goto support... yes [09:02:48.170] checking for struct tm.tm_zone... no [09:02:48.246] checking for union semun... no [09:02:48.279] checking for socklen_t... yes [09:02:50.495] checking for struct sockaddr.sa_len... no [09:02:52.587] checking for C/C++ restrict keyword... __restrict [09:02:52.600] checking for struct option... yes [09:02:52.669] checking whether assembler supports x86_64 popcntq... yes [09:02:52.676] checking size of off_t... 4 [09:02:52.981] 0 [09:02:52.982] checking size of bool... 1 [09:02:53.025] checking for int timezone... yes [09:02:53.079] checking for backtrace_symbols... no [09:02:53.129] checking for copyfile... no [09:02:53.179] checking for copy_file_range... no [09:02:53.228] checking for getifaddrs... no [09:02:53.278] checking for getpeerucred... no [09:02:53.330] checking for inet_pton... yes [09:02:53.382] checking for kqueue... no [09:02:53.435] checking for mbstowcs_l... no [09:02:53.487] checking for memset_s... no [09:02:53.538] checking for posix_fallocate... no [09:02:53.586] checking for ppoll... no [09:02:53.635] checking for pthread_is_threaded_np... no [09:02:53.687] checking for setproctitle... no [09:02:53.737] checking for setproctitle_fast... no [09:02:53.788] checking for strchrnul... no [09:02:53.838] checking for strsignal... no [09:02:53.887] checking for syncfs... no [09:02:53.935] checking for sync_file_range... no [09:02:53.983] checking for uselocale... no [09:02:54.033] checking for wcstombs_l... no [09:02:54.081] checking for __builtin_bswap16... yes [09:02:54.129] checking for __builtin_bswap32... yes [09:02:54.176] checking for __builtin_bswap64... yes [09:02:54.224] checking for __builtin_clz... yes [09:02:54.273] checking for __builtin_ctz... yes [09:02:54.320] checking for __builtin_popcount... yes [09:02:54.367] checking for __builtin_frame_address... yes [09:02:54.414] checking for _LARGEFILE_SOURCE value needed for large files... no [09:02:54.466] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:02:54.496] checking for posix_fadvise... no [09:02:54.548] checking whether posix_fadvise is declared... no [09:02:54.597] checking whether fdatasync is declared... no [09:02:54.643] checking whether strlcat is declared... no [09:02:54.707] checking whether strlcpy is declared... no [09:02:54.768] checking whether strnlen is declared... yes [09:02:54.780] checking whether strsep is declared... no [09:02:54.841] checking whether preadv is declared... no [09:02:54.875] checking whether pwritev is declared... no [09:02:54.911] checking whether F_FULLFSYNC is declared... no [09:02:54.950] checking for explicit_bzero... no [09:02:54.997] checking for getopt... yes [09:02:55.041] checking for getpeereid... no [09:02:55.089] checking for inet_aton... no [09:02:55.136] checking for mkdtemp... no [09:02:55.183] checking for strlcat... no [09:02:55.231] checking for strlcpy... no [09:02:55.278] checking for strnlen... yes [09:02:55.327] checking for strsep... no [09:02:55.377] checking for pthread_barrier_wait... yes [09:02:55.422] configure: On mingw32 we will use our strtof wrapper. [09:02:55.422] checking for getopt_long... yes [09:02:55.466] checking for _configthreadlocale... yes [09:02:55.511] checking for syslog... no [09:02:55.559] checking for opterr... yes [09:02:55.608] checking for optreset... no [09:02:55.661] checking test program... cross-compiling [09:02:55.661] checking whether long int is 64 bits... no [09:02:55.692] checking whether long long int is 64 bits... yes [09:02:55.702] checking for __builtin_mul_overflow... yes [09:02:55.744] checking size of void *... 8 [09:02:56.114] checking size of size_t... 8 [09:02:56.512] checking size of long... 4 [09:02:56.733] checking alignment of short... 2 [09:02:56.918] checking alignment of int... 4 [09:02:57.121] checking alignment of long... 4 [09:02:57.322] checking alignment of long long int... 8 [09:02:57.616] checking alignment of double... 8 [09:02:57.923] checking for int8... no [09:02:57.963] checking for uint8... no [09:02:58.003] checking for int64... no [09:02:58.045] checking for uint64... no [09:02:58.087] checking for __int128... yes [09:02:58.137] checking for __int128 alignment bug... assuming ok [09:02:58.137] checking alignment of PG_INT128_TYPE... 16 [09:02:58.653] checking for builtin __sync char locking functions... yes [09:02:58.697] checking for builtin __sync int32 locking functions... yes [09:02:58.739] checking for builtin __sync int32 atomic operations... yes [09:02:58.780] checking for builtin __sync int64 atomic operations... yes [09:02:58.822] checking for builtin __atomic int32 atomic operations... yes [09:02:58.863] checking for builtin __atomic int64 atomic operations... yes [09:02:58.905] checking for __get_cpuid... yes [09:02:58.952] checking for __get_cpuid_count... yes [09:02:58.995] checking for __cpuid... no [09:02:59.390] checking for __cpuidex... no [09:02:59.809] checking for _xgetbv with CFLAGS=... no [09:03:00.190] checking for _xgetbv with CFLAGS=-mxsave... yes [09:03:00.589] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:03:00.964] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:03:01.300] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:03:01.346] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:03:01.433] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:03:01.454] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:03:01.472] 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 [09:03:01.526] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:03:01.527] checking which random number source to use... Windows native [09:03:01.529] checking for xmllint... /usr/bin/xmllint [09:03:01.529] checking for xsltproc... /usr/bin/xsltproc [09:03:01.529] checking for fop... /usr/bin/fop [09:03:01.529] checking for dbtoepub... no [09:03:01.530] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:03:01.530] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:03:01.530] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:03:01.541] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:03:01.541] 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 [09:03:01.541] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:03:01.541] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:03:01.625] configure: creating ./config.status [09:03:01.705] config.status: creating GNUmakefile [09:03:01.717] config.status: creating src/Makefile.global [09:03:01.731] config.status: creating src/include/pg_config.h [09:03:01.742] config.status: creating src/include/pg_config_ext.h [09:03:01.753] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:03:01.768] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:03:01.774] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:03:01.781] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:03:01.788] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:03:01.794] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:03:01.797] config.status: executing check_win32_symlinks commands [09:03:01.829] [09:03:01.829] real 0m18.671s [09:03:01.829] user 0m12.449s [09:03:01.829] sys 0m5.734s [09:03:01.829] make -s -j${BUILD_JOBS} clean [09:03:02.343] time make -s -j${BUILD_JOBS} world-bin [09:04:48.226] postgres.c: In function ‘finish_xact_command’: [09:04:48.226] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [09:04:48.226] 2826 | char *old_brk = sbrk(0); [09:04:48.226] | ^~~~ [09:04:48.226] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [09:04:48.226] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [09:04:48.226] 2829 | malloc_trim(0); [09:04:48.226] | ^~~~~~~~~~~ [09:04:48.226] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [09:04:48.226] 2830 | new_brk = sbrk(0); [09:04:48.226] | ^ [09:04:48.226] cc1: all warnings being treated as errors [09:04:48.226] make[3]: *** [: postgres.o] Error 1 [09:04:48.226] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [09:04:48.226] make[2]: *** Waiting for unfinished jobs.... [09:05:00.278] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:05:00.278] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:05:00.278] [09:05:00.278] real 1m57.935s [09:05:00.278] user 6m24.461s [09:05:00.278] sys 1m11.470s [09:05:00.278] [09:05:00.278] Exit status: 2