[07:09:11.319] time ./configure \ [07:09:11.319] --host=x86_64-w64-mingw32 \ [07:09:11.319] --enable-cassert \ [07:09:11.319] --without-icu \ [07:09:11.319] CC="ccache x86_64-w64-mingw32-gcc" \ [07:09:11.319] CXX="ccache x86_64-w64-mingw32-g++" [07:09:11.430] checking build system type... x86_64-pc-linux-gnu [07:09:11.591] checking host system type... x86_64-w64-mingw32 [07:09:11.596] checking which template to use... win32 [07:09:11.596] checking whether NLS is wanted... no [07:09:11.596] checking for default port number... 5432 [07:09:11.602] checking for block size... 8kB [07:09:11.604] checking for segment size... 1GB [07:09:11.606] checking for WAL block size... 8kB [07:09:11.607] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:09:11.637] checking whether the C compiler works... yes [07:09:11.767] checking for C compiler default output file name... a.exe [07:09:11.768] checking for suffix of executables... .exe [07:09:11.807] checking whether we are cross compiling... yes [07:09:11.876] checking for suffix of object files... o [07:09:11.883] checking whether we are using the GNU C compiler... yes [07:09:11.889] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:09:11.905] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:09:11.928] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:09:12.069] checking whether we are using the GNU C++ compiler... yes [07:09:12.075] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:09:12.320] checking for gawk... no [07:09:12.320] checking for mawk... mawk [07:09:12.322] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:09:12.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:09:12.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:09:12.394] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:09:12.435] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:09:12.442] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:09:12.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:09:12.479] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:09:12.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:09:12.516] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:09:12.547] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:09:12.553] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:09:12.559] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:09:12.565] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:09:12.595] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:09:12.602] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:09:12.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:09:12.643] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:09:12.650] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:09:12.681] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:09:12.687] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:09:12.702] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:09:12.709] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:09:12.731] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:09:12.747] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:09:12.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:09:12.789] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:09:12.826] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:09:12.832] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:09:12.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:09:12.871] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:09:12.886] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:09:12.902] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:09:12.933] checking whether the C compiler still works... yes [07:09:13.004] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:09:13.067] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:09:13.067] checking pkg-config is at least version 0.9.0... yes [07:09:13.085] checking whether to build with ICU support... no [07:09:13.085] checking whether to build with Tcl... no [07:09:13.085] checking whether to build Perl modules... no [07:09:13.085] checking whether to build Python modules... no [07:09:13.085] checking whether to build with GSSAPI support... no [07:09:13.086] checking whether to build with PAM support... no [07:09:13.086] checking whether to build with BSD Authentication support... no [07:09:13.086] checking whether to build with LDAP support... no [07:09:13.086] checking whether to build with Bonjour support... no [07:09:13.086] checking whether to build with SELinux support... no [07:09:13.087] checking whether to build with systemd support... no [07:09:13.087] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:09:13.087] checking whether to build with XML support... no [07:09:13.087] checking whether to build with LZ4 support... no [07:09:13.087] checking whether to build with ZSTD support... no [07:09:13.087] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:09:13.088] checking whether it is possible to strip libraries... yes [07:09:13.094] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:09:13.094] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:09:13.095] checking for a BSD-compatible install... /usr/bin/install -c [07:09:13.103] checking for tar... /usr/bin/tar [07:09:13.103] checking whether ln -s works... yes [07:09:13.103] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:09:13.105] checking for bison... /usr/bin/bison [07:09:13.107] configure: using bison (GNU Bison) 3.8.2 [07:09:13.110] checking for flex... /usr/bin/flex [07:09:13.111] configure: using flex 2.6.4 [07:09:13.112] checking for perl... /usr/bin/perl [07:09:13.114] configure: using perl 5.36.0 [07:09:13.116] checking for zic... /usr/sbin/zic [07:09:13.116] checking for a sed that does not truncate output... /usr/bin/sed [07:09:13.121] checking for grep that handles long lines and -e... /usr/bin/grep [07:09:13.123] checking for egrep... /usr/bin/grep -E [07:09:13.124] checking for ANSI C header files... yes [07:09:13.205] checking for sys/types.h... yes [07:09:13.220] checking for sys/stat.h... yes [07:09:13.234] checking for stdlib.h... yes [07:09:13.289] checking for string.h... yes [07:09:13.302] checking for memory.h... yes [07:09:13.356] checking for strings.h... yes [07:09:13.370] checking for inttypes.h... yes [07:09:13.427] checking for stdint.h... yes [07:09:13.483] checking for unistd.h... yes [07:09:13.543] checking for main in -lm... yes [07:09:13.588] checking for library containing setproctitle... no [07:09:13.669] checking for library containing dlsym... no [07:09:13.751] checking for library containing socket... -lws2_32 [07:09:13.875] checking for library containing getopt_long... none required [07:09:13.919] checking for library containing shm_open... no [07:09:14.003] checking for library containing shm_unlink... no [07:09:14.086] checking for library containing clock_gettime... no [07:09:14.168] checking for library containing shmget... no [07:09:14.251] checking for library containing backtrace_symbols... no [07:09:14.332] checking for library containing pthread_barrier_wait... -lpthread [07:09:14.415] checking for inflate in -lz... yes [07:09:14.461] checking atomic.h usability... no [07:09:14.514] checking atomic.h presence... no [07:09:14.531] checking for atomic.h... no [07:09:14.534] checking copyfile.h usability... no [07:09:14.585] checking copyfile.h presence... no [07:09:14.602] checking for copyfile.h... no [07:09:14.605] checking execinfo.h usability... no [07:09:14.656] checking execinfo.h presence... no [07:09:14.674] checking for execinfo.h... no [07:09:14.677] checking getopt.h usability... yes [07:09:14.704] checking getopt.h presence... yes [07:09:14.718] checking for getopt.h... yes [07:09:14.726] checking ifaddrs.h usability... no [07:09:14.779] checking ifaddrs.h presence... no [07:09:14.797] checking for ifaddrs.h... no [07:09:14.800] checking mbarrier.h usability... no [07:09:14.853] checking mbarrier.h presence... no [07:09:14.870] checking for mbarrier.h... no [07:09:14.873] checking sys/epoll.h usability... no [07:09:14.926] checking sys/epoll.h presence... no [07:09:14.943] checking for sys/epoll.h... no [07:09:14.946] checking sys/event.h usability... no [07:09:14.999] checking sys/event.h presence... no [07:09:15.016] checking for sys/event.h... no [07:09:15.019] checking sys/personality.h usability... no [07:09:15.071] checking sys/personality.h presence... no [07:09:15.088] checking for sys/personality.h... no [07:09:15.091] checking sys/prctl.h usability... no [07:09:15.143] checking sys/prctl.h presence... no [07:09:15.160] checking for sys/prctl.h... no [07:09:15.163] checking sys/procctl.h usability... no [07:09:15.215] checking sys/procctl.h presence... no [07:09:15.233] checking for sys/procctl.h... no [07:09:15.235] checking sys/signalfd.h usability... no [07:09:15.288] checking sys/signalfd.h presence... no [07:09:15.306] checking for sys/signalfd.h... no [07:09:15.309] checking sys/ucred.h usability... no [07:09:15.360] checking sys/ucred.h presence... no [07:09:15.378] checking for sys/ucred.h... no [07:09:15.381] checking termios.h usability... no [07:09:15.433] checking termios.h presence... no [07:09:15.450] checking for termios.h... no [07:09:15.453] checking ucred.h usability... no [07:09:15.504] checking ucred.h presence... no [07:09:15.521] checking for ucred.h... no [07:09:15.524] checking xlocale.h usability... no [07:09:15.575] checking xlocale.h presence... no [07:09:15.592] checking for xlocale.h... no [07:09:15.595] checking zlib.h usability... yes [07:09:15.626] checking zlib.h presence... yes [07:09:15.643] checking for zlib.h... yes [07:09:15.643] checking for lz4... /usr/bin/lz4 [07:09:15.643] checking for zstd... /usr/bin/zstd [07:09:15.644] checking for openssl... /usr/bin/openssl [07:09:15.648] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:09:15.648] checking crtdefs.h usability... yes [07:09:15.675] checking crtdefs.h presence... yes [07:09:15.689] checking for crtdefs.h... yes [07:09:15.690] checking whether byte ordering is bigendian... no [07:09:15.786] checking for inline... inline [07:09:15.792] checking for printf format archetype... gnu_printf [07:09:15.825] checking for _Static_assert... yes [07:09:15.863] checking for typeof... typeof [07:09:15.870] checking for __builtin_types_compatible_p... yes [07:09:15.889] checking for __builtin_constant_p... yes [07:09:15.907] checking for __builtin_mul_overflow... yes [07:09:15.950] checking for __builtin_unreachable... yes [07:09:15.989] checking for computed goto support... yes [07:09:16.021] checking for struct tm.tm_zone... no [07:09:16.092] checking for union semun... no [07:09:16.123] checking for socklen_t... yes [07:09:17.539] checking for struct sockaddr.sa_len... no [07:09:19.482] checking for C/C++ restrict keyword... __restrict [07:09:19.521] checking for struct option... yes [07:09:19.571] checking whether assembler supports x86_64 popcntq... yes [07:09:19.578] checking size of off_t... 4 [07:09:19.927] 0 [07:09:19.928] checking for int timezone... yes [07:09:19.977] checking for backtrace_symbols... no [07:09:20.024] checking for copyfile... no [07:09:20.072] checking for copy_file_range... no [07:09:20.120] checking for elf_aux_info... no [07:09:20.167] checking for getauxval... no [07:09:20.215] checking for getifaddrs... no [07:09:20.263] checking for getpeerucred... no [07:09:20.310] checking for inet_pton... yes [07:09:20.359] checking for kqueue... no [07:09:20.409] checking for mbstowcs_l... no [07:09:20.457] checking for memset_s... no [07:09:20.505] checking for posix_fallocate... no [07:09:20.552] checking for ppoll... no [07:09:20.600] checking for pthread_is_threaded_np... no [07:09:20.649] checking for setproctitle... no [07:09:20.696] checking for setproctitle_fast... no [07:09:20.744] checking for strchrnul... no [07:09:20.792] checking for strsignal... no [07:09:20.840] checking for syncfs... no [07:09:20.887] checking for sync_file_range... no [07:09:20.935] checking for uselocale... no [07:09:20.982] checking for wcstombs_l... no [07:09:21.028] checking for __builtin_bswap16... yes [07:09:21.074] checking for __builtin_bswap32... yes [07:09:21.119] checking for __builtin_bswap64... yes [07:09:21.166] checking for __builtin_clz... yes [07:09:21.212] checking for __builtin_ctz... yes [07:09:21.258] checking for __builtin_popcount... yes [07:09:21.303] checking for __builtin_frame_address... yes [07:09:21.348] checking for _LARGEFILE_SOURCE value needed for large files... no [07:09:21.398] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:09:21.427] checking for posix_fadvise... no [07:09:21.476] checking whether posix_fadvise is declared... no [07:09:21.520] checking whether fdatasync is declared... no [07:09:21.563] checking whether strlcat is declared... no [07:09:21.623] checking whether strlcpy is declared... no [07:09:21.683] checking whether strnlen is declared... yes [07:09:21.715] checking whether strsep is declared... no [07:09:21.776] checking whether preadv is declared... no [07:09:21.810] checking whether pwritev is declared... no [07:09:21.844] checking whether F_FULLFSYNC is declared... no [07:09:21.881] checking for explicit_bzero... no [07:09:21.925] checking for getopt... yes [07:09:21.968] checking for getpeereid... no [07:09:22.013] checking for inet_aton... no [07:09:22.058] checking for mkdtemp... no [07:09:22.103] checking for strlcat... no [07:09:22.149] checking for strlcpy... no [07:09:22.195] checking for strnlen... yes [07:09:22.241] checking for strsep... no [07:09:22.287] checking for pthread_barrier_wait... yes [07:09:22.330] configure: On mingw32 we will use our strtof wrapper. [07:09:22.330] checking for getopt_long... yes [07:09:22.375] checking for syslog... no [07:09:22.420] checking for opterr... yes [07:09:22.465] checking for optreset... no [07:09:22.515] checking test program... cross-compiling [07:09:22.515] checking size of void *... 8 [07:09:22.889] checking size of size_t... 8 [07:09:23.303] checking size of long... 4 [07:09:23.537] checking size of long long... 8 [07:09:23.861] checking alignment of short... 2 [07:09:24.041] checking alignment of int... 4 [07:09:24.294] checking alignment of long... 4 [07:09:24.618] checking alignment of int64_t... 8 [07:09:25.049] checking alignment of double... 8 [07:09:25.322] checking for __int128... yes [07:09:25.367] checking for __int128 alignment bug... assuming ok [07:09:25.367] checking alignment of PG_INT128_TYPE... 16 [07:09:25.759] checking for builtin __sync char locking functions... yes [07:09:25.799] checking for builtin __sync int32 locking functions... yes [07:09:25.839] checking for builtin __sync int32 atomic operations... yes [07:09:25.879] checking for builtin __sync int64 atomic operations... yes [07:09:25.922] checking for builtin __atomic int32 atomic operations... yes [07:09:25.963] checking for builtin __atomic int64 atomic operations... yes [07:09:26.009] checking for __get_cpuid... yes [07:09:26.055] checking for __get_cpuid_count... yes [07:09:26.100] checking for __cpuid... no [07:09:26.502] checking for __cpuidex... no [07:09:26.929] checking for _xgetbv... yes [07:09:27.335] checking for _mm512_popcnt_epi64... yes [07:09:27.754] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:09:27.855] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:09:27.877] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:09:27.896] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:09:27.915] 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 [07:09:27.969] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:09:27.970] checking which random number source to use... Windows native [07:09:27.971] checking for xmllint... /usr/bin/xmllint [07:09:27.972] checking for xsltproc... /usr/bin/xsltproc [07:09:27.972] checking for fop... /usr/bin/fop [07:09:27.972] checking for dbtoepub... no [07:09:27.972] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:09:27.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:09:27.973] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:09:27.982] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:09:27.982] 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 [07:09:27.982] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:09:27.982] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:09:28.059] configure: creating ./config.status [07:09:28.146] config.status: creating GNUmakefile [07:09:28.158] config.status: creating src/Makefile.global [07:09:28.173] config.status: creating src/include/pg_config.h [07:09:28.185] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:09:28.202] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:09:28.209] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:09:28.215] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:09:28.222] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:09:28.228] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:09:28.231] config.status: executing check_win32_symlinks commands [07:09:28.263] [07:09:28.263] real 0m16.944s [07:09:28.263] user 0m11.008s [07:09:28.263] sys 0m5.588s [07:09:28.263] make -s -j${BUILD_JOBS} clean [07:09:28.753] time make -s -j${BUILD_JOBS} world-bin [07:12:06.548] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [07:12:06.581] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [07:12:06.673] collect2: error: ld returned 1 exit status [07:12:06.674] make[2]: *** [Makefile:88: postgres] Error 1 [07:12:06.674] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:12:06.675] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:12:06.675] [07:12:06.675] real 2m37.922s [07:12:06.675] user 8m34.663s [07:12:06.675] sys 1m37.604s [07:12:06.675] [07:12:06.675] Exit status: 2