[13:34:39.628] time ./configure \ [13:34:39.628] --host=x86_64-w64-mingw32 \ [13:34:39.628] --enable-cassert \ [13:34:39.628] --without-icu \ [13:34:39.628] CC="ccache x86_64-w64-mingw32-gcc" \ [13:34:39.628] CXX="ccache x86_64-w64-mingw32-g++" [13:34:39.751] checking build system type... x86_64-pc-linux-gnu [13:34:39.939] checking host system type... x86_64-w64-mingw32 [13:34:39.945] checking which template to use... win32 [13:34:39.945] checking whether NLS is wanted... no [13:34:39.945] checking for default port number... 5432 [13:34:39.953] checking for block size... 8kB [13:34:39.954] checking for segment size... 1GB [13:34:39.957] checking for WAL block size... 8kB [13:34:39.958] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:34:39.996] checking whether the C compiler works... yes [13:34:40.141] checking for C compiler default output file name... a.exe [13:34:40.142] checking for suffix of executables... .exe [13:34:40.187] checking whether we are cross compiling... yes [13:34:40.267] checking for suffix of object files... o [13:34:40.276] checking whether we are using the GNU C compiler... yes [13:34:40.283] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:34:40.291] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:34:40.302] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:34:40.366] checking whether we are using the GNU C++ compiler... yes [13:34:40.374] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:34:40.450] checking for gawk... no [13:34:40.451] checking for mawk... mawk [13:34:40.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:34:40.460] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:34:40.467] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:34:40.514] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:34:40.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:34:40.682] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:34:40.690] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:34:40.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:34:40.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:34:40.713] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:34:40.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:34:40.729] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:34:40.737] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:34:40.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:34:40.752] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:34:40.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:34:40.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:34:40.809] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:34:40.817] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:34:40.825] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:34:40.833] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:34:40.841] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:34:40.849] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:34:40.876] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:34:40.884] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:34:40.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:34:40.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:34:40.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:34:40.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:34:40.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:34:41.028] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:34:41.037] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:34:41.045] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:34:41.054] checking whether the C compiler still works... yes [13:34:41.126] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:34:41.206] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:34:41.206] checking pkg-config is at least version 0.9.0... yes [13:34:41.223] checking whether to build with ICU support... no [13:34:41.224] checking whether to build with Tcl... no [13:34:41.224] checking whether to build Perl modules... no [13:34:41.224] checking whether to build Python modules... no [13:34:41.224] checking whether to build with GSSAPI support... no [13:34:41.225] checking whether to build with PAM support... no [13:34:41.225] checking whether to build with BSD Authentication support... no [13:34:41.226] checking whether to build with LDAP support... no [13:34:41.226] checking whether to build with Bonjour support... no [13:34:41.226] checking whether to build with SELinux support... no [13:34:41.226] checking whether to build with systemd support... no [13:34:41.226] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:34:41.226] checking whether to build with XML support... no [13:34:41.226] checking whether to build with LZ4 support... no [13:34:41.227] checking whether to build with ZSTD support... no [13:34:41.227] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:34:41.227] checking whether it is possible to strip libraries... yes [13:34:41.235] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:34:41.235] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:34:41.235] checking for a BSD-compatible install... /usr/bin/install -c [13:34:41.245] checking for tar... /usr/bin/tar [13:34:41.245] checking whether ln -s works... yes [13:34:41.245] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:34:41.248] checking for bison... /usr/bin/bison [13:34:41.250] configure: using bison (GNU Bison) 3.8.2 [13:34:41.253] checking for flex... /usr/bin/flex [13:34:41.256] configure: using flex 2.6.4 [13:34:41.256] checking for perl... /usr/bin/perl [13:34:41.259] configure: using perl 5.36.0 [13:34:41.261] checking for zic... /usr/sbin/zic [13:34:41.262] checking for a sed that does not truncate output... /usr/bin/sed [13:34:41.268] checking for grep that handles long lines and -e... /usr/bin/grep [13:34:41.270] checking for egrep... /usr/bin/grep -E [13:34:41.272] checking for ANSI C header files... yes [13:34:41.327] checking for sys/types.h... yes [13:34:41.345] checking for sys/stat.h... yes [13:34:41.363] checking for stdlib.h... yes [13:34:41.380] checking for string.h... yes [13:34:41.396] checking for memory.h... yes [13:34:41.415] checking for strings.h... yes [13:34:41.433] checking for inttypes.h... yes [13:34:41.453] checking for stdint.h... yes [13:34:41.470] checking for unistd.h... yes [13:34:41.489] checking for main in -lm... yes [13:34:41.541] checking for library containing setproctitle... no [13:34:41.640] checking for library containing dlsym... no [13:34:41.738] checking for library containing socket... -lws2_32 [13:34:41.887] checking for library containing getopt_long... none required [13:34:41.940] checking for library containing shm_open... no [13:34:42.037] checking for library containing shm_unlink... no [13:34:42.131] checking for library containing clock_gettime... no [13:34:42.226] checking for library containing shmget... no [13:34:42.319] checking for library containing backtrace_symbols... no [13:34:42.413] checking for library containing pthread_barrier_wait... -lpthread [13:34:42.505] checking for inflate in -lz... yes [13:34:42.556] checking atomic.h usability... no [13:34:42.620] checking atomic.h presence... no [13:34:42.642] checking for atomic.h... no [13:34:42.646] checking copyfile.h usability... no [13:34:42.705] checking copyfile.h presence... no [13:34:42.724] checking for copyfile.h... no [13:34:42.728] checking execinfo.h usability... no [13:34:42.786] checking execinfo.h presence... no [13:34:42.805] checking for execinfo.h... no [13:34:42.809] checking getopt.h usability... yes [13:34:42.816] checking getopt.h presence... yes [13:34:42.832] checking for getopt.h... yes [13:34:42.840] checking ifaddrs.h usability... no [13:34:42.896] checking ifaddrs.h presence... no [13:34:42.915] checking for ifaddrs.h... no [13:34:42.918] checking mbarrier.h usability... no [13:34:42.973] checking mbarrier.h presence... no [13:34:42.992] checking for mbarrier.h... no [13:34:42.995] checking sys/epoll.h usability... no [13:34:43.048] checking sys/epoll.h presence... no [13:34:43.067] checking for sys/epoll.h... no [13:34:43.070] checking sys/event.h usability... no [13:34:43.123] checking sys/event.h presence... no [13:34:43.141] checking for sys/event.h... no [13:34:43.144] checking sys/personality.h usability... no [13:34:43.196] checking sys/personality.h presence... no [13:34:43.213] checking for sys/personality.h... no [13:34:43.216] checking sys/prctl.h usability... no [13:34:43.268] checking sys/prctl.h presence... no [13:34:43.285] checking for sys/prctl.h... no [13:34:43.289] checking sys/procctl.h usability... no [13:34:43.342] checking sys/procctl.h presence... no [13:34:43.359] checking for sys/procctl.h... no [13:34:43.362] checking sys/signalfd.h usability... no [13:34:43.415] checking sys/signalfd.h presence... no [13:34:43.432] checking for sys/signalfd.h... no [13:34:43.435] checking sys/ucred.h usability... no [13:34:43.486] checking sys/ucred.h presence... no [13:34:43.503] checking for sys/ucred.h... no [13:34:43.506] checking termios.h usability... no [13:34:43.557] checking termios.h presence... no [13:34:43.574] checking for termios.h... no [13:34:43.576] checking ucred.h usability... no [13:34:43.628] checking ucred.h presence... no [13:34:43.645] checking for ucred.h... no [13:34:43.647] checking xlocale.h usability... no [13:34:43.698] checking xlocale.h presence... no [13:34:43.715] checking for xlocale.h... no [13:34:43.718] checking zlib.h usability... yes [13:34:43.726] checking zlib.h presence... yes [13:34:43.744] checking for zlib.h... yes [13:34:43.744] checking for lz4... /usr/bin/lz4 [13:34:43.744] checking for zstd... /usr/bin/zstd [13:34:43.744] checking for openssl... /usr/bin/openssl [13:34:43.748] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:34:43.749] checking crtdefs.h usability... yes [13:34:43.756] checking crtdefs.h presence... yes [13:34:43.769] checking for crtdefs.h... yes [13:34:43.770] checking whether byte ordering is bigendian... no [13:34:43.837] checking for inline... inline [13:34:43.843] checking for printf format archetype... gnu_printf [13:34:43.851] checking for _Static_assert... yes [13:34:43.889] checking for typeof... typeof [13:34:43.896] checking for __builtin_types_compatible_p... yes [13:34:43.906] checking for __builtin_constant_p... yes [13:34:43.916] checking for __builtin_mul_overflow... yes [13:34:43.960] checking for __builtin_unreachable... yes [13:34:43.999] checking for computed goto support... yes [13:34:44.006] checking for struct tm.tm_zone... no [13:34:44.077] checking for union semun... no [13:34:44.107] checking for socklen_t... yes [13:34:45.213] checking for struct sockaddr.sa_len... no [13:34:47.481] checking for C/C++ restrict keyword... __restrict [13:34:47.494] checking for struct option... yes [13:34:47.542] checking whether assembler supports x86_64 popcntq... yes [13:34:47.550] checking size of off_t... 4 [13:34:47.770] 0 [13:34:47.770] checking for int timezone... yes [13:34:47.825] checking for backtrace_symbols... no [13:34:47.876] checking for copyfile... no [13:34:47.927] checking for copy_file_range... no [13:34:47.979] checking for elf_aux_info... no [13:34:48.031] checking for getauxval... no [13:34:48.082] checking for getifaddrs... no [13:34:48.133] checking for getpeerucred... no [13:34:48.184] checking for inet_pton... yes [13:34:48.236] checking for kqueue... no [13:34:48.287] checking for mbstowcs_l... no [13:34:48.339] checking for memset_s... no [13:34:48.390] checking for posix_fallocate... no [13:34:48.442] checking for ppoll... no [13:34:48.495] checking for pthread_is_threaded_np... no [13:34:48.547] checking for setproctitle... no [13:34:48.599] checking for setproctitle_fast... no [13:34:48.649] checking for strchrnul... no [13:34:48.701] checking for strsignal... no [13:34:48.752] checking for syncfs... no [13:34:48.803] checking for sync_file_range... no [13:34:48.853] checking for uselocale... no [13:34:48.906] checking for wcstombs_l... no [13:34:48.955] checking for __builtin_bswap16... yes [13:34:49.007] checking for __builtin_bswap32... yes [13:34:49.059] checking for __builtin_bswap64... yes [13:34:49.111] checking for __builtin_clz... yes [13:34:49.165] checking for __builtin_ctz... yes [13:34:49.218] checking for __builtin_popcount... yes [13:34:49.271] checking for __builtin_frame_address... yes [13:34:49.322] checking for _LARGEFILE_SOURCE value needed for large files... no [13:34:49.376] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:34:49.410] checking for posix_fadvise... no [13:34:49.464] checking whether posix_fadvise is declared... no [13:34:49.513] checking whether fdatasync is declared... no [13:34:49.565] checking whether strlcat is declared... no [13:34:49.633] checking whether strlcpy is declared... no [13:34:49.699] checking whether strnlen is declared... yes [13:34:49.712] checking whether strsep is declared... no [13:34:49.774] checking whether preadv is declared... no [13:34:49.810] checking whether pwritev is declared... no [13:34:49.845] checking whether F_FULLFSYNC is declared... no [13:34:49.883] checking for explicit_bzero... no [13:34:49.929] checking for getopt... yes [13:34:49.973] checking for getpeereid... no [13:34:50.020] checking for inet_aton... no [13:34:50.066] checking for mkdtemp... no [13:34:50.111] checking for strlcat... no [13:34:50.156] checking for strlcpy... no [13:34:50.200] checking for strnlen... yes [13:34:50.246] checking for strsep... no [13:34:50.291] checking for pthread_barrier_wait... yes [13:34:50.335] configure: On mingw32 we will use our strtof wrapper. [13:34:50.335] checking for getopt_long... yes [13:34:50.381] checking for syslog... no [13:34:50.431] checking for opterr... yes [13:34:50.481] checking for optreset... no [13:34:50.536] checking test program... cross-compiling [13:34:50.536] checking size of void *... 8 [13:34:50.811] checking size of size_t... 8 [13:34:51.068] checking size of long... 4 [13:34:51.278] checking size of long long... 8 [13:34:51.565] checking alignment of short... 2 [13:34:51.714] checking alignment of int... 4 [13:34:51.943] checking alignment of long... 4 [13:34:52.165] checking alignment of int64_t... 8 [13:34:52.457] checking alignment of double... 8 [13:34:52.748] checking for __int128... yes [13:34:52.801] checking for __int128 alignment bug... assuming ok [13:34:52.801] checking alignment of PG_INT128_TYPE... 16 [13:34:53.138] checking for builtin __sync char locking functions... yes [13:34:53.181] checking for builtin __sync int32 locking functions... yes [13:34:53.224] checking for builtin __sync int32 atomic operations... yes [13:34:53.267] checking for builtin __sync int64 atomic operations... yes [13:34:53.312] checking for builtin __atomic int32 atomic operations... yes [13:34:53.354] checking for builtin __atomic int64 atomic operations... yes [13:34:53.401] checking for __get_cpuid... yes [13:34:53.451] checking for __get_cpuid_count... yes [13:34:53.497] checking for __cpuid... no [13:34:53.894] checking for __cpuidex... no [13:34:54.334] checking for _xgetbv... yes [13:34:54.736] checking for _mm512_popcnt_epi64... yes [13:34:55.185] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:34:55.297] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:34:55.323] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:34:55.345] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:34:55.367] 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 [13:34:55.425] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:34:55.425] checking which random number source to use... Windows native [13:34:55.427] checking for xmllint... /usr/bin/xmllint [13:34:55.427] checking for xsltproc... /usr/bin/xsltproc [13:34:55.427] checking for fop... /usr/bin/fop [13:34:55.428] checking for dbtoepub... no [13:34:55.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:34:55.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:34:55.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:34:55.440] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:34:55.440] 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 [13:34:55.440] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:34:55.440] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:34:55.530] configure: creating ./config.status [13:34:55.625] config.status: creating GNUmakefile [13:34:55.639] config.status: creating src/Makefile.global [13:34:55.657] config.status: creating src/include/pg_config.h [13:34:55.671] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:34:55.690] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:34:55.697] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:34:55.705] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:34:55.713] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:34:55.722] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:34:55.725] config.status: executing check_win32_symlinks commands [13:34:55.764] [13:34:55.764] real 0m16.136s [13:34:55.764] user 0m10.771s [13:34:55.764] sys 0m5.055s [13:34:55.764] make -s -j${BUILD_JOBS} clean [13:34:56.270] time make -s -j${BUILD_JOBS} world-bin [13:34:59.236] pg_crc32c_sse42_choose.c: In function ‘pg_crc32c_sse42_pclmul_available’: [13:34:59.236] pg_crc32c_sse42_choose.c:46:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [13:34:59.236] 46 | bool sse42 = (exx[2] & (1 << 20)) != 0; /* SSE 4.2 */ [13:34:59.236] | ^~~~ [13:34:59.236] cc1: all warnings being treated as errors [13:34:59.237] make[2]: *** [<builtin>: pg_crc32c_sse42_choose.o] Error 1 [13:34:59.237] make[2]: *** Waiting for unfinished jobs.... [13:34:59.258] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [13:34:59.258] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:34:59.258] [13:34:59.258] real 0m2.988s [13:34:59.258] user 0m5.160s [13:34:59.258] sys 0m1.954s [13:34:59.259] [13:34:59.259] Exit status: 2����