[08:36:49.930] time ./configure \ [08:36:49.930] --host=x86_64-w64-mingw32 \ [08:36:49.930] --enable-cassert \ [08:36:49.930] --without-icu \ [08:36:49.930] CC="ccache x86_64-w64-mingw32-gcc" \ [08:36:49.930] CXX="ccache x86_64-w64-mingw32-g++" [08:36:50.068] checking build system type... x86_64-pc-linux-gnu [08:36:50.296] checking host system type... x86_64-w64-mingw32 [08:36:50.303] checking which template to use... win32 [08:36:50.303] checking whether NLS is wanted... no [08:36:50.303] checking for default port number... 5432 [08:36:50.312] checking for block size... 8kB [08:36:50.313] checking for segment size... 1GB [08:36:50.316] checking for WAL block size... 8kB [08:36:50.318] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:36:50.357] checking whether the C compiler works... yes [08:36:50.510] checking for C compiler default output file name... a.exe [08:36:50.511] checking for suffix of executables... .exe [08:36:50.558] checking whether we are cross compiling... yes [08:36:50.646] checking for suffix of object files... o [08:36:50.655] checking whether we are using the GNU C compiler... yes [08:36:50.664] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:36:50.672] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:36:50.685] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:36:50.761] checking whether we are using the GNU C++ compiler... yes [08:36:50.769] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:36:50.849] checking for gawk... no [08:36:50.849] checking for mawk... mawk [08:36:50.853] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:36:50.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:36:50.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:36:50.921] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:36:51.111] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:36:51.118] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:36:51.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:36:51.134] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:36:51.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:36:51.150] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:36:51.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:36:51.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:36:51.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:36:51.181] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:36:51.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:36:51.198] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:36:51.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:36:51.248] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:36:51.256] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:36:51.264] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:36:51.272] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:36:51.281] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:36:51.289] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:36:51.320] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:36:51.328] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:36:51.335] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:36:51.379] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:36:51.423] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:36:51.431] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:36:51.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:36:51.479] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:36:51.488] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:36:51.496] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:36:51.506] checking whether the C compiler still works... yes [08:36:51.581] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:36:51.666] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:36:51.667] checking pkg-config is at least version 0.9.0... yes [08:36:51.684] checking whether to build with ICU support... no [08:36:51.684] checking whether to build with Tcl... no [08:36:51.685] checking whether to build Perl modules... no [08:36:51.685] checking whether to build Python modules... no [08:36:51.685] checking whether to build with GSSAPI support... no [08:36:51.686] checking whether to build with PAM support... no [08:36:51.686] checking whether to build with BSD Authentication support... no [08:36:51.687] checking whether to build with LDAP support... no [08:36:51.687] checking whether to build with Bonjour support... no [08:36:51.687] checking whether to build with SELinux support... no [08:36:51.687] checking whether to build with systemd support... no [08:36:51.687] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:36:51.687] checking whether to build with XML support... no [08:36:51.687] checking whether to build with LZ4 support... no [08:36:51.688] checking whether to build with ZSTD support... no [08:36:51.688] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:36:51.688] checking whether it is possible to strip libraries... yes [08:36:51.696] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:36:51.697] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:36:51.697] checking for a BSD-compatible install... /usr/bin/install -c [08:36:51.708] checking for tar... /usr/bin/tar [08:36:51.708] checking whether ln -s works... yes [08:36:51.708] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:36:51.711] checking for bison... /usr/bin/bison [08:36:51.714] configure: using bison (GNU Bison) 3.8.2 [08:36:51.717] checking for flex... /usr/bin/flex [08:36:51.732] configure: using flex 2.6.4 [08:36:51.732] checking for perl... /usr/bin/perl [08:36:51.735] configure: using perl 5.36.0 [08:36:51.738] checking for zic... /usr/sbin/zic [08:36:51.738] checking for a sed that does not truncate output... /usr/bin/sed [08:36:51.744] checking for grep that handles long lines and -e... /usr/bin/grep [08:36:51.746] checking for egrep... /usr/bin/grep -E [08:36:51.748] checking for ANSI C header files... yes [08:36:51.804] checking for sys/types.h... yes [08:36:51.824] checking for sys/stat.h... yes [08:36:51.843] checking for stdlib.h... yes [08:36:51.860] checking for string.h... yes [08:36:51.877] checking for memory.h... yes [08:36:51.895] checking for strings.h... yes [08:36:51.912] checking for inttypes.h... yes [08:36:51.930] checking for stdint.h... yes [08:36:51.947] checking for unistd.h... yes [08:36:51.965] checking for main in -lm... yes [08:36:52.018] checking for library containing setproctitle... no [08:36:52.109] checking for library containing dlsym... no [08:36:52.197] checking for library containing socket... -lws2_32 [08:36:52.330] checking for library containing getopt_long... none required [08:36:52.376] checking for library containing shm_open... no [08:36:52.462] checking for library containing shm_unlink... no [08:36:52.552] checking for library containing clock_gettime... no [08:36:52.638] checking for library containing shmget... no [08:36:52.725] checking for library containing backtrace_symbols... no [08:36:52.811] checking for library containing pthread_barrier_wait... -lpthread [08:36:52.901] checking for inflate in -lz... yes [08:36:52.948] checking for stdbool.h that conforms to C99... yes [08:36:52.959] checking for _Bool... yes [08:36:53.032] checking atomic.h usability... no [08:36:53.091] checking atomic.h presence... no [08:36:53.112] checking for atomic.h... no [08:36:53.116] checking copyfile.h usability... no [08:36:53.176] checking copyfile.h presence... no [08:36:53.198] checking for copyfile.h... no [08:36:53.201] checking execinfo.h usability... no [08:36:53.259] checking execinfo.h presence... no [08:36:53.278] checking for execinfo.h... no [08:36:53.282] checking getopt.h usability... yes [08:36:53.290] checking getopt.h presence... yes [08:36:53.306] checking for getopt.h... yes [08:36:53.314] checking ifaddrs.h usability... no [08:36:53.375] checking ifaddrs.h presence... no [08:36:53.397] checking for ifaddrs.h... no [08:36:53.402] checking mbarrier.h usability... no [08:36:53.464] checking mbarrier.h presence... no [08:36:53.486] checking for mbarrier.h... no [08:36:53.489] checking sys/epoll.h usability... no [08:36:53.552] checking sys/epoll.h presence... no [08:36:53.574] checking for sys/epoll.h... no [08:36:53.578] checking sys/event.h usability... no [08:36:53.639] checking sys/event.h presence... no [08:36:53.662] checking for sys/event.h... no [08:36:53.665] checking sys/personality.h usability... no [08:36:53.727] checking sys/personality.h presence... no [08:36:53.745] checking for sys/personality.h... no [08:36:53.749] checking sys/prctl.h usability... no [08:36:53.806] checking sys/prctl.h presence... no [08:36:53.828] checking for sys/prctl.h... no [08:36:53.831] checking sys/procctl.h usability... no [08:36:53.894] checking sys/procctl.h presence... no [08:36:53.916] checking for sys/procctl.h... no [08:36:53.921] checking sys/signalfd.h usability... no [08:36:53.986] checking sys/signalfd.h presence... no [08:36:54.011] checking for sys/signalfd.h... no [08:36:54.015] checking sys/ucred.h usability... no [08:36:54.078] checking sys/ucred.h presence... no [08:36:54.100] checking for sys/ucred.h... no [08:36:54.104] checking termios.h usability... no [08:36:54.169] checking termios.h presence... no [08:36:54.191] checking for termios.h... no [08:36:54.195] checking ucred.h usability... no [08:36:54.251] checking ucred.h presence... no [08:36:54.272] checking for ucred.h... no [08:36:54.276] checking xlocale.h usability... no [08:36:54.340] checking xlocale.h presence... no [08:36:54.362] checking for xlocale.h... no [08:36:54.366] checking zlib.h usability... yes [08:36:54.376] checking zlib.h presence... yes [08:36:54.399] checking for zlib.h... yes [08:36:54.400] checking for lz4... /usr/bin/lz4 [08:36:54.400] checking for zstd... /usr/bin/zstd [08:36:54.401] checking for openssl... /usr/bin/openssl [08:36:54.405] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [08:36:54.406] checking crtdefs.h usability... yes [08:36:54.415] checking crtdefs.h presence... yes [08:36:54.433] checking for crtdefs.h... yes [08:36:54.435] checking whether byte ordering is bigendian... no [08:36:54.521] checking for inline... inline [08:36:54.530] checking for printf format archetype... gnu_printf [08:36:54.539] checking for _Static_assert... yes [08:36:54.586] checking for typeof... typeof [08:36:54.596] checking for __builtin_types_compatible_p... yes [08:36:54.608] checking for __builtin_constant_p... yes [08:36:54.620] checking for __builtin_unreachable... yes [08:36:54.666] checking for computed goto support... yes [08:36:54.674] checking for struct tm.tm_zone... no [08:36:54.756] checking for union semun... no [08:36:54.797] checking for socklen_t... yes [08:36:56.022] checking for struct sockaddr.sa_len... no [08:36:58.136] checking for C/C++ restrict keyword... __restrict [08:36:58.149] checking for struct option... yes [08:36:58.193] checking whether assembler supports x86_64 popcntq... yes [08:36:58.201] checking size of off_t... 4 [08:36:58.420] 0 [08:36:58.421] checking size of bool... 1 [08:36:58.473] checking for int timezone... yes [08:36:58.532] checking for backtrace_symbols... no [08:36:58.589] checking for copyfile... no [08:36:58.648] checking for copy_file_range... no [08:36:58.707] checking for getifaddrs... no [08:36:58.765] checking for getpeerucred... no [08:36:58.823] checking for inet_pton... yes [08:36:58.882] checking for kqueue... no [08:36:58.940] checking for mbstowcs_l... no [08:36:59.000] checking for memset_s... no [08:36:59.057] checking for posix_fallocate... no [08:36:59.112] checking for ppoll... no [08:36:59.168] checking for pthread_is_threaded_np... no [08:36:59.227] checking for setproctitle... no [08:36:59.287] checking for setproctitle_fast... no [08:36:59.346] checking for strchrnul... no [08:36:59.403] checking for strsignal... no [08:36:59.456] checking for syncfs... no [08:36:59.512] checking for sync_file_range... no [08:36:59.569] checking for uselocale... no [08:36:59.628] checking for wcstombs_l... no [08:36:59.683] checking for __builtin_bswap16... yes [08:36:59.739] checking for __builtin_bswap32... yes [08:36:59.796] checking for __builtin_bswap64... yes [08:36:59.852] checking for __builtin_clz... yes [08:36:59.910] checking for __builtin_ctz... yes [08:36:59.966] checking for __builtin_popcount... yes [08:37:00.021] checking for __builtin_frame_address... yes [08:37:00.075] checking for _LARGEFILE_SOURCE value needed for large files... no [08:37:00.134] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:37:00.173] checking for posix_fadvise... no [08:37:00.235] checking whether posix_fadvise is declared... no [08:37:00.290] checking whether fdatasync is declared... no [08:37:00.344] checking whether strlcat is declared... no [08:37:00.416] checking whether strlcpy is declared... no [08:37:00.483] checking whether strnlen is declared... yes [08:37:00.498] checking whether strsep is declared... no [08:37:00.573] checking whether preadv is declared... no [08:37:00.616] checking whether pwritev is declared... no [08:37:00.660] checking whether F_FULLFSYNC is declared... no [08:37:00.706] checking for explicit_bzero... no [08:37:00.757] checking for getopt... yes [08:37:00.806] checking for getpeereid... no [08:37:00.858] checking for inet_aton... no [08:37:00.910] checking for mkdtemp... no [08:37:00.963] checking for strlcat... no [08:37:01.016] checking for strlcpy... no [08:37:01.068] checking for strnlen... yes [08:37:01.119] checking for strsep... no [08:37:01.171] checking for pthread_barrier_wait... yes [08:37:01.220] configure: On mingw32 we will use our strtof wrapper. [08:37:01.220] checking for getopt_long... yes [08:37:01.271] checking for _configthreadlocale... yes [08:37:01.325] checking for syslog... no [08:37:01.381] checking for opterr... yes [08:37:01.437] checking for optreset... no [08:37:01.491] checking test program... cross-compiling [08:37:01.491] checking whether long int is 64 bits... no [08:37:01.527] checking whether long long int is 64 bits... yes [08:37:01.537] checking for __builtin_mul_overflow... yes [08:37:01.588] checking size of void *... 8 [08:37:01.894] checking size of size_t... 8 [08:37:02.202] checking size of long... 4 [08:37:02.435] checking alignment of short... 2 [08:37:02.582] checking alignment of int... 4 [08:37:02.803] checking alignment of long... 4 [08:37:03.023] checking alignment of long long int... 8 [08:37:03.329] checking alignment of double... 8 [08:37:03.633] checking for __int128... yes [08:37:03.689] checking for __int128 alignment bug... assuming ok [08:37:03.689] checking alignment of PG_INT128_TYPE... 16 [08:37:04.061] checking for builtin __sync char locking functions... yes [08:37:04.108] checking for builtin __sync int32 locking functions... yes [08:37:04.155] checking for builtin __sync int32 atomic operations... yes [08:37:04.204] checking for builtin __sync int64 atomic operations... yes [08:37:04.252] checking for builtin __atomic int32 atomic operations... yes [08:37:04.302] checking for builtin __atomic int64 atomic operations... yes [08:37:04.353] checking for __get_cpuid... yes [08:37:04.409] checking for __get_cpuid_count... yes [08:37:04.460] checking for __cpuid... no [08:37:04.870] checking for __cpuidex... no [08:37:05.314] checking for _xgetbv with CFLAGS=... no [08:37:05.714] checking for _xgetbv with CFLAGS=-mxsave... yes [08:37:06.128] checking for _mm512_popcnt_epi64 with CFLAGS=... no [08:37:06.529] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [08:37:06.865] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [08:37:06.910] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [08:37:06.993] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:37:07.013] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:37:07.031] 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 [08:37:07.082] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:37:07.082] checking which random number source to use... Windows native [08:37:07.084] checking for xmllint... /usr/bin/xmllint [08:37:07.084] checking for xsltproc... /usr/bin/xsltproc [08:37:07.084] checking for fop... /usr/bin/fop [08:37:07.084] checking for dbtoepub... no [08:37:07.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:37:07.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:37:07.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:37:07.095] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:37:07.095] 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 [08:37:07.095] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:37:07.095] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:37:07.178] configure: creating ./config.status [08:37:07.263] config.status: creating GNUmakefile [08:37:07.276] config.status: creating src/Makefile.global [08:37:07.292] config.status: creating src/include/pg_config.h [08:37:07.304] config.status: creating src/include/pg_config_ext.h [08:37:07.316] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:37:07.331] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:37:07.339] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:37:07.346] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:37:07.353] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:37:07.360] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:37:07.364] config.status: executing check_win32_symlinks commands [08:37:07.398] [08:37:07.398] real 0m17.468s [08:37:07.398] user 0m11.577s [08:37:07.398] sys 0m5.505s [08:37:07.398] make -s -j${BUILD_JOBS} clean [08:37:07.921] time make -s -j${BUILD_JOBS} world-bin [08:37:43.462] postgres.c: In function ‘finish_xact_command’: [08:37:43.462] postgres.c:2826:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [08:37:43.462] 2826 | char *old_brk = sbrk(0); [08:37:43.462] | ^~~~ [08:37:43.462] postgres.c:2826:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [08:37:43.462] postgres.c:2829:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [08:37:43.462] 2829 | malloc_trim(0); [08:37:43.462] | ^~~~~~~~~~~ [08:37:43.462] postgres.c:2830:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [08:37:43.462] 2830 | new_brk = sbrk(0); [08:37:43.462] | ^ [08:37:43.462] cc1: all warnings being treated as errors [08:37:43.463] make[3]: *** [: postgres.o] Error 1 [08:37:43.463] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [08:37:43.463] make[2]: *** Waiting for unfinished jobs.... [08:37:50.373] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:37:50.373] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:37:50.374] [08:37:50.374] real 0m42.452s [08:37:50.374] user 2m12.247s [08:37:50.374] sys 0m29.664s [08:37:50.374] [08:37:50.374] Exit status: 2