[02:56:44.137] time ./configure \ [02:56:44.137] --host=x86_64-w64-mingw32 \ [02:56:44.137] --enable-cassert \ [02:56:44.137] --without-icu \ [02:56:44.137] CC="ccache x86_64-w64-mingw32-gcc" \ [02:56:44.137] CXX="ccache x86_64-w64-mingw32-g++" [02:56:44.199] checking build system type... x86_64-pc-linux-gnu [02:56:44.372] checking host system type... x86_64-w64-mingw32 [02:56:44.375] checking which template to use... win32 [02:56:44.376] checking whether NLS is wanted... no [02:56:44.376] checking for default port number... 5432 [02:56:44.380] checking for block size... 8kB [02:56:44.380] checking for segment size... 1GB [02:56:44.382] checking for WAL block size... 8kB [02:56:44.382] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:56:44.401] checking whether the C compiler works... yes [02:56:44.538] checking for C compiler default output file name... a.exe [02:56:44.539] checking for suffix of executables... .exe [02:56:44.566] checking whether we are cross compiling... yes [02:56:44.620] checking for suffix of object files... o [02:56:44.630] checking whether we are using the GNU C compiler... yes [02:56:44.635] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:56:44.656] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:56:44.663] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:56:44.772] checking whether we are using the GNU C++ compiler... yes [02:56:44.776] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:56:45.001] checking for gawk... no [02:56:45.001] checking for mawk... mawk [02:56:45.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:56:45.022] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:56:45.026] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:56:45.054] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:56:45.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:56:45.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:56:45.088] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:56:45.092] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:56:45.095] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:56:45.099] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:56:45.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:56:45.122] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:56:45.127] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:56:45.130] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:56:45.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:56:45.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:56:45.168] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:56:45.177] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:56:45.197] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:56:45.200] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:56:45.204] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:56:45.208] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:56:45.219] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:56:45.239] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:56:45.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:56:45.264] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:56:45.286] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:56:45.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:56:45.294] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:56:45.313] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:56:45.317] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:56:45.321] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:56:45.342] checking whether the C compiler still works... yes [02:56:45.371] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:56:45.410] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:56:45.410] checking pkg-config is at least version 0.9.0... yes [02:56:45.423] checking whether to build with ICU support... no [02:56:45.423] checking whether to build with Tcl... no [02:56:45.423] checking whether to build Perl modules... no [02:56:45.423] checking whether to build Python modules... no [02:56:45.423] checking whether to build with GSSAPI support... no [02:56:45.424] checking whether to build with PAM support... no [02:56:45.424] checking whether to build with BSD Authentication support... no [02:56:45.424] checking whether to build with LDAP support... no [02:56:45.424] checking whether to build with Bonjour support... no [02:56:45.424] checking whether to build with SELinux support... no [02:56:45.424] checking whether to build with systemd support... no [02:56:45.424] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:56:45.424] checking whether to build with XML support... no [02:56:45.425] checking whether to build with LZ4 support... no [02:56:45.425] checking whether to build with ZSTD support... no [02:56:45.425] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:56:45.425] checking whether it is possible to strip libraries... yes [02:56:45.432] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:56:45.432] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:56:45.432] checking for a BSD-compatible install... /usr/bin/install -c [02:56:45.437] checking for tar... /usr/bin/tar [02:56:45.437] checking whether ln -s works... yes [02:56:45.437] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:56:45.438] checking for bison... /usr/bin/bison [02:56:45.440] configure: using bison (GNU Bison) 3.7.5 [02:56:45.441] checking for flex... /usr/bin/flex [02:56:45.448] configure: using flex 2.6.4 [02:56:45.448] checking for perl... /usr/bin/perl [02:56:45.450] configure: using perl 5.32.1 [02:56:45.451] checking for zic... /usr/sbin/zic [02:56:45.451] checking for a sed that does not truncate output... /usr/bin/sed [02:56:45.454] checking for grep that handles long lines and -e... /usr/bin/grep [02:56:45.455] checking for egrep... /usr/bin/grep -E [02:56:45.456] checking for ANSI C header files... yes [02:56:45.484] checking for sys/types.h... yes [02:56:45.493] checking for sys/stat.h... yes [02:56:45.514] checking for stdlib.h... yes [02:56:45.533] checking for string.h... yes [02:56:45.541] checking for memory.h... yes [02:56:45.561] checking for strings.h... yes [02:56:45.599] checking for inttypes.h... yes [02:56:45.638] checking for stdint.h... yes [02:56:45.675] checking for unistd.h... yes [02:56:45.685] checking for main in -lm... yes [02:56:45.712] checking for library containing setproctitle... no [02:56:45.764] checking for library containing dlsym... no [02:56:45.817] checking for library containing socket... -lws2_32 [02:56:45.897] checking for library containing getopt_long... none required [02:56:45.927] checking for library containing shm_open... no [02:56:45.979] checking for library containing shm_unlink... no [02:56:46.032] checking for library containing clock_gettime... no [02:56:46.085] checking for library containing shmget... no [02:56:46.137] checking for library containing backtrace_symbols... no [02:56:46.189] checking for library containing pthread_barrier_wait... -lpthread [02:56:46.244] checking for inflate in -lz... yes [02:56:46.272] checking for stdbool.h that conforms to C99... yes [02:56:46.278] checking for _Bool... yes [02:56:46.358] checking atomic.h usability... no [02:56:46.394] checking atomic.h presence... no [02:56:46.404] checking for atomic.h... no [02:56:46.406] checking copyfile.h usability... no [02:56:46.443] checking copyfile.h presence... no [02:56:46.455] checking for copyfile.h... no [02:56:46.458] checking execinfo.h usability... no [02:56:46.494] checking execinfo.h presence... no [02:56:46.506] checking for execinfo.h... no [02:56:46.508] checking getopt.h usability... yes [02:56:46.512] checking getopt.h presence... yes [02:56:46.521] checking for getopt.h... yes [02:56:46.526] checking ifaddrs.h usability... no [02:56:46.562] checking ifaddrs.h presence... no [02:56:46.573] checking for ifaddrs.h... no [02:56:46.575] checking langinfo.h usability... no [02:56:46.610] checking langinfo.h presence... no [02:56:46.620] checking for langinfo.h... no [02:56:46.622] checking mbarrier.h usability... no [02:56:46.658] checking mbarrier.h presence... no [02:56:46.670] checking for mbarrier.h... no [02:56:46.672] checking sys/epoll.h usability... no [02:56:46.708] checking sys/epoll.h presence... no [02:56:46.718] checking for sys/epoll.h... no [02:56:46.720] checking sys/event.h usability... no [02:56:46.756] checking sys/event.h presence... no [02:56:46.767] checking for sys/event.h... no [02:56:46.769] checking sys/personality.h usability... no [02:56:46.806] checking sys/personality.h presence... no [02:56:46.817] checking for sys/personality.h... no [02:56:46.819] checking sys/prctl.h usability... no [02:56:46.856] checking sys/prctl.h presence... no [02:56:46.866] checking for sys/prctl.h... no [02:56:46.869] checking sys/procctl.h usability... no [02:56:46.904] checking sys/procctl.h presence... no [02:56:46.914] checking for sys/procctl.h... no [02:56:46.916] checking sys/signalfd.h usability... no [02:56:46.952] checking sys/signalfd.h presence... no [02:56:46.963] checking for sys/signalfd.h... no [02:56:46.965] checking sys/ucred.h usability... no [02:56:47.002] checking sys/ucred.h presence... no [02:56:47.013] checking for sys/ucred.h... no [02:56:47.015] checking termios.h usability... no [02:56:47.051] checking termios.h presence... no [02:56:47.062] checking for termios.h... no [02:56:47.064] checking ucred.h usability... no [02:56:47.102] checking ucred.h presence... no [02:56:47.112] checking for ucred.h... no [02:56:47.114] checking zlib.h usability... yes [02:56:47.157] checking zlib.h presence... yes [02:56:47.169] checking for zlib.h... yes [02:56:47.169] checking for lz4... /usr/bin/lz4 [02:56:47.170] checking for zstd... /usr/bin/zstd [02:56:47.170] checking for openssl... /usr/bin/openssl [02:56:47.173] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [02:56:47.173] checking crtdefs.h usability... yes [02:56:47.177] checking crtdefs.h presence... yes [02:56:47.186] checking for crtdefs.h... yes [02:56:47.187] checking whether byte ordering is bigendian... no [02:56:47.251] checking for inline... inline [02:56:47.255] checking for printf format archetype... gnu_printf [02:56:47.278] checking for _Static_assert... yes [02:56:47.305] checking for typeof... typeof [02:56:47.309] checking for __builtin_types_compatible_p... yes [02:56:47.316] checking for __builtin_constant_p... yes [02:56:47.336] checking for __builtin_unreachable... yes [02:56:47.364] checking for computed goto support... yes [02:56:47.386] checking for struct tm.tm_zone... no [02:56:47.433] checking for union semun... no [02:56:47.452] checking for socklen_t... yes [02:56:48.250] checking for struct sockaddr.sa_len... no [02:56:49.577] checking for locale_t... no [02:56:49.615] checking for C/C++ restrict keyword... __restrict [02:56:49.622] checking for struct option... yes [02:56:49.665] checking whether assembler supports x86_64 popcntq... yes [02:56:49.669] checking size of off_t... 4 [02:56:49.818] 0 [02:56:49.819] checking size of bool... 1 [02:56:49.859] checking for int timezone... yes [02:56:49.889] checking for wcstombs_l declaration... no [02:56:49.937] checking for backtrace_symbols... no [02:56:49.967] checking for copyfile... no [02:56:49.997] checking for getifaddrs... no [02:56:50.027] checking for getpeerucred... no [02:56:50.057] checking for inet_pton... yes [02:56:50.087] checking for kqueue... no [02:56:50.117] checking for mbstowcs_l... no [02:56:50.147] checking for memset_s... no [02:56:50.177] checking for posix_fallocate... no [02:56:50.207] checking for ppoll... no [02:56:50.238] checking for pthread_is_threaded_np... no [02:56:50.268] checking for setproctitle... no [02:56:50.298] checking for setproctitle_fast... no [02:56:50.329] checking for strchrnul... no [02:56:50.360] checking for strsignal... no [02:56:50.396] checking for syncfs... no [02:56:50.429] checking for sync_file_range... no [02:56:50.461] checking for uselocale... no [02:56:50.494] checking for wcstombs_l... no [02:56:50.525] checking for __builtin_bswap16... yes [02:56:50.557] checking for __builtin_bswap32... yes [02:56:50.590] checking for __builtin_bswap64... yes [02:56:50.624] checking for __builtin_clz... yes [02:56:50.656] checking for __builtin_ctz... yes [02:56:50.686] checking for __builtin_popcount... yes [02:56:50.716] checking for __builtin_frame_address... yes [02:56:50.745] checking for _LARGEFILE_SOURCE value needed for large files... no [02:56:50.781] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:56:50.799] checking for posix_fadvise... no [02:56:50.831] checking whether posix_fadvise is declared... no [02:56:50.858] checking whether fdatasync is declared... no [02:56:50.885] checking whether strlcat is declared... no [02:56:50.925] checking whether strlcpy is declared... no [02:56:50.966] checking whether strnlen is declared... yes [02:56:51.013] checking whether preadv is declared... no [02:56:51.036] checking whether pwritev is declared... no [02:56:51.057] checking whether F_FULLFSYNC is declared... no [02:56:51.082] checking for explicit_bzero... no [02:56:51.113] checking for getopt... yes [02:56:51.142] checking for getpeereid... no [02:56:51.173] checking for inet_aton... no [02:56:51.203] checking for mkdtemp... no [02:56:51.233] checking for strlcat... no [02:56:51.266] checking for strlcpy... no [02:56:51.296] checking for strnlen... yes [02:56:51.327] checking for pthread_barrier_wait... yes [02:56:51.355] configure: On mingw32 we will use our strtof wrapper. [02:56:51.355] checking for getopt_long... yes [02:56:51.384] checking for _configthreadlocale... yes [02:56:51.412] checking for syslog... no [02:56:51.441] checking for opterr... yes [02:56:51.472] checking for optreset... no [02:56:51.504] checking test program... cross-compiling [02:56:51.504] checking whether long int is 64 bits... no [02:56:51.522] checking whether long long int is 64 bits... yes [02:56:51.532] checking for __builtin_mul_overflow... yes [02:56:51.559] checking size of void *... 8 [02:56:51.741] checking size of size_t... 8 [02:56:51.990] checking size of long... 4 [02:56:52.199] checking alignment of short... 2 [02:56:52.321] checking alignment of int... 4 [02:56:52.507] checking alignment of long... 4 [02:56:52.667] checking alignment of long long int... 8 [02:56:52.905] checking alignment of double... 8 [02:56:53.119] checking for int8... no [02:56:53.146] checking for uint8... no [02:56:53.170] checking for int64... no [02:56:53.195] checking for uint64... no [02:56:53.220] checking for __int128... yes [02:56:53.251] checking for __int128 alignment bug... assuming ok [02:56:53.251] checking alignment of PG_INT128_TYPE... 16 [02:56:53.623] checking for builtin __sync char locking functions... yes [02:56:53.650] checking for builtin __sync int32 locking functions... yes [02:56:53.676] checking for builtin __sync int32 atomic operations... yes [02:56:53.703] checking for builtin __sync int64 atomic operations... yes [02:56:53.729] checking for builtin __atomic int32 atomic operations... yes [02:56:53.755] checking for builtin __atomic int64 atomic operations... yes [02:56:53.782] checking for __get_cpuid... yes [02:56:53.809] checking for __cpuid... no [02:56:54.031] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [02:56:54.060] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [02:56:54.115] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:56:54.127] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:56:54.137] 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 [02:56:54.171] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:56:54.171] checking which random number source to use... Windows native [02:56:54.172] checking for xmllint... /usr/bin/xmllint [02:56:54.172] checking for xsltproc... /usr/bin/xsltproc [02:56:54.173] checking for fop... /usr/bin/fop [02:56:54.173] checking for dbtoepub... no [02:56:54.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:56:54.173] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:56:54.179] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [02:56:54.179] 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 [02:56:54.179] configure: using CPPFLAGS= -I./src/include/port/win32 [02:56:54.179] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:56:54.229] configure: creating ./config.status [02:56:54.274] config.status: creating GNUmakefile [02:56:54.281] config.status: creating src/Makefile.global [02:56:54.289] config.status: creating src/include/pg_config.h [02:56:54.296] config.status: creating src/include/pg_config_ext.h [02:56:54.302] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:56:54.310] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:56:54.314] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:56:54.318] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:56:54.321] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:56:54.325] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:56:54.327] config.status: executing check_win32_symlinks commands [02:56:54.349] [02:56:54.349] real 0m10.212s [02:56:54.349] user 0m7.662s [02:56:54.349] sys 0m2.122s [02:56:54.349] make -s -j${BUILD_JOBS} clean [02:56:54.695] time make -s -j${BUILD_JOBS} world-bin [02:58:00.412] createplan.c: In function ‘set_plan_forbid_pre_detoast_vars_recurse’: [02:58:00.412] createplan.c:410:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [02:58:00.412] 410 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [02:58:00.412] | ^~~~~~~~~~~ [02:58:00.412] createplan.c:399:60: note: shadowed declaration is here [02:58:00.412] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [02:58:00.412] | ~~~~~~^~~~~~~~~~~ [02:58:00.412] createplan.c:422:12: error: declaration of ‘small_tlist’ shadows a parameter [-Werror=shadow=compatible-local] [02:58:00.412] 422 | List *small_tlist = get_tlist_exprs(plan->lefttree->targetlist, true); [02:58:00.412] | ^~~~~~~~~~~ [02:58:00.412] createplan.c:399:60: note: shadowed declaration is here [02:58:00.412] 399 | set_plan_forbid_pre_detoast_vars_recurse(Plan *plan, List *small_tlist) [02:58:00.412] | ~~~~~~^~~~~~~~~~~ [02:58:00.412] cc1: all warnings being treated as errors [02:58:00.413] make[4]: *** [: createplan.o] Error 1 [02:58:00.413] make[3]: *** [../../../src/backend/common.mk:37: plan-recursive] Error 2 [02:58:00.413] make[2]: *** [common.mk:37: optimizer-recursive] Error 2 [02:58:00.413] make[2]: *** Waiting for unfinished jobs.... [02:58:06.615] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:58:06.615] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:58:06.615] [02:58:06.615] real 1m11.920s [02:58:06.615] user 4m7.550s [02:58:06.615] sys 0m29.376s [02:58:06.616] [02:58:06.616] Exit status: 2