[06:11:42.872] time ./configure \ [06:11:42.872] --host=x86_64-w64-mingw32 \ [06:11:42.872] --enable-cassert \ [06:11:42.872] --without-icu \ [06:11:42.872] CC="ccache x86_64-w64-mingw32-gcc" \ [06:11:42.872] CXX="ccache x86_64-w64-mingw32-g++" [06:11:42.997] checking build system type... x86_64-pc-linux-gnu [06:11:43.164] checking host system type... x86_64-w64-mingw32 [06:11:43.170] checking which template to use... win32 [06:11:43.170] checking whether NLS is wanted... no [06:11:43.171] checking for default port number... 5432 [06:11:43.178] checking for block size... 8kB [06:11:43.179] checking for segment size... 1GB [06:11:43.181] checking for WAL block size... 8kB [06:11:43.183] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:11:43.217] checking whether the C compiler works... yes [06:11:43.338] checking for C compiler default output file name... a.exe [06:11:43.339] checking for suffix of executables... .exe [06:11:43.381] checking whether we are cross compiling... yes [06:11:43.455] checking for suffix of object files... o [06:11:43.463] checking whether we are using the GNU C compiler... yes [06:11:43.470] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:11:43.477] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:11:43.487] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:11:43.548] checking whether we are using the GNU C++ compiler... yes [06:11:43.555] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:11:43.625] checking for gawk... no [06:11:43.625] checking for mawk... mawk [06:11:43.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:11:43.635] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:11:43.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:11:43.689] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:11:43.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:11:43.848] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:11:43.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:11:43.863] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:11:43.871] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:11:43.878] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:11:43.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:11:43.893] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:11:43.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:11:43.908] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:11:43.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:11:43.923] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:11:43.931] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:11:43.969] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:11:43.977] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:11:43.984] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:11:43.992] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:11:43.999] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:11:44.007] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:11:44.031] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:11:44.038] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:11:44.046] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:11:44.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:11:44.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:11:44.131] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:11:44.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:11:44.173] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:11:44.179] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:11:44.186] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:11:44.194] checking whether the C compiler still works... yes [06:11:44.257] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:11:44.325] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:11:44.325] checking pkg-config is at least version 0.9.0... yes [06:11:44.341] checking whether to build with ICU support... no [06:11:44.342] checking whether to build with Tcl... no [06:11:44.342] checking whether to build Perl modules... no [06:11:44.342] checking whether to build Python modules... no [06:11:44.342] checking whether to build with GSSAPI support... no [06:11:44.343] checking whether to build with PAM support... no [06:11:44.343] checking whether to build with BSD Authentication support... no [06:11:44.343] checking whether to build with LDAP support... no [06:11:44.343] checking whether to build with Bonjour support... no [06:11:44.343] checking whether to build with SELinux support... no [06:11:44.343] checking whether to build with systemd support... no [06:11:44.343] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:11:44.344] checking whether to build with XML support... no [06:11:44.344] checking whether to build with LZ4 support... no [06:11:44.344] checking whether to build with ZSTD support... no [06:11:44.344] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:11:44.345] checking whether it is possible to strip libraries... yes [06:11:44.352] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:11:44.352] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:11:44.352] checking for a BSD-compatible install... /usr/bin/install -c [06:11:44.361] checking for tar... /usr/bin/tar [06:11:44.361] checking whether ln -s works... yes [06:11:44.361] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:11:44.363] checking for bison... /usr/bin/bison [06:11:44.365] configure: using bison (GNU Bison) 3.8.2 [06:11:44.368] checking for flex... /usr/bin/flex [06:11:44.370] configure: using flex 2.6.4 [06:11:44.370] checking for perl... /usr/bin/perl [06:11:44.373] configure: using perl 5.36.0 [06:11:44.375] checking for zic... /usr/sbin/zic [06:11:44.375] checking for a sed that does not truncate output... /usr/bin/sed [06:11:44.380] checking for grep that handles long lines and -e... /usr/bin/grep [06:11:44.382] checking for egrep... /usr/bin/grep -E [06:11:44.383] checking for ANSI C header files... yes [06:11:44.428] checking for sys/types.h... yes [06:11:44.443] checking for sys/stat.h... yes [06:11:44.457] checking for stdlib.h... yes [06:11:44.471] checking for string.h... yes [06:11:44.485] checking for memory.h... yes [06:11:44.499] checking for strings.h... yes [06:11:44.514] checking for inttypes.h... yes [06:11:44.529] checking for stdint.h... yes [06:11:44.542] checking for unistd.h... yes [06:11:44.557] checking for main in -lm... yes [06:11:44.602] checking for library containing setproctitle... no [06:11:44.691] checking for library containing dlsym... no [06:11:44.785] checking for library containing socket... -lws2_32 [06:11:44.925] checking for library containing getopt_long... none required [06:11:44.975] checking for library containing shm_open... no [06:11:45.067] checking for library containing shm_unlink... no [06:11:45.159] checking for library containing clock_gettime... no [06:11:45.251] checking for library containing shmget... no [06:11:45.343] checking for library containing backtrace_symbols... no [06:11:45.431] checking for library containing pthread_barrier_wait... -lpthread [06:11:45.524] checking for inflate in -lz... yes [06:11:45.573] checking atomic.h usability... no [06:11:45.634] checking atomic.h presence... no [06:11:45.654] checking for atomic.h... no [06:11:45.658] checking copyfile.h usability... no [06:11:45.714] checking copyfile.h presence... no [06:11:45.733] checking for copyfile.h... no [06:11:45.736] checking execinfo.h usability... no [06:11:45.792] checking execinfo.h presence... no [06:11:45.813] checking for execinfo.h... no [06:11:45.816] checking getopt.h usability... yes [06:11:45.825] checking getopt.h presence... yes [06:11:45.842] checking for getopt.h... yes [06:11:45.850] checking ifaddrs.h usability... no [06:11:45.909] checking ifaddrs.h presence... no [06:11:45.929] checking for ifaddrs.h... no [06:11:45.933] checking mbarrier.h usability... no [06:11:45.993] checking mbarrier.h presence... no [06:11:46.014] checking for mbarrier.h... no [06:11:46.018] checking sys/epoll.h usability... no [06:11:46.075] checking sys/epoll.h presence... no [06:11:46.095] checking for sys/epoll.h... no [06:11:46.099] checking sys/event.h usability... no [06:11:46.157] checking sys/event.h presence... no [06:11:46.176] checking for sys/event.h... no [06:11:46.179] checking sys/personality.h usability... no [06:11:46.235] checking sys/personality.h presence... no [06:11:46.254] checking for sys/personality.h... no [06:11:46.257] checking sys/prctl.h usability... no [06:11:46.313] checking sys/prctl.h presence... no [06:11:46.332] checking for sys/prctl.h... no [06:11:46.335] checking sys/procctl.h usability... no [06:11:46.390] checking sys/procctl.h presence... no [06:11:46.409] checking for sys/procctl.h... no [06:11:46.412] checking sys/signalfd.h usability... no [06:11:46.468] checking sys/signalfd.h presence... no [06:11:46.488] checking for sys/signalfd.h... no [06:11:46.492] checking sys/ucred.h usability... no [06:11:46.548] checking sys/ucred.h presence... no [06:11:46.568] checking for sys/ucred.h... no [06:11:46.571] checking termios.h usability... no [06:11:46.626] checking termios.h presence... no [06:11:46.647] checking for termios.h... no [06:11:46.650] checking ucred.h usability... no [06:11:46.707] checking ucred.h presence... no [06:11:46.727] checking for ucred.h... no [06:11:46.730] checking xlocale.h usability... no [06:11:46.790] checking xlocale.h presence... no [06:11:46.811] checking for xlocale.h... no [06:11:46.815] checking zlib.h usability... yes [06:11:46.824] checking zlib.h presence... yes [06:11:46.845] checking for zlib.h... yes [06:11:46.846] checking for lz4... /usr/bin/lz4 [06:11:46.846] checking for zstd... /usr/bin/zstd [06:11:46.846] checking for openssl... /usr/bin/openssl [06:11:46.851] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [06:11:46.851] checking crtdefs.h usability... yes [06:11:46.859] checking crtdefs.h presence... yes [06:11:46.875] checking for crtdefs.h... yes [06:11:46.877] checking whether byte ordering is bigendian... no [06:11:46.955] checking for inline... inline [06:11:46.962] checking for printf format archetype... gnu_printf [06:11:46.971] checking for _Static_assert... yes [06:11:47.014] checking for typeof... typeof [06:11:47.022] checking for __builtin_types_compatible_p... yes [06:11:47.034] checking for __builtin_constant_p... yes [06:11:47.045] checking for __builtin_mul_overflow... yes [06:11:47.096] checking for __builtin_unreachable... yes [06:11:47.140] checking for computed goto support... yes [06:11:47.148] checking for struct tm.tm_zone... no [06:11:47.230] checking for union semun... no [06:11:47.268] checking for socklen_t... yes [06:11:48.462] checking for struct sockaddr.sa_len... no [06:11:50.609] checking for C/C++ restrict keyword... __restrict [06:11:50.623] checking for struct option... yes [06:11:50.668] checking whether assembler supports x86_64 popcntq... yes [06:11:50.675] checking size of off_t... 4 [06:11:50.884] 0 [06:11:50.884] checking for int timezone... yes [06:11:50.939] checking for backtrace_symbols... no [06:11:50.997] checking for copyfile... no [06:11:51.054] checking for copy_file_range... no [06:11:51.111] checking for elf_aux_info... no [06:11:51.170] checking for getauxval... no [06:11:51.226] checking for getifaddrs... no [06:11:51.282] checking for getpeerucred... no [06:11:51.338] checking for inet_pton... yes [06:11:51.393] checking for kqueue... no [06:11:51.446] checking for mbstowcs_l... no [06:11:51.500] checking for memset_s... no [06:11:51.554] checking for posix_fallocate... no [06:11:51.606] checking for ppoll... no [06:11:51.657] checking for pthread_is_threaded_np... no [06:11:51.709] checking for setproctitle... no [06:11:51.762] checking for setproctitle_fast... no [06:11:51.815] checking for strchrnul... no [06:11:51.867] checking for strsignal... no [06:11:51.919] checking for syncfs... no [06:11:51.972] checking for sync_file_range... no [06:11:52.028] checking for uselocale... no [06:11:52.083] checking for wcstombs_l... no [06:11:52.134] checking for __builtin_bswap16... yes [06:11:52.186] checking for __builtin_bswap32... yes [06:11:52.236] checking for __builtin_bswap64... yes [06:11:52.286] checking for __builtin_clz... yes [06:11:52.336] checking for __builtin_ctz... yes [06:11:52.383] checking for __builtin_popcount... yes [06:11:52.430] checking for __builtin_frame_address... yes [06:11:52.477] checking for _LARGEFILE_SOURCE value needed for large files... no [06:11:52.529] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:11:52.559] checking for posix_fadvise... no [06:11:52.609] checking whether posix_fadvise is declared... no [06:11:52.652] checking whether fdatasync is declared... no [06:11:52.698] checking whether strlcat is declared... no [06:11:52.761] checking whether strlcpy is declared... no [06:11:52.823] checking whether strnlen is declared... yes [06:11:52.836] checking whether strsep is declared... no [06:11:52.898] checking whether preadv is declared... no [06:11:52.935] checking whether pwritev is declared... no [06:11:52.972] checking whether F_FULLFSYNC is declared... no [06:11:53.013] checking for explicit_bzero... no [06:11:53.062] checking for getopt... yes [06:11:53.107] checking for getpeereid... no [06:11:53.153] checking for inet_aton... no [06:11:53.200] checking for mkdtemp... no [06:11:53.249] checking for strlcat... no [06:11:53.297] checking for strlcpy... no [06:11:53.344] checking for strnlen... yes [06:11:53.392] checking for strsep... no [06:11:53.439] checking for pthread_barrier_wait... yes [06:11:53.483] configure: On mingw32 we will use our strtof wrapper. [06:11:53.483] checking for getopt_long... yes [06:11:53.527] checking for syslog... no [06:11:53.573] checking for opterr... yes [06:11:53.620] checking for optreset... no [06:11:53.670] checking test program... cross-compiling [06:11:53.670] checking size of void *... 8 [06:11:53.933] checking size of size_t... 8 [06:11:54.229] checking size of long... 4 [06:11:54.443] checking size of long long... 8 [06:11:54.721] checking alignment of short... 2 [06:11:54.861] checking alignment of int... 4 [06:11:55.080] checking alignment of long... 4 [06:11:55.294] checking alignment of int64_t... 8 [06:11:55.571] checking alignment of double... 8 [06:11:55.844] checking for __int128... yes [06:11:55.895] checking for __int128 alignment bug... assuming ok [06:11:55.896] checking alignment of PG_INT128_TYPE... 16 [06:11:56.257] checking for builtin __sync char locking functions... yes [06:11:56.302] checking for builtin __sync int32 locking functions... yes [06:11:56.346] checking for builtin __sync int32 atomic operations... yes [06:11:56.391] checking for builtin __sync int64 atomic operations... yes [06:11:56.437] checking for builtin __atomic int32 atomic operations... yes [06:11:56.483] checking for builtin __atomic int64 atomic operations... yes [06:11:56.530] checking for __get_cpuid... yes [06:11:56.580] checking for __get_cpuid_count... yes [06:11:56.627] checking for __cpuid... no [06:11:57.033] checking for __cpuidex... no [06:11:57.470] checking for _xgetbv... yes [06:11:57.887] checking for _mm512_popcnt_epi64... yes [06:11:58.320] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [06:11:58.425] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:11:58.449] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [06:11:58.469] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:11:58.489] 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 [06:11:58.545] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:11:58.545] checking which random number source to use... Windows native [06:11:58.548] checking for xmllint... /usr/bin/xmllint [06:11:58.548] checking for xsltproc... /usr/bin/xsltproc [06:11:58.548] checking for fop... /usr/bin/fop [06:11:58.548] checking for dbtoepub... no [06:11:58.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:11:58.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:11:58.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:11:58.561] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:11:58.561] 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 [06:11:58.561] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:11:58.561] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:11:58.653] configure: creating ./config.status [06:11:58.742] config.status: creating GNUmakefile [06:11:58.755] config.status: creating src/Makefile.global [06:11:58.772] config.status: creating src/include/pg_config.h [06:11:58.785] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:11:58.801] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:11:58.809] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:11:58.816] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:11:58.824] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:11:58.832] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:11:58.835] config.status: executing check_win32_symlinks commands [06:11:58.870] [06:11:58.870] real 0m15.998s [06:11:58.870] user 0m10.694s [06:11:58.870] sys 0m5.073s [06:11:58.870] make -s -j${BUILD_JOBS} clean [06:11:59.384] time make -s -j${BUILD_JOBS} world-bin [06:12:04.211] equivclass.c: In function ‘find_ec_member_matching_expr’: [06:12:04.211] equivclass.c:780:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [06:12:04.211] 780 | static int previous_em_found_at = 0; [06:12:04.211] | ^~~~~~ [06:12:04.211] equivclass.c:805:17: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [06:12:04.211] 805 | Expr *emexpr = em->em_expr; [06:12:04.211] | ^~~~ [06:12:04.211] cc1: all warnings being treated as errors [06:12:04.212] make[4]: *** [: equivclass.o] Error 1 [06:12:04.212] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [06:12:04.212] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [06:12:04.212] make[2]: *** Waiting for unfinished jobs.... [06:12:04.498] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:12:04.498] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:12:04.499] [06:12:04.499] real 0m5.114s [06:12:04.499] user 0m8.950s [06:12:04.499] sys 0m6.343s [06:12:04.499] [06:12:04.499] Exit status: 2