[08:12:00.656] time ./configure \ [08:12:00.656] --host=x86_64-w64-mingw32 \ [08:12:00.656] --enable-cassert \ [08:12:00.656] --without-icu \ [08:12:00.656] CC="ccache x86_64-w64-mingw32-gcc" \ [08:12:00.656] CXX="ccache x86_64-w64-mingw32-g++" [08:12:00.723] checking build system type... x86_64-pc-linux-gnu [08:12:00.904] checking host system type... x86_64-w64-mingw32 [08:12:00.908] checking which template to use... win32 [08:12:00.908] checking whether NLS is wanted... no [08:12:00.908] checking for default port number... 5432 [08:12:00.912] checking for block size... 8kB [08:12:00.913] checking for segment size... 1GB [08:12:00.914] checking for WAL block size... 8kB [08:12:00.915] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:12:00.936] checking whether the C compiler works... yes [08:12:01.077] checking for C compiler default output file name... a.exe [08:12:01.078] checking for suffix of executables... .exe [08:12:01.107] checking whether we are cross compiling... yes [08:12:01.165] checking for suffix of object files... o [08:12:01.169] checking whether we are using the GNU C compiler... yes [08:12:01.173] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:12:01.197] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:12:01.204] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:12:01.323] checking whether we are using the GNU C++ compiler... yes [08:12:01.516] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:12:01.557] checking for gawk... no [08:12:01.557] checking for mawk... mawk [08:12:01.559] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:12:01.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:12:01.572] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:12:01.603] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:12:01.630] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:12:01.640] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:12:01.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:12:01.653] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:12:01.657] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:12:01.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:12:01.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:12:01.669] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:12:01.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:12:01.676] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:12:01.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:12:01.702] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:12:01.725] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:12:01.747] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:12:01.769] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:12:01.791] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:12:01.795] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:12:01.819] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:12:01.835] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:12:01.839] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:12:01.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:12:01.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:12:01.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:12:01.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:12:01.903] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:12:01.926] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:12:01.931] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:12:01.935] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:12:01.941] checking whether the C compiler still works... yes [08:12:01.998] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:12:02.045] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:12:02.046] checking pkg-config is at least version 0.9.0... yes [08:12:02.059] checking whether to build with ICU support... no [08:12:02.059] checking whether to build with Tcl... no [08:12:02.060] checking whether to build Perl modules... no [08:12:02.060] checking whether to build Python modules... no [08:12:02.060] checking whether to build with GSSAPI support... no [08:12:02.060] checking whether to build with PAM support... no [08:12:02.061] checking whether to build with BSD Authentication support... no [08:12:02.061] checking whether to build with LDAP support... no [08:12:02.061] checking whether to build with Bonjour support... no [08:12:02.061] checking whether to build with SELinux support... no [08:12:02.061] checking whether to build with systemd support... no [08:12:02.061] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:12:02.061] checking whether to build with XML support... no [08:12:02.061] checking whether to build with LZ4 support... no [08:12:02.062] checking whether to build with ZSTD support... no [08:12:02.062] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:12:02.062] checking whether it is possible to strip libraries... yes [08:12:02.069] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:12:02.070] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:12:02.070] checking for a BSD-compatible install... /usr/bin/install -c [08:12:02.076] checking for tar... /usr/bin/tar [08:12:02.076] checking whether ln -s works... yes [08:12:02.076] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:12:02.077] checking for bison... /usr/bin/bison [08:12:02.079] configure: using bison (GNU Bison) 3.7.5 [08:12:02.081] checking for flex... /usr/bin/flex [08:12:02.090] configure: using flex 2.6.4 [08:12:02.090] checking for perl... /usr/bin/perl [08:12:02.092] configure: using perl 5.32.1 [08:12:02.094] checking for zic... /usr/sbin/zic [08:12:02.094] checking for a sed that does not truncate output... /usr/bin/sed [08:12:02.098] checking for grep that handles long lines and -e... /usr/bin/grep [08:12:02.099] checking for egrep... /usr/bin/grep -E [08:12:02.101] checking for ANSI C header files... yes [08:12:02.167] checking for sys/types.h... yes [08:12:02.211] checking for sys/stat.h... yes [08:12:02.254] checking for stdlib.h... yes [08:12:02.296] checking for string.h... yes [08:12:02.306] checking for memory.h... yes [08:12:02.348] checking for strings.h... yes [08:12:02.370] checking for inttypes.h... yes [08:12:02.413] checking for stdint.h... yes [08:12:02.422] checking for unistd.h... yes [08:12:02.432] checking for main in -lm... yes [08:12:02.463] checking for library containing setproctitle... no [08:12:02.521] checking for library containing dlsym... no [08:12:02.580] checking for library containing socket... -lws2_32 [08:12:02.670] checking for library containing getopt_long... none required [08:12:02.704] checking for library containing shm_open... no [08:12:02.762] checking for library containing shm_unlink... no [08:12:02.819] checking for library containing clock_gettime... no [08:12:02.886] checking for library containing shmget... no [08:12:02.944] checking for library containing backtrace_symbols... no [08:12:03.000] checking for library containing pthread_barrier_wait... -lpthread [08:12:03.060] checking for inflate in -lz... yes [08:12:03.093] checking for stdbool.h that conforms to C99... yes [08:12:03.106] checking for _Bool... yes [08:12:03.189] checking atomic.h usability... no [08:12:03.226] checking atomic.h presence... no [08:12:03.236] checking for atomic.h... no [08:12:03.238] checking copyfile.h usability... no [08:12:03.276] checking copyfile.h presence... no [08:12:03.287] checking for copyfile.h... no [08:12:03.289] checking execinfo.h usability... no [08:12:03.327] checking execinfo.h presence... no [08:12:03.337] checking for execinfo.h... no [08:12:03.339] checking getopt.h usability... yes [08:12:03.377] checking getopt.h presence... yes [08:12:03.387] checking for getopt.h... yes [08:12:03.391] checking ifaddrs.h usability... no [08:12:03.428] checking ifaddrs.h presence... no [08:12:03.438] checking for ifaddrs.h... no [08:12:03.440] checking langinfo.h usability... no [08:12:03.477] checking langinfo.h presence... no [08:12:03.488] checking for langinfo.h... no [08:12:03.490] checking mbarrier.h usability... no [08:12:03.527] checking mbarrier.h presence... no [08:12:03.538] checking for mbarrier.h... no [08:12:03.540] checking sys/epoll.h usability... no [08:12:03.576] checking sys/epoll.h presence... no [08:12:03.587] checking for sys/epoll.h... no [08:12:03.589] checking sys/event.h usability... no [08:12:03.626] checking sys/event.h presence... no [08:12:03.636] checking for sys/event.h... no [08:12:03.638] checking sys/personality.h usability... no [08:12:03.674] checking sys/personality.h presence... no [08:12:03.685] checking for sys/personality.h... no [08:12:03.687] checking sys/prctl.h usability... no [08:12:03.723] checking sys/prctl.h presence... no [08:12:03.734] checking for sys/prctl.h... no [08:12:03.735] checking sys/procctl.h usability... no [08:12:03.772] checking sys/procctl.h presence... no [08:12:03.783] checking for sys/procctl.h... no [08:12:03.785] checking sys/signalfd.h usability... no [08:12:03.822] checking sys/signalfd.h presence... no [08:12:03.832] checking for sys/signalfd.h... no [08:12:03.834] checking sys/ucred.h usability... no [08:12:03.870] checking sys/ucred.h presence... no [08:12:03.881] checking for sys/ucred.h... no [08:12:03.882] checking termios.h usability... no [08:12:03.919] checking termios.h presence... no [08:12:03.930] checking for termios.h... no [08:12:03.931] checking ucred.h usability... no [08:12:03.968] checking ucred.h presence... no [08:12:03.978] checking for ucred.h... no [08:12:03.980] checking zlib.h usability... yes [08:12:04.023] checking zlib.h presence... yes [08:12:04.035] checking for zlib.h... yes [08:12:04.035] checking for lz4... /usr/bin/lz4 [08:12:04.035] checking for zstd... /usr/bin/zstd [08:12:04.035] checking for openssl... /usr/bin/openssl [08:12:04.038] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [08:12:04.039] checking crtdefs.h usability... yes [08:12:04.043] checking crtdefs.h presence... yes [08:12:04.052] checking for crtdefs.h... yes [08:12:04.053] checking whether byte ordering is bigendian... no [08:12:04.117] checking for inline... inline [08:12:04.135] checking for printf format archetype... gnu_printf [08:12:04.158] checking for _Static_assert... yes [08:12:04.185] checking for typeof... typeof [08:12:04.190] checking for __builtin_types_compatible_p... yes [08:12:04.196] checking for __builtin_constant_p... yes [08:12:04.217] checking for __builtin_unreachable... yes [08:12:04.245] checking for computed goto support... yes [08:12:04.255] checking for struct tm.tm_zone... no [08:12:04.303] checking for union semun... no [08:12:04.323] checking for socklen_t... yes [08:12:05.825] checking for struct sockaddr.sa_len... no [08:12:07.190] checking for locale_t... no [08:12:07.229] checking for C/C++ restrict keyword... __restrict [08:12:07.242] checking for struct option... yes [08:12:07.288] checking whether assembler supports x86_64 popcntq... yes [08:12:07.311] checking size of off_t... 4 [08:12:07.573] 0 [08:12:07.573] checking size of bool... 1 [08:12:07.635] checking for int timezone... yes [08:12:07.668] checking for wcstombs_l declaration... no [08:12:07.720] checking for backtrace_symbols... no [08:12:07.753] checking for copyfile... no [08:12:07.785] checking for copy_file_range... no [08:12:07.817] checking for getifaddrs... no [08:12:07.851] checking for getpeerucred... no [08:12:07.883] checking for inet_pton... yes [08:12:07.916] checking for kqueue... no [08:12:07.951] checking for mbstowcs_l... no [08:12:07.985] checking for memset_s... no [08:12:08.017] checking for posix_fallocate... no [08:12:08.050] checking for ppoll... no [08:12:08.082] checking for pthread_is_threaded_np... no [08:12:08.113] checking for setproctitle... no [08:12:08.146] checking for setproctitle_fast... no [08:12:08.177] checking for strchrnul... no [08:12:08.210] checking for strsignal... no [08:12:08.242] checking for syncfs... no [08:12:08.274] checking for sync_file_range... no [08:12:08.307] checking for uselocale... no [08:12:08.340] checking for wcstombs_l... no [08:12:08.371] checking for __builtin_bswap16... yes [08:12:08.401] checking for __builtin_bswap32... yes [08:12:08.431] checking for __builtin_bswap64... yes [08:12:08.460] checking for __builtin_clz... yes [08:12:08.490] checking for __builtin_ctz... yes [08:12:08.519] checking for __builtin_popcount... yes [08:12:08.550] checking for __builtin_frame_address... yes [08:12:08.579] checking for _LARGEFILE_SOURCE value needed for large files... no [08:12:08.617] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:12:08.636] checking for posix_fadvise... no [08:12:08.670] checking whether posix_fadvise is declared... no [08:12:08.698] checking whether fdatasync is declared... no [08:12:08.727] checking whether strlcat is declared... no [08:12:08.768] checking whether strlcpy is declared... no [08:12:08.811] checking whether strnlen is declared... yes [08:12:08.857] checking whether preadv is declared... no [08:12:08.881] checking whether pwritev is declared... no [08:12:08.902] checking whether F_FULLFSYNC is declared... no [08:12:08.927] checking for explicit_bzero... no [08:12:08.957] checking for getopt... yes [08:12:08.987] checking for getpeereid... no [08:12:09.017] checking for inet_aton... no [08:12:09.048] checking for mkdtemp... no [08:12:09.078] checking for strlcat... no [08:12:09.109] checking for strlcpy... no [08:12:09.140] checking for strnlen... yes [08:12:09.172] checking for pthread_barrier_wait... yes [08:12:09.202] configure: On mingw32 we will use our strtof wrapper. [08:12:09.202] checking for getopt_long... yes [08:12:09.232] checking for _configthreadlocale... yes [08:12:09.263] checking for syslog... no [08:12:09.294] checking for opterr... yes [08:12:09.329] checking for optreset... no [08:12:09.364] checking test program... cross-compiling [08:12:09.364] checking whether long int is 64 bits... no [08:12:09.383] checking whether long long int is 64 bits... yes [08:12:09.407] checking for __builtin_mul_overflow... yes [08:12:09.436] checking size of void *... 8 [08:12:09.753] checking size of size_t... 8 [08:12:10.092] checking size of long... 4 [08:12:10.339] checking alignment of short... 2 [08:12:10.517] checking alignment of int... 4 [08:12:10.774] checking alignment of long... 4 [08:12:10.999] checking alignment of long long int... 8 [08:12:11.328] checking alignment of double... 8 [08:12:11.619] checking for int8... no [08:12:11.647] checking for uint8... no [08:12:11.673] checking for int64... no [08:12:11.699] checking for uint64... no [08:12:11.725] checking for __int128... yes [08:12:11.756] checking for __int128 alignment bug... assuming ok [08:12:11.756] checking alignment of PG_INT128_TYPE... 16 [08:12:12.186] checking for builtin __sync char locking functions... yes [08:12:12.217] checking for builtin __sync int32 locking functions... yes [08:12:12.246] checking for builtin __sync int32 atomic operations... yes [08:12:12.275] checking for builtin __sync int64 atomic operations... yes [08:12:12.305] checking for builtin __atomic int32 atomic operations... yes [08:12:12.335] checking for builtin __atomic int64 atomic operations... yes [08:12:12.365] checking for __get_cpuid... yes [08:12:12.396] checking for __cpuid... no [08:12:12.626] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [08:12:12.657] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [08:12:12.717] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:12:12.730] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:12:12.741] 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 [08:12:12.776] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:12:12.777] checking which random number source to use... Windows native [08:12:12.778] checking for xmllint... /usr/bin/xmllint [08:12:12.778] checking for xsltproc... /usr/bin/xsltproc [08:12:12.778] checking for fop... /usr/bin/fop [08:12:12.779] checking for dbtoepub... no [08:12:12.779] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:12:12.779] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:12:12.785] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [08:12:12.786] 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 [08:12:12.786] configure: using CPPFLAGS= -I./src/include/port/win32 [08:12:12.786] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:12:12.841] configure: creating ./config.status [08:12:12.889] config.status: creating GNUmakefile [08:12:12.896] config.status: creating src/Makefile.global [08:12:12.906] config.status: creating src/include/pg_config.h [08:12:12.913] config.status: creating src/include/pg_config_ext.h [08:12:12.920] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:12:12.928] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:12:12.932] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:12:12.936] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:12:12.941] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:12:12.945] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:12:12.947] config.status: executing check_win32_symlinks commands [08:12:12.971] [08:12:12.971] real 0m12.315s [08:12:12.971] user 0m9.275s [08:12:12.971] sys 0m2.597s [08:12:12.971] make -s -j${BUILD_JOBS} clean [08:12:13.330] time make -s -j${BUILD_JOBS} world-bin [08:13:14.752] launch_backend.c: In function ‘SubPostmasterMain’: [08:13:14.752] launch_backend.c:557:2: error: unknown type name ‘PostmasterChildType’; did you mean ‘PostmasterIsAlive’? [08:13:14.752] 557 | PostmasterChildType child_type; [08:13:14.752] | ^~~~~~~~~~~~~~~~~~~ [08:13:14.752] | PostmasterIsAlive [08:13:14.752] launch_backend.c:592:37: error: ‘PMC_SYSLOGGER’ undeclared (first use in this function) [08:13:14.752] 592 | ClosePostmasterPorts(child_type == PMC_SYSLOGGER); [08:13:14.752] | ^~~~~~~~~~~~~ [08:13:14.752] launch_backend.c:592:37: note: each undeclared identifier is reported only once for each function it appears in [08:13:14.753] make[3]: *** [: launch_backend.o] Error 1 [08:13:14.753] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [08:13:14.753] make[2]: *** Waiting for unfinished jobs.... [08:13:18.702] slotsync.c: In function ‘slotsyncworker_forkexec’: [08:13:18.702] slotsync.c:1359:9: error: implicit declaration of function ‘postmaster_forkexec’ [-Werror=implicit-function-declaration] [08:13:18.702] 1359 | return postmaster_forkexec(ac, av); [08:13:18.702] | ^~~~~~~~~~~~~~~~~~~ [08:13:18.702] cc1: all warnings being treated as errors [08:13:18.703] make[4]: *** [: slotsync.o] Error 1 [08:13:18.703] make[3]: *** [../../../src/backend/common.mk:37: logical-recursive] Error 2 [08:13:18.703] make[2]: *** [common.mk:37: replication-recursive] Error 2 [08:13:24.746] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:13:24.746] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:13:24.746] [08:13:24.746] real 1m11.416s [08:13:24.746] user 4m4.705s [08:13:24.746] sys 0m30.655s [08:13:24.746] [08:13:24.746] Exit status: 2