[17:10:35.516] time ./configure \ [17:10:35.516] --host=x86_64-w64-mingw32 \ [17:10:35.516] --enable-cassert \ [17:10:35.516] --without-icu \ [17:10:35.516] CC="ccache x86_64-w64-mingw32-gcc" \ [17:10:35.516] CXX="ccache x86_64-w64-mingw32-g++" [17:10:35.595] checking build system type... x86_64-pc-linux-gnu [17:10:35.780] checking host system type... x86_64-w64-mingw32 [17:10:35.784] checking which template to use... win32 [17:10:35.784] checking whether NLS is wanted... no [17:10:35.784] checking for default port number... 5432 [17:10:35.789] checking for block size... 8kB [17:10:35.790] checking for segment size... 1GB [17:10:35.792] checking for WAL block size... 8kB [17:10:35.793] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:10:35.818] checking whether the C compiler works... yes [17:10:35.962] checking for C compiler default output file name... a.exe [17:10:35.963] checking for suffix of executables... .exe [17:10:35.996] checking whether we are cross compiling... yes [17:10:36.058] checking for suffix of object files... o [17:10:36.063] checking whether we are using the GNU C compiler... yes [17:10:36.069] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:10:36.095] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:10:36.155] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:10:36.262] checking whether we are using the GNU C++ compiler... yes [17:10:36.450] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:10:36.503] checking for gawk... no [17:10:36.503] checking for mawk... mawk [17:10:36.505] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:10:36.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:10:36.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:10:36.570] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:10:36.601] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:10:36.607] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:10:36.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:10:36.638] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:10:36.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:10:36.649] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:10:36.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:10:36.659] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:10:36.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:10:36.676] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:10:36.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:10:36.685] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:10:36.691] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:10:36.716] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:10:36.721] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:10:36.726] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:10:36.751] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:10:36.763] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:10:36.778] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:10:36.783] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:10:36.788] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:10:36.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:10:36.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:10:36.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:10:36.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:10:36.868] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:10:36.874] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:10:36.879] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:10:36.884] checking whether the C compiler still works... yes [17:10:36.921] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:10:36.972] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:10:36.972] checking pkg-config is at least version 0.9.0... yes [17:10:36.986] checking whether to build with ICU support... no [17:10:36.986] checking whether to build with Tcl... no [17:10:36.986] checking whether to build Perl modules... no [17:10:36.987] checking whether to build Python modules... no [17:10:36.987] checking whether to build with GSSAPI support... no [17:10:36.987] checking whether to build with PAM support... no [17:10:36.988] checking whether to build with BSD Authentication support... no [17:10:36.988] checking whether to build with LDAP support... no [17:10:36.988] checking whether to build with Bonjour support... no [17:10:36.988] checking whether to build with SELinux support... no [17:10:36.988] checking whether to build with systemd support... no [17:10:36.988] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:10:36.988] checking whether to build with XML support... no [17:10:36.988] checking whether to build with LZ4 support... no [17:10:36.989] checking whether to build with ZSTD support... no [17:10:36.989] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:10:36.989] checking whether it is possible to strip libraries... yes [17:10:36.997] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:10:36.998] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:10:36.998] checking for a BSD-compatible install... /usr/bin/install -c [17:10:37.004] checking for tar... /usr/bin/tar [17:10:37.004] checking whether ln -s works... yes [17:10:37.004] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:10:37.006] checking for bison... /usr/bin/bison [17:10:37.007] configure: using bison (GNU Bison) 3.7.5 [17:10:37.009] checking for flex... /usr/bin/flex [17:10:37.018] configure: using flex 2.6.4 [17:10:37.018] checking for perl... /usr/bin/perl [17:10:37.020] configure: using perl 5.32.1 [17:10:37.022] checking for zic... /usr/sbin/zic [17:10:37.022] checking for a sed that does not truncate output... /usr/bin/sed [17:10:37.025] checking for grep that handles long lines and -e... /usr/bin/grep [17:10:37.027] checking for egrep... /usr/bin/grep -E [17:10:37.028] checking for ANSI C header files... yes [17:10:37.095] checking for sys/types.h... yes [17:10:37.120] checking for sys/stat.h... yes [17:10:37.132] checking for stdlib.h... yes [17:10:37.142] checking for string.h... yes [17:10:37.152] checking for memory.h... yes [17:10:37.163] checking for strings.h... yes [17:10:37.186] checking for inttypes.h... yes [17:10:37.230] checking for stdint.h... yes [17:10:37.241] checking for unistd.h... yes [17:10:37.252] checking for main in -lm... yes [17:10:37.283] checking for library containing setproctitle... no [17:10:37.347] checking for library containing dlsym... no [17:10:37.413] checking for library containing socket... -lws2_32 [17:10:37.514] checking for library containing getopt_long... none required [17:10:37.553] checking for library containing shm_open... no [17:10:37.619] checking for library containing shm_unlink... no [17:10:37.687] checking for library containing clock_gettime... no [17:10:37.750] checking for library containing shmget... no [17:10:37.813] checking for library containing backtrace_symbols... no [17:10:37.876] checking for library containing pthread_barrier_wait... -lpthread [17:10:37.944] checking for inflate in -lz... yes [17:10:37.978] checking for stdbool.h that conforms to C99... yes [17:10:37.985] checking for _Bool... yes [17:10:38.081] checking atomic.h usability... no [17:10:38.123] checking atomic.h presence... no [17:10:38.136] checking for atomic.h... no [17:10:38.138] checking copyfile.h usability... no [17:10:38.181] checking copyfile.h presence... no [17:10:38.194] checking for copyfile.h... no [17:10:38.196] checking execinfo.h usability... no [17:10:38.238] checking execinfo.h presence... no [17:10:38.250] checking for execinfo.h... no [17:10:38.252] checking getopt.h usability... yes [17:10:38.258] checking getopt.h presence... yes [17:10:38.268] checking for getopt.h... yes [17:10:38.273] checking ifaddrs.h usability... no [17:10:38.314] checking ifaddrs.h presence... no [17:10:38.327] checking for ifaddrs.h... no [17:10:38.329] checking langinfo.h usability... no [17:10:38.372] checking langinfo.h presence... no [17:10:38.385] checking for langinfo.h... no [17:10:38.387] checking mbarrier.h usability... no [17:10:38.431] checking mbarrier.h presence... no [17:10:38.446] checking for mbarrier.h... no [17:10:38.448] checking sys/epoll.h usability... no [17:10:38.508] checking sys/epoll.h presence... no [17:10:38.522] checking for sys/epoll.h... no [17:10:38.525] checking sys/event.h usability... no [17:10:38.568] checking sys/event.h presence... no [17:10:38.583] checking for sys/event.h... no [17:10:38.586] checking sys/personality.h usability... no [17:10:38.630] checking sys/personality.h presence... no [17:10:38.643] checking for sys/personality.h... no [17:10:38.646] checking sys/prctl.h usability... no [17:10:38.688] checking sys/prctl.h presence... no [17:10:38.700] checking for sys/prctl.h... no [17:10:38.702] checking sys/procctl.h usability... no [17:10:38.745] checking sys/procctl.h presence... no [17:10:38.759] checking for sys/procctl.h... no [17:10:38.762] checking sys/signalfd.h usability... no [17:10:38.803] checking sys/signalfd.h presence... no [17:10:38.816] checking for sys/signalfd.h... no [17:10:38.818] checking sys/ucred.h usability... no [17:10:38.859] checking sys/ucred.h presence... no [17:10:38.872] checking for sys/ucred.h... no [17:10:38.875] checking termios.h usability... no [17:10:38.923] checking termios.h presence... no [17:10:38.937] checking for termios.h... no [17:10:38.940] checking ucred.h usability... no [17:10:38.984] checking ucred.h presence... no [17:10:38.998] checking for ucred.h... no [17:10:39.000] checking zlib.h usability... yes [17:10:39.007] checking zlib.h presence... yes [17:10:39.021] checking for zlib.h... yes [17:10:39.021] checking for lz4... /usr/bin/lz4 [17:10:39.022] checking for zstd... /usr/bin/zstd [17:10:39.022] checking for openssl... /usr/bin/openssl [17:10:39.025] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [17:10:39.026] checking crtdefs.h usability... yes [17:10:39.031] checking crtdefs.h presence... yes [17:10:39.042] checking for crtdefs.h... yes [17:10:39.043] checking whether byte ordering is bigendian... no [17:10:39.114] checking for inline... inline [17:10:39.119] checking for printf format archetype... gnu_printf [17:10:39.144] checking for _Static_assert... yes [17:10:39.176] checking for typeof... typeof [17:10:39.181] checking for __builtin_types_compatible_p... yes [17:10:39.188] checking for __builtin_constant_p... yes [17:10:39.196] checking for __builtin_unreachable... yes [17:10:39.227] checking for computed goto support... yes [17:10:39.232] checking for struct tm.tm_zone... no [17:10:39.291] checking for union semun... no [17:10:39.317] checking for socklen_t... yes [17:10:40.206] checking for struct sockaddr.sa_len... no [17:10:41.743] checking for locale_t... no [17:10:41.790] checking for C/C++ restrict keyword... __restrict [17:10:41.798] checking for struct option... yes [17:10:41.825] checking whether assembler supports x86_64 popcntq... yes [17:10:41.830] checking size of off_t... 4 [17:10:42.025] 0 [17:10:42.026] checking size of bool... 1 [17:10:42.058] checking for int timezone... yes [17:10:42.095] checking for wcstombs_l declaration... no [17:10:42.158] checking for backtrace_symbols... no [17:10:42.197] checking for copyfile... no [17:10:42.234] checking for getifaddrs... no [17:10:42.270] checking for getpeerucred... no [17:10:42.306] checking for inet_pton... yes [17:10:42.345] checking for kqueue... no [17:10:42.383] checking for mbstowcs_l... no [17:10:42.420] checking for memset_s... no [17:10:42.458] checking for posix_fallocate... no [17:10:42.497] checking for ppoll... no [17:10:42.534] checking for pthread_is_threaded_np... no [17:10:42.570] checking for setproctitle... no [17:10:42.606] checking for setproctitle_fast... no [17:10:42.644] checking for strchrnul... no [17:10:42.681] checking for strsignal... no [17:10:42.719] checking for syncfs... no [17:10:42.756] checking for sync_file_range... no [17:10:42.794] checking for uselocale... no [17:10:42.834] checking for wcstombs_l... no [17:10:42.868] checking for __builtin_bswap16... yes [17:10:42.904] checking for __builtin_bswap32... yes [17:10:42.939] checking for __builtin_bswap64... yes [17:10:42.974] checking for __builtin_clz... yes [17:10:43.009] checking for __builtin_ctz... yes [17:10:43.045] checking for __builtin_popcount... yes [17:10:43.082] checking for __builtin_frame_address... yes [17:10:43.119] checking for _LARGEFILE_SOURCE value needed for large files... no [17:10:43.163] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:10:43.186] checking for posix_fadvise... no [17:10:43.223] checking whether posix_fadvise is declared... no [17:10:43.255] checking whether fdatasync is declared... no [17:10:43.287] checking whether strlcat is declared... no [17:10:43.332] checking whether strlcpy is declared... no [17:10:43.379] checking whether strnlen is declared... yes [17:10:43.432] checking whether preadv is declared... no [17:10:43.457] checking whether pwritev is declared... no [17:10:43.502] checking whether F_FULLFSYNC is declared... no [17:10:43.532] checking for explicit_bzero... no [17:10:43.567] checking for getopt... yes [17:10:43.600] checking for getpeereid... no [17:10:43.633] checking for inet_aton... no [17:10:43.669] checking for mkdtemp... no [17:10:43.706] checking for strlcat... no [17:10:43.741] checking for strlcpy... no [17:10:43.776] checking for strnlen... yes [17:10:43.813] checking for pthread_barrier_wait... yes [17:10:43.847] configure: On mingw32 we will use our strtof wrapper. [17:10:43.847] checking for getopt_long... yes [17:10:43.881] checking for _configthreadlocale... yes [17:10:43.914] checking for syslog... no [17:10:43.949] checking for opterr... yes [17:10:43.984] checking for optreset... no [17:10:44.022] checking test program... cross-compiling [17:10:44.022] checking whether long int is 64 bits... no [17:10:44.044] checking whether long long int is 64 bits... yes [17:10:44.051] checking for __builtin_mul_overflow... yes [17:10:44.085] checking size of void *... 8 [17:10:44.287] checking size of size_t... 8 [17:10:44.574] checking size of long... 4 [17:10:44.812] checking alignment of short... 2 [17:10:44.918] checking alignment of int... 4 [17:10:45.110] checking alignment of long... 4 [17:10:45.292] checking alignment of long long int... 8 [17:10:45.620] checking alignment of double... 8 [17:10:45.812] checking for int8... no [17:10:45.842] checking for uint8... no [17:10:45.873] checking for int64... no [17:10:45.904] checking for uint64... no [17:10:45.935] checking for __int128... yes [17:10:45.970] checking for __int128 alignment bug... assuming ok [17:10:45.970] checking alignment of PG_INT128_TYPE... 16 [17:10:46.339] checking for builtin __sync char locking functions... yes [17:10:46.371] checking for builtin __sync int32 locking functions... yes [17:10:46.404] checking for builtin __sync int32 atomic operations... yes [17:10:46.437] checking for builtin __sync int64 atomic operations... yes [17:10:46.470] checking for builtin __atomic int32 atomic operations... yes [17:10:46.504] checking for builtin __atomic int64 atomic operations... yes [17:10:46.537] checking for __get_cpuid... yes [17:10:46.573] checking for __cpuid... no [17:10:46.820] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:10:46.855] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:10:46.922] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:10:46.939] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:10:46.953] 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 [17:10:46.994] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:10:46.994] checking which random number source to use... Windows native [17:10:46.995] checking for xmllint... /usr/bin/xmllint [17:10:46.995] checking for xsltproc... /usr/bin/xsltproc [17:10:46.996] checking for fop... /usr/bin/fop [17:10:46.996] checking for dbtoepub... no [17:10:46.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:10:46.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:10:47.004] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [17:10:47.004] 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 [17:10:47.004] configure: using CPPFLAGS= -I./src/include/port/win32 [17:10:47.004] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:10:47.072] configure: creating ./config.status [17:10:47.133] config.status: creating GNUmakefile [17:10:47.141] config.status: creating src/Makefile.global [17:10:47.152] config.status: creating src/include/pg_config.h [17:10:47.162] config.status: creating src/include/pg_config_ext.h [17:10:47.170] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:10:47.181] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:10:47.186] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:10:47.190] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:10:47.196] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:10:47.201] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:10:47.203] config.status: executing check_win32_symlinks commands [17:10:47.229] [17:10:47.229] real 0m11.713s [17:10:47.229] user 0m8.501s [17:10:47.229] sys 0m2.824s [17:10:47.229] make -s -j${BUILD_JOBS} clean [17:10:47.603] time make -s -j${BUILD_JOBS} world-bin [17:12:02.245] createplan.c: In function ‘set_plan_forbid_pre_detoast_vars_recurse’: [17:12:02.245] createplan.c:410:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [17:12:02.245] 410 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [17:12:02.245] | ^~~~~~~~~~~ [17:12:02.245] createplan.c:399:60: note: shadowed declaration is here [17:12:02.245] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [17:12:02.245] | ~~~~~~^~~~~~~~~~~ [17:12:02.245] createplan.c:422:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [17:12:02.245] 422 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [17:12:02.245] | ^~~~~~~~~~~ [17:12:02.245] createplan.c:399:60: note: shadowed declaration is here [17:12:02.245] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [17:12:02.245] | ~~~~~~^~~~~~~~~~~ [17:12:02.245] cc1: all warnings being treated as errors [17:12:02.245] make[4]: *** [: createplan.o] Error 1 [17:12:02.245] make[3]: *** [../../../src/backend/common.mk:37: plan-recursive] Error 2 [17:12:02.245] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [17:12:02.245] make[2]: *** Waiting for unfinished jobs.... [17:12:06.309] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:12:06.309] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:12:06.310] [17:12:06.310] real 1m18.706s [17:12:06.310] user 4m26.994s [17:12:06.310] sys 0m32.642s [17:12:06.310] [17:12:06.310] Exit status: 2