[22:19:17.307] time ./configure \ [22:19:17.307] --host=x86_64-w64-mingw32 \ [22:19:17.307] --enable-cassert \ [22:19:17.307] --without-icu \ [22:19:17.307] CC="ccache x86_64-w64-mingw32-gcc" \ [22:19:17.307] CXX="ccache x86_64-w64-mingw32-g++" [22:19:17.414] checking build system type... x86_64-pc-linux-gnu [22:19:17.605] checking host system type... x86_64-w64-mingw32 [22:19:17.610] checking which template to use... win32 [22:19:17.610] checking whether NLS is wanted... no [22:19:17.610] checking for default port number... 5432 [22:19:17.617] checking for block size... 8kB [22:19:17.618] checking for segment size... 1GB [22:19:17.620] checking for WAL block size... 8kB [22:19:17.622] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:19:17.655] checking whether the C compiler works... yes [22:19:17.788] checking for C compiler default output file name... a.exe [22:19:17.790] checking for suffix of executables... .exe [22:19:17.831] checking whether we are cross compiling... yes [22:19:17.909] checking for suffix of object files... o [22:19:17.927] checking whether we are using the GNU C compiler... yes [22:19:17.960] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:19:17.978] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:19:18.056] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:19:18.188] checking whether we are using the GNU C++ compiler... yes [22:19:18.195] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:19:18.418] checking for gawk... no [22:19:18.418] checking for mawk... mawk [22:19:18.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:19:18.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:19:18.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:19:18.513] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:19:18.558] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:19:18.565] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:19:18.582] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:19:18.598] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:19:18.605] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:19:18.637] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:19:18.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:19:18.676] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:19:18.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:19:18.690] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:19:18.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:19:18.792] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:19:18.799] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:19:18.836] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:19:18.854] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:19:18.872] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:19:18.906] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:19:18.939] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:19:18.946] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:19:18.970] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:19:18.977] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:19:18.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:19:19.030] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:19:19.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:19:19.076] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:19:19.107] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:19:19.142] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:19:19.159] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:19:19.176] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:19:19.209] checking whether the C compiler still works... yes [22:19:19.286] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:19:19.360] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:19:19.361] checking pkg-config is at least version 0.9.0... yes [22:19:19.378] checking whether to build with ICU support... no [22:19:19.378] checking whether to build with Tcl... no [22:19:19.378] checking whether to build Perl modules... no [22:19:19.378] checking whether to build Python modules... no [22:19:19.378] checking whether to build with GSSAPI support... no [22:19:19.380] checking whether to build with PAM support... no [22:19:19.380] checking whether to build with BSD Authentication support... no [22:19:19.380] checking whether to build with LDAP support... no [22:19:19.380] checking whether to build with Bonjour support... no [22:19:19.380] checking whether to build with SELinux support... no [22:19:19.380] checking whether to build with systemd support... no [22:19:19.380] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:19:19.381] checking whether to build with XML support... no [22:19:19.381] checking whether to build with LZ4 support... no [22:19:19.381] checking whether to build with ZSTD support... no [22:19:19.381] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:19:19.382] checking whether it is possible to strip libraries... yes [22:19:19.389] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:19:19.390] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:19:19.390] checking for a BSD-compatible install... /usr/bin/install -c [22:19:19.399] checking for tar... /usr/bin/tar [22:19:19.399] checking whether ln -s works... yes [22:19:19.399] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:19:19.402] checking for bison... /usr/bin/bison [22:19:19.404] configure: using bison (GNU Bison) 3.8.2 [22:19:19.407] checking for flex... /usr/bin/flex [22:19:19.409] configure: using flex 2.6.4 [22:19:19.409] checking for perl... /usr/bin/perl [22:19:19.412] configure: using perl 5.36.0 [22:19:19.414] checking for zic... /usr/sbin/zic [22:19:19.414] checking for a sed that does not truncate output... /usr/bin/sed [22:19:19.420] checking for grep that handles long lines and -e... /usr/bin/grep [22:19:19.422] checking for egrep... /usr/bin/grep -E [22:19:19.424] checking for ANSI C header files... yes [22:19:19.515] checking for sys/types.h... yes [22:19:19.573] checking for sys/stat.h... yes [22:19:19.636] checking for stdlib.h... yes [22:19:19.695] checking for string.h... yes [22:19:19.711] checking for memory.h... yes [22:19:19.772] checking for strings.h... yes [22:19:19.808] checking for inttypes.h... yes [22:19:19.871] checking for stdint.h... yes [22:19:19.932] checking for unistd.h... yes [22:19:19.974] checking for main in -lm... yes [22:19:20.023] checking for library containing setproctitle... no [22:19:20.114] checking for library containing dlsym... no [22:19:20.206] checking for library containing socket... -lws2_32 [22:19:20.339] checking for library containing getopt_long... none required [22:19:20.386] checking for library containing shm_open... no [22:19:20.475] checking for library containing shm_unlink... no [22:19:20.564] checking for library containing clock_gettime... no [22:19:20.653] checking for library containing shmget... no [22:19:20.745] checking for library containing backtrace_symbols... no [22:19:20.835] checking for library containing pthread_barrier_wait... -lpthread [22:19:20.929] checking for inflate in -lz... yes [22:19:20.979] checking atomic.h usability... no [22:19:21.035] checking atomic.h presence... no [22:19:21.055] checking for atomic.h... no [22:19:21.058] checking copyfile.h usability... no [22:19:21.115] checking copyfile.h presence... no [22:19:21.135] checking for copyfile.h... no [22:19:21.138] checking execinfo.h usability... no [22:19:21.193] checking execinfo.h presence... no [22:19:21.212] checking for execinfo.h... no [22:19:21.216] checking getopt.h usability... yes [22:19:21.270] checking getopt.h presence... yes [22:19:21.286] checking for getopt.h... yes [22:19:21.293] checking ifaddrs.h usability... no [22:19:21.349] checking ifaddrs.h presence... no [22:19:21.368] checking for ifaddrs.h... no [22:19:21.371] checking mbarrier.h usability... no [22:19:21.426] checking mbarrier.h presence... no [22:19:21.445] checking for mbarrier.h... no [22:19:21.449] checking sys/epoll.h usability... no [22:19:21.505] checking sys/epoll.h presence... no [22:19:21.524] checking for sys/epoll.h... no [22:19:21.528] checking sys/event.h usability... no [22:19:21.583] checking sys/event.h presence... no [22:19:21.602] checking for sys/event.h... no [22:19:21.605] checking sys/personality.h usability... no [22:19:21.660] checking sys/personality.h presence... no [22:19:21.679] checking for sys/personality.h... no [22:19:21.683] checking sys/prctl.h usability... no [22:19:21.738] checking sys/prctl.h presence... no [22:19:21.758] checking for sys/prctl.h... no [22:19:21.761] checking sys/procctl.h usability... no [22:19:21.818] checking sys/procctl.h presence... no [22:19:21.837] checking for sys/procctl.h... no [22:19:21.840] checking sys/signalfd.h usability... no [22:19:21.897] checking sys/signalfd.h presence... no [22:19:21.917] checking for sys/signalfd.h... no [22:19:21.921] checking sys/ucred.h usability... no [22:19:21.978] checking sys/ucred.h presence... no [22:19:21.998] checking for sys/ucred.h... no [22:19:22.002] checking termios.h usability... no [22:19:22.061] checking termios.h presence... no [22:19:22.082] checking for termios.h... no [22:19:22.085] checking ucred.h usability... no [22:19:22.141] checking ucred.h presence... no [22:19:22.160] checking for ucred.h... no [22:19:22.164] checking xlocale.h usability... no [22:19:22.222] checking xlocale.h presence... no [22:19:22.242] checking for xlocale.h... no [22:19:22.245] checking zlib.h usability... yes [22:19:22.278] checking zlib.h presence... yes [22:19:22.297] checking for zlib.h... yes [22:19:22.298] checking for lz4... /usr/bin/lz4 [22:19:22.298] checking for zstd... /usr/bin/zstd [22:19:22.298] checking for openssl... /usr/bin/openssl [22:19:22.303] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [22:19:22.303] checking crtdefs.h usability... yes [22:19:22.311] checking crtdefs.h presence... yes [22:19:22.326] checking for crtdefs.h... yes [22:19:22.328] checking whether byte ordering is bigendian... no [22:19:22.416] checking for inline... inline [22:19:22.424] checking for printf format archetype... gnu_printf [22:19:22.460] checking for _Static_assert... yes [22:19:22.502] checking for typeof... typeof [22:19:22.538] checking for __builtin_types_compatible_p... yes [22:19:22.578] checking for __builtin_constant_p... yes [22:19:22.601] checking for __builtin_mul_overflow... yes [22:19:22.648] checking for __builtin_unreachable... yes [22:19:22.692] checking for computed goto support... yes [22:19:22.729] checking for struct tm.tm_zone... no [22:19:22.812] checking for union semun... no [22:19:22.848] checking for socklen_t... yes [22:19:24.337] checking for struct sockaddr.sa_len... no [22:19:26.422] checking for C/C++ restrict keyword... __restrict [22:19:26.464] checking for struct option... yes [22:19:26.518] checking whether assembler supports x86_64 popcntq... yes [22:19:26.525] checking size of off_t... 4 [22:19:26.896] 0 [22:19:26.896] checking for int timezone... yes [22:19:26.948] checking for backtrace_symbols... no [22:19:26.998] checking for copyfile... no [22:19:27.049] checking for copy_file_range... no [22:19:27.099] checking for elf_aux_info... no [22:19:27.148] checking for getauxval... no [22:19:27.199] checking for getifaddrs... no [22:19:27.249] checking for getpeerucred... no [22:19:27.300] checking for inet_pton... yes [22:19:27.351] checking for kqueue... no [22:19:27.402] checking for mbstowcs_l... no [22:19:27.452] checking for memset_s... no [22:19:27.503] checking for posix_fallocate... no [22:19:27.553] checking for ppoll... no [22:19:27.603] checking for pthread_is_threaded_np... no [22:19:27.653] checking for setproctitle... no [22:19:27.704] checking for setproctitle_fast... no [22:19:27.755] checking for strchrnul... no [22:19:27.806] checking for strsignal... no [22:19:27.857] checking for syncfs... no [22:19:27.907] checking for sync_file_range... no [22:19:27.960] checking for uselocale... no [22:19:28.011] checking for wcstombs_l... no [22:19:28.060] checking for __builtin_bswap16... yes [22:19:28.109] checking for __builtin_bswap32... yes [22:19:28.158] checking for __builtin_bswap64... yes [22:19:28.207] checking for __builtin_clz... yes [22:19:28.256] checking for __builtin_ctz... yes [22:19:28.304] checking for __builtin_popcount... yes [22:19:28.352] checking for __builtin_frame_address... yes [22:19:28.400] checking for _LARGEFILE_SOURCE value needed for large files... no [22:19:28.452] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:19:28.484] checking for posix_fadvise... no [22:19:28.537] checking whether posix_fadvise is declared... no [22:19:28.584] checking whether fdatasync is declared... no [22:19:28.631] checking whether strlcat is declared... no [22:19:28.695] checking whether strlcpy is declared... no [22:19:28.758] checking whether strnlen is declared... yes [22:19:28.792] checking whether strsep is declared... no [22:19:28.854] checking whether preadv is declared... no [22:19:28.890] checking whether pwritev is declared... no [22:19:28.927] checking whether F_FULLFSYNC is declared... no [22:19:28.968] checking for explicit_bzero... no [22:19:29.015] checking for getopt... yes [22:19:29.060] checking for getpeereid... no [22:19:29.107] checking for inet_aton... no [22:19:29.155] checking for mkdtemp... no [22:19:29.203] checking for strlcat... no [22:19:29.251] checking for strlcpy... no [22:19:29.298] checking for strnlen... yes [22:19:29.347] checking for strsep... no [22:19:29.396] checking for pthread_barrier_wait... yes [22:19:29.441] configure: On mingw32 we will use our strtof wrapper. [22:19:29.442] checking for getopt_long... yes [22:19:29.488] checking for syslog... no [22:19:29.537] checking for opterr... yes [22:19:29.585] checking for optreset... no [22:19:29.637] checking test program... cross-compiling [22:19:29.637] checking size of void *... 8 [22:19:30.096] checking size of size_t... 8 [22:19:30.506] checking size of long... 4 [22:19:30.752] checking size of long long... 8 [22:19:31.122] checking alignment of short... 2 [22:19:31.289] checking alignment of int... 4 [22:19:31.593] checking alignment of long... 4 [22:19:31.978] checking alignment of int64_t... 8 [22:19:32.472] checking alignment of double... 8 [22:19:32.824] checking for __int128... yes [22:19:32.873] checking for __int128 alignment bug... assuming ok [22:19:32.873] checking alignment of PG_INT128_TYPE... 16 [22:19:33.365] checking for builtin __sync char locking functions... yes [22:19:33.408] checking for builtin __sync int32 locking functions... yes [22:19:33.451] checking for builtin __sync int32 atomic operations... yes [22:19:33.493] checking for builtin __sync int64 atomic operations... yes [22:19:33.536] checking for builtin __atomic int32 atomic operations... yes [22:19:33.578] checking for builtin __atomic int64 atomic operations... yes [22:19:33.621] checking for __get_cpuid... yes [22:19:33.669] checking for __get_cpuid_count... yes [22:19:33.715] checking for __cpuid... no [22:19:34.109] checking for __cpuidex... no [22:19:34.527] checking for _xgetbv... yes [22:19:34.927] checking for _mm512_popcnt_epi64... yes [22:19:35.346] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:19:35.448] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:19:35.471] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:19:35.490] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:19:35.509] 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 [22:19:35.564] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:19:35.564] checking which random number source to use... Windows native [22:19:35.566] checking for xmllint... /usr/bin/xmllint [22:19:35.567] checking for xsltproc... /usr/bin/xsltproc [22:19:35.567] checking for fop... /usr/bin/fop [22:19:35.567] checking for dbtoepub... no [22:19:35.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:19:35.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:19:35.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:19:35.580] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:19:35.580] 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 [22:19:35.580] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:19:35.580] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:19:35.670] configure: creating ./config.status [22:19:35.756] config.status: creating GNUmakefile [22:19:35.768] config.status: creating src/Makefile.global [22:19:35.783] config.status: creating src/include/pg_config.h [22:19:35.796] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:19:35.811] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:19:35.817] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:19:35.824] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:19:35.831] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:19:35.838] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:19:35.841] config.status: executing check_win32_symlinks commands [22:19:35.873] [22:19:35.873] real 0m18.566s [22:19:35.873] user 0m12.304s [22:19:35.873] sys 0m5.893s [22:19:35.873] make -s -j${BUILD_JOBS} clean [22:19:36.377] time make -s -j${BUILD_JOBS} world-bin [22:22:16.325] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [22:22:16.354] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [22:22:16.438] collect2: error: ld returned 1 exit status [22:22:16.438] make[2]: *** [Makefile:88: postgres] Error 1 [22:22:16.439] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:22:16.439] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:22:16.439] [22:22:16.439] real 2m40.063s [22:22:16.439] user 8m43.446s [22:22:16.439] sys 1m37.977s [22:22:16.440] [22:22:16.440] Exit status: 2