[04:36:47.588] time ./configure \ [04:36:47.588] --host=x86_64-w64-mingw32 \ [04:36:47.588] --enable-cassert \ [04:36:47.588] --without-icu \ [04:36:47.588] CC="ccache x86_64-w64-mingw32-gcc" \ [04:36:47.588] CXX="ccache x86_64-w64-mingw32-g++" [04:36:47.667] checking build system type... x86_64-pc-linux-gnu [04:36:47.849] checking host system type... x86_64-w64-mingw32 [04:36:47.853] checking which template to use... win32 [04:36:47.854] checking whether NLS is wanted... no [04:36:47.854] checking for default port number... 5432 [04:36:47.859] checking for block size... 8kB [04:36:47.860] checking for segment size... 1GB [04:36:47.861] checking for WAL block size... 8kB [04:36:47.862] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:36:47.887] checking whether the C compiler works... yes [04:36:48.032] checking for C compiler default output file name... a.exe [04:36:48.033] checking for suffix of executables... .exe [04:36:48.065] checking whether we are cross compiling... yes [04:36:48.126] checking for suffix of object files... o [04:36:48.131] checking whether we are using the GNU C compiler... yes [04:36:48.135] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:36:48.148] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:36:48.156] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:36:48.212] checking whether we are using the GNU C++ compiler... yes [04:36:48.216] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:36:48.260] checking for gawk... no [04:36:48.260] checking for mawk... mawk [04:36:48.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:36:48.267] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:36:48.277] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:36:48.307] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:36:48.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:36:48.480] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:36:48.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:36:48.489] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:36:48.493] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:36:48.503] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:36:48.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:36:48.545] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:36:48.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:36:48.566] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:36:48.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:36:48.574] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:36:48.578] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:36:48.599] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:36:48.604] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:36:48.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:36:48.620] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:36:48.625] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:36:48.639] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:36:48.644] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:36:48.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:36:48.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:36:48.717] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:36:48.744] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:36:48.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:36:48.791] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:36:48.795] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:36:48.799] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:36:48.866] checking whether the C compiler still works... yes [04:36:48.924] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:36:48.976] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:36:48.976] checking pkg-config is at least version 0.9.0... yes [04:36:48.990] checking whether to build with ICU support... no [04:36:48.990] checking whether to build with Tcl... no [04:36:48.990] checking whether to build Perl modules... no [04:36:48.990] checking whether to build Python modules... no [04:36:48.990] checking whether to build with GSSAPI support... no [04:36:48.991] checking whether to build with PAM support... no [04:36:48.991] checking whether to build with BSD Authentication support... no [04:36:48.991] checking whether to build with LDAP support... no [04:36:48.991] checking whether to build with Bonjour support... no [04:36:48.991] checking whether to build with SELinux support... no [04:36:48.991] checking whether to build with systemd support... no [04:36:48.992] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:36:48.992] checking whether to build with XML support... no [04:36:48.992] checking whether to build with LZ4 support... no [04:36:48.992] checking whether to build with ZSTD support... no [04:36:48.992] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:36:48.993] checking whether it is possible to strip libraries... yes [04:36:49.003] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:36:49.003] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:36:49.004] checking for a BSD-compatible install... /usr/bin/install -c [04:36:49.010] checking for tar... /usr/bin/tar [04:36:49.010] checking whether ln -s works... yes [04:36:49.010] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:36:49.012] checking for bison... /usr/bin/bison [04:36:49.014] configure: using bison (GNU Bison) 3.7.5 [04:36:49.016] checking for flex... /usr/bin/flex [04:36:49.024] configure: using flex 2.6.4 [04:36:49.024] checking for perl... /usr/bin/perl [04:36:49.026] configure: using perl 5.32.1 [04:36:49.028] checking for zic... /usr/sbin/zic [04:36:49.028] checking for a sed that does not truncate output... /usr/bin/sed [04:36:49.032] checking for grep that handles long lines and -e... /usr/bin/grep [04:36:49.033] checking for egrep... /usr/bin/grep -E [04:36:49.034] checking for ANSI C header files... yes [04:36:49.106] checking for sys/types.h... yes [04:36:49.133] checking for sys/stat.h... yes [04:36:49.145] checking for stdlib.h... yes [04:36:49.193] checking for string.h... yes [04:36:49.238] checking for memory.h... yes [04:36:49.284] checking for strings.h... yes [04:36:49.296] checking for inttypes.h... yes [04:36:49.344] checking for stdint.h... yes [04:36:49.355] checking for unistd.h... yes [04:36:49.367] checking for main in -lm... yes [04:36:49.402] checking for library containing setproctitle... no [04:36:49.465] checking for library containing dlsym... no [04:36:49.529] checking for library containing socket... -lws2_32 [04:36:49.622] checking for library containing getopt_long... none required [04:36:49.658] checking for library containing shm_open... no [04:36:49.721] checking for library containing shm_unlink... no [04:36:49.788] checking for library containing clock_gettime... no [04:36:49.851] checking for library containing shmget... no [04:36:49.917] checking for library containing backtrace_symbols... no [04:36:49.982] checking for library containing pthread_barrier_wait... -lpthread [04:36:50.057] checking for inflate in -lz... yes [04:36:50.092] checking for stdbool.h that conforms to C99... yes [04:36:50.131] checking for _Bool... yes [04:36:50.200] checking atomic.h usability... no [04:36:50.243] checking atomic.h presence... no [04:36:50.256] checking for atomic.h... no [04:36:50.258] checking copyfile.h usability... no [04:36:50.303] checking copyfile.h presence... no [04:36:50.318] checking for copyfile.h... no [04:36:50.320] checking execinfo.h usability... no [04:36:50.362] checking execinfo.h presence... no [04:36:50.375] checking for execinfo.h... no [04:36:50.377] checking getopt.h usability... yes [04:36:50.418] checking getopt.h presence... yes [04:36:50.428] checking for getopt.h... yes [04:36:50.432] checking ifaddrs.h usability... no [04:36:50.469] checking ifaddrs.h presence... no [04:36:50.480] checking for ifaddrs.h... no [04:36:50.482] checking langinfo.h usability... no [04:36:50.523] checking langinfo.h presence... no [04:36:50.536] checking for langinfo.h... no [04:36:50.538] checking mbarrier.h usability... no [04:36:50.578] checking mbarrier.h presence... no [04:36:50.589] checking for mbarrier.h... no [04:36:50.591] checking sys/epoll.h usability... no [04:36:50.628] checking sys/epoll.h presence... no [04:36:50.640] checking for sys/epoll.h... no [04:36:50.642] checking sys/event.h usability... no [04:36:50.681] checking sys/event.h presence... no [04:36:50.693] checking for sys/event.h... no [04:36:50.695] checking sys/personality.h usability... no [04:36:50.734] checking sys/personality.h presence... no [04:36:50.747] checking for sys/personality.h... no [04:36:50.748] checking sys/prctl.h usability... no [04:36:50.791] checking sys/prctl.h presence... no [04:36:50.805] checking for sys/prctl.h... no [04:36:50.807] checking sys/procctl.h usability... no [04:36:50.850] checking sys/procctl.h presence... no [04:36:50.864] checking for sys/procctl.h... no [04:36:50.867] checking sys/signalfd.h usability... no [04:36:50.911] checking sys/signalfd.h presence... no [04:36:50.924] checking for sys/signalfd.h... no [04:36:50.927] checking sys/ucred.h usability... no [04:36:50.970] checking sys/ucred.h presence... no [04:36:50.983] checking for sys/ucred.h... no [04:36:50.986] checking termios.h usability... no [04:36:51.030] checking termios.h presence... no [04:36:51.045] checking for termios.h... no [04:36:51.047] checking ucred.h usability... no [04:36:51.092] checking ucred.h presence... no [04:36:51.106] checking for ucred.h... no [04:36:51.108] checking zlib.h usability... yes [04:36:51.117] checking zlib.h presence... yes [04:36:51.132] checking for zlib.h... yes [04:36:51.132] checking for lz4... /usr/bin/lz4 [04:36:51.132] checking for zstd... /usr/bin/zstd [04:36:51.132] checking for openssl... /usr/bin/openssl [04:36:51.135] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [04:36:51.136] checking crtdefs.h usability... yes [04:36:51.179] checking crtdefs.h presence... yes [04:36:51.190] checking for crtdefs.h... yes [04:36:51.191] checking whether byte ordering is bigendian... no [04:36:51.263] checking for inline... inline [04:36:51.267] checking for printf format archetype... gnu_printf [04:36:51.272] checking for _Static_assert... yes [04:36:51.304] checking for typeof... typeof [04:36:51.309] checking for __builtin_types_compatible_p... yes [04:36:51.316] checking for __builtin_constant_p... yes [04:36:51.330] checking for __builtin_unreachable... yes [04:36:51.361] checking for computed goto support... yes [04:36:51.389] checking for struct tm.tm_zone... no [04:36:51.446] checking for union semun... no [04:36:51.472] checking for socklen_t... yes [04:36:53.159] checking for struct sockaddr.sa_len... no [04:36:54.779] checking for locale_t... no [04:36:54.824] checking for C/C++ restrict keyword... __restrict [04:36:54.839] checking for struct option... yes [04:36:54.867] checking whether assembler supports x86_64 popcntq... yes [04:36:54.871] checking size of off_t... 4 [04:36:55.055] 0 [04:36:55.055] checking size of bool... 1 [04:36:55.104] checking for int timezone... yes [04:36:55.140] checking for wcstombs_l declaration... no [04:36:55.196] checking for backtrace_symbols... no [04:36:55.234] checking for copyfile... no [04:36:55.270] checking for getifaddrs... no [04:36:55.307] checking for getpeerucred... no [04:36:55.344] checking for inet_pton... yes [04:36:55.380] checking for kqueue... no [04:36:55.417] checking for mbstowcs_l... no [04:36:55.455] checking for memset_s... no [04:36:55.492] checking for posix_fallocate... no [04:36:55.530] checking for ppoll... no [04:36:55.568] checking for pthread_is_threaded_np... no [04:36:55.605] checking for setproctitle... no [04:36:55.641] checking for setproctitle_fast... no [04:36:55.676] checking for strchrnul... no [04:36:55.712] checking for strsignal... no [04:36:55.748] checking for syncfs... no [04:36:55.786] checking for sync_file_range... no [04:36:55.822] checking for uselocale... no [04:36:55.859] checking for wcstombs_l... no [04:36:55.893] checking for __builtin_bswap16... yes [04:36:55.928] checking for __builtin_bswap32... yes [04:36:55.963] checking for __builtin_bswap64... yes [04:36:55.998] checking for __builtin_clz... yes [04:36:56.033] checking for __builtin_ctz... yes [04:36:56.066] checking for __builtin_popcount... yes [04:36:56.100] checking for __builtin_frame_address... yes [04:36:56.133] checking for _LARGEFILE_SOURCE value needed for large files... no [04:36:56.173] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:36:56.196] checking for posix_fadvise... no [04:36:56.234] checking whether posix_fadvise is declared... no [04:36:56.265] checking whether fdatasync is declared... no [04:36:56.295] checking whether strlcat is declared... no [04:36:56.340] checking whether strlcpy is declared... no [04:36:56.383] checking whether strnlen is declared... yes [04:36:56.432] checking whether preadv is declared... no [04:36:56.454] checking whether pwritev is declared... no [04:36:56.476] checking whether F_FULLFSYNC is declared... no [04:36:56.504] checking for explicit_bzero... no [04:36:56.539] checking for getopt... yes [04:36:56.572] checking for getpeereid... no [04:36:56.606] checking for inet_aton... no [04:36:56.638] checking for mkdtemp... no [04:36:56.672] checking for strlcat... no [04:36:56.705] checking for strlcpy... no [04:36:56.739] checking for strnlen... yes [04:36:56.773] checking for pthread_barrier_wait... yes [04:36:56.805] configure: On mingw32 we will use our strtof wrapper. [04:36:56.805] checking for getopt_long... yes [04:36:56.838] checking for _configthreadlocale... yes [04:36:56.870] checking for syslog... no [04:36:56.903] checking for opterr... yes [04:36:56.939] checking for optreset... no [04:36:56.975] checking test program... cross-compiling [04:36:56.975] checking whether long int is 64 bits... no [04:36:56.995] checking whether long long int is 64 bits... yes [04:36:57.001] checking for __builtin_mul_overflow... yes [04:36:57.031] checking size of void *... 8 [04:36:57.272] checking size of size_t... 8 [04:36:57.545] checking size of long... 4 [04:36:57.754] checking alignment of short... 2 [04:36:57.897] checking alignment of int... 4 [04:36:58.107] checking alignment of long... 4 [04:36:58.268] checking alignment of long long int... 8 [04:36:58.567] checking alignment of double... 8 [04:36:58.826] checking for int8... no [04:36:58.856] checking for uint8... no [04:36:58.883] checking for int64... no [04:36:58.910] checking for uint64... no [04:36:58.937] checking for __int128... yes [04:36:58.969] checking for __int128 alignment bug... assuming ok [04:36:58.969] checking alignment of PG_INT128_TYPE... 16 [04:36:59.319] checking for builtin __sync char locking functions... yes [04:36:59.352] checking for builtin __sync int32 locking functions... yes [04:36:59.384] checking for builtin __sync int32 atomic operations... yes [04:36:59.414] checking for builtin __sync int64 atomic operations... yes [04:36:59.444] checking for builtin __atomic int32 atomic operations... yes [04:36:59.476] checking for builtin __atomic int64 atomic operations... yes [04:36:59.508] checking for __get_cpuid... yes [04:36:59.542] checking for __cpuid... no [04:36:59.776] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [04:36:59.811] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [04:36:59.878] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:36:59.893] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:36:59.906] 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 [04:36:59.943] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:36:59.944] checking which random number source to use... Windows native [04:36:59.945] checking for xmllint... /usr/bin/xmllint [04:36:59.945] checking for xsltproc... /usr/bin/xsltproc [04:36:59.946] checking for fop... /usr/bin/fop [04:36:59.946] checking for dbtoepub... no [04:36:59.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:36:59.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:36:59.954] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [04:36:59.954] 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 [04:36:59.954] configure: using CPPFLAGS= -I./src/include/port/win32 [04:36:59.954] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:37:00.014] configure: creating ./config.status [04:37:00.070] config.status: creating GNUmakefile [04:37:00.078] config.status: creating src/Makefile.global [04:37:00.089] config.status: creating src/include/pg_config.h [04:37:00.097] config.status: creating src/include/pg_config_ext.h [04:37:00.105] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:37:00.115] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:37:00.120] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:37:00.126] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:37:00.131] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:37:00.136] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:37:00.139] config.status: executing check_win32_symlinks commands [04:37:00.167] [04:37:00.167] real 0m12.579s [04:37:00.167] user 0m9.432s [04:37:00.167] sys 0m2.705s [04:37:00.167] make -s -j${BUILD_JOBS} clean [04:37:00.559] time make -s -j${BUILD_JOBS} world-bin [04:38:08.865] createplan.c: In function ‘set_plan_forbid_pre_detoast_vars_recurse’: [04:38:08.865] createplan.c:410:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [04:38:08.865] 410 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [04:38:08.865] | ^~~~~~~~~~~ [04:38:08.865] createplan.c:399:60: note: shadowed declaration is here [04:38:08.865] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [04:38:08.865] | ~~~~~~^~~~~~~~~~~ [04:38:08.865] createplan.c:422:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [04:38:08.865] 422 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [04:38:08.865] | ^~~~~~~~~~~ [04:38:08.865] createplan.c:399:60: note: shadowed declaration is here [04:38:08.865] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [04:38:08.865] | ~~~~~~^~~~~~~~~~~ [04:38:08.865] cc1: all warnings being treated as errors [04:38:08.865] make[4]: *** [: createplan.o] Error 1 [04:38:08.865] make[3]: *** [../../../src/backend/common.mk:37: plan-recursive] Error 2 [04:38:08.865] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [04:38:08.865] make[2]: *** Waiting for unfinished jobs.... [04:38:19.512] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:38:19.512] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:38:19.512] [04:38:19.512] real 1m18.953s [04:38:19.512] user 4m28.897s [04:38:19.512] sys 0m33.391s [04:38:19.513] [04:38:19.513] Exit status: 2