[22:05:06.576] time ./configure \ [22:05:06.576] --host=x86_64-w64-mingw32 \ [22:05:06.576] --enable-cassert \ [22:05:06.576] --without-icu \ [22:05:06.576] CC="ccache x86_64-w64-mingw32-gcc" \ [22:05:06.576] CXX="ccache x86_64-w64-mingw32-g++" [22:05:06.713] checking build system type... x86_64-pc-linux-gnu [22:05:06.900] checking host system type... x86_64-w64-mingw32 [22:05:06.906] checking which template to use... win32 [22:05:06.907] checking whether NLS is wanted... no [22:05:06.907] checking for default port number... 5432 [22:05:06.914] checking for block size... 8kB [22:05:06.916] checking for segment size... 1GB [22:05:06.919] checking for WAL block size... 8kB [22:05:06.920] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:05:06.958] checking whether the C compiler works... yes [22:05:07.080] checking for C compiler default output file name... a.exe [22:05:07.082] checking for suffix of executables... .exe [22:05:07.127] checking whether we are cross compiling... yes [22:05:07.205] checking for suffix of object files... o [22:05:07.214] checking whether we are using the GNU C compiler... yes [22:05:07.221] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:05:07.229] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:05:07.238] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:05:07.295] checking whether we are using the GNU C++ compiler... yes [22:05:07.303] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:05:07.383] checking for gawk... no [22:05:07.383] checking for mawk... mawk [22:05:07.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:05:07.394] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:05:07.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:05:07.455] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:05:07.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:05:07.622] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:05:07.630] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:05:07.639] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:05:07.647] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:05:07.655] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:05:07.663] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:05:07.671] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:05:07.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:05:07.687] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:05:07.695] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:05:07.702] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:05:07.710] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:05:07.749] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:05:07.758] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:05:07.766] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:05:07.774] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:05:07.781] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:05:07.790] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:05:07.817] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:05:07.825] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:05:07.833] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:05:07.875] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:05:07.919] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:05:07.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:05:07.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:05:07.977] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:05:07.987] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:05:07.995] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:05:08.005] checking whether the C compiler still works... yes [22:05:08.082] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:05:08.166] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:05:08.167] checking pkg-config is at least version 0.9.0... yes [22:05:08.185] checking whether to build with ICU support... no [22:05:08.185] checking whether to build with Tcl... no [22:05:08.185] checking whether to build Perl modules... no [22:05:08.185] checking whether to build Python modules... no [22:05:08.185] checking whether to build with GSSAPI support... no [22:05:08.187] checking whether to build with PAM support... no [22:05:08.187] checking whether to build with BSD Authentication support... no [22:05:08.187] checking whether to build with LDAP support... no [22:05:08.187] checking whether to build with Bonjour support... no [22:05:08.187] checking whether to build with SELinux support... no [22:05:08.187] checking whether to build with systemd support... no [22:05:08.187] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:05:08.187] checking whether to build with XML support... no [22:05:08.188] checking whether to build with LZ4 support... no [22:05:08.188] checking whether to build with ZSTD support... no [22:05:08.188] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:05:08.189] checking whether it is possible to strip libraries... yes [22:05:08.197] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:05:08.197] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:05:08.198] checking for a BSD-compatible install... /usr/bin/install -c [22:05:08.209] checking for tar... /usr/bin/tar [22:05:08.209] checking whether ln -s works... yes [22:05:08.209] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:05:08.212] checking for bison... /usr/bin/bison [22:05:08.215] configure: using bison (GNU Bison) 3.8.2 [22:05:08.218] checking for flex... /usr/bin/flex [22:05:08.221] configure: using flex 2.6.4 [22:05:08.221] checking for perl... /usr/bin/perl [22:05:08.224] configure: using perl 5.36.0 [22:05:08.227] checking for zic... /usr/sbin/zic [22:05:08.227] checking for a sed that does not truncate output... /usr/bin/sed [22:05:08.234] checking for grep that handles long lines and -e... /usr/bin/grep [22:05:08.236] checking for egrep... /usr/bin/grep -E [22:05:08.238] checking for ANSI C header files... yes [22:05:08.293] checking for sys/types.h... yes [22:05:08.312] checking for sys/stat.h... yes [22:05:08.331] checking for stdlib.h... yes [22:05:08.348] checking for string.h... yes [22:05:08.365] checking for memory.h... yes [22:05:08.382] checking for strings.h... yes [22:05:08.401] checking for inttypes.h... yes [22:05:08.420] checking for stdint.h... yes [22:05:08.437] checking for unistd.h... yes [22:05:08.455] checking for main in -lm... yes [22:05:08.510] checking for library containing setproctitle... no [22:05:08.611] checking for library containing dlsym... no [22:05:08.709] checking for library containing socket... -lws2_32 [22:05:08.849] checking for library containing getopt_long... none required [22:05:08.903] checking for library containing shm_open... no [22:05:09.005] checking for library containing shm_unlink... no [22:05:09.106] checking for library containing clock_gettime... no [22:05:09.208] checking for library containing shmget... no [22:05:09.310] checking for library containing backtrace_symbols... no [22:05:09.411] checking for library containing pthread_barrier_wait... -lpthread [22:05:09.515] checking for inflate in -lz... yes [22:05:09.577] checking atomic.h usability... no [22:05:09.646] checking atomic.h presence... no [22:05:09.668] checking for atomic.h... no [22:05:09.672] checking copyfile.h usability... no [22:05:09.737] checking copyfile.h presence... no [22:05:09.760] checking for copyfile.h... no [22:05:09.764] checking execinfo.h usability... no [22:05:09.829] checking execinfo.h presence... no [22:05:09.852] checking for execinfo.h... no [22:05:09.855] checking getopt.h usability... yes [22:05:09.864] checking getopt.h presence... yes [22:05:09.881] checking for getopt.h... yes [22:05:09.889] checking ifaddrs.h usability... no [22:05:09.951] checking ifaddrs.h presence... no [22:05:09.972] checking for ifaddrs.h... no [22:05:09.976] checking mbarrier.h usability... no [22:05:10.040] checking mbarrier.h presence... no [22:05:10.063] checking for mbarrier.h... no [22:05:10.066] checking sys/epoll.h usability... no [22:05:10.127] checking sys/epoll.h presence... no [22:05:10.149] checking for sys/epoll.h... no [22:05:10.152] checking sys/event.h usability... no [22:05:10.213] checking sys/event.h presence... no [22:05:10.235] checking for sys/event.h... no [22:05:10.239] checking sys/personality.h usability... no [22:05:10.302] checking sys/personality.h presence... no [22:05:10.325] checking for sys/personality.h... no [22:05:10.329] checking sys/prctl.h usability... no [22:05:10.392] checking sys/prctl.h presence... no [22:05:10.414] checking for sys/prctl.h... no [22:05:10.418] checking sys/procctl.h usability... no [22:05:10.481] checking sys/procctl.h presence... no [22:05:10.505] checking for sys/procctl.h... no [22:05:10.509] checking sys/signalfd.h usability... no [22:05:10.575] checking sys/signalfd.h presence... no [22:05:10.598] checking for sys/signalfd.h... no [22:05:10.602] checking sys/ucred.h usability... no [22:05:10.668] checking sys/ucred.h presence... no [22:05:10.692] checking for sys/ucred.h... no [22:05:10.696] checking termios.h usability... no [22:05:10.762] checking termios.h presence... no [22:05:10.785] checking for termios.h... no [22:05:10.789] checking ucred.h usability... no [22:05:10.853] checking ucred.h presence... no [22:05:10.875] checking for ucred.h... no [22:05:10.879] checking xlocale.h usability... no [22:05:10.942] checking xlocale.h presence... no [22:05:10.965] checking for xlocale.h... no [22:05:10.969] checking zlib.h usability... yes [22:05:10.982] checking zlib.h presence... yes [22:05:11.004] checking for zlib.h... yes [22:05:11.005] checking for lz4... /usr/bin/lz4 [22:05:11.005] checking for zstd... /usr/bin/zstd [22:05:11.006] checking for openssl... /usr/bin/openssl [22:05:11.011] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:05:11.011] checking crtdefs.h usability... yes [22:05:11.021] checking crtdefs.h presence... yes [22:05:11.039] checking for crtdefs.h... yes [22:05:11.041] checking whether byte ordering is bigendian... no [22:05:11.132] checking for inline... inline [22:05:11.141] checking for printf format archetype... gnu_printf [22:05:11.151] checking for _Static_assert... yes [22:05:11.200] checking for typeof... typeof [22:05:11.209] checking for __builtin_types_compatible_p... yes [22:05:11.222] checking for __builtin_constant_p... yes [22:05:11.236] checking for __builtin_mul_overflow... yes [22:05:11.291] checking for __builtin_unreachable... yes [22:05:11.341] checking for computed goto support... yes [22:05:11.350] checking for struct tm.tm_zone... no [22:05:11.448] checking for union semun... no [22:05:11.490] checking for socklen_t... yes [22:05:12.746] checking for struct sockaddr.sa_len... no [22:05:14.881] checking for C/C++ restrict keyword... __restrict [22:05:14.897] checking for struct option... yes [22:05:14.949] checking whether assembler supports x86_64 popcntq... yes [22:05:14.961] checking size of off_t... 4 [22:05:15.201] 0 [22:05:15.201] checking for int timezone... yes [22:05:15.257] checking for backtrace_symbols... no [22:05:15.314] checking for copyfile... no [22:05:15.369] checking for copy_file_range... no [22:05:15.425] checking for elf_aux_info... no [22:05:15.480] checking for getauxval... no [22:05:15.536] checking for getifaddrs... no [22:05:15.593] checking for getpeerucred... no [22:05:15.651] checking for inet_pton... yes [22:05:15.708] checking for kqueue... no [22:05:15.763] checking for mbstowcs_l... no [22:05:15.817] checking for memset_s... no [22:05:15.874] checking for posix_fallocate... no [22:05:15.929] checking for ppoll... no [22:05:15.986] checking for pthread_is_threaded_np... no [22:05:16.044] checking for setproctitle... no [22:05:16.101] checking for setproctitle_fast... no [22:05:16.157] checking for strchrnul... no [22:05:16.212] checking for strsignal... no [22:05:16.267] checking for syncfs... no [22:05:16.322] checking for sync_file_range... no [22:05:16.378] checking for uselocale... no [22:05:16.434] checking for wcstombs_l... no [22:05:16.488] checking for __builtin_bswap16... yes [22:05:16.544] checking for __builtin_bswap32... yes [22:05:16.600] checking for __builtin_bswap64... yes [22:05:16.654] checking for __builtin_clz... yes [22:05:16.707] checking for __builtin_ctz... yes [22:05:16.759] checking for __builtin_popcount... yes [22:05:16.809] checking for __builtin_frame_address... yes [22:05:16.860] checking for _LARGEFILE_SOURCE value needed for large files... no [22:05:16.916] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:05:16.953] checking for posix_fadvise... no [22:05:17.013] checking whether posix_fadvise is declared... no [22:05:17.062] checking whether fdatasync is declared... no [22:05:17.113] checking whether strlcat is declared... no [22:05:17.188] checking whether strlcpy is declared... no [22:05:17.261] checking whether strnlen is declared... yes [22:05:17.275] checking whether strsep is declared... no [22:05:17.345] checking whether preadv is declared... no [22:05:17.385] checking whether pwritev is declared... no [22:05:17.428] checking whether F_FULLFSYNC is declared... no [22:05:17.473] checking for explicit_bzero... no [22:05:17.526] checking for getopt... yes [22:05:17.576] checking for getpeereid... no [22:05:17.631] checking for inet_aton... no [22:05:17.685] checking for mkdtemp... no [22:05:17.742] checking for strlcat... no [22:05:17.796] checking for strlcpy... no [22:05:17.851] checking for strnlen... yes [22:05:17.904] checking for strsep... no [22:05:17.959] checking for pthread_barrier_wait... yes [22:05:18.010] configure: On mingw32 we will use our strtof wrapper. [22:05:18.010] checking for getopt_long... yes [22:05:18.059] checking for syslog... no [22:05:18.113] checking for opterr... yes [22:05:18.166] checking for optreset... no [22:05:18.224] checking test program... cross-compiling [22:05:18.224] checking size of void *... 8 [22:05:18.522] checking size of size_t... 8 [22:05:18.805] checking size of long... 4 [22:05:19.024] checking size of long long... 8 [22:05:19.312] checking alignment of short... 2 [22:05:19.461] checking alignment of int... 4 [22:05:19.686] checking alignment of long... 4 [22:05:19.914] checking alignment of int64_t... 8 [22:05:20.211] checking alignment of double... 8 [22:05:20.505] checking for __int128... yes [22:05:20.560] checking for __int128 alignment bug... assuming ok [22:05:20.560] checking alignment of PG_INT128_TYPE... 16 [22:05:20.924] checking for builtin __sync char locking functions... yes [22:05:20.971] checking for builtin __sync int32 locking functions... yes [22:05:21.017] checking for builtin __sync int32 atomic operations... yes [22:05:21.063] checking for builtin __sync int64 atomic operations... yes [22:05:21.111] checking for builtin __atomic int32 atomic operations... yes [22:05:21.157] checking for builtin __atomic int64 atomic operations... yes [22:05:21.206] checking for __get_cpuid... yes [22:05:21.258] checking for __get_cpuid_count... yes [22:05:21.307] checking for __cpuid... no [22:05:21.721] checking for __cpuidex... no [22:05:22.158] checking for _xgetbv... yes [22:05:22.573] checking for _mm512_popcnt_epi64... yes [22:05:23.014] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:05:23.128] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:05:23.153] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:05:23.173] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:05:23.194] 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 [22:05:23.254] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:05:23.255] checking which random number source to use... Windows native [22:05:23.257] checking for xmllint... /usr/bin/xmllint [22:05:23.257] checking for xsltproc... /usr/bin/xsltproc [22:05:23.258] checking for fop... /usr/bin/fop [22:05:23.258] checking for dbtoepub... no [22:05:23.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:05:23.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:05:23.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:05:23.271] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:05:23.271] 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 [22:05:23.271] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:05:23.271] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:05:23.367] configure: creating ./config.status [22:05:23.464] config.status: creating GNUmakefile [22:05:23.477] config.status: creating src/Makefile.global [22:05:23.494] config.status: creating src/include/pg_config.h [22:05:23.507] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:05:23.524] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:05:23.532] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:05:23.540] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:05:23.548] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:05:23.556] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:05:23.559] config.status: executing check_win32_symlinks commands [22:05:23.595] [22:05:23.595] real 0m17.019s [22:05:23.595] user 0m11.214s [22:05:23.595] sys 0m5.555s [22:05:23.595] make -s -j${BUILD_JOBS} clean [22:05:24.122] time make -s -j${BUILD_JOBS} world-bin [22:05:27.156] pg_crc32c_sse42_choose.c: In function ‘pg_crc32c_sse42_pclmul_available’: [22:05:27.156] pg_crc32c_sse42_choose.c:46:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [22:05:27.156] 46 | bool sse42 = (exx[2] & (1 << 20)) != 0; /* SSE 4.2 */ [22:05:27.156] | ^~~~ [22:05:27.156] cc1: all warnings being treated as errors [22:05:27.157] make[2]: *** [: pg_crc32c_sse42_choose.o] Error 1 [22:05:27.157] make[2]: *** Waiting for unfinished jobs.... [22:05:27.183] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [22:05:27.183] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:05:27.184] [22:05:27.184] real 0m3.061s [22:05:27.184] user 0m5.435s [22:05:27.184] sys 0m1.958s [22:05:27.184] [22:05:27.184] Exit status: 2