[09:40:28.286] time ./configure \ [09:40:28.286] --host=x86_64-w64-mingw32 \ [09:40:28.286] --enable-cassert \ [09:40:28.286] --without-icu \ [09:40:28.286] CC="ccache x86_64-w64-mingw32-gcc" \ [09:40:28.286] CXX="ccache x86_64-w64-mingw32-g++" [09:40:28.343] checking build system type... x86_64-pc-linux-gnu [09:40:28.491] checking host system type... x86_64-w64-mingw32 [09:40:28.494] checking which template to use... win32 [09:40:28.495] checking whether NLS is wanted... no [09:40:28.495] checking for default port number... 5432 [09:40:28.498] checking for block size... 8kB [09:40:28.499] checking for segment size... 1GB [09:40:28.500] checking for WAL block size... 8kB [09:40:28.501] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:40:28.518] checking whether the C compiler works... yes [09:40:28.634] checking for C compiler default output file name... a.exe [09:40:28.634] checking for suffix of executables... .exe [09:40:28.659] checking whether we are cross compiling... yes [09:40:28.707] checking for suffix of object files... o [09:40:28.711] checking whether we are using the GNU C compiler... yes [09:40:28.720] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:40:28.723] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:40:28.729] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:40:28.778] checking whether we are using the GNU C++ compiler... yes [09:40:28.781] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:40:28.814] checking for gawk... no [09:40:28.814] checking for mawk... mawk [09:40:28.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:40:28.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:40:28.837] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:40:28.863] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:40:28.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:40:28.995] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:40:28.999] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:40:29.008] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:40:29.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:40:29.015] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:40:29.074] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:40:29.077] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:40:29.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:40:29.084] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:40:29.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:40:29.096] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:40:29.104] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:40:29.112] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:40:29.120] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:40:29.139] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:40:29.142] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:40:29.160] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:40:29.171] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:40:29.174] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:40:29.177] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:40:29.197] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:40:29.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:40:29.220] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:40:29.228] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:40:29.246] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:40:29.254] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:40:29.273] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:40:29.277] checking whether the C compiler still works... yes [09:40:29.316] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:40:29.352] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:40:29.352] checking pkg-config is at least version 0.9.0... yes [09:40:29.363] checking whether to build with ICU support... no [09:40:29.364] checking whether to build with Tcl... no [09:40:29.364] checking whether to build Perl modules... no [09:40:29.364] checking whether to build Python modules... no [09:40:29.364] checking whether to build with GSSAPI support... no [09:40:29.364] checking whether to build with PAM support... no [09:40:29.364] checking whether to build with BSD Authentication support... no [09:40:29.364] checking whether to build with LDAP support... no [09:40:29.365] checking whether to build with Bonjour support... no [09:40:29.365] checking whether to build with SELinux support... no [09:40:29.365] checking whether to build with systemd support... no [09:40:29.365] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:40:29.365] checking whether to build with XML support... no [09:40:29.365] checking whether to build with LZ4 support... no [09:40:29.365] checking whether to build with ZSTD support... no [09:40:29.365] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:40:29.366] checking whether it is possible to strip libraries... yes [09:40:29.371] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:40:29.371] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:40:29.371] checking for a BSD-compatible install... /usr/bin/install -c [09:40:29.376] checking for tar... /usr/bin/tar [09:40:29.376] checking whether ln -s works... yes [09:40:29.376] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:40:29.377] checking for bison... /usr/bin/bison [09:40:29.378] configure: using bison (GNU Bison) 3.7.5 [09:40:29.380] checking for flex... /usr/bin/flex [09:40:29.386] configure: using flex 2.6.4 [09:40:29.386] checking for perl... /usr/bin/perl [09:40:29.388] configure: using perl 5.32.1 [09:40:29.389] checking for zic... /usr/sbin/zic [09:40:29.389] checking for a sed that does not truncate output... /usr/bin/sed [09:40:29.393] checking for grep that handles long lines and -e... /usr/bin/grep [09:40:29.394] checking for egrep... /usr/bin/grep -E [09:40:29.395] checking for ANSI C header files... yes [09:40:29.422] checking for sys/types.h... yes [09:40:29.431] checking for sys/stat.h... yes [09:40:29.439] checking for stdlib.h... yes [09:40:29.445] checking for string.h... yes [09:40:29.452] checking for memory.h... yes [09:40:29.471] checking for strings.h... yes [09:40:29.479] checking for inttypes.h... yes [09:40:29.487] checking for stdint.h... yes [09:40:29.493] checking for unistd.h... yes [09:40:29.501] checking for main in -lm... yes [09:40:29.527] checking for library containing setproctitle... no [09:40:29.578] checking for library containing dlsym... no [09:40:29.627] checking for library containing socket... -lws2_32 [09:40:29.701] checking for library containing getopt_long... none required [09:40:29.729] checking for library containing shm_open... no [09:40:29.778] checking for library containing shm_unlink... no [09:40:29.825] checking for library containing clock_gettime... no [09:40:29.886] checking for library containing shmget... no [09:40:29.934] checking for library containing backtrace_symbols... no [09:40:29.983] checking for library containing pthread_barrier_wait... -lpthread [09:40:30.038] checking for inflate in -lz... yes [09:40:30.065] checking for stdbool.h that conforms to C99... yes [09:40:30.076] checking for _Bool... yes [09:40:30.118] checking atomic.h usability... no [09:40:30.151] checking atomic.h presence... no [09:40:30.161] checking for atomic.h... no [09:40:30.162] checking copyfile.h usability... no [09:40:30.195] checking copyfile.h presence... no [09:40:30.205] checking for copyfile.h... no [09:40:30.206] checking execinfo.h usability... no [09:40:30.238] checking execinfo.h presence... no [09:40:30.247] checking for execinfo.h... no [09:40:30.249] checking getopt.h usability... yes [09:40:30.253] checking getopt.h presence... yes [09:40:30.260] checking for getopt.h... yes [09:40:30.264] checking ifaddrs.h usability... no [09:40:30.296] checking ifaddrs.h presence... no [09:40:30.305] checking for ifaddrs.h... no [09:40:30.306] checking langinfo.h usability... no [09:40:30.340] checking langinfo.h presence... no [09:40:30.350] checking for langinfo.h... no [09:40:30.352] checking mbarrier.h usability... no [09:40:30.385] checking mbarrier.h presence... no [09:40:30.394] checking for mbarrier.h... no [09:40:30.396] checking sys/epoll.h usability... no [09:40:30.428] checking sys/epoll.h presence... no [09:40:30.437] checking for sys/epoll.h... no [09:40:30.439] checking sys/event.h usability... no [09:40:30.472] checking sys/event.h presence... no [09:40:30.481] checking for sys/event.h... no [09:40:30.483] checking sys/personality.h usability... no [09:40:30.516] checking sys/personality.h presence... no [09:40:30.525] checking for sys/personality.h... no [09:40:30.527] checking sys/prctl.h usability... no [09:40:30.560] checking sys/prctl.h presence... no [09:40:30.570] checking for sys/prctl.h... no [09:40:30.572] checking sys/procctl.h usability... no [09:40:30.604] checking sys/procctl.h presence... no [09:40:30.614] checking for sys/procctl.h... no [09:40:30.615] checking sys/signalfd.h usability... no [09:40:30.648] checking sys/signalfd.h presence... no [09:40:30.657] checking for sys/signalfd.h... no [09:40:30.659] checking sys/ucred.h usability... no [09:40:30.691] checking sys/ucred.h presence... no [09:40:30.700] checking for sys/ucred.h... no [09:40:30.702] checking termios.h usability... no [09:40:30.734] checking termios.h presence... no [09:40:30.743] checking for termios.h... no [09:40:30.745] checking ucred.h usability... no [09:40:30.778] checking ucred.h presence... no [09:40:30.787] checking for ucred.h... no [09:40:30.788] checking zlib.h usability... yes [09:40:30.795] checking zlib.h presence... yes [09:40:30.807] checking for zlib.h... yes [09:40:30.807] checking for lz4... /usr/bin/lz4 [09:40:30.807] checking for zstd... /usr/bin/zstd [09:40:30.807] checking for openssl... /usr/bin/openssl [09:40:30.810] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [09:40:30.810] checking crtdefs.h usability... yes [09:40:30.814] checking crtdefs.h presence... yes [09:40:30.822] checking for crtdefs.h... yes [09:40:30.822] checking whether byte ordering is bigendian... no [09:40:30.877] checking for inline... inline [09:40:30.892] checking for printf format archetype... gnu_printf [09:40:30.902] checking for _Static_assert... yes [09:40:30.926] checking for typeof... typeof [09:40:30.929] checking for __builtin_types_compatible_p... yes [09:40:30.935] checking for __builtin_constant_p... yes [09:40:30.945] checking for __builtin_unreachable... yes [09:40:30.969] checking for computed goto support... yes [09:40:30.972] checking for struct tm.tm_zone... no [09:40:31.015] checking for union semun... no [09:40:31.032] checking for socklen_t... yes [09:40:31.762] checking for struct sockaddr.sa_len... no [09:40:33.015] checking for locale_t... no [09:40:33.052] checking for C/C++ restrict keyword... __restrict [09:40:33.075] checking for struct option... yes [09:40:33.097] checking whether assembler supports x86_64 popcntq... yes [09:40:33.100] checking size of off_t... 4 [09:40:33.259] 0 [09:40:33.259] checking size of bool... 1 [09:40:33.282] checking for int timezone... yes [09:40:33.311] checking for wcstombs_l declaration... no [09:40:33.356] checking for backtrace_symbols... no [09:40:33.383] checking for copyfile... no [09:40:33.411] checking for getifaddrs... no [09:40:33.439] checking for getpeerucred... no [09:40:33.466] checking for inet_pton... yes [09:40:33.495] checking for kqueue... no [09:40:33.523] checking for mbstowcs_l... no [09:40:33.551] checking for memset_s... no [09:40:33.584] checking for posix_fallocate... no [09:40:33.614] checking for ppoll... no [09:40:33.643] checking for pthread_is_threaded_np... no [09:40:33.671] checking for setproctitle... no [09:40:33.699] checking for setproctitle_fast... no [09:40:33.727] checking for strchrnul... no [09:40:33.755] checking for strsignal... no [09:40:33.783] checking for syncfs... no [09:40:33.811] checking for sync_file_range... no [09:40:33.839] checking for uselocale... no [09:40:33.868] checking for wcstombs_l... no [09:40:33.895] checking for __builtin_bswap16... yes [09:40:33.924] checking for __builtin_bswap32... yes [09:40:33.952] checking for __builtin_bswap64... yes [09:40:33.979] checking for __builtin_clz... yes [09:40:34.007] checking for __builtin_ctz... yes [09:40:34.037] checking for __builtin_popcount... yes [09:40:34.066] checking for __builtin_frame_address... yes [09:40:34.093] checking for _LARGEFILE_SOURCE value needed for large files... no [09:40:34.129] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:40:34.145] checking for posix_fadvise... no [09:40:34.173] checking whether posix_fadvise is declared... no [09:40:34.198] checking whether fdatasync is declared... no [09:40:34.223] checking whether strlcat is declared... no [09:40:34.260] checking whether strlcpy is declared... no [09:40:34.297] checking whether strnlen is declared... yes [09:40:34.304] checking whether preadv is declared... no [09:40:34.322] checking whether pwritev is declared... no [09:40:34.340] checking whether F_FULLFSYNC is declared... no [09:40:34.361] checking for explicit_bzero... no [09:40:34.391] checking for getopt... yes [09:40:34.420] checking for getpeereid... no [09:40:34.447] checking for inet_aton... no [09:40:34.474] checking for mkdtemp... no [09:40:34.502] checking for strlcat... no [09:40:34.529] checking for strlcpy... no [09:40:34.555] checking for strnlen... yes [09:40:34.585] checking for pthread_barrier_wait... yes [09:40:34.612] configure: On mingw32 we will use our strtof wrapper. [09:40:34.612] checking for getopt_long... yes [09:40:34.639] checking for _configthreadlocale... yes [09:40:34.665] checking for syslog... no [09:40:34.692] checking for opterr... yes [09:40:34.720] checking for optreset... no [09:40:34.750] checking test program... cross-compiling [09:40:34.750] checking whether long int is 64 bits... no [09:40:34.766] checking whether long long int is 64 bits... yes [09:40:34.787] checking for __builtin_mul_overflow... yes [09:40:34.813] checking size of void *... 8 [09:40:35.024] checking size of size_t... 8 [09:40:35.273] checking size of long... 4 [09:40:35.457] checking alignment of short... 2 [09:40:35.617] checking alignment of int... 4 [09:40:35.787] checking alignment of long... 4 [09:40:35.946] checking alignment of long long int... 8 [09:40:36.108] checking alignment of double... 8 [09:40:36.330] checking for int8... no [09:40:36.355] checking for uint8... no [09:40:36.379] checking for int64... no [09:40:36.402] checking for uint64... no [09:40:36.425] checking for __int128... yes [09:40:36.454] checking for __int128 alignment bug... assuming ok [09:40:36.454] checking alignment of PG_INT128_TYPE... 16 [09:40:36.712] checking for builtin __sync char locking functions... yes [09:40:36.737] checking for builtin __sync int32 locking functions... yes [09:40:36.762] checking for builtin __sync int32 atomic operations... yes [09:40:36.787] checking for builtin __sync int64 atomic operations... yes [09:40:36.812] checking for builtin __atomic int32 atomic operations... yes [09:40:36.837] checking for builtin __atomic int64 atomic operations... yes [09:40:36.863] checking for __get_cpuid... yes [09:40:36.891] checking for __cpuid... no [09:40:37.100] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:40:37.128] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:40:37.179] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:40:37.190] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:40:37.199] 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 [09:40:37.230] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:40:37.231] checking which random number source to use... Windows native [09:40:37.232] checking for xmllint... /usr/bin/xmllint [09:40:37.232] checking for xsltproc... /usr/bin/xsltproc [09:40:37.232] checking for fop... /usr/bin/fop [09:40:37.232] checking for dbtoepub... no [09:40:37.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:40:37.233] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:40:37.238] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [09:40:37.238] 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 [09:40:37.238] configure: using CPPFLAGS= -I./src/include/port/win32 [09:40:37.238] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:40:37.284] configure: creating ./config.status [09:40:37.325] config.status: creating GNUmakefile [09:40:37.331] config.status: creating src/Makefile.global [09:40:37.339] config.status: creating src/include/pg_config.h [09:40:37.345] config.status: creating src/include/pg_config_ext.h [09:40:37.351] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:40:37.359] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:40:37.362] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:40:37.366] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:40:37.369] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:40:37.373] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:40:37.374] config.status: executing check_win32_symlinks commands [09:40:37.395] [09:40:37.395] real 0m9.108s [09:40:37.395] user 0m6.897s [09:40:37.395] sys 0m1.863s [09:40:37.395] make -s -j${BUILD_JOBS} clean [09:40:37.715] time make -s -j${BUILD_JOBS} world-bin [09:41:21.814] launch_backend.c: In function ‘SubPostmasterMain’: [09:41:21.814] launch_backend.c:553:2: error: unknown type name ‘PostmasterChildType’; did you mean ‘PostmasterIsAlive’? [09:41:21.814] 553 | PostmasterChildType child_type; [09:41:21.814] | ^~~~~~~~~~~~~~~~~~~ [09:41:21.814] | PostmasterIsAlive [09:41:21.814] launch_backend.c:588:37: error: ‘PMC_SYSLOGGER’ undeclared (first use in this function) [09:41:21.814] 588 | ClosePostmasterPorts(child_type == PMC_SYSLOGGER); [09:41:21.814] | ^~~~~~~~~~~~~ [09:41:21.814] launch_backend.c:588:37: note: each undeclared identifier is reported only once for each function it appears in [09:41:21.815] make[3]: *** [: launch_backend.o] Error 1 [09:41:21.815] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [09:41:21.815] make[2]: *** Waiting for unfinished jobs.... [09:41:23.423] slotsync.c: In function ‘slotsyncworker_forkexec’: [09:41:23.423] slotsync.c:1348:9: error: implicit declaration of function ‘postmaster_forkexec’ [-Werror=implicit-function-declaration] [09:41:23.423] 1348 | return postmaster_forkexec(ac, av); [09:41:23.423] | ^~~~~~~~~~~~~~~~~~~ [09:41:23.423] cc1: all warnings being treated as errors [09:41:23.423] make[4]: *** [: slotsync.o] Error 1 [09:41:23.423] make[4]: *** Waiting for unfinished jobs.... [09:41:23.823] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [09:41:23.823] make[3]: *** Waiting for unfinished jobs.... [09:41:24.177] make[2]: *** [common.mk:37: replication-recursive] Error 2 [09:41:27.631] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:41:27.631] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:41:27.632] [09:41:27.632] real 0m49.916s [09:41:27.632] user 2m49.841s [09:41:27.632] sys 0m20.183s [09:41:27.632] [09:41:27.632] Exit status: 2