[06:12:26.467] time ./configure \ [06:12:26.467] --host=x86_64-w64-mingw32 \ [06:12:26.467] --enable-cassert \ [06:12:26.467] --without-icu \ [06:12:26.467] CC="ccache x86_64-w64-mingw32-gcc" \ [06:12:26.467] CXX="ccache x86_64-w64-mingw32-g++" [06:12:26.576] checking build system type... x86_64-pc-linux-gnu [06:12:26.771] checking host system type... x86_64-w64-mingw32 [06:12:26.776] checking which template to use... win32 [06:12:26.776] checking whether NLS is wanted... no [06:12:26.776] checking for default port number... 5432 [06:12:26.782] checking for block size... 8kB [06:12:26.783] checking for segment size... 1GB [06:12:26.785] checking for WAL block size... 8kB [06:12:26.787] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:12:26.817] checking whether the C compiler works... yes [06:12:26.967] checking for C compiler default output file name... a.exe [06:12:26.968] checking for suffix of executables... .exe [06:12:27.008] checking whether we are cross compiling... yes [06:12:27.087] checking for suffix of object files... o [06:12:27.103] checking whether we are using the GNU C compiler... yes [06:12:27.131] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:12:27.138] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:12:27.214] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:12:27.343] checking whether we are using the GNU C++ compiler... yes [06:12:27.350] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:12:27.412] checking for gawk... no [06:12:27.412] checking for mawk... mawk [06:12:27.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:12:27.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:12:27.436] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:12:27.479] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:12:27.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:12:27.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:12:27.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:12:27.682] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:12:27.689] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:12:27.719] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:12:27.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:12:27.834] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:12:27.840] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:12:27.847] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:12:27.862] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:12:27.892] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:12:27.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:12:27.934] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:12:27.941] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:12:27.948] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:12:27.980] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:12:27.996] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:12:28.003] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:12:28.025] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:12:28.031] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:12:28.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:12:28.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:12:28.119] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:12:28.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:12:28.159] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:12:28.197] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:12:28.204] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:12:28.212] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:12:28.248] checking whether the C compiler still works... yes [06:12:28.323] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:12:28.392] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:12:28.393] checking pkg-config is at least version 0.9.0... yes [06:12:28.409] checking whether to build with ICU support... no [06:12:28.410] checking whether to build with Tcl... no [06:12:28.410] checking whether to build Perl modules... no [06:12:28.410] checking whether to build Python modules... no [06:12:28.410] checking whether to build with GSSAPI support... no [06:12:28.411] checking whether to build with PAM support... no [06:12:28.411] checking whether to build with BSD Authentication support... no [06:12:28.411] checking whether to build with LDAP support... no [06:12:28.411] checking whether to build with Bonjour support... no [06:12:28.411] checking whether to build with SELinux support... no [06:12:28.412] checking whether to build with systemd support... no [06:12:28.412] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:12:28.412] checking whether to build with XML support... no [06:12:28.412] checking whether to build with LZ4 support... no [06:12:28.412] checking whether to build with ZSTD support... no [06:12:28.413] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:12:28.413] checking whether it is possible to strip libraries... yes [06:12:28.422] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:12:28.423] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:12:28.423] checking for a BSD-compatible install... /usr/bin/install -c [06:12:28.432] checking for tar... /usr/bin/tar [06:12:28.432] checking whether ln -s works... yes [06:12:28.433] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:12:28.435] checking for bison... /usr/bin/bison [06:12:28.437] configure: using bison (GNU Bison) 3.8.2 [06:12:28.440] checking for flex... /usr/bin/flex [06:12:28.453] configure: using flex 2.6.4 [06:12:28.453] checking for perl... /usr/bin/perl [06:12:28.456] configure: using perl 5.36.0 [06:12:28.458] checking for zic... /usr/sbin/zic [06:12:28.458] checking for a sed that does not truncate output... /usr/bin/sed [06:12:28.464] checking for grep that handles long lines and -e... /usr/bin/grep [06:12:28.466] checking for egrep... /usr/bin/grep -E [06:12:28.467] checking for ANSI C header files... yes [06:12:28.553] checking for sys/types.h... yes [06:12:28.570] checking for sys/stat.h... yes [06:12:28.633] checking for stdlib.h... yes [06:12:28.648] checking for string.h... yes [06:12:28.662] checking for memory.h... yes [06:12:28.723] checking for strings.h... yes [06:12:28.758] checking for inttypes.h... yes [06:12:28.774] checking for stdint.h... yes [06:12:28.808] checking for unistd.h... yes [06:12:28.871] checking for main in -lm... yes [06:12:28.917] checking for library containing setproctitle... no [06:12:29.005] checking for library containing dlsym... no [06:12:29.088] checking for library containing socket... -lws2_32 [06:12:29.216] checking for library containing getopt_long... none required [06:12:29.264] checking for library containing shm_open... no [06:12:29.354] checking for library containing shm_unlink... no [06:12:29.445] checking for library containing clock_gettime... no [06:12:29.535] checking for library containing shmget... no [06:12:29.623] checking for library containing backtrace_symbols... no [06:12:29.711] checking for library containing pthread_barrier_wait... -lpthread [06:12:29.797] checking for inflate in -lz... yes [06:12:29.844] checking atomic.h usability... no [06:12:29.897] checking atomic.h presence... no [06:12:29.915] checking for atomic.h... no [06:12:29.918] checking copyfile.h usability... no [06:12:29.972] checking copyfile.h presence... no [06:12:29.991] checking for copyfile.h... no [06:12:29.994] checking execinfo.h usability... no [06:12:30.047] checking execinfo.h presence... no [06:12:30.065] checking for execinfo.h... no [06:12:30.067] checking getopt.h usability... yes [06:12:30.074] checking getopt.h presence... yes [06:12:30.089] checking for getopt.h... yes [06:12:30.095] checking ifaddrs.h usability... no [06:12:30.148] checking ifaddrs.h presence... no [06:12:30.167] checking for ifaddrs.h... no [06:12:30.170] checking mbarrier.h usability... no [06:12:30.222] checking mbarrier.h presence... no [06:12:30.241] checking for mbarrier.h... no [06:12:30.244] checking sys/epoll.h usability... no [06:12:30.300] checking sys/epoll.h presence... no [06:12:30.319] checking for sys/epoll.h... no [06:12:30.322] checking sys/event.h usability... no [06:12:30.378] checking sys/event.h presence... no [06:12:30.398] checking for sys/event.h... no [06:12:30.401] checking sys/personality.h usability... no [06:12:30.459] checking sys/personality.h presence... no [06:12:30.478] checking for sys/personality.h... no [06:12:30.481] checking sys/prctl.h usability... no [06:12:30.536] checking sys/prctl.h presence... no [06:12:30.553] checking for sys/prctl.h... no [06:12:30.556] checking sys/procctl.h usability... no [06:12:30.608] checking sys/procctl.h presence... no [06:12:30.627] checking for sys/procctl.h... no [06:12:30.630] checking sys/signalfd.h usability... no [06:12:30.683] checking sys/signalfd.h presence... no [06:12:30.701] checking for sys/signalfd.h... no [06:12:30.704] checking sys/ucred.h usability... no [06:12:30.758] checking sys/ucred.h presence... no [06:12:30.776] checking for sys/ucred.h... no [06:12:30.779] checking termios.h usability... no [06:12:30.830] checking termios.h presence... no [06:12:30.848] checking for termios.h... no [06:12:30.851] checking ucred.h usability... no [06:12:30.902] checking ucred.h presence... no [06:12:30.921] checking for ucred.h... no [06:12:30.923] checking xlocale.h usability... no [06:12:30.977] checking xlocale.h presence... no [06:12:30.995] checking for xlocale.h... no [06:12:30.998] checking zlib.h usability... yes [06:12:31.029] checking zlib.h presence... yes [06:12:31.046] checking for zlib.h... yes [06:12:31.047] checking for lz4... /usr/bin/lz4 [06:12:31.047] checking for zstd... /usr/bin/zstd [06:12:31.047] checking for openssl... /usr/bin/openssl [06:12:31.051] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:12:31.051] checking crtdefs.h usability... yes [06:12:31.077] checking crtdefs.h presence... yes [06:12:31.091] checking for crtdefs.h... yes [06:12:31.092] checking whether byte ordering is bigendian... no [06:12:31.188] checking for inline... inline [06:12:31.203] checking for printf format archetype... gnu_printf [06:12:31.210] checking for _Static_assert... yes [06:12:31.249] checking for typeof... typeof [06:12:31.256] checking for __builtin_types_compatible_p... yes [06:12:31.292] checking for __builtin_constant_p... yes [06:12:31.301] checking for __builtin_mul_overflow... yes [06:12:31.344] checking for __builtin_unreachable... yes [06:12:31.383] checking for computed goto support... yes [06:12:31.390] checking for struct tm.tm_zone... no [06:12:31.464] checking for union semun... no [06:12:31.495] checking for socklen_t... yes [06:12:32.617] checking for struct sockaddr.sa_len... no [06:12:34.550] checking for C/C++ restrict keyword... __restrict [06:12:34.588] checking for struct option... yes [06:12:34.629] checking whether assembler supports x86_64 popcntq... yes [06:12:34.636] checking size of off_t... 4 [06:12:34.997] 0 [06:12:34.997] checking for int timezone... yes [06:12:35.045] checking for backtrace_symbols... no [06:12:35.092] checking for copyfile... no [06:12:35.140] checking for copy_file_range... no [06:12:35.187] checking for elf_aux_info... no [06:12:35.235] checking for getauxval... no [06:12:35.283] checking for getifaddrs... no [06:12:35.329] checking for getpeerucred... no [06:12:35.376] checking for inet_pton... yes [06:12:35.425] checking for kqueue... no [06:12:35.474] checking for mbstowcs_l... no [06:12:35.522] checking for memset_s... no [06:12:35.571] checking for posix_fallocate... no [06:12:35.621] checking for ppoll... no [06:12:35.669] checking for pthread_is_threaded_np... no [06:12:35.717] checking for setproctitle... no [06:12:35.764] checking for setproctitle_fast... no [06:12:35.812] checking for strchrnul... no [06:12:35.859] checking for strsignal... no [06:12:35.907] checking for syncfs... no [06:12:35.955] checking for sync_file_range... no [06:12:36.003] checking for uselocale... no [06:12:36.050] checking for wcstombs_l... no [06:12:36.094] checking for __builtin_bswap16... yes [06:12:36.139] checking for __builtin_bswap32... yes [06:12:36.183] checking for __builtin_bswap64... yes [06:12:36.226] checking for __builtin_clz... yes [06:12:36.270] checking for __builtin_ctz... yes [06:12:36.314] checking for __builtin_popcount... yes [06:12:36.358] checking for __builtin_frame_address... yes [06:12:36.402] checking for _LARGEFILE_SOURCE value needed for large files... no [06:12:36.452] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:12:36.480] checking for posix_fadvise... no [06:12:36.528] checking whether posix_fadvise is declared... no [06:12:36.570] checking whether fdatasync is declared... no [06:12:36.615] checking whether strlcat is declared... no [06:12:36.675] checking whether strlcpy is declared... no [06:12:36.734] checking whether strnlen is declared... yes [06:12:36.746] checking whether strsep is declared... no [06:12:36.805] checking whether preadv is declared... no [06:12:36.839] checking whether pwritev is declared... no [06:12:36.871] checking whether F_FULLFSYNC is declared... no [06:12:36.908] checking for explicit_bzero... no [06:12:36.954] checking for getopt... yes [06:12:36.996] checking for getpeereid... no [06:12:37.039] checking for inet_aton... no [06:12:37.083] checking for mkdtemp... no [06:12:37.127] checking for strlcat... no [06:12:37.170] checking for strlcpy... no [06:12:37.214] checking for strnlen... yes [06:12:37.258] checking for strsep... no [06:12:37.303] checking for pthread_barrier_wait... yes [06:12:37.343] configure: On mingw32 we will use our strtof wrapper. [06:12:37.343] checking for getopt_long... yes [06:12:37.386] checking for syslog... no [06:12:37.431] checking for opterr... yes [06:12:37.475] checking for optreset... no [06:12:37.522] checking test program... cross-compiling [06:12:37.522] checking size of void *... 8 [06:12:37.847] checking size of size_t... 8 [06:12:38.215] checking size of long... 4 [06:12:38.407] checking size of long long... 8 [06:12:38.694] checking alignment of short... 2 [06:12:38.880] checking alignment of int... 4 [06:12:39.141] checking alignment of long... 4 [06:12:39.384] checking alignment of int64_t... 8 [06:12:39.715] checking alignment of double... 8 [06:12:40.021] checking for __int128... yes [06:12:40.066] checking for __int128 alignment bug... assuming ok [06:12:40.066] checking alignment of PG_INT128_TYPE... 16 [06:12:40.536] checking for builtin __sync char locking functions... yes [06:12:40.576] checking for builtin __sync int32 locking functions... yes [06:12:40.617] checking for builtin __sync int32 atomic operations... yes [06:12:40.658] checking for builtin __sync int64 atomic operations... yes [06:12:40.701] checking for builtin __atomic int32 atomic operations... yes [06:12:40.742] checking for builtin __atomic int64 atomic operations... yes [06:12:40.784] checking for __get_cpuid... yes [06:12:40.828] checking for __get_cpuid_count... yes [06:12:40.870] checking for __cpuid... no [06:12:41.257] checking for __cpuidex... no [06:12:41.660] checking for _xgetbv... yes [06:12:42.044] checking for _mm512_popcnt_epi64... yes [06:12:42.447] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:12:42.546] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:12:42.567] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:12:42.584] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:12:42.603] 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 [06:12:42.656] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:12:42.657] checking which random number source to use... Windows native [06:12:42.658] checking for xmllint... /usr/bin/xmllint [06:12:42.659] checking for xsltproc... /usr/bin/xsltproc [06:12:42.659] checking for fop... /usr/bin/fop [06:12:42.659] checking for dbtoepub... no [06:12:42.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:12:42.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:12:42.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:12:42.670] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:12:42.670] 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 [06:12:42.670] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:12:42.670] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:12:42.752] configure: creating ./config.status [06:12:42.834] config.status: creating GNUmakefile [06:12:42.846] config.status: creating src/Makefile.global [06:12:42.860] config.status: creating src/include/pg_config.h [06:12:42.872] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:12:42.887] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:12:42.893] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:12:42.900] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:12:42.907] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:12:42.914] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:12:42.917] config.status: executing check_win32_symlinks commands [06:12:42.950] [06:12:42.950] real 0m16.483s [06:12:42.950] user 0m10.674s [06:12:42.950] sys 0m5.344s [06:12:42.950] make -s -j${BUILD_JOBS} clean [06:12:43.456] time make -s -j${BUILD_JOBS} world-bin [06:14:20.045] postgres.c: In function ‘finish_xact_command’: [06:14:20.045] postgres.c:2822:47: error: implicit declaration of function ‘sbrk’ [-Werror=implicit-function-declaration] [06:14:20.045] 2822 | char *old_brk = sbrk(0); [06:14:20.045] | ^~~~ [06:14:20.045] postgres.c:2822:47: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [06:14:20.045] postgres.c:2825:25: error: implicit declaration of function ‘malloc_trim’ [-Werror=implicit-function-declaration] [06:14:20.045] 2825 | malloc_trim(0); [06:14:20.045] | ^~~~~~~~~~~ [06:14:20.045] postgres.c:2826:33: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] [06:14:20.045] 2826 | new_brk = sbrk(0); [06:14:20.045] | ^ [06:14:20.045] cc1: all warnings being treated as errors [06:14:20.046] make[3]: *** [: postgres.o] Error 1 [06:14:20.046] make[3]: *** Waiting for unfinished jobs.... [06:14:20.103] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [06:14:20.103] make[2]: *** Waiting for unfinished jobs.... [06:14:26.729] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:14:26.729] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:14:26.729] [06:14:26.729] real 1m43.274s [06:14:26.729] user 5m30.785s [06:14:26.729] sys 1m5.100s [06:14:26.729] [06:14:26.729] Exit status: 2