[09:36:40.089] time ./configure \ [09:36:40.089] --host=x86_64-w64-mingw32 \ [09:36:40.089] --enable-cassert \ [09:36:40.089] --without-icu \ [09:36:40.089] CC="ccache x86_64-w64-mingw32-gcc" \ [09:36:40.089] CXX="ccache x86_64-w64-mingw32-g++" [09:36:40.200] checking build system type... x86_64-pc-linux-gnu [09:36:40.376] checking host system type... x86_64-w64-mingw32 [09:36:40.381] checking which template to use... win32 [09:36:40.381] checking whether NLS is wanted... no [09:36:40.381] checking for default port number... 5432 [09:36:40.388] checking for block size... 8kB [09:36:40.389] checking for segment size... 1GB [09:36:40.391] checking for WAL block size... 8kB [09:36:40.392] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:36:40.424] checking whether the C compiler works... yes [09:36:40.550] checking for C compiler default output file name... a.exe [09:36:40.551] checking for suffix of executables... .exe [09:36:40.590] checking whether we are cross compiling... yes [09:36:40.660] checking for suffix of object files... o [09:36:40.691] checking whether we are using the GNU C compiler... yes [09:36:40.720] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:36:40.736] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:36:40.809] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:36:40.862] checking whether we are using the GNU C++ compiler... yes [09:36:41.048] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:36:41.120] checking for gawk... no [09:36:41.121] checking for mawk... mawk [09:36:41.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:36:41.129] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:36:41.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:36:41.179] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:36:41.222] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:36:41.228] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:36:41.234] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:36:41.241] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:36:41.247] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:36:41.253] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:36:41.260] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:36:41.266] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:36:41.296] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:36:41.303] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:36:41.332] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:36:41.339] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:36:41.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:36:41.381] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:36:41.411] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:36:41.426] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:36:41.433] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:36:41.439] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:36:41.471] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:36:41.495] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:36:41.526] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:36:41.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:36:41.577] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:36:41.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:36:41.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:36:41.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:36:41.685] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:36:41.700] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:36:41.715] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:36:41.723] checking whether the C compiler still works... yes [09:36:41.769] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:36:41.834] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:36:41.834] checking pkg-config is at least version 0.9.0... yes [09:36:41.850] checking whether to build with ICU support... no [09:36:41.851] checking whether to build with Tcl... no [09:36:41.851] checking whether to build Perl modules... no [09:36:41.851] checking whether to build Python modules... no [09:36:41.851] checking whether to build with GSSAPI support... no [09:36:41.852] checking whether to build with PAM support... no [09:36:41.852] checking whether to build with BSD Authentication support... no [09:36:41.852] checking whether to build with LDAP support... no [09:36:41.852] checking whether to build with Bonjour support... no [09:36:41.852] checking whether to build with SELinux support... no [09:36:41.853] checking whether to build with systemd support... no [09:36:41.853] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:36:41.853] checking whether to build with XML support... no [09:36:41.853] checking whether to build with LZ4 support... no [09:36:41.853] checking whether to build with ZSTD support... no [09:36:41.854] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:36:41.854] checking whether it is possible to strip libraries... yes [09:36:41.860] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:36:41.861] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:36:41.861] checking for a BSD-compatible install... /usr/bin/install -c [09:36:41.869] checking for tar... /usr/bin/tar [09:36:41.869] checking whether ln -s works... yes [09:36:41.870] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:36:41.872] checking for bison... /usr/bin/bison [09:36:41.874] configure: using bison (GNU Bison) 3.8.2 [09:36:41.876] checking for flex... /usr/bin/flex [09:36:41.888] configure: using flex 2.6.4 [09:36:41.888] checking for perl... /usr/bin/perl [09:36:41.891] configure: using perl 5.36.0 [09:36:41.893] checking for zic... /usr/sbin/zic [09:36:41.893] checking for a sed that does not truncate output... /usr/bin/sed [09:36:41.898] checking for grep that handles long lines and -e... /usr/bin/grep [09:36:41.900] checking for egrep... /usr/bin/grep -E [09:36:41.901] checking for ANSI C header files... yes [09:36:41.944] checking for sys/types.h... yes [09:36:41.996] checking for sys/stat.h... yes [09:36:42.053] checking for stdlib.h... yes [09:36:42.084] checking for string.h... yes [09:36:42.098] checking for memory.h... yes [09:36:42.133] checking for strings.h... yes [09:36:42.167] checking for inttypes.h... yes [09:36:42.227] checking for stdint.h... yes [09:36:42.260] checking for unistd.h... yes [09:36:42.275] checking for main in -lm... yes [09:36:42.321] checking for library containing setproctitle... no [09:36:42.406] checking for library containing dlsym... no [09:36:42.492] checking for library containing socket... -lws2_32 [09:36:42.613] checking for library containing getopt_long... none required [09:36:42.658] checking for library containing shm_open... no [09:36:42.741] checking for library containing shm_unlink... no [09:36:42.824] checking for library containing clock_gettime... no [09:36:42.906] checking for library containing shmget... no [09:36:42.988] checking for library containing backtrace_symbols... no [09:36:43.071] checking for library containing pthread_barrier_wait... -lpthread [09:36:43.156] checking for inflate in -lz... yes [09:36:43.203] checking atomic.h usability... no [09:36:43.258] checking atomic.h presence... no [09:36:43.275] checking for atomic.h... no [09:36:43.278] checking copyfile.h usability... no [09:36:43.330] checking copyfile.h presence... no [09:36:43.348] checking for copyfile.h... no [09:36:43.351] checking execinfo.h usability... no [09:36:43.403] checking execinfo.h presence... no [09:36:43.422] checking for execinfo.h... no [09:36:43.425] checking getopt.h usability... yes [09:36:43.432] checking getopt.h presence... yes [09:36:43.447] checking for getopt.h... yes [09:36:43.454] checking ifaddrs.h usability... no [09:36:43.510] checking ifaddrs.h presence... no [09:36:43.529] checking for ifaddrs.h... no [09:36:43.532] checking mbarrier.h usability... no [09:36:43.585] checking mbarrier.h presence... no [09:36:43.603] checking for mbarrier.h... no [09:36:43.606] checking sys/epoll.h usability... no [09:36:43.660] checking sys/epoll.h presence... no [09:36:43.679] checking for sys/epoll.h... no [09:36:43.682] checking sys/event.h usability... no [09:36:43.735] checking sys/event.h presence... no [09:36:43.753] checking for sys/event.h... no [09:36:43.757] checking sys/personality.h usability... no [09:36:43.809] checking sys/personality.h presence... no [09:36:43.827] checking for sys/personality.h... no [09:36:43.830] checking sys/prctl.h usability... no [09:36:43.884] checking sys/prctl.h presence... no [09:36:43.903] checking for sys/prctl.h... no [09:36:43.906] checking sys/procctl.h usability... no [09:36:43.960] checking sys/procctl.h presence... no [09:36:43.977] checking for sys/procctl.h... no [09:36:43.980] checking sys/signalfd.h usability... no [09:36:44.034] checking sys/signalfd.h presence... no [09:36:44.052] checking for sys/signalfd.h... no [09:36:44.055] checking sys/ucred.h usability... no [09:36:44.109] checking sys/ucred.h presence... no [09:36:44.128] checking for sys/ucred.h... no [09:36:44.131] checking termios.h usability... no [09:36:44.183] checking termios.h presence... no [09:36:44.201] checking for termios.h... no [09:36:44.204] checking ucred.h usability... no [09:36:44.255] checking ucred.h presence... no [09:36:44.272] checking for ucred.h... no [09:36:44.275] checking xlocale.h usability... no [09:36:44.326] checking xlocale.h presence... no [09:36:44.343] checking for xlocale.h... no [09:36:44.346] checking zlib.h usability... yes [09:36:44.355] checking zlib.h presence... yes [09:36:44.373] checking for zlib.h... yes [09:36:44.373] checking for lz4... /usr/bin/lz4 [09:36:44.373] checking for zstd... /usr/bin/zstd [09:36:44.374] checking for openssl... /usr/bin/openssl [09:36:44.378] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:36:44.378] checking crtdefs.h usability... yes [09:36:44.430] checking crtdefs.h presence... yes [09:36:44.443] checking for crtdefs.h... yes [09:36:44.444] checking whether byte ordering is bigendian... no [09:36:44.511] checking for inline... inline [09:36:44.517] checking for printf format archetype... gnu_printf [09:36:44.549] checking for _Static_assert... yes [09:36:44.588] checking for typeof... typeof [09:36:44.594] checking for __builtin_types_compatible_p... yes [09:36:44.604] checking for __builtin_constant_p... yes [09:36:44.623] checking for __builtin_mul_overflow... yes [09:36:44.665] checking for __builtin_unreachable... yes [09:36:44.705] checking for computed goto support... yes [09:36:44.735] checking for struct tm.tm_zone... no [09:36:44.806] checking for union semun... no [09:36:44.837] checking for socklen_t... yes [09:36:46.877] checking for struct sockaddr.sa_len... no [09:36:48.772] checking for C/C++ restrict keyword... __restrict [09:36:48.785] checking for struct option... yes [09:36:48.827] checking whether assembler supports x86_64 popcntq... yes [09:36:48.834] checking size of off_t... 4 [09:36:49.151] 0 [09:36:49.151] checking for int timezone... yes [09:36:49.203] checking for backtrace_symbols... no [09:36:49.251] checking for copyfile... no [09:36:49.301] checking for copy_file_range... no [09:36:49.348] checking for elf_aux_info... no [09:36:49.395] checking for getauxval... no [09:36:49.443] checking for getifaddrs... no [09:36:49.490] checking for getpeerucred... no [09:36:49.537] checking for inet_pton... yes [09:36:49.584] checking for kqueue... no [09:36:49.630] checking for mbstowcs_l... no [09:36:49.677] checking for memset_s... no [09:36:49.723] checking for posix_fallocate... no [09:36:49.769] checking for ppoll... no [09:36:49.816] checking for pthread_is_threaded_np... no [09:36:49.862] checking for setproctitle... no [09:36:49.909] checking for setproctitle_fast... no [09:36:49.955] checking for strchrnul... no [09:36:50.004] checking for strsignal... no [09:36:50.050] checking for syncfs... no [09:36:50.097] checking for sync_file_range... no [09:36:50.143] checking for uselocale... no [09:36:50.189] checking for wcstombs_l... no [09:36:50.234] checking for __builtin_bswap16... yes [09:36:50.280] checking for __builtin_bswap32... yes [09:36:50.325] checking for __builtin_bswap64... yes [09:36:50.370] checking for __builtin_clz... yes [09:36:50.415] checking for __builtin_ctz... yes [09:36:50.460] checking for __builtin_popcount... yes [09:36:50.506] checking for __builtin_frame_address... yes [09:36:50.550] checking for _LARGEFILE_SOURCE value needed for large files... no [09:36:50.599] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:36:50.628] checking for posix_fadvise... no [09:36:50.676] checking whether posix_fadvise is declared... no [09:36:50.718] checking whether fdatasync is declared... no [09:36:50.761] checking whether strlcat is declared... no [09:36:50.820] checking whether strlcpy is declared... no [09:36:50.880] checking whether strnlen is declared... yes [09:36:50.912] checking whether strsep is declared... no [09:36:50.972] checking whether preadv is declared... no [09:36:51.005] checking whether pwritev is declared... no [09:36:51.038] checking whether F_FULLFSYNC is declared... no [09:36:51.075] checking for explicit_bzero... no [09:36:51.119] checking for getopt... yes [09:36:51.161] checking for getpeereid... no [09:36:51.206] checking for inet_aton... no [09:36:51.251] checking for mkdtemp... no [09:36:51.295] checking for strlcat... no [09:36:51.340] checking for strlcpy... no [09:36:51.386] checking for strnlen... yes [09:36:51.432] checking for strsep... no [09:36:51.478] checking for pthread_barrier_wait... yes [09:36:51.521] configure: On mingw32 we will use our strtof wrapper. [09:36:51.521] checking for getopt_long... yes [09:36:51.565] checking for syslog... no [09:36:51.611] checking for opterr... yes [09:36:51.658] checking for optreset... no [09:36:51.709] checking test program... cross-compiling [09:36:51.709] checking size of void *... 8 [09:36:52.091] checking size of size_t... 8 [09:36:52.429] checking size of long... 4 [09:36:52.686] checking size of long long... 8 [09:36:53.004] checking alignment of short... 2 [09:36:53.134] checking alignment of int... 4 [09:36:53.371] checking alignment of long... 4 [09:36:53.680] checking alignment of int64_t... 8 [09:36:54.028] checking alignment of double... 8 [09:36:54.317] checking for __int128... yes [09:36:54.363] checking for __int128 alignment bug... assuming ok [09:36:54.363] checking alignment of PG_INT128_TYPE... 16 [09:36:54.744] checking for builtin __sync char locking functions... yes [09:36:54.783] checking for builtin __sync int32 locking functions... yes [09:36:54.823] checking for builtin __sync int32 atomic operations... yes [09:36:54.862] checking for builtin __sync int64 atomic operations... yes [09:36:54.904] checking for builtin __atomic int32 atomic operations... yes [09:36:54.943] checking for builtin __atomic int64 atomic operations... yes [09:36:54.984] checking for __get_cpuid... yes [09:36:55.029] checking for __get_cpuid_count... yes [09:36:55.071] checking for __cpuid... no [09:36:55.464] checking for __cpuidex... no [09:36:55.873] checking for _xgetbv... yes [09:36:56.270] checking for _mm512_popcnt_epi64... yes [09:36:56.679] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:36:56.773] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:36:56.793] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:36:56.810] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:36:56.827] 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:36:56.878] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:36:56.879] checking which random number source to use... Windows native [09:36:56.881] checking for xmllint... /usr/bin/xmllint [09:36:56.881] checking for xsltproc... /usr/bin/xsltproc [09:36:56.881] checking for fop... /usr/bin/fop [09:36:56.881] checking for dbtoepub... no [09:36:56.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:36:56.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:36:56.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:36:56.892] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:36:56.892] 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:36:56.892] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:36:56.892] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:36:56.970] configure: creating ./config.status [09:36:57.049] config.status: creating GNUmakefile [09:36:57.060] config.status: creating src/Makefile.global [09:36:57.074] config.status: creating src/include/pg_config.h [09:36:57.085] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:36:57.100] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:36:57.106] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:36:57.113] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:36:57.120] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:36:57.126] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:36:57.130] config.status: executing check_win32_symlinks commands [09:36:57.161] [09:36:57.161] real 0m17.071s [09:36:57.161] user 0m11.358s [09:36:57.161] sys 0m5.359s [09:36:57.161] make -s -j${BUILD_JOBS} clean [09:36:57.656] time make -s -j${BUILD_JOBS} world-bin [09:38:09.402] postgres.c: In function ‘finish_xact_command’: [09:38:09.402] postgres.c:2822:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [09:38:09.402] 2822 | char *old_brk = sbrk(0); [09:38:09.402] | ^~~~ [09:38:09.402] postgres.c:2822:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [09:38:09.402] postgres.c:2825:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [09:38:09.402] 2825 | malloc_trim(0); [09:38:09.402] | ^~~~~~~~~~~ [09:38:09.402] postgres.c:2826:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [09:38:09.402] 2826 | new_brk = sbrk(0); [09:38:09.402] | ^ [09:38:09.402] cc1: all warnings being treated as errors [09:38:09.402] make[3]: *** [: postgres.o] Error 1 [09:38:09.402] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [09:38:09.402] make[2]: *** Waiting for unfinished jobs.... [09:38:32.560] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:38:32.561] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:38:32.561] [09:38:32.561] real 1m34.905s [09:38:32.561] user 5m6.180s [09:38:32.561] sys 1m0.516s [09:38:32.561] [09:38:32.561] Exit status: 2