[10:21:02.847] time ./configure \ [10:21:02.847] --host=x86_64-w64-mingw32 \ [10:21:02.847] --enable-cassert \ [10:21:02.847] --without-icu \ [10:21:02.847] CC="ccache x86_64-w64-mingw32-gcc" \ [10:21:02.847] CXX="ccache x86_64-w64-mingw32-g++" [10:21:02.975] checking build system type... x86_64-pc-linux-gnu [10:21:03.179] checking host system type... x86_64-w64-mingw32 [10:21:03.185] checking which template to use... win32 [10:21:03.185] checking whether NLS is wanted... no [10:21:03.186] checking for default port number... 5432 [10:21:03.193] checking for block size... 8kB [10:21:03.194] checking for segment size... 1GB [10:21:03.197] checking for WAL block size... 8kB [10:21:03.198] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:21:03.236] checking whether the C compiler works... yes [10:21:03.378] checking for C compiler default output file name... a.exe [10:21:03.379] checking for suffix of executables... .exe [10:21:03.424] checking whether we are cross compiling... yes [10:21:03.509] checking for suffix of object files... o [10:21:03.518] checking whether we are using the GNU C compiler... yes [10:21:03.526] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:21:03.534] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:21:03.547] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:21:03.614] checking whether we are using the GNU C++ compiler... yes [10:21:03.622] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:21:03.704] checking for gawk... no [10:21:03.704] checking for mawk... mawk [10:21:03.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:21:03.714] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:21:03.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:21:03.769] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:21:03.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:21:03.962] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:21:03.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:21:03.979] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:21:03.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:21:03.996] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:21:04.004] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:21:04.012] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:21:04.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:21:04.028] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:21:04.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:21:04.044] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:21:04.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:21:04.092] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:21:04.100] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:21:04.108] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:21:04.116] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:21:04.124] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:21:04.132] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:21:04.160] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:21:04.167] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:21:04.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:21:04.216] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:21:04.256] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:21:04.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:21:04.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:21:04.309] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:21:04.317] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:21:04.325] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:21:04.334] checking whether the C compiler still works... yes [10:21:04.402] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:21:04.480] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:21:04.480] checking pkg-config is at least version 0.9.0... yes [10:21:04.499] checking whether to build with ICU support... no [10:21:04.499] checking whether to build with Tcl... no [10:21:04.499] checking whether to build Perl modules... no [10:21:04.499] checking whether to build Python modules... no [10:21:04.499] checking whether to build with GSSAPI support... no [10:21:04.500] checking whether to build with PAM support... no [10:21:04.500] checking whether to build with BSD Authentication support... no [10:21:04.501] checking whether to build with LDAP support... no [10:21:04.501] checking whether to build with Bonjour support... no [10:21:04.501] checking whether to build with SELinux support... no [10:21:04.501] checking whether to build with systemd support... no [10:21:04.501] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:21:04.501] checking whether to build with XML support... no [10:21:04.501] checking whether to build with LZ4 support... no [10:21:04.502] checking whether to build with ZSTD support... no [10:21:04.502] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:21:04.502] checking whether it is possible to strip libraries... yes [10:21:04.509] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:21:04.510] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:21:04.510] checking for a BSD-compatible install... /usr/bin/install -c [10:21:04.520] checking for tar... /usr/bin/tar [10:21:04.520] checking whether ln -s works... yes [10:21:04.521] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:21:04.523] checking for bison... /usr/bin/bison [10:21:04.526] configure: using bison (GNU Bison) 3.8.2 [10:21:04.529] checking for flex... /usr/bin/flex [10:21:04.531] configure: using flex 2.6.4 [10:21:04.532] checking for perl... /usr/bin/perl [10:21:04.535] configure: using perl 5.36.0 [10:21:04.537] checking for zic... /usr/sbin/zic [10:21:04.538] checking for a sed that does not truncate output... /usr/bin/sed [10:21:04.544] checking for grep that handles long lines and -e... /usr/bin/grep [10:21:04.546] checking for egrep... /usr/bin/grep -E [10:21:04.548] checking for ANSI C header files... yes [10:21:04.604] checking for sys/types.h... yes [10:21:04.621] checking for sys/stat.h... yes [10:21:04.639] checking for stdlib.h... yes [10:21:04.655] checking for string.h... yes [10:21:04.671] checking for memory.h... yes [10:21:04.690] checking for strings.h... yes [10:21:04.708] checking for inttypes.h... yes [10:21:04.727] checking for stdint.h... yes [10:21:04.744] checking for unistd.h... yes [10:21:04.764] checking for main in -lm... yes [10:21:04.814] checking for library containing setproctitle... no [10:21:04.909] checking for library containing dlsym... no [10:21:05.005] checking for library containing socket... -lws2_32 [10:21:05.147] checking for library containing getopt_long... none required [10:21:05.199] checking for library containing shm_open... no [10:21:05.298] checking for library containing shm_unlink... no [10:21:05.395] checking for library containing clock_gettime... no [10:21:05.490] checking for library containing shmget... no [10:21:05.585] checking for library containing backtrace_symbols... no [10:21:05.684] checking for library containing pthread_barrier_wait... -lpthread [10:21:05.783] checking for inflate in -lz... yes [10:21:05.836] checking atomic.h usability... no [10:21:05.900] checking atomic.h presence... no [10:21:05.921] checking for atomic.h... no [10:21:05.925] checking copyfile.h usability... no [10:21:05.989] checking copyfile.h presence... no [10:21:06.012] checking for copyfile.h... no [10:21:06.016] checking execinfo.h usability... no [10:21:06.077] checking execinfo.h presence... no [10:21:06.099] checking for execinfo.h... no [10:21:06.103] checking getopt.h usability... yes [10:21:06.111] checking getopt.h presence... yes [10:21:06.129] checking for getopt.h... yes [10:21:06.137] checking ifaddrs.h usability... no [10:21:06.196] checking ifaddrs.h presence... no [10:21:06.217] checking for ifaddrs.h... no [10:21:06.220] checking mbarrier.h usability... no [10:21:06.277] checking mbarrier.h presence... no [10:21:06.297] checking for mbarrier.h... no [10:21:06.300] checking sys/epoll.h usability... no [10:21:06.357] checking sys/epoll.h presence... no [10:21:06.378] checking for sys/epoll.h... no [10:21:06.381] checking sys/event.h usability... no [10:21:06.444] checking sys/event.h presence... no [10:21:06.464] checking for sys/event.h... no [10:21:06.467] checking sys/personality.h usability... no [10:21:06.524] checking sys/personality.h presence... no [10:21:06.545] checking for sys/personality.h... no [10:21:06.549] checking sys/prctl.h usability... no [10:21:06.609] checking sys/prctl.h presence... no [10:21:06.630] checking for sys/prctl.h... no [10:21:06.634] checking sys/procctl.h usability... no [10:21:06.694] checking sys/procctl.h presence... no [10:21:06.715] checking for sys/procctl.h... no [10:21:06.718] checking sys/signalfd.h usability... no [10:21:06.777] checking sys/signalfd.h presence... no [10:21:06.797] checking for sys/signalfd.h... no [10:21:06.801] checking sys/ucred.h usability... no [10:21:06.863] checking sys/ucred.h presence... no [10:21:06.885] checking for sys/ucred.h... no [10:21:06.888] checking termios.h usability... no [10:21:06.947] checking termios.h presence... no [10:21:06.969] checking for termios.h... no [10:21:06.973] checking ucred.h usability... no [10:21:07.032] checking ucred.h presence... no [10:21:07.053] checking for ucred.h... no [10:21:07.056] checking xlocale.h usability... no [10:21:07.116] checking xlocale.h presence... no [10:21:07.138] checking for xlocale.h... no [10:21:07.141] checking zlib.h usability... yes [10:21:07.153] checking zlib.h presence... yes [10:21:07.175] checking for zlib.h... yes [10:21:07.175] checking for lz4... /usr/bin/lz4 [10:21:07.175] checking for zstd... /usr/bin/zstd [10:21:07.176] checking for openssl... /usr/bin/openssl [10:21:07.180] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [10:21:07.181] checking crtdefs.h usability... yes [10:21:07.189] checking crtdefs.h presence... yes [10:21:07.205] checking for crtdefs.h... yes [10:21:07.207] checking whether byte ordering is bigendian... no [10:21:07.285] checking for inline... inline [10:21:07.293] checking for printf format archetype... gnu_printf [10:21:07.301] checking for _Static_assert... yes [10:21:07.344] checking for typeof... typeof [10:21:07.351] checking for __builtin_types_compatible_p... yes [10:21:07.361] checking for __builtin_constant_p... yes [10:21:07.374] checking for __builtin_mul_overflow... yes [10:21:07.425] checking for __builtin_unreachable... yes [10:21:07.471] checking for computed goto support... yes [10:21:07.479] checking for struct tm.tm_zone... no [10:21:07.565] checking for union semun... no [10:21:07.602] checking for socklen_t... yes [10:21:08.960] checking for struct sockaddr.sa_len... no [10:21:11.230] checking for C/C++ restrict keyword... __restrict [10:21:11.246] checking for struct option... yes [10:21:11.296] checking whether assembler supports x86_64 popcntq... yes [10:21:11.304] checking size of off_t... 4 [10:21:11.519] 0 [10:21:11.519] checking for int timezone... yes [10:21:11.573] checking for backtrace_symbols... no [10:21:11.625] checking for copyfile... no [10:21:11.682] checking for copy_file_range... no [10:21:11.737] checking for elf_aux_info... no [10:21:11.792] checking for getauxval... no [10:21:11.848] checking for getifaddrs... no [10:21:11.903] checking for getpeerucred... no [10:21:11.959] checking for inet_pton... yes [10:21:12.015] checking for kqueue... no [10:21:12.071] checking for mbstowcs_l... no [10:21:12.126] checking for memset_s... no [10:21:12.182] checking for posix_fallocate... no [10:21:12.235] checking for ppoll... no [10:21:12.289] checking for pthread_is_threaded_np... no [10:21:12.346] checking for setproctitle... no [10:21:12.403] checking for setproctitle_fast... no [10:21:12.458] checking for strchrnul... no [10:21:12.514] checking for strsignal... no [10:21:12.571] checking for syncfs... no [10:21:12.628] checking for sync_file_range... no [10:21:12.685] checking for uselocale... no [10:21:12.742] checking for wcstombs_l... no [10:21:12.794] checking for __builtin_bswap16... yes [10:21:12.849] checking for __builtin_bswap32... yes [10:21:12.904] checking for __builtin_bswap64... yes [10:21:12.959] checking for __builtin_clz... yes [10:21:13.015] checking for __builtin_ctz... yes [10:21:13.068] checking for __builtin_popcount... yes [10:21:13.121] checking for __builtin_frame_address... yes [10:21:13.173] checking for _LARGEFILE_SOURCE value needed for large files... no [10:21:13.230] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:21:13.264] checking for posix_fadvise... no [10:21:13.321] checking whether posix_fadvise is declared... no [10:21:13.374] checking whether fdatasync is declared... no [10:21:13.426] checking whether strlcat is declared... no [10:21:13.499] checking whether strlcpy is declared... no [10:21:13.570] checking whether strnlen is declared... yes [10:21:13.585] checking whether strsep is declared... no [10:21:13.661] checking whether preadv is declared... no [10:21:13.702] checking whether pwritev is declared... no [10:21:13.749] checking whether F_FULLFSYNC is declared... no [10:21:13.796] checking for explicit_bzero... no [10:21:13.851] checking for getopt... yes [10:21:13.901] checking for getpeereid... no [10:21:13.954] checking for inet_aton... no [10:21:14.009] checking for mkdtemp... no [10:21:14.064] checking for strlcat... no [10:21:14.117] checking for strlcpy... no [10:21:14.172] checking for strnlen... yes [10:21:14.224] checking for strsep... no [10:21:14.278] checking for pthread_barrier_wait... yes [10:21:14.326] configure: On mingw32 we will use our strtof wrapper. [10:21:14.326] checking for getopt_long... yes [10:21:14.378] checking for syslog... no [10:21:14.432] checking for opterr... yes [10:21:14.485] checking for optreset... no [10:21:14.542] checking test program... cross-compiling [10:21:14.542] checking size of void *... 8 [10:21:14.840] checking size of size_t... 8 [10:21:15.138] checking size of long... 4 [10:21:15.366] checking size of long long... 8 [10:21:15.669] checking alignment of short... 2 [10:21:15.824] checking alignment of int... 4 [10:21:16.049] checking alignment of long... 4 [10:21:16.281] checking alignment of int64_t... 8 [10:21:16.587] checking alignment of double... 8 [10:21:16.897] checking for __int128... yes [10:21:16.955] checking for __int128 alignment bug... assuming ok [10:21:16.955] checking alignment of PG_INT128_TYPE... 16 [10:21:17.335] checking for builtin __sync char locking functions... yes [10:21:17.381] checking for builtin __sync int32 locking functions... yes [10:21:17.427] checking for builtin __sync int32 atomic operations... yes [10:21:17.475] checking for builtin __sync int64 atomic operations... yes [10:21:17.524] checking for builtin __atomic int32 atomic operations... yes [10:21:17.572] checking for builtin __atomic int64 atomic operations... yes [10:21:17.622] checking for __get_cpuid... yes [10:21:17.676] checking for __get_cpuid_count... yes [10:21:17.725] checking for __cpuid... no [10:21:18.148] checking for __cpuidex... no [10:21:18.595] checking for _xgetbv... yes [10:21:19.022] checking for _mm512_popcnt_epi64... yes [10:21:19.456] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:21:19.570] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:21:19.597] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:21:19.618] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:21:19.640] 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:21:19.701] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:21:19.702] checking which random number source to use... Windows native [10:21:19.704] checking for xmllint... /usr/bin/xmllint [10:21:19.704] checking for xsltproc... /usr/bin/xsltproc [10:21:19.704] checking for fop... /usr/bin/fop [10:21:19.704] checking for dbtoepub... no [10:21:19.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:21:19.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:21:19.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:21:19.717] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:21:19.717] 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:21:19.717] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:21:19.717] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:21:19.809] configure: creating ./config.status [10:21:19.895] config.status: creating GNUmakefile [10:21:19.907] config.status: creating src/Makefile.global [10:21:19.923] config.status: creating src/include/pg_config.h [10:21:19.937] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:21:19.954] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:21:19.962] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:21:19.971] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:21:19.979] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:21:19.987] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:21:19.991] config.status: executing check_win32_symlinks commands [10:21:20.028] [10:21:20.028] real 0m17.180s [10:21:20.028] user 0m11.256s [10:21:20.028] sys 0m5.542s [10:21:20.028] make -s -j${BUILD_JOBS} clean [10:21:20.558] time make -s -j${BUILD_JOBS} world-bin [10:21:23.583] pg_crc32c_sse42_choose.c: In function ‘pg_crc32c_sse42_pclmul_available’: [10:21:23.583] pg_crc32c_sse42_choose.c:46:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [10:21:23.583] 46 | bool sse42 = (exx[2] & (1 << 20)) != 0; /* SSE 4.2 */ [10:21:23.583] | ^~~~ [10:21:23.583] cc1: all warnings being treated as errors [10:21:23.584] make[2]: *** [: pg_crc32c_sse42_choose.o] Error 1 [10:21:23.584] make[2]: *** Waiting for unfinished jobs.... [10:21:23.586] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [10:21:23.586] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:21:23.587] [10:21:23.587] real 0m3.028s [10:21:23.587] user 0m5.380s [10:21:23.587] sys 0m2.088s [10:21:23.587] [10:21:23.587] Exit status: 2