[10:37:15.634] time ./configure \ [10:37:15.634] --host=x86_64-w64-mingw32 \ [10:37:15.634] --enable-cassert \ [10:37:15.634] --without-icu \ [10:37:15.634] CC="ccache x86_64-w64-mingw32-gcc" \ [10:37:15.634] CXX="ccache x86_64-w64-mingw32-g++" [10:37:15.744] checking build system type... x86_64-pc-linux-gnu [10:37:15.933] checking host system type... x86_64-w64-mingw32 [10:37:15.939] checking which template to use... win32 [10:37:15.939] checking whether NLS is wanted... no [10:37:15.939] checking for default port number... 5432 [10:37:15.947] checking for block size... 8kB [10:37:15.948] checking for segment size... 1GB [10:37:15.950] checking for WAL block size... 8kB [10:37:15.952] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:37:15.988] checking whether the C compiler works... yes [10:37:16.122] checking for C compiler default output file name... a.exe [10:37:16.124] checking for suffix of executables... .exe [10:37:16.167] checking whether we are cross compiling... yes [10:37:16.246] checking for suffix of object files... o [10:37:16.263] checking whether we are using the GNU C compiler... yes [10:37:16.279] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:37:16.295] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:37:16.306] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:37:16.367] checking whether we are using the GNU C++ compiler... yes [10:37:16.512] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:37:16.582] checking for gawk... no [10:37:16.582] checking for mawk... mawk [10:37:16.585] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:37:16.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:37:16.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:37:16.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:37:16.715] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:37:16.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:37:16.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:37:16.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:37:16.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:37:16.750] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:37:16.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:37:16.763] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:37:16.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:37:16.777] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:37:16.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:37:16.791] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:37:16.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:37:16.897] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:37:16.904] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:37:16.911] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:37:16.918] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:37:16.925] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:37:16.958] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:37:16.983] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:37:17.019] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:37:17.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:37:17.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:37:17.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:37:17.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:37:17.122] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:37:17.159] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:37:17.166] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:37:17.173] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:37:17.181] checking whether the C compiler still works... yes [10:37:17.242] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:37:17.311] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:37:17.311] checking pkg-config is at least version 0.9.0... yes [10:37:17.327] checking whether to build with ICU support... no [10:37:17.328] checking whether to build with Tcl... no [10:37:17.328] checking whether to build Perl modules... no [10:37:17.328] checking whether to build Python modules... no [10:37:17.328] checking whether to build with GSSAPI support... no [10:37:17.329] checking whether to build with PAM support... no [10:37:17.329] checking whether to build with BSD Authentication support... no [10:37:17.329] checking whether to build with LDAP support... no [10:37:17.329] checking whether to build with Bonjour support... no [10:37:17.329] checking whether to build with SELinux support... no [10:37:17.329] checking whether to build with systemd support... no [10:37:17.329] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:37:17.329] checking whether to build with liburing support... no [10:37:17.330] checking whether to build with libcurl support... no [10:37:17.330] checking whether to build with libnuma support... no [10:37:17.330] checking whether to build with XML support... no [10:37:17.331] checking whether to build with LZ4 support... no [10:37:17.331] checking whether to build with ZSTD support... no [10:37:17.331] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:37:17.331] checking whether it is possible to strip libraries... yes [10:37:17.339] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:37:17.340] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:37:17.340] checking for a BSD-compatible install... /usr/bin/install -c [10:37:17.348] checking for tar... /usr/bin/tar [10:37:17.348] checking whether ln -s works... yes [10:37:17.348] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:37:17.350] checking for bison... /usr/bin/bison [10:37:17.352] configure: using bison (GNU Bison) 3.8.2 [10:37:17.355] checking for flex... /usr/bin/flex [10:37:17.357] configure: using flex 2.6.4 [10:37:17.357] checking for perl... /usr/bin/perl [10:37:17.359] configure: using perl 5.36.0 [10:37:17.361] checking for zic... /usr/sbin/zic [10:37:17.362] checking for a sed that does not truncate output... /usr/bin/sed [10:37:17.366] checking for grep that handles long lines and -e... /usr/bin/grep [10:37:17.368] checking for egrep... /usr/bin/grep -E [10:37:17.370] checking for ANSI C header files... yes [10:37:17.415] checking for sys/types.h... yes [10:37:17.431] checking for sys/stat.h... yes [10:37:17.448] checking for stdlib.h... yes [10:37:17.464] checking for string.h... yes [10:37:17.478] checking for memory.h... yes [10:37:17.495] checking for strings.h... yes [10:37:17.553] checking for inttypes.h... yes [10:37:17.568] checking for stdint.h... yes [10:37:17.581] checking for unistd.h... yes [10:37:17.594] checking for main in -lm... yes [10:37:17.641] checking for library containing setproctitle... no [10:37:17.732] checking for library containing dlsym... no [10:37:17.816] checking for library containing socket... -lws2_32 [10:37:17.941] checking for library containing getopt_long... none required [10:37:17.988] checking for library containing shm_open... no [10:37:18.074] checking for library containing shm_unlink... no [10:37:18.161] checking for library containing clock_gettime... no [10:37:18.253] checking for library containing shmget... no [10:37:18.341] checking for library containing backtrace_symbols... no [10:37:18.431] checking for library containing pthread_barrier_wait... -lpthread [10:37:18.520] checking for inflate in -lz... yes [10:37:18.572] checking atomic.h usability... no [10:37:18.628] checking atomic.h presence... no [10:37:18.649] checking for atomic.h... no [10:37:18.652] checking copyfile.h usability... no [10:37:18.707] checking copyfile.h presence... no [10:37:18.728] checking for copyfile.h... no [10:37:18.731] checking execinfo.h usability... no [10:37:18.788] checking execinfo.h presence... no [10:37:18.807] checking for execinfo.h... no [10:37:18.810] checking getopt.h usability... yes [10:37:18.818] checking getopt.h presence... yes [10:37:18.833] checking for getopt.h... yes [10:37:18.840] checking ifaddrs.h usability... no [10:37:18.896] checking ifaddrs.h presence... no [10:37:18.917] checking for ifaddrs.h... no [10:37:18.921] checking mbarrier.h usability... no [10:37:18.981] checking mbarrier.h presence... no [10:37:19.001] checking for mbarrier.h... no [10:37:19.005] checking sys/epoll.h usability... no [10:37:19.063] checking sys/epoll.h presence... no [10:37:19.082] checking for sys/epoll.h... no [10:37:19.086] checking sys/event.h usability... no [10:37:19.141] checking sys/event.h presence... no [10:37:19.158] checking for sys/event.h... no [10:37:19.161] checking sys/personality.h usability... no [10:37:19.213] checking sys/personality.h presence... no [10:37:19.231] checking for sys/personality.h... no [10:37:19.234] checking sys/prctl.h usability... no [10:37:19.291] checking sys/prctl.h presence... no [10:37:19.313] checking for sys/prctl.h... no [10:37:19.317] checking sys/procctl.h usability... no [10:37:19.374] checking sys/procctl.h presence... no [10:37:19.393] checking for sys/procctl.h... no [10:37:19.396] checking sys/signalfd.h usability... no [10:37:19.453] checking sys/signalfd.h presence... no [10:37:19.471] checking for sys/signalfd.h... no [10:37:19.474] checking sys/ucred.h usability... no [10:37:19.529] checking sys/ucred.h presence... no [10:37:19.548] checking for sys/ucred.h... no [10:37:19.551] checking termios.h usability... no [10:37:19.605] checking termios.h presence... no [10:37:19.623] checking for termios.h... no [10:37:19.627] checking ucred.h usability... no [10:37:19.681] checking ucred.h presence... no [10:37:19.700] checking for ucred.h... no [10:37:19.704] checking xlocale.h usability... no [10:37:19.758] checking xlocale.h presence... no [10:37:19.775] checking for xlocale.h... no [10:37:19.778] checking zlib.h usability... yes [10:37:19.788] checking zlib.h presence... yes [10:37:19.806] checking for zlib.h... yes [10:37:19.807] checking for lz4... /usr/bin/lz4 [10:37:19.807] checking for zstd... /usr/bin/zstd [10:37:19.807] checking for openssl... /usr/bin/openssl [10:37:19.811] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [10:37:19.812] checking crtdefs.h usability... yes [10:37:19.866] checking crtdefs.h presence... yes [10:37:19.881] checking for crtdefs.h... yes [10:37:19.883] checking whether byte ordering is bigendian... no [10:37:19.957] checking for inline... inline [10:37:19.963] checking for printf format archetype... gnu_printf [10:37:19.971] checking for _Static_assert... yes [10:37:20.013] checking for typeof... typeof [10:37:20.021] checking for __builtin_types_compatible_p... yes [10:37:20.033] checking for __builtin_constant_p... yes [10:37:20.046] checking for __builtin_mul_overflow... yes [10:37:20.094] checking for __builtin_unreachable... yes [10:37:20.135] checking for computed goto support... yes [10:37:20.142] checking for struct tm.tm_zone... no [10:37:20.223] checking for union semun... no [10:37:20.257] checking for socklen_t... yes [10:37:22.465] checking for struct sockaddr.sa_len... no [10:37:24.546] checking for C/C++ restrict keyword... __restrict [10:37:24.560] checking for struct option... yes [10:37:24.601] checking whether assembler supports x86_64 popcntq... yes [10:37:24.636] checking size of off_t... 4 [10:37:24.846] 0 [10:37:24.846] checking for int timezone... yes [10:37:24.898] checking for backtrace_symbols... no [10:37:24.948] checking for copyfile... no [10:37:24.999] checking for copy_file_range... no [10:37:25.049] checking for elf_aux_info... no [10:37:25.098] checking for getauxval... no [10:37:25.147] checking for getifaddrs... no [10:37:25.197] checking for getpeerucred... no [10:37:25.247] checking for inet_pton... yes [10:37:25.297] checking for kqueue... no [10:37:25.348] checking for localeconv_l... no [10:37:25.399] checking for mbstowcs_l... no [10:37:25.455] checking for memset_s... no [10:37:25.510] checking for posix_fallocate... no [10:37:25.563] checking for ppoll... no [10:37:25.617] checking for pthread_is_threaded_np... no [10:37:25.667] checking for setproctitle... no [10:37:25.718] checking for setproctitle_fast... no [10:37:25.768] checking for strsignal... no [10:37:25.819] checking for syncfs... no [10:37:25.868] checking for sync_file_range... no [10:37:25.919] checking for uselocale... no [10:37:25.969] checking for wcstombs_l... no [10:37:26.017] checking for __builtin_bswap16... yes [10:37:26.066] checking for __builtin_bswap32... yes [10:37:26.114] checking for __builtin_bswap64... yes [10:37:26.160] checking for __builtin_clz... yes [10:37:26.209] checking for __builtin_ctz... yes [10:37:26.256] checking for __builtin_popcount... yes [10:37:26.303] checking for __builtin_frame_address... yes [10:37:26.352] checking for _LARGEFILE_SOURCE value needed for large files... no [10:37:26.407] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:37:26.439] checking for posix_fadvise... no [10:37:26.490] checking whether posix_fadvise is declared... no [10:37:26.532] checking whether fdatasync is declared... no [10:37:26.580] checking whether strlcat is declared... no [10:37:26.643] checking whether strlcpy is declared... no [10:37:26.708] checking whether strnlen is declared... yes [10:37:26.721] checking whether strsep is declared... no [10:37:26.784] checking whether timingsafe_bcmp is declared... no [10:37:26.850] checking whether preadv is declared... no [10:37:26.887] checking whether pwritev is declared... no [10:37:26.920] checking whether strchrnul is declared... no [10:37:26.960] checking whether F_FULLFSYNC is declared... no [10:37:27.002] checking for explicit_bzero... no [10:37:27.051] checking for getopt... yes [10:37:27.099] checking for getpeereid... no [10:37:27.148] checking for inet_aton... no [10:37:27.197] checking for mkdtemp... no [10:37:27.246] checking for strlcat... no [10:37:27.294] checking for strlcpy... no [10:37:27.343] checking for strnlen... yes [10:37:27.390] checking for strsep... no [10:37:27.437] checking for timingsafe_bcmp... no [10:37:27.484] checking for pthread_barrier_wait... yes [10:37:27.528] configure: On mingw32 we will use our strtof wrapper. [10:37:27.528] checking for getopt_long... yes [10:37:27.572] checking for syslog... no [10:37:27.620] checking for opterr... yes [10:37:27.667] checking for optreset... no [10:37:27.719] checking test program... cross-compiling [10:37:27.719] checking size of void *... 8 [10:37:28.063] checking size of size_t... 8 [10:37:28.440] checking size of long... 4 [10:37:28.697] checking size of long long... 8 [10:37:29.064] checking alignment of short... 2 [10:37:29.226] checking alignment of int... 4 [10:37:29.517] checking alignment of long... 4 [10:37:29.709] checking alignment of int64_t... 8 [10:37:30.015] checking alignment of double... 8 [10:37:30.340] checking for __int128... yes [10:37:30.389] checking for __int128 alignment bug... assuming ok [10:37:30.389] checking alignment of PG_INT128_TYPE... 16 [10:37:30.755] checking for builtin __sync char locking functions... yes [10:37:30.795] checking for builtin __sync int32 locking functions... yes [10:37:30.836] checking for builtin __sync int32 atomic operations... yes [10:37:30.877] checking for builtin __sync int64 atomic operations... yes [10:37:30.920] checking for builtin __atomic int32 atomic operations... yes [10:37:30.961] checking for builtin __atomic int64 atomic operations... yes [10:37:31.004] checking for __get_cpuid... yes [10:37:31.049] checking for __get_cpuid_count... yes [10:37:31.092] checking for __cpuid... no [10:37:31.488] checking for __cpuidex... no [10:37:31.904] checking for _xgetbv... yes [10:37:32.301] checking for _mm512_popcnt_epi64... yes [10:37:32.708] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:37:32.813] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:37:32.837] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:37:32.856] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:37:32.873] 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 [10:37:32.927] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:37:32.927] checking for _mm512_clmulepi64_epi128... yes [10:37:33.344] checking for vectorized CRC-32C... AVX-512 with runtime check [10:37:33.344] checking which random number source to use... Windows native [10:37:33.346] checking for xmllint... /usr/bin/xmllint [10:37:33.346] checking for xsltproc... /usr/bin/xsltproc [10:37:33.347] checking for fop... /usr/bin/fop [10:37:33.347] checking for dbtoepub... no [10:37:33.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:37:33.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:37:33.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:37:33.358] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:37:33.358] 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 [10:37:33.358] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:37:33.358] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:37:33.440] configure: creating ./config.status [10:37:33.524] config.status: creating GNUmakefile [10:37:33.537] config.status: creating src/Makefile.global [10:37:33.554] config.status: creating src/include/pg_config.h [10:37:33.567] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:37:33.581] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:37:33.588] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:37:33.595] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:37:33.601] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:37:33.608] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:37:33.611] config.status: executing check_win32_symlinks commands [10:37:33.646] [10:37:33.646] real 0m18.011s [10:37:33.646] user 0m12.059s [10:37:33.646] sys 0m5.582s [10:37:33.646] make -s -j${BUILD_JOBS} clean [10:37:34.162] time make -s -j${BUILD_JOBS} world-bin [10:38:41.778] varlena.c: In function ‘byteain’: [10:38:41.778] varlena.c:314:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [10:38:41.778] 314 | StringInfoData buf; [10:38:41.778] | ^~~~~~~~~~~~~~ [10:38:41.778] varlena.c:316:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [10:38:41.778] 316 | char *tp = inputText; [10:38:41.778] | ^~~~ [10:38:41.778] varlena.c:349:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [10:38:41.778] 349 | bytea *result = palloc(buf.len + VARHDRSZ); [10:38:41.778] | ^~~~~ [10:38:41.778] cc1: all warnings being treated as errors [10:38:41.779] make[4]: *** [: varlena.o] Error 1 [10:38:41.780] make[3]: *** [../../../src/backend/common.mk:37: adt-recursive] Error 2 [10:38:41.780] make[2]: *** [common.mk:37: utils-recursive] Error 2 [10:38:41.780] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:38:41.780] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:38:41.781] [10:38:41.781] real 1m7.619s [10:38:41.781] user 3m29.553s [10:38:41.781] sys 0m44.385s [10:38:41.781] [10:38:41.781] Exit status: 2