[00:21:30.893] time ./configure \ [00:21:30.893] --host=x86_64-w64-mingw32 \ [00:21:30.893] --enable-cassert \ [00:21:30.893] --without-icu \ [00:21:30.893] CC="ccache x86_64-w64-mingw32-gcc" \ [00:21:30.893] CXX="ccache x86_64-w64-mingw32-g++" [00:21:30.982] checking build system type... x86_64-pc-linux-gnu [00:21:31.174] checking host system type... x86_64-w64-mingw32 [00:21:31.178] checking which template to use... win32 [00:21:31.179] checking whether NLS is wanted... no [00:21:31.179] checking for default port number... 5432 [00:21:31.184] checking for block size... 8kB [00:21:31.185] checking for segment size... 1GB [00:21:31.187] checking for WAL block size... 8kB [00:21:31.188] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:21:31.211] checking whether the C compiler works... yes [00:21:31.353] checking for C compiler default output file name... a.exe [00:21:31.354] checking for suffix of executables... .exe [00:21:31.384] checking whether we are cross compiling... yes [00:21:31.447] checking for suffix of object files... o [00:21:31.461] checking whether we are using the GNU C compiler... yes [00:21:31.466] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:21:31.505] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:21:31.524] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:21:31.640] checking whether we are using the GNU C++ compiler... yes [00:21:31.845] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:21:31.891] checking for gawk... no [00:21:31.891] checking for mawk... mawk [00:21:31.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:21:31.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:21:31.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:21:31.958] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:21:31.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:21:31.992] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:21:31.997] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:21:32.008] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:21:32.012] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:21:32.024] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:21:32.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:21:32.052] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:21:32.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:21:32.074] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:21:32.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:21:32.091] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:21:32.096] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:21:32.108] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:21:32.113] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:21:32.124] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:21:32.131] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:21:32.137] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:21:32.154] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:21:32.181] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:21:32.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:21:32.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:21:32.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:21:32.283] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:21:32.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:21:32.331] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:21:32.342] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:21:32.348] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:21:32.354] checking whether the C compiler still works... yes [00:21:32.413] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:21:32.458] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:21:32.458] checking pkg-config is at least version 0.9.0... yes [00:21:32.471] checking whether to build with ICU support... no [00:21:32.471] checking whether to build with Tcl... no [00:21:32.471] checking whether to build Perl modules... no [00:21:32.472] checking whether to build Python modules... no [00:21:32.472] checking whether to build with GSSAPI support... no [00:21:32.472] checking whether to build with PAM support... no [00:21:32.472] checking whether to build with BSD Authentication support... no [00:21:32.472] checking whether to build with LDAP support... no [00:21:32.473] checking whether to build with Bonjour support... no [00:21:32.473] checking whether to build with SELinux support... no [00:21:32.473] checking whether to build with systemd support... no [00:21:32.473] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:21:32.473] checking whether to build with XML support... no [00:21:32.473] checking whether to build with LZ4 support... no [00:21:32.473] checking whether to build with ZSTD support... no [00:21:32.474] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:21:32.474] checking whether it is possible to strip libraries... yes [00:21:32.481] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:21:32.482] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:21:32.482] checking for a BSD-compatible install... /usr/bin/install -c [00:21:32.487] checking for tar... /usr/bin/tar [00:21:32.487] checking whether ln -s works... yes [00:21:32.487] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:21:32.489] checking for bison... /usr/bin/bison [00:21:32.491] configure: using bison (GNU Bison) 3.7.5 [00:21:32.492] checking for flex... /usr/bin/flex [00:21:32.500] configure: using flex 2.6.4 [00:21:32.500] checking for perl... /usr/bin/perl [00:21:32.503] configure: using perl 5.32.1 [00:21:32.505] checking for zic... /usr/sbin/zic [00:21:32.505] checking for a sed that does not truncate output... /usr/bin/sed [00:21:32.509] checking for grep that handles long lines and -e... /usr/bin/grep [00:21:32.511] checking for egrep... /usr/bin/grep -E [00:21:32.512] checking for ANSI C header files... yes [00:21:32.581] checking for sys/types.h... yes [00:21:32.605] checking for sys/stat.h... yes [00:21:32.629] checking for stdlib.h... yes [00:21:32.671] checking for string.h... yes [00:21:32.680] checking for memory.h... yes [00:21:32.727] checking for strings.h... yes [00:21:32.738] checking for inttypes.h... yes [00:21:32.749] checking for stdint.h... yes [00:21:32.798] checking for unistd.h... yes [00:21:32.853] checking for main in -lm... yes [00:21:32.889] checking for library containing setproctitle... no [00:21:32.953] checking for library containing dlsym... no [00:21:33.017] checking for library containing socket... -lws2_32 [00:21:33.111] checking for library containing getopt_long... none required [00:21:33.146] checking for library containing shm_open... no [00:21:33.208] checking for library containing shm_unlink... no [00:21:33.271] checking for library containing clock_gettime... no [00:21:33.332] checking for library containing shmget... no [00:21:33.396] checking for library containing backtrace_symbols... no [00:21:33.456] checking for library containing pthread_barrier_wait... -lpthread [00:21:33.518] checking for inflate in -lz... yes [00:21:33.552] checking for stdbool.h that conforms to C99... yes [00:21:33.559] checking for _Bool... yes [00:21:33.648] checking atomic.h usability... no [00:21:33.689] checking atomic.h presence... no [00:21:33.701] checking for atomic.h... no [00:21:33.704] checking copyfile.h usability... no [00:21:33.745] checking copyfile.h presence... no [00:21:33.757] checking for copyfile.h... no [00:21:33.760] checking execinfo.h usability... no [00:21:33.797] checking execinfo.h presence... no [00:21:33.808] checking for execinfo.h... no [00:21:33.809] checking getopt.h usability... yes [00:21:33.813] checking getopt.h presence... yes [00:21:33.822] checking for getopt.h... yes [00:21:33.825] checking ifaddrs.h usability... no [00:21:33.864] checking ifaddrs.h presence... no [00:21:33.876] checking for ifaddrs.h... no [00:21:33.878] checking langinfo.h usability... no [00:21:33.918] checking langinfo.h presence... no [00:21:33.929] checking for langinfo.h... no [00:21:33.931] checking mbarrier.h usability... no [00:21:33.969] checking mbarrier.h presence... no [00:21:33.980] checking for mbarrier.h... no [00:21:33.982] checking sys/epoll.h usability... no [00:21:34.019] checking sys/epoll.h presence... no [00:21:34.031] checking for sys/epoll.h... no [00:21:34.033] checking sys/event.h usability... no [00:21:34.072] checking sys/event.h presence... no [00:21:34.083] checking for sys/event.h... no [00:21:34.085] checking sys/personality.h usability... no [00:21:34.122] checking sys/personality.h presence... no [00:21:34.135] checking for sys/personality.h... no [00:21:34.137] checking sys/prctl.h usability... no [00:21:34.179] checking sys/prctl.h presence... no [00:21:34.190] checking for sys/prctl.h... no [00:21:34.192] checking sys/procctl.h usability... no [00:21:34.231] checking sys/procctl.h presence... no [00:21:34.242] checking for sys/procctl.h... no [00:21:34.245] checking sys/signalfd.h usability... no [00:21:34.287] checking sys/signalfd.h presence... no [00:21:34.299] checking for sys/signalfd.h... no [00:21:34.300] checking sys/ucred.h usability... no [00:21:34.338] checking sys/ucred.h presence... no [00:21:34.349] checking for sys/ucred.h... no [00:21:34.351] checking termios.h usability... no [00:21:34.394] checking termios.h presence... no [00:21:34.407] checking for termios.h... no [00:21:34.410] checking ucred.h usability... no [00:21:34.451] checking ucred.h presence... no [00:21:34.463] checking for ucred.h... no [00:21:34.465] checking zlib.h usability... yes [00:21:34.508] checking zlib.h presence... yes [00:21:34.523] checking for zlib.h... yes [00:21:34.523] checking for lz4... /usr/bin/lz4 [00:21:34.523] checking for zstd... /usr/bin/zstd [00:21:34.524] checking for openssl... /usr/bin/openssl [00:21:34.527] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [00:21:34.527] checking crtdefs.h usability... yes [00:21:34.571] checking crtdefs.h presence... yes [00:21:34.582] checking for crtdefs.h... yes [00:21:34.583] checking whether byte ordering is bigendian... no [00:21:34.655] checking for inline... inline [00:21:34.666] checking for printf format archetype... gnu_printf [00:21:34.692] checking for _Static_assert... yes [00:21:34.720] checking for typeof... typeof [00:21:34.730] checking for __builtin_types_compatible_p... yes [00:21:34.737] checking for __builtin_constant_p... yes [00:21:34.758] checking for __builtin_unreachable... yes [00:21:34.786] checking for computed goto support... yes [00:21:34.811] checking for struct tm.tm_zone... no [00:21:34.858] checking for union semun... no [00:21:34.878] checking for socklen_t... yes [00:21:36.521] checking for struct sockaddr.sa_len... no [00:21:38.089] checking for locale_t... no [00:21:38.133] checking for C/C++ restrict keyword... __restrict [00:21:38.147] checking for struct option... yes [00:21:38.197] checking whether assembler supports x86_64 popcntq... yes [00:21:38.209] checking size of off_t... 4 [00:21:38.440] 0 [00:21:38.440] checking size of bool... 1 [00:21:38.469] checking for int timezone... yes [00:21:38.505] checking for wcstombs_l declaration... no [00:21:38.567] checking for backtrace_symbols... no [00:21:38.603] checking for copyfile... no [00:21:38.642] checking for getifaddrs... no [00:21:38.678] checking for getpeerucred... no [00:21:38.712] checking for inet_pton... yes [00:21:38.749] checking for kqueue... no [00:21:38.785] checking for mbstowcs_l... no [00:21:38.822] checking for memset_s... no [00:21:38.861] checking for posix_fallocate... no [00:21:38.895] checking for ppoll... no [00:21:38.931] checking for pthread_is_threaded_np... no [00:21:38.970] checking for setproctitle... no [00:21:39.006] checking for setproctitle_fast... no [00:21:39.039] checking for strchrnul... no [00:21:39.076] checking for strsignal... no [00:21:39.125] checking for syncfs... no [00:21:39.179] checking for sync_file_range... no [00:21:39.216] checking for uselocale... no [00:21:39.255] checking for wcstombs_l... no [00:21:39.289] checking for __builtin_bswap16... yes [00:21:39.327] checking for __builtin_bswap32... yes [00:21:39.364] checking for __builtin_bswap64... yes [00:21:39.401] checking for __builtin_clz... yes [00:21:39.440] checking for __builtin_ctz... yes [00:21:39.477] checking for __builtin_popcount... yes [00:21:39.515] checking for __builtin_frame_address... yes [00:21:39.551] checking for _LARGEFILE_SOURCE value needed for large files... no [00:21:39.592] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:21:39.613] checking for posix_fadvise... no [00:21:39.648] checking whether posix_fadvise is declared... no [00:21:39.682] checking whether fdatasync is declared... no [00:21:39.715] checking whether strlcat is declared... no [00:21:39.763] checking whether strlcpy is declared... no [00:21:39.809] checking whether strnlen is declared... yes [00:21:39.832] checking whether preadv is declared... no [00:21:39.856] checking whether pwritev is declared... no [00:21:39.881] checking whether F_FULLFSYNC is declared... no [00:21:39.910] checking for explicit_bzero... no [00:21:39.944] checking for getopt... yes [00:21:39.979] checking for getpeereid... no [00:21:40.013] checking for inet_aton... no [00:21:40.049] checking for mkdtemp... no [00:21:40.082] checking for strlcat... no [00:21:40.116] checking for strlcpy... no [00:21:40.149] checking for strnlen... yes [00:21:40.184] checking for pthread_barrier_wait... yes [00:21:40.214] configure: On mingw32 we will use our strtof wrapper. [00:21:40.214] checking for getopt_long... yes [00:21:40.250] checking for _configthreadlocale... yes [00:21:40.288] checking for syslog... no [00:21:40.328] checking for opterr... yes [00:21:40.366] checking for optreset... no [00:21:40.403] checking test program... cross-compiling [00:21:40.403] checking whether long int is 64 bits... no [00:21:40.424] checking whether long long int is 64 bits... yes [00:21:40.429] checking for __builtin_mul_overflow... yes [00:21:40.460] checking size of void *... 8 [00:21:40.701] checking size of size_t... 8 [00:21:40.951] checking size of long... 4 [00:21:41.143] checking alignment of short... 2 [00:21:41.288] checking alignment of int... 4 [00:21:41.533] checking alignment of long... 4 [00:21:41.715] checking alignment of long long int... 8 [00:21:42.035] checking alignment of double... 8 [00:21:42.289] checking for int8... no [00:21:42.317] checking for uint8... no [00:21:42.345] checking for int64... no [00:21:42.373] checking for uint64... no [00:21:42.400] checking for __int128... yes [00:21:42.432] checking for __int128 alignment bug... assuming ok [00:21:42.432] checking alignment of PG_INT128_TYPE... 16 [00:21:42.817] checking for builtin __sync char locking functions... yes [00:21:42.848] checking for builtin __sync int32 locking functions... yes [00:21:42.878] checking for builtin __sync int32 atomic operations... yes [00:21:42.907] checking for builtin __sync int64 atomic operations... yes [00:21:42.936] checking for builtin __atomic int32 atomic operations... yes [00:21:42.966] checking for builtin __atomic int64 atomic operations... yes [00:21:42.996] checking for __get_cpuid... yes [00:21:43.028] checking for __cpuid... no [00:21:43.262] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:21:43.294] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:21:43.362] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:21:43.379] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:21:43.391] 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 [00:21:43.430] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:21:43.430] checking which random number source to use... Windows native [00:21:43.432] checking for xmllint... /usr/bin/xmllint [00:21:43.432] checking for xsltproc... /usr/bin/xsltproc [00:21:43.432] checking for fop... /usr/bin/fop [00:21:43.432] checking for dbtoepub... no [00:21:43.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:21:43.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:21:43.441] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [00:21:43.441] 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 [00:21:43.441] configure: using CPPFLAGS= -I./src/include/port/win32 [00:21:43.441] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:21:43.498] configure: creating ./config.status [00:21:43.548] config.status: creating GNUmakefile [00:21:43.555] config.status: creating src/Makefile.global [00:21:43.564] config.status: creating src/include/pg_config.h [00:21:43.573] config.status: creating src/include/pg_config_ext.h [00:21:43.582] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:21:43.592] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:21:43.596] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:21:43.601] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:21:43.606] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:21:43.611] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:21:43.613] config.status: executing check_win32_symlinks commands [00:21:43.638] [00:21:43.638] real 0m12.745s [00:21:43.638] user 0m9.464s [00:21:43.638] sys 0m2.875s [00:21:43.638] make -s -j${BUILD_JOBS} clean [00:21:44.020] time make -s -j${BUILD_JOBS} world-bin [00:22:46.353] postmaster.c:504:20: error: ‘CANCEL_KEY_LENGTH’ undeclared here (not in a function); did you mean ‘MAX_CANCEL_KEY_LENGTH’? [00:22:46.353] 504 | char MyCancelKey[CANCEL_KEY_LENGTH]; [00:22:46.353] | ^~~~~~~~~~~~~~~~~ [00:22:46.353] | MAX_CANCEL_KEY_LENGTH [00:22:46.353] postmaster.c: In function ‘restore_backend_variables’: [00:22:46.353] postmaster.c:6236:14: error: ‘MyCancelKey’ has an incomplete type ‘char[]’ [00:22:46.353] 6236 | MyCancelKey = param->MyCancelKey; [00:22:46.353] | ^ [00:22:46.354] make[3]: *** [: postmaster.o] Error 1 [00:22:46.354] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [00:22:46.354] make[2]: *** Waiting for unfinished jobs.... [00:22:55.707] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:22:55.708] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:22:55.708] [00:22:55.708] real 1m11.688s [00:22:55.708] user 4m1.769s [00:22:55.708] sys 0m30.847s [00:22:55.708] [00:22:55.708] Exit status: 2