[07:55:46.363] time ./configure \ [07:55:46.363] --host=x86_64-w64-mingw32 \ [07:55:46.363] --enable-cassert \ [07:55:46.363] --without-icu \ [07:55:46.363] CC="ccache x86_64-w64-mingw32-gcc" \ [07:55:46.363] CXX="ccache x86_64-w64-mingw32-g++" [07:55:46.478] checking build system type... x86_64-pc-linux-gnu [07:55:46.634] checking host system type... x86_64-w64-mingw32 [07:55:46.640] checking which template to use... win32 [07:55:46.640] checking whether NLS is wanted... no [07:55:46.640] checking for default port number... 5432 [07:55:46.648] checking for block size... 8kB [07:55:46.649] checking for segment size... 1GB [07:55:46.651] checking for WAL block size... 8kB [07:55:46.653] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:55:46.688] checking whether the C compiler works... yes [07:55:46.812] checking for C compiler default output file name... a.exe [07:55:46.813] checking for suffix of executables... .exe [07:55:46.857] checking whether we are cross compiling... yes [07:55:46.936] checking for suffix of object files... o [07:55:46.944] checking whether we are using the GNU C compiler... yes [07:55:46.952] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:55:46.959] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:55:46.969] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:55:47.027] checking whether we are using the GNU C++ compiler... yes [07:55:47.035] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:55:47.107] checking for gawk... no [07:55:47.107] checking for mawk... mawk [07:55:47.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:55:47.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:55:47.125] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:55:47.174] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:55:47.324] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:55:47.332] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:55:47.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:55:47.348] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:55:47.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:55:47.363] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:55:47.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:55:47.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:55:47.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:55:47.394] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:55:47.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:55:47.409] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:55:47.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:55:47.457] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:55:47.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:55:47.472] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:55:47.479] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:55:47.487] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:55:47.495] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:55:47.520] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:55:47.527] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:55:47.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:55:47.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:55:47.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:55:47.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:55:47.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:55:47.656] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:55:47.663] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:55:47.670] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:55:47.678] checking whether the C compiler still works... yes [07:55:47.741] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:55:47.817] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:55:47.817] checking pkg-config is at least version 0.9.0... yes [07:55:47.834] checking whether to build with ICU support... no [07:55:47.834] checking whether to build with Tcl... no [07:55:47.834] checking whether to build Perl modules... no [07:55:47.834] checking whether to build Python modules... no [07:55:47.834] checking whether to build with GSSAPI support... no [07:55:47.836] checking whether to build with PAM support... no [07:55:47.836] checking whether to build with BSD Authentication support... no [07:55:47.836] checking whether to build with LDAP support... no [07:55:47.836] checking whether to build with Bonjour support... no [07:55:47.836] checking whether to build with SELinux support... no [07:55:47.836] checking whether to build with systemd support... no [07:55:47.836] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:55:47.837] checking whether to build with XML support... no [07:55:47.837] checking whether to build with LZ4 support... no [07:55:47.837] checking whether to build with ZSTD support... no [07:55:47.837] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:55:47.838] checking whether it is possible to strip libraries... yes [07:55:47.844] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:55:47.845] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:55:47.845] checking for a BSD-compatible install... /usr/bin/install -c [07:55:47.855] checking for tar... /usr/bin/tar [07:55:47.855] checking whether ln -s works... yes [07:55:47.855] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:55:47.858] checking for bison... /usr/bin/bison [07:55:47.861] configure: using bison (GNU Bison) 3.8.2 [07:55:47.864] checking for flex... /usr/bin/flex [07:55:47.867] configure: using flex 2.6.4 [07:55:47.867] checking for perl... /usr/bin/perl [07:55:47.870] configure: using perl 5.36.0 [07:55:47.872] checking for zic... /usr/sbin/zic [07:55:47.873] checking for a sed that does not truncate output... /usr/bin/sed [07:55:47.878] checking for grep that handles long lines and -e... /usr/bin/grep [07:55:47.881] checking for egrep... /usr/bin/grep -E [07:55:47.883] checking for ANSI C header files... yes [07:55:47.935] checking for sys/types.h... yes [07:55:47.952] checking for sys/stat.h... yes [07:55:47.968] checking for stdlib.h... yes [07:55:47.983] checking for string.h... yes [07:55:47.999] checking for memory.h... yes [07:55:48.015] checking for strings.h... yes [07:55:48.032] checking for inttypes.h... yes [07:55:48.049] checking for stdint.h... yes [07:55:48.065] checking for unistd.h... yes [07:55:48.082] checking for main in -lm... yes [07:55:48.132] checking for library containing setproctitle... no [07:55:48.229] checking for library containing dlsym... no [07:55:48.323] checking for library containing socket... -lws2_32 [07:55:48.464] checking for library containing getopt_long... none required [07:55:48.514] checking for library containing shm_open... no [07:55:48.600] checking for library containing shm_unlink... no [07:55:48.685] checking for library containing clock_gettime... no [07:55:48.773] checking for library containing shmget... no [07:55:48.867] checking for library containing backtrace_symbols... no [07:55:48.958] checking for library containing pthread_barrier_wait... -lpthread [07:55:49.051] checking for inflate in -lz... yes [07:55:49.104] checking atomic.h usability... no [07:55:49.169] checking atomic.h presence... no [07:55:49.189] checking for atomic.h... no [07:55:49.193] checking copyfile.h usability... no [07:55:49.252] checking copyfile.h presence... no [07:55:49.273] checking for copyfile.h... no [07:55:49.278] checking execinfo.h usability... no [07:55:49.337] checking execinfo.h presence... no [07:55:49.357] checking for execinfo.h... no [07:55:49.361] checking getopt.h usability... yes [07:55:49.369] checking getopt.h presence... yes [07:55:49.386] checking for getopt.h... yes [07:55:49.395] checking ifaddrs.h usability... no [07:55:49.455] checking ifaddrs.h presence... no [07:55:49.476] checking for ifaddrs.h... no [07:55:49.480] checking mbarrier.h usability... no [07:55:49.536] checking mbarrier.h presence... no [07:55:49.555] checking for mbarrier.h... no [07:55:49.558] checking sys/epoll.h usability... no [07:55:49.611] checking sys/epoll.h presence... no [07:55:49.630] checking for sys/epoll.h... no [07:55:49.633] checking sys/event.h usability... no [07:55:49.687] checking sys/event.h presence... no [07:55:49.706] checking for sys/event.h... no [07:55:49.709] checking sys/personality.h usability... no [07:55:49.763] checking sys/personality.h presence... no [07:55:49.783] checking for sys/personality.h... no [07:55:49.787] checking sys/prctl.h usability... no [07:55:49.843] checking sys/prctl.h presence... no [07:55:49.863] checking for sys/prctl.h... no [07:55:49.866] checking sys/procctl.h usability... no [07:55:49.925] checking sys/procctl.h presence... no [07:55:49.944] checking for sys/procctl.h... no [07:55:49.948] checking sys/signalfd.h usability... no [07:55:50.010] checking sys/signalfd.h presence... no [07:55:50.031] checking for sys/signalfd.h... no [07:55:50.035] checking sys/ucred.h usability... no [07:55:50.093] checking sys/ucred.h presence... no [07:55:50.114] checking for sys/ucred.h... no [07:55:50.117] checking termios.h usability... no [07:55:50.178] checking termios.h presence... no [07:55:50.200] checking for termios.h... no [07:55:50.204] checking ucred.h usability... no [07:55:50.263] checking ucred.h presence... no [07:55:50.285] checking for ucred.h... no [07:55:50.289] checking xlocale.h usability... no [07:55:50.350] checking xlocale.h presence... no [07:55:50.372] checking for xlocale.h... no [07:55:50.375] checking zlib.h usability... yes [07:55:50.385] checking zlib.h presence... yes [07:55:50.406] checking for zlib.h... yes [07:55:50.406] checking for lz4... /usr/bin/lz4 [07:55:50.406] checking for zstd... /usr/bin/zstd [07:55:50.407] checking for openssl... /usr/bin/openssl [07:55:50.411] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:55:50.412] checking crtdefs.h usability... yes [07:55:50.421] checking crtdefs.h presence... yes [07:55:50.438] checking for crtdefs.h... yes [07:55:50.440] checking whether byte ordering is bigendian... no [07:55:50.525] checking for inline... inline [07:55:50.533] checking for printf format archetype... gnu_printf [07:55:50.541] checking for _Static_assert... yes [07:55:50.583] checking for typeof... typeof [07:55:50.590] checking for __builtin_types_compatible_p... yes [07:55:50.600] checking for __builtin_constant_p... yes [07:55:50.610] checking for __builtin_mul_overflow... yes [07:55:50.656] checking for __builtin_unreachable... yes [07:55:50.694] checking for computed goto support... yes [07:55:50.703] checking for struct tm.tm_zone... no [07:55:50.780] checking for union semun... no [07:55:50.819] checking for socklen_t... yes [07:55:51.986] checking for struct sockaddr.sa_len... no [07:55:54.049] checking for C/C++ restrict keyword... __restrict [07:55:54.063] checking for struct option... yes [07:55:54.106] checking whether assembler supports x86_64 popcntq... yes [07:55:54.114] checking size of off_t... 4 [07:55:54.318] 0 [07:55:54.318] checking for int timezone... yes [07:55:54.371] checking for backtrace_symbols... no [07:55:54.423] checking for copyfile... no [07:55:54.477] checking for copy_file_range... no [07:55:54.532] checking for elf_aux_info... no [07:55:54.587] checking for getauxval... no [07:55:54.639] checking for getifaddrs... no [07:55:54.689] checking for getpeerucred... no [07:55:54.737] checking for inet_pton... yes [07:55:54.790] checking for kqueue... no [07:55:54.842] checking for mbstowcs_l... no [07:55:54.894] checking for memset_s... no [07:55:54.944] checking for posix_fallocate... no [07:55:54.995] checking for ppoll... no [07:55:55.048] checking for pthread_is_threaded_np... no [07:55:55.100] checking for setproctitle... no [07:55:55.153] checking for setproctitle_fast... no [07:55:55.205] checking for strchrnul... no [07:55:55.258] checking for strsignal... no [07:55:55.310] checking for syncfs... no [07:55:55.366] checking for sync_file_range... no [07:55:55.419] checking for uselocale... no [07:55:55.472] checking for wcstombs_l... no [07:55:55.522] checking for __builtin_bswap16... yes [07:55:55.577] checking for __builtin_bswap32... yes [07:55:55.628] checking for __builtin_bswap64... yes [07:55:55.676] checking for __builtin_clz... yes [07:55:55.725] checking for __builtin_ctz... yes [07:55:55.773] checking for __builtin_popcount... yes [07:55:55.824] checking for __builtin_frame_address... yes [07:55:55.875] checking for _LARGEFILE_SOURCE value needed for large files... no [07:55:55.931] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:55:55.965] checking for posix_fadvise... no [07:55:56.018] checking whether posix_fadvise is declared... no [07:55:56.065] checking whether fdatasync is declared... no [07:55:56.114] checking whether strlcat is declared... no [07:55:56.180] checking whether strlcpy is declared... no [07:55:56.246] checking whether strnlen is declared... yes [07:55:56.261] checking whether strsep is declared... no [07:55:56.326] checking whether preadv is declared... no [07:55:56.364] checking whether pwritev is declared... no [07:55:56.402] checking whether F_FULLFSYNC is declared... no [07:55:56.443] checking for explicit_bzero... no [07:55:56.493] checking for getopt... yes [07:55:56.540] checking for getpeereid... no [07:55:56.589] checking for inet_aton... no [07:55:56.637] checking for mkdtemp... no [07:55:56.683] checking for strlcat... no [07:55:56.729] checking for strlcpy... no [07:55:56.776] checking for strnlen... yes [07:55:56.826] checking for strsep... no [07:55:56.875] checking for pthread_barrier_wait... yes [07:55:56.921] configure: On mingw32 we will use our strtof wrapper. [07:55:56.921] checking for getopt_long... yes [07:55:56.968] checking for syslog... no [07:55:57.017] checking for opterr... yes [07:55:57.070] checking for optreset... no [07:55:57.125] checking test program... cross-compiling [07:55:57.125] checking size of void *... 8 [07:55:57.425] checking size of size_t... 8 [07:55:57.705] checking size of long... 4 [07:55:57.916] checking size of long long... 8 [07:55:58.198] checking alignment of short... 2 [07:55:58.353] checking alignment of int... 4 [07:55:58.569] checking alignment of long... 4 [07:55:58.769] checking alignment of int64_t... 8 [07:55:59.058] checking alignment of double... 8 [07:55:59.347] checking for __int128... yes [07:55:59.400] checking for __int128 alignment bug... assuming ok [07:55:59.400] checking alignment of PG_INT128_TYPE... 16 [07:55:59.741] checking for builtin __sync char locking functions... yes [07:55:59.785] checking for builtin __sync int32 locking functions... yes [07:55:59.830] checking for builtin __sync int32 atomic operations... yes [07:55:59.874] checking for builtin __sync int64 atomic operations... yes [07:55:59.921] checking for builtin __atomic int32 atomic operations... yes [07:55:59.967] checking for builtin __atomic int64 atomic operations... yes [07:56:00.015] checking for __get_cpuid... yes [07:56:00.065] checking for __get_cpuid_count... yes [07:56:00.112] checking for __cpuid... no [07:56:00.505] checking for __cpuidex... no [07:56:00.937] checking for _xgetbv... yes [07:56:01.340] checking for _mm512_popcnt_epi64... yes [07:56:01.767] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:56:01.874] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:56:01.898] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:56:01.918] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:56:01.938] 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 [07:56:01.996] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:56:01.997] checking which random number source to use... Windows native [07:56:01.999] checking for xmllint... /usr/bin/xmllint [07:56:01.999] checking for xsltproc... /usr/bin/xsltproc [07:56:01.999] checking for fop... /usr/bin/fop [07:56:02.000] checking for dbtoepub... no [07:56:02.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:56:02.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:56:02.000] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:56:02.012] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:56:02.012] 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 [07:56:02.012] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:56:02.012] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:56:02.102] configure: creating ./config.status [07:56:02.187] config.status: creating GNUmakefile [07:56:02.199] config.status: creating src/Makefile.global [07:56:02.215] config.status: creating src/include/pg_config.h [07:56:02.227] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:56:02.244] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:56:02.251] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:56:02.259] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:56:02.266] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:56:02.274] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:56:02.278] config.status: executing check_win32_symlinks commands [07:56:02.313] [07:56:02.313] real 0m15.950s [07:56:02.313] user 0m10.711s [07:56:02.313] sys 0m5.009s [07:56:02.313] make -s -j${BUILD_JOBS} clean [07:56:02.837] time make -s -j${BUILD_JOBS} world-bin [07:56:07.895] equivclass.c: In function ‘find_ec_member_matching_expr’: [07:56:07.895] equivclass.c:780:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [07:56:07.895] 780 | static int previous_em_found_at = 0; [07:56:07.895] | ^~~~~~ [07:56:07.895] equivclass.c:805:17: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [07:56:07.895] 805 | Expr *emexpr = em->em_expr; [07:56:07.895] | ^~~~ [07:56:07.895] cc1: all warnings being treated as errors [07:56:07.895] make[4]: *** [: equivclass.o] Error 1 [07:56:07.896] make[3]: *** [../../../src/backend/common.mk:37: path-recursive] Error 2 [07:56:07.896] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [07:56:07.896] make[2]: *** Waiting for unfinished jobs.... [07:56:08.142] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:56:08.142] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:56:08.143] [07:56:08.143] real 0m5.306s [07:56:08.143] user 0m9.611s [07:56:08.143] sys 0m6.364s [07:56:08.143] [07:56:08.143] Exit status: 2