[10:09:15.489] time ./configure \ [10:09:15.489] --host=x86_64-w64-mingw32 \ [10:09:15.489] --enable-cassert \ [10:09:15.489] --without-icu \ [10:09:15.489] CC="ccache x86_64-w64-mingw32-gcc" \ [10:09:15.489] CXX="ccache x86_64-w64-mingw32-g++" [10:09:15.583] checking build system type... x86_64-pc-linux-gnu [10:09:15.806] checking host system type... x86_64-w64-mingw32 [10:09:15.810] checking which template to use... win32 [10:09:15.811] checking whether NLS is wanted... no [10:09:15.811] checking for default port number... 5432 [10:09:15.817] checking for block size... 8kB [10:09:15.818] checking for segment size... 1GB [10:09:15.819] checking for WAL block size... 8kB [10:09:15.821] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:09:15.849] checking whether the C compiler works... yes [10:09:16.018] checking for C compiler default output file name... a.exe [10:09:16.019] checking for suffix of executables... .exe [10:09:16.068] checking whether we are cross compiling... yes [10:09:16.150] checking for suffix of object files... o [10:09:16.157] checking whether we are using the GNU C compiler... yes [10:09:16.163] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:09:16.169] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:09:16.177] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:09:16.239] checking whether we are using the GNU C++ compiler... yes [10:09:16.244] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:09:16.303] checking for gawk... no [10:09:16.303] checking for mawk... mawk [10:09:16.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:09:16.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:09:16.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:09:16.362] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:09:16.535] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:09:16.540] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:09:16.545] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:09:16.550] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:09:16.555] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:09:16.561] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:09:16.566] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:09:16.571] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:09:16.576] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:09:16.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:09:16.586] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:09:16.591] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:09:16.596] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:09:16.601] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:09:16.679] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:09:16.685] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:09:16.692] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:09:16.698] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:09:16.716] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:09:16.722] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:09:16.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:09:16.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:09:16.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:09:16.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:09:16.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:09:16.821] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:09:16.827] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:09:16.833] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:09:16.839] checking whether the C compiler still works... yes [10:09:16.894] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:09:16.955] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:09:16.955] checking pkg-config is at least version 0.9.0... yes [10:09:16.970] checking whether to build with ICU support... no [10:09:16.970] checking whether to build with Tcl... no [10:09:16.970] checking whether to build Perl modules... no [10:09:16.970] checking whether to build Python modules... no [10:09:16.970] checking whether to build with GSSAPI support... no [10:09:16.971] checking whether to build with PAM support... no [10:09:16.971] checking whether to build with BSD Authentication support... no [10:09:16.971] checking whether to build with LDAP support... no [10:09:16.971] checking whether to build with Bonjour support... no [10:09:16.971] checking whether to build with SELinux support... no [10:09:16.971] checking whether to build with systemd support... no [10:09:16.971] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:09:16.972] checking whether to build with XML support... no [10:09:16.972] checking whether to build with LZ4 support... no [10:09:16.972] checking whether to build with ZSTD support... no [10:09:16.972] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:09:16.973] checking whether it is possible to strip libraries... yes [10:09:16.980] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:09:16.980] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:09:16.981] checking for a BSD-compatible install... /usr/bin/install -c [10:09:16.987] checking for tar... /usr/bin/tar [10:09:16.987] checking whether ln -s works... yes [10:09:16.987] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:09:16.989] checking for bison... /usr/bin/bison [10:09:16.991] configure: using bison (GNU Bison) 3.7.5 [10:09:16.994] checking for flex... /usr/bin/flex [10:09:17.005] configure: using flex 2.6.4 [10:09:17.005] checking for perl... /usr/bin/perl [10:09:17.007] configure: using perl 5.32.1 [10:09:17.009] checking for zic... /usr/sbin/zic [10:09:17.009] checking for a sed that does not truncate output... /usr/bin/sed [10:09:17.013] checking for grep that handles long lines and -e... /usr/bin/grep [10:09:17.015] checking for egrep... /usr/bin/grep -E [10:09:17.017] checking for ANSI C header files... yes [10:09:17.053] checking for sys/types.h... yes [10:09:17.088] checking for sys/stat.h... yes [10:09:17.100] checking for stdlib.h... yes [10:09:17.111] checking for string.h... yes [10:09:17.121] checking for memory.h... yes [10:09:17.133] checking for strings.h... yes [10:09:17.187] checking for inttypes.h... yes [10:09:17.199] checking for stdint.h... yes [10:09:17.225] checking for unistd.h... yes [10:09:17.237] checking for main in -lm... yes [10:09:17.274] checking for library containing setproctitle... no [10:09:17.365] checking for library containing dlsym... no [10:09:17.437] checking for library containing socket... -lws2_32 [10:09:17.556] checking for library containing getopt_long... none required [10:09:17.603] checking for library containing shm_open... no [10:09:17.679] checking for library containing shm_unlink... no [10:09:17.752] checking for library containing clock_gettime... no [10:09:17.824] checking for library containing shmget... no [10:09:17.899] checking for library containing backtrace_symbols... no [10:09:17.974] checking for library containing pthread_barrier_wait... -lpthread [10:09:18.052] checking for inflate in -lz... yes [10:09:18.092] checking for stdbool.h that conforms to C99... yes [10:09:18.101] checking for _Bool... yes [10:09:18.160] checking atomic.h usability... no [10:09:18.208] checking atomic.h presence... no [10:09:18.222] checking for atomic.h... no [10:09:18.225] checking copyfile.h usability... no [10:09:18.273] checking copyfile.h presence... no [10:09:18.291] checking for copyfile.h... no [10:09:18.294] checking execinfo.h usability... no [10:09:18.342] checking execinfo.h presence... no [10:09:18.357] checking for execinfo.h... no [10:09:18.359] checking getopt.h usability... yes [10:09:18.381] checking getopt.h presence... yes [10:09:18.393] checking for getopt.h... yes [10:09:18.398] checking ifaddrs.h usability... no [10:09:18.443] checking ifaddrs.h presence... no [10:09:18.456] checking for ifaddrs.h... no [10:09:18.458] checking langinfo.h usability... no [10:09:18.497] checking langinfo.h presence... no [10:09:18.509] checking for langinfo.h... no [10:09:18.511] checking mbarrier.h usability... no [10:09:18.553] checking mbarrier.h presence... no [10:09:18.568] checking for mbarrier.h... no [10:09:18.571] checking sys/epoll.h usability... no [10:09:18.612] checking sys/epoll.h presence... no [10:09:18.627] checking for sys/epoll.h... no [10:09:18.630] checking sys/event.h usability... no [10:09:18.676] checking sys/event.h presence... no [10:09:18.689] checking for sys/event.h... no [10:09:18.692] checking sys/personality.h usability... no [10:09:18.745] checking sys/personality.h presence... no [10:09:18.760] checking for sys/personality.h... no [10:09:18.763] checking sys/prctl.h usability... no [10:09:18.808] checking sys/prctl.h presence... no [10:09:18.823] checking for sys/prctl.h... no [10:09:18.826] checking sys/procctl.h usability... no [10:09:18.871] checking sys/procctl.h presence... no [10:09:18.886] checking for sys/procctl.h... no [10:09:18.888] checking sys/signalfd.h usability... no [10:09:18.930] checking sys/signalfd.h presence... no [10:09:18.944] checking for sys/signalfd.h... no [10:09:18.946] checking sys/ucred.h usability... no [10:09:18.990] checking sys/ucred.h presence... no [10:09:19.005] checking for sys/ucred.h... no [10:09:19.008] checking termios.h usability... no [10:09:19.053] checking termios.h presence... no [10:09:19.066] checking for termios.h... no [10:09:19.069] checking ucred.h usability... no [10:09:19.113] checking ucred.h presence... no [10:09:19.127] checking for ucred.h... no [10:09:19.129] checking zlib.h usability... yes [10:09:19.184] checking zlib.h presence... yes [10:09:19.200] checking for zlib.h... yes [10:09:19.200] checking for lz4... /usr/bin/lz4 [10:09:19.200] checking for zstd... /usr/bin/zstd [10:09:19.201] checking for openssl... /usr/bin/openssl [10:09:19.205] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [10:09:19.205] checking crtdefs.h usability... yes [10:09:19.212] checking crtdefs.h presence... yes [10:09:19.224] checking for crtdefs.h... yes [10:09:19.225] checking whether byte ordering is bigendian... no [10:09:19.292] checking for inline... inline [10:09:19.298] checking for printf format archetype... gnu_printf [10:09:19.305] checking for _Static_assert... yes [10:09:19.341] checking for typeof... typeof [10:09:19.348] checking for __builtin_types_compatible_p... yes [10:09:19.357] checking for __builtin_constant_p... yes [10:09:19.367] checking for __builtin_unreachable... yes [10:09:19.403] checking for computed goto support... yes [10:09:19.409] checking for struct tm.tm_zone... no [10:09:19.479] checking for union semun... no [10:09:19.506] checking for socklen_t... yes [10:09:20.383] checking for struct sockaddr.sa_len... no [10:09:21.988] checking for locale_t... no [10:09:22.042] checking for C/C++ restrict keyword... __restrict [10:09:22.052] checking for struct option... yes [10:09:22.090] checking whether assembler supports x86_64 popcntq... yes [10:09:22.096] checking size of off_t... 4 [10:09:22.277] 0 [10:09:22.277] checking size of bool... 1 [10:09:22.321] checking for int timezone... yes [10:09:22.368] checking for wcstombs_l declaration... no [10:09:22.446] checking for backtrace_symbols... no [10:09:22.488] checking for copyfile... no [10:09:22.531] checking for copy_file_range... no [10:09:22.574] checking for getifaddrs... no [10:09:22.617] checking for getpeerucred... no [10:09:22.660] checking for inet_pton... yes [10:09:22.710] checking for kqueue... no [10:09:22.775] checking for mbstowcs_l... no [10:09:22.818] checking for memset_s... no [10:09:22.860] checking for posix_fallocate... no [10:09:22.902] checking for ppoll... no [10:09:22.945] checking for pthread_is_threaded_np... no [10:09:22.986] checking for setproctitle... no [10:09:23.028] checking for setproctitle_fast... no [10:09:23.068] checking for strchrnul... no [10:09:23.109] checking for strsignal... no [10:09:23.150] checking for syncfs... no [10:09:23.191] checking for sync_file_range... no [10:09:23.233] checking for uselocale... no [10:09:23.275] checking for wcstombs_l... no [10:09:23.314] checking for __builtin_bswap16... yes [10:09:23.352] checking for __builtin_bswap32... yes [10:09:23.388] checking for __builtin_bswap64... yes [10:09:23.425] checking for __builtin_clz... yes [10:09:23.465] checking for __builtin_ctz... yes [10:09:23.503] checking for __builtin_popcount... yes [10:09:23.540] checking for __builtin_frame_address... yes [10:09:23.582] checking for _LARGEFILE_SOURCE value needed for large files... no [10:09:23.628] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:09:23.651] checking for posix_fadvise... no [10:09:23.691] checking whether posix_fadvise is declared... no [10:09:23.725] checking whether fdatasync is declared... no [10:09:23.760] checking whether strlcat is declared... no [10:09:23.813] checking whether strlcpy is declared... no [10:09:23.865] checking whether strnlen is declared... yes [10:09:23.891] checking whether preadv is declared... no [10:09:23.921] checking whether pwritev is declared... no [10:09:23.952] checking whether F_FULLFSYNC is declared... no [10:09:23.988] checking for explicit_bzero... no [10:09:24.038] checking for getopt... yes [10:09:24.074] checking for getpeereid... no [10:09:24.113] checking for inet_aton... no [10:09:24.152] checking for mkdtemp... no [10:09:24.191] checking for strlcat... no [10:09:24.226] checking for strlcpy... no [10:09:24.262] checking for strnlen... yes [10:09:24.302] checking for pthread_barrier_wait... yes [10:09:24.341] configure: On mingw32 we will use our strtof wrapper. [10:09:24.341] checking for getopt_long... yes [10:09:24.377] checking for _configthreadlocale... yes [10:09:24.411] checking for syslog... no [10:09:24.451] checking for opterr... yes [10:09:24.493] checking for optreset... no [10:09:24.534] checking test program... cross-compiling [10:09:24.534] checking whether long int is 64 bits... no [10:09:24.560] checking whether long long int is 64 bits... yes [10:09:24.575] checking for __builtin_mul_overflow... yes [10:09:24.614] checking size of void *... 8 [10:09:24.850] checking size of size_t... 8 [10:09:25.085] checking size of long... 4 [10:09:25.267] checking alignment of short... 2 [10:09:25.391] checking alignment of int... 4 [10:09:25.566] checking alignment of long... 4 [10:09:25.731] checking alignment of long long int... 8 [10:09:25.992] checking alignment of double... 8 [10:09:26.233] checking for int8... no [10:09:26.268] checking for uint8... no [10:09:26.301] checking for int64... no [10:09:26.337] checking for uint64... no [10:09:26.371] checking for __int128... yes [10:09:26.411] checking for __int128 alignment bug... assuming ok [10:09:26.411] checking alignment of PG_INT128_TYPE... 16 [10:09:26.710] checking for builtin __sync char locking functions... yes [10:09:26.747] checking for builtin __sync int32 locking functions... yes [10:09:26.783] checking for builtin __sync int32 atomic operations... yes [10:09:26.819] checking for builtin __sync int64 atomic operations... yes [10:09:26.855] checking for builtin __atomic int32 atomic operations... yes [10:09:26.888] checking for builtin __atomic int64 atomic operations... yes [10:09:26.924] checking for __get_cpuid... yes [10:09:26.965] checking for __cpuid... no [10:09:27.217] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [10:09:27.252] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [10:09:27.321] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:09:27.339] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:09:27.353] 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 [10:09:27.395] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:09:27.396] checking which random number source to use... Windows native [10:09:27.397] checking for xmllint... /usr/bin/xmllint [10:09:27.398] checking for xsltproc... /usr/bin/xsltproc [10:09:27.398] checking for fop... /usr/bin/fop [10:09:27.398] checking for dbtoepub... no [10:09:27.398] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:09:27.399] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:09:27.407] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [10:09:27.408] 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 [10:09:27.408] configure: using CPPFLAGS= -I./src/include/port/win32 [10:09:27.408] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:09:27.484] configure: creating ./config.status [10:09:27.543] config.status: creating GNUmakefile [10:09:27.552] config.status: creating src/Makefile.global [10:09:27.562] config.status: creating src/include/pg_config.h [10:09:27.571] config.status: creating src/include/pg_config_ext.h [10:09:27.579] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:09:27.589] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:09:27.595] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:09:27.600] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:09:27.605] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:09:27.610] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:09:27.613] config.status: executing check_win32_symlinks commands [10:09:27.641] [10:09:27.641] real 0m12.153s [10:09:27.641] user 0m8.416s [10:09:27.641] sys 0m3.261s [10:09:27.641] make -s -j${BUILD_JOBS} clean [10:09:28.061] time make -s -j${BUILD_JOBS} world-bin [10:09:51.767] launch_backend.c: In function ‘SubPostmasterMain’: [10:09:51.767] launch_backend.c:557:2: error: unknown type name ‘PostmasterChildType’; did you mean ‘PostmasterIsAlive’? [10:09:51.767] 557 | PostmasterChildType child_type; [10:09:51.767] | ^~~~~~~~~~~~~~~~~~~ [10:09:51.767] | PostmasterIsAlive [10:09:51.767] launch_backend.c:592:37: error: ‘PMC_SYSLOGGER’ undeclared (first use in this function) [10:09:51.767] 592 | ClosePostmasterPorts(child_type == PMC_SYSLOGGER); [10:09:51.767] | ^~~~~~~~~~~~~ [10:09:51.767] launch_backend.c:592:37: note: each undeclared identifier is reported only once for each function it appears in [10:09:51.767] make[3]: *** [: launch_backend.o] Error 1 [10:09:51.767] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [10:09:51.767] make[2]: *** Waiting for unfinished jobs.... [10:09:54.641] slotsync.c: In function ‘slotsyncworker_forkexec’: [10:09:54.641] slotsync.c:1359:9: error: implicit declaration of function ‘postmaster_forkexec’ [-Werror=implicit-function-declaration] [10:09:54.641] 1359 | return postmaster_forkexec(ac, av); [10:09:54.641] | ^~~~~~~~~~~~~~~~~~~ [10:09:54.641] cc1: all warnings being treated as errors [10:09:54.642] make[4]: *** [: slotsync.o] Error 1 [10:09:54.642] make[4]: *** Waiting for unfinished jobs.... [10:09:55.123] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [10:09:55.124] make[2]: *** [common.mk:37: replication-recursive] Error 2 [10:09:59.884] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:09:59.884] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:09:59.884] [10:09:59.884] real 0m31.823s [10:09:59.884] user 1m42.480s [10:09:59.884] sys 0m14.815s [10:09:59.884] [10:09:59.884] Exit status: 2