[12:04:48.534] time ./configure \ [12:04:48.534] --host=x86_64-w64-mingw32 \ [12:04:48.534] --enable-cassert \ [12:04:48.534] --without-icu \ [12:04:48.534] CC="ccache x86_64-w64-mingw32-gcc" \ [12:04:48.534] CXX="ccache x86_64-w64-mingw32-g++" [12:04:48.658] checking build system type... x86_64-pc-linux-gnu [12:04:48.856] checking host system type... x86_64-w64-mingw32 [12:04:48.862] checking which template to use... win32 [12:04:48.863] checking whether NLS is wanted... no [12:04:48.863] checking for default port number... 5432 [12:04:48.870] checking for block size... 8kB [12:04:48.872] checking for segment size... 1GB [12:04:48.875] checking for WAL block size... 8kB [12:04:48.876] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:04:48.913] checking whether the C compiler works... yes [12:04:49.055] checking for C compiler default output file name... a.exe [12:04:49.056] checking for suffix of executables... .exe [12:04:49.098] checking whether we are cross compiling... yes [12:04:49.180] checking for suffix of object files... o [12:04:49.189] checking whether we are using the GNU C compiler... yes [12:04:49.196] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:04:49.203] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:04:49.215] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:04:49.282] checking whether we are using the GNU C++ compiler... yes [12:04:49.289] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:04:49.365] checking for gawk... no [12:04:49.365] checking for mawk... mawk [12:04:49.367] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:04:49.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:04:49.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:04:49.430] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:04:49.609] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:04:49.616] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:04:49.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:04:49.631] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:04:49.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:04:49.646] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:04:49.653] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:04:49.660] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:04:49.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:04:49.675] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:04:49.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:04:49.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:04:49.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:04:49.737] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:04:49.745] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:04:49.753] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:04:49.760] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:04:49.768] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:04:49.775] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:04:49.800] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:04:49.808] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:04:49.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:04:49.856] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:04:49.897] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:04:49.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:04:49.912] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:04:49.948] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:04:49.956] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:04:49.964] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:04:49.973] checking whether the C compiler still works... yes [12:04:50.040] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:04:50.115] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:04:50.116] checking pkg-config is at least version 0.9.0... yes [12:04:50.132] checking whether to build with ICU support... no [12:04:50.133] checking whether to build with Tcl... no [12:04:50.133] checking whether to build Perl modules... no [12:04:50.133] checking whether to build Python modules... no [12:04:50.133] checking whether to build with GSSAPI support... no [12:04:50.135] checking whether to build with PAM support... no [12:04:50.135] checking whether to build with BSD Authentication support... no [12:04:50.135] checking whether to build with LDAP support... no [12:04:50.135] checking whether to build with Bonjour support... no [12:04:50.135] checking whether to build with SELinux support... no [12:04:50.135] checking whether to build with systemd support... no [12:04:50.135] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:04:50.135] checking whether to build with XML support... no [12:04:50.136] checking whether to build with LZ4 support... no [12:04:50.136] checking whether to build with ZSTD support... no [12:04:50.136] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:04:50.136] checking whether it is possible to strip libraries... yes [12:04:50.145] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:04:50.145] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:04:50.146] checking for a BSD-compatible install... /usr/bin/install -c [12:04:50.155] checking for tar... /usr/bin/tar [12:04:50.156] checking whether ln -s works... yes [12:04:50.156] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:04:50.158] checking for bison... /usr/bin/bison [12:04:50.161] configure: using bison (GNU Bison) 3.8.2 [12:04:50.164] checking for flex... /usr/bin/flex [12:04:50.166] configure: using flex 2.6.4 [12:04:50.166] checking for perl... /usr/bin/perl [12:04:50.169] configure: using perl 5.36.0 [12:04:50.171] checking for zic... /usr/sbin/zic [12:04:50.172] checking for a sed that does not truncate output... /usr/bin/sed [12:04:50.177] checking for grep that handles long lines and -e... /usr/bin/grep [12:04:50.179] checking for egrep... /usr/bin/grep -E [12:04:50.181] checking for ANSI C header files... yes [12:04:50.232] checking for sys/types.h... yes [12:04:50.250] checking for sys/stat.h... yes [12:04:50.266] checking for stdlib.h... yes [12:04:50.282] checking for string.h... yes [12:04:50.297] checking for memory.h... yes [12:04:50.314] checking for strings.h... yes [12:04:50.329] checking for inttypes.h... yes [12:04:50.346] checking for stdint.h... yes [12:04:50.361] checking for unistd.h... yes [12:04:50.380] checking for main in -lm... yes [12:04:50.428] checking for library containing setproctitle... no [12:04:50.522] checking for library containing dlsym... no [12:04:50.614] checking for library containing socket... -lws2_32 [12:04:50.748] checking for library containing getopt_long... none required [12:04:50.797] checking for library containing shm_open... no [12:04:50.887] checking for library containing shm_unlink... no [12:04:50.977] checking for library containing clock_gettime... no [12:04:51.068] checking for library containing shmget... no [12:04:51.160] checking for library containing backtrace_symbols... no [12:04:51.251] checking for library containing pthread_barrier_wait... -lpthread [12:04:51.344] checking for inflate in -lz... yes [12:04:51.394] checking atomic.h usability... no [12:04:51.454] checking atomic.h presence... no [12:04:51.474] checking for atomic.h... no [12:04:51.478] checking copyfile.h usability... no [12:04:51.537] checking copyfile.h presence... no [12:04:51.557] checking for copyfile.h... no [12:04:51.560] checking execinfo.h usability... no [12:04:51.618] checking execinfo.h presence... no [12:04:51.639] checking for execinfo.h... no [12:04:51.643] checking getopt.h usability... yes [12:04:51.651] checking getopt.h presence... yes [12:04:51.667] checking for getopt.h... yes [12:04:51.675] checking ifaddrs.h usability... no [12:04:51.733] checking ifaddrs.h presence... no [12:04:51.754] checking for ifaddrs.h... no [12:04:51.758] checking mbarrier.h usability... no [12:04:51.814] checking mbarrier.h presence... no [12:04:51.834] checking for mbarrier.h... no [12:04:51.838] checking sys/epoll.h usability... no [12:04:51.893] checking sys/epoll.h presence... no [12:04:51.914] checking for sys/epoll.h... no [12:04:51.918] checking sys/event.h usability... no [12:04:51.976] checking sys/event.h presence... no [12:04:51.996] checking for sys/event.h... no [12:04:52.000] checking sys/personality.h usability... no [12:04:52.058] checking sys/personality.h presence... no [12:04:52.078] checking for sys/personality.h... no [12:04:52.082] checking sys/prctl.h usability... no [12:04:52.140] checking sys/prctl.h presence... no [12:04:52.161] checking for sys/prctl.h... no [12:04:52.164] checking sys/procctl.h usability... no [12:04:52.220] checking sys/procctl.h presence... no [12:04:52.241] checking for sys/procctl.h... no [12:04:52.245] checking sys/signalfd.h usability... no [12:04:52.304] checking sys/signalfd.h presence... no [12:04:52.324] checking for sys/signalfd.h... no [12:04:52.328] checking sys/ucred.h usability... no [12:04:52.386] checking sys/ucred.h presence... no [12:04:52.407] checking for sys/ucred.h... no [12:04:52.410] checking termios.h usability... no [12:04:52.469] checking termios.h presence... no [12:04:52.488] checking for termios.h... no [12:04:52.492] checking ucred.h usability... no [12:04:52.552] checking ucred.h presence... no [12:04:52.572] checking for ucred.h... no [12:04:52.576] checking xlocale.h usability... no [12:04:52.636] checking xlocale.h presence... no [12:04:52.657] checking for xlocale.h... no [12:04:52.660] checking zlib.h usability... yes [12:04:52.671] checking zlib.h presence... yes [12:04:52.690] checking for zlib.h... yes [12:04:52.690] checking for lz4... /usr/bin/lz4 [12:04:52.691] checking for zstd... /usr/bin/zstd [12:04:52.691] checking for openssl... /usr/bin/openssl [12:04:52.695] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [12:04:52.696] checking crtdefs.h usability... yes [12:04:52.704] checking crtdefs.h presence... yes [12:04:52.720] checking for crtdefs.h... yes [12:04:52.721] checking whether byte ordering is bigendian... no [12:04:52.802] checking for inline... inline [12:04:52.810] checking for printf format archetype... gnu_printf [12:04:52.819] checking for _Static_assert... yes [12:04:52.862] checking for typeof... typeof [12:04:52.870] checking for __builtin_types_compatible_p... yes [12:04:52.881] checking for __builtin_constant_p... yes [12:04:52.892] checking for __builtin_mul_overflow... yes [12:04:52.940] checking for __builtin_unreachable... yes [12:04:52.984] checking for computed goto support... yes [12:04:52.992] checking for struct tm.tm_zone... no [12:04:53.075] checking for union semun... no [12:04:53.112] checking for socklen_t... yes [12:04:54.299] checking for struct sockaddr.sa_len... no [12:04:56.490] checking for C/C++ restrict keyword... __restrict [12:04:56.504] checking for struct option... yes [12:04:56.549] checking whether assembler supports x86_64 popcntq... yes [12:04:56.556] checking size of off_t... 4 [12:04:56.766] 0 [12:04:56.766] checking for int timezone... yes [12:04:56.820] checking for backtrace_symbols... no [12:04:56.872] checking for copyfile... no [12:04:56.925] checking for copy_file_range... no [12:04:56.977] checking for elf_aux_info... no [12:04:57.030] checking for getauxval... no [12:04:57.083] checking for getifaddrs... no [12:04:57.137] checking for getpeerucred... no [12:04:57.189] checking for inet_pton... yes [12:04:57.242] checking for kqueue... no [12:04:57.295] checking for mbstowcs_l... no [12:04:57.347] checking for memset_s... no [12:04:57.400] checking for posix_fallocate... no [12:04:57.453] checking for ppoll... no [12:04:57.506] checking for pthread_is_threaded_np... no [12:04:57.558] checking for setproctitle... no [12:04:57.613] checking for setproctitle_fast... no [12:04:57.667] checking for strchrnul... no [12:04:57.720] checking for strsignal... no [12:04:57.774] checking for syncfs... no [12:04:57.828] checking for sync_file_range... no [12:04:57.883] checking for uselocale... no [12:04:57.937] checking for wcstombs_l... no [12:04:57.986] checking for __builtin_bswap16... yes [12:04:58.038] checking for __builtin_bswap32... yes [12:04:58.087] checking for __builtin_bswap64... yes [12:04:58.135] checking for __builtin_clz... yes [12:04:58.184] checking for __builtin_ctz... yes [12:04:58.233] checking for __builtin_popcount... yes [12:04:58.283] checking for __builtin_frame_address... yes [12:04:58.331] checking for _LARGEFILE_SOURCE value needed for large files... no [12:04:58.383] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:04:58.417] checking for posix_fadvise... no [12:04:58.469] checking whether posix_fadvise is declared... no [12:04:58.515] checking whether fdatasync is declared... no [12:04:58.561] checking whether strlcat is declared... no [12:04:58.628] checking whether strlcpy is declared... no [12:04:58.693] checking whether strnlen is declared... yes [12:04:58.707] checking whether strsep is declared... no [12:04:58.774] checking whether preadv is declared... no [12:04:58.812] checking whether pwritev is declared... no [12:04:58.849] checking whether F_FULLFSYNC is declared... no [12:04:58.886] checking for explicit_bzero... no [12:04:58.932] checking for getopt... yes [12:04:58.977] checking for getpeereid... no [12:04:59.024] checking for inet_aton... no [12:04:59.072] checking for mkdtemp... no [12:04:59.120] checking for strlcat... no [12:04:59.169] checking for strlcpy... no [12:04:59.218] checking for strnlen... yes [12:04:59.268] checking for strsep... no [12:04:59.317] checking for pthread_barrier_wait... yes [12:04:59.363] configure: On mingw32 we will use our strtof wrapper. [12:04:59.363] checking for getopt_long... yes [12:04:59.410] checking for syslog... no [12:04:59.460] checking for opterr... yes [12:04:59.510] checking for optreset... no [12:04:59.563] checking test program... cross-compiling [12:04:59.563] checking size of void *... 8 [12:04:59.841] checking size of size_t... 8 [12:05:00.124] checking size of long... 4 [12:05:00.338] checking size of long long... 8 [12:05:00.623] checking alignment of short... 2 [12:05:00.768] checking alignment of int... 4 [12:05:00.981] checking alignment of long... 4 [12:05:01.201] checking alignment of int64_t... 8 [12:05:01.495] checking alignment of double... 8 [12:05:01.783] checking for __int128... yes [12:05:01.834] checking for __int128 alignment bug... assuming ok [12:05:01.835] checking alignment of PG_INT128_TYPE... 16 [12:05:02.176] checking for builtin __sync char locking functions... yes [12:05:02.220] checking for builtin __sync int32 locking functions... yes [12:05:02.262] checking for builtin __sync int32 atomic operations... yes [12:05:02.305] checking for builtin __sync int64 atomic operations... yes [12:05:02.351] checking for builtin __atomic int32 atomic operations... yes [12:05:02.394] checking for builtin __atomic int64 atomic operations... yes [12:05:02.440] checking for __get_cpuid... yes [12:05:02.489] checking for __get_cpuid_count... yes [12:05:02.533] checking for __cpuid... no [12:05:02.945] checking for __cpuidex... no [12:05:03.369] checking for _xgetbv... yes [12:05:03.775] checking for _mm512_popcnt_epi64... yes [12:05:04.216] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:05:04.324] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:05:04.348] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:05:04.368] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:05:04.388] 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 [12:05:04.444] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:05:04.445] checking which random number source to use... Windows native [12:05:04.447] checking for xmllint... /usr/bin/xmllint [12:05:04.447] checking for xsltproc... /usr/bin/xsltproc [12:05:04.447] checking for fop... /usr/bin/fop [12:05:04.447] checking for dbtoepub... no [12:05:04.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:05:04.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:05:04.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:05:04.460] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:05:04.460] 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 [12:05:04.460] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:05:04.460] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:05:04.552] configure: creating ./config.status [12:05:04.645] config.status: creating GNUmakefile [12:05:04.657] config.status: creating src/Makefile.global [12:05:04.672] config.status: creating src/include/pg_config.h [12:05:04.684] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:05:04.701] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:05:04.709] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:05:04.717] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:05:04.725] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:05:04.733] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:05:04.736] config.status: executing check_win32_symlinks commands [12:05:04.773] [12:05:04.773] real 0m16.238s [12:05:04.773] user 0m10.774s [12:05:04.773] sys 0m5.130s [12:05:04.773] make -s -j${BUILD_JOBS} clean [12:05:05.282] time make -s -j${BUILD_JOBS} world-bin [12:05:08.221] pg_crc32c_sse42_choose.c: In function ‘pg_crc32c_sse42_pclmul_available’: [12:05:08.221] pg_crc32c_sse42_choose.c:46:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [12:05:08.221] 46 | bool sse42 = (exx[2] & (1 << 20)) != 0; /* SSE 4.2 */ [12:05:08.221] | ^~~~ [12:05:08.221] cc1: all warnings being treated as errors [12:05:08.223] make[2]: *** [: pg_crc32c_sse42_choose.o] Error 1 [12:05:08.223] make[2]: *** Waiting for unfinished jobs.... [12:05:08.244] make[1]: *** [Makefile:42: all-port-recurse] Error 2 [12:05:08.244] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:05:08.244] [12:05:08.244] real 0m2.962s [12:05:08.244] user 0m5.211s [12:05:08.244] sys 0m1.916s [12:05:08.244] [12:05:08.244] Exit status: 2