[02:33:40.631] time ./configure \ [02:33:40.631] --host=x86_64-w64-mingw32 \ [02:33:40.631] --enable-cassert \ [02:33:40.631] --without-icu \ [02:33:40.631] CC="ccache x86_64-w64-mingw32-gcc" \ [02:33:40.631] CXX="ccache x86_64-w64-mingw32-g++" [02:33:40.741] checking build system type... x86_64-pc-linux-gnu [02:33:40.896] checking host system type... x86_64-w64-mingw32 [02:33:40.902] checking which template to use... win32 [02:33:40.902] checking whether NLS is wanted... no [02:33:40.902] checking for default port number... 5432 [02:33:40.908] checking for block size... 8kB [02:33:40.909] checking for segment size... 1GB [02:33:40.912] checking for WAL block size... 8kB [02:33:40.913] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [02:33:40.945] checking whether the C compiler works... yes [02:33:41.067] checking for C compiler default output file name... a.exe [02:33:41.068] checking for suffix of executables... .exe [02:33:41.107] checking whether we are cross compiling... yes [02:33:41.174] checking for suffix of object files... o [02:33:41.205] checking whether we are using the GNU C compiler... yes [02:33:41.211] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [02:33:41.218] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [02:33:41.244] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [02:33:41.382] checking whether we are using the GNU C++ compiler... yes [02:33:41.388] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [02:33:41.451] checking for gawk... no [02:33:41.451] checking for mawk... mawk [02:33:41.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [02:33:41.460] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [02:33:41.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [02:33:41.510] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [02:33:41.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [02:33:41.656] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [02:33:41.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [02:33:41.678] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [02:33:41.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [02:33:41.691] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [02:33:41.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [02:33:41.704] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [02:33:41.733] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [02:33:41.740] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [02:33:41.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [02:33:41.753] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [02:33:41.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [02:33:41.796] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [02:33:41.802] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [02:33:41.809] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [02:33:41.816] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [02:33:41.831] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [02:33:41.864] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [02:33:41.887] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [02:33:41.918] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [02:33:41.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [02:33:41.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [02:33:41.998] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [02:33:42.005] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [02:33:42.011] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [02:33:42.044] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [02:33:42.051] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [02:33:42.058] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [02:33:42.065] checking whether the C compiler still works... yes [02:33:42.137] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [02:33:42.202] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [02:33:42.203] checking pkg-config is at least version 0.9.0... yes [02:33:42.218] checking whether to build with ICU support... no [02:33:42.219] checking whether to build with Tcl... no [02:33:42.219] checking whether to build Perl modules... no [02:33:42.219] checking whether to build Python modules... no [02:33:42.219] checking whether to build with GSSAPI support... no [02:33:42.220] checking whether to build with PAM support... no [02:33:42.220] checking whether to build with BSD Authentication support... no [02:33:42.220] checking whether to build with LDAP support... no [02:33:42.220] checking whether to build with Bonjour support... no [02:33:42.220] checking whether to build with SELinux support... no [02:33:42.221] checking whether to build with systemd support... no [02:33:42.221] configure: WARNING: *** Readline does not work on MinGW --- disabling [02:33:42.221] checking whether to build with XML support... no [02:33:42.221] checking whether to build with LZ4 support... no [02:33:42.221] checking whether to build with ZSTD support... no [02:33:42.222] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [02:33:42.222] checking whether it is possible to strip libraries... yes [02:33:42.229] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [02:33:42.229] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [02:33:42.229] checking for a BSD-compatible install... /usr/bin/install -c [02:33:42.238] checking for tar... /usr/bin/tar [02:33:42.238] checking whether ln -s works... yes [02:33:42.238] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [02:33:42.240] checking for bison... /usr/bin/bison [02:33:42.242] configure: using bison (GNU Bison) 3.8.2 [02:33:42.245] checking for flex... /usr/bin/flex [02:33:42.247] configure: using flex 2.6.4 [02:33:42.247] checking for perl... /usr/bin/perl [02:33:42.250] configure: using perl 5.36.0 [02:33:42.253] checking for zic... /usr/sbin/zic [02:33:42.253] checking for a sed that does not truncate output... /usr/bin/sed [02:33:42.258] checking for grep that handles long lines and -e... /usr/bin/grep [02:33:42.259] checking for egrep... /usr/bin/grep -E [02:33:42.261] checking for ANSI C header files... yes [02:33:42.305] checking for sys/types.h... yes [02:33:42.320] checking for sys/stat.h... yes [02:33:42.355] checking for stdlib.h... yes [02:33:42.411] checking for string.h... yes [02:33:42.443] checking for memory.h... yes [02:33:42.499] checking for strings.h... yes [02:33:42.513] checking for inttypes.h... yes [02:33:42.528] checking for stdint.h... yes [02:33:42.586] checking for unistd.h... yes [02:33:42.601] checking for main in -lm... yes [02:33:42.646] checking for library containing setproctitle... no [02:33:42.729] checking for library containing dlsym... no [02:33:42.811] checking for library containing socket... -lws2_32 [02:33:42.934] checking for library containing getopt_long... none required [02:33:42.979] checking for library containing shm_open... no [02:33:43.063] checking for library containing shm_unlink... no [02:33:43.147] checking for library containing clock_gettime... no [02:33:43.231] checking for library containing shmget... no [02:33:43.316] checking for library containing backtrace_symbols... no [02:33:43.399] checking for library containing pthread_barrier_wait... -lpthread [02:33:43.485] checking for inflate in -lz... yes [02:33:43.531] checking atomic.h usability... no [02:33:43.585] checking atomic.h presence... no [02:33:43.602] checking for atomic.h... no [02:33:43.605] checking copyfile.h usability... no [02:33:43.657] checking copyfile.h presence... no [02:33:43.675] checking for copyfile.h... no [02:33:43.678] checking execinfo.h usability... no [02:33:43.729] checking execinfo.h presence... no [02:33:43.750] checking for execinfo.h... no [02:33:43.753] checking getopt.h usability... yes [02:33:43.780] checking getopt.h presence... yes [02:33:43.795] checking for getopt.h... yes [02:33:43.801] checking ifaddrs.h usability... no [02:33:43.853] checking ifaddrs.h presence... no [02:33:43.871] checking for ifaddrs.h... no [02:33:43.874] checking mbarrier.h usability... no [02:33:43.926] checking mbarrier.h presence... no [02:33:43.943] checking for mbarrier.h... no [02:33:43.946] checking sys/epoll.h usability... no [02:33:43.999] checking sys/epoll.h presence... no [02:33:44.016] checking for sys/epoll.h... no [02:33:44.019] checking sys/event.h usability... no [02:33:44.071] checking sys/event.h presence... no [02:33:44.088] checking for sys/event.h... no [02:33:44.091] checking sys/personality.h usability... no [02:33:44.143] checking sys/personality.h presence... no [02:33:44.160] checking for sys/personality.h... no [02:33:44.163] checking sys/prctl.h usability... no [02:33:44.216] checking sys/prctl.h presence... no [02:33:44.233] checking for sys/prctl.h... no [02:33:44.236] checking sys/procctl.h usability... no [02:33:44.288] checking sys/procctl.h presence... no [02:33:44.305] checking for sys/procctl.h... no [02:33:44.308] checking sys/signalfd.h usability... no [02:33:44.359] checking sys/signalfd.h presence... no [02:33:44.377] checking for sys/signalfd.h... no [02:33:44.380] checking sys/ucred.h usability... no [02:33:44.431] checking sys/ucred.h presence... no [02:33:44.448] checking for sys/ucred.h... no [02:33:44.451] checking termios.h usability... no [02:33:44.503] checking termios.h presence... no [02:33:44.520] checking for termios.h... no [02:33:44.523] checking ucred.h usability... no [02:33:44.574] checking ucred.h presence... no [02:33:44.592] checking for ucred.h... no [02:33:44.595] checking xlocale.h usability... no [02:33:44.647] checking xlocale.h presence... no [02:33:44.664] checking for xlocale.h... no [02:33:44.667] checking zlib.h usability... yes [02:33:44.698] checking zlib.h presence... yes [02:33:44.715] checking for zlib.h... yes [02:33:44.715] checking for lz4... /usr/bin/lz4 [02:33:44.716] checking for zstd... /usr/bin/zstd [02:33:44.716] checking for openssl... /usr/bin/openssl [02:33:44.720] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [02:33:44.720] checking crtdefs.h usability... yes [02:33:44.772] checking crtdefs.h presence... yes [02:33:44.786] checking for crtdefs.h... yes [02:33:44.788] checking whether byte ordering is bigendian... no [02:33:44.885] checking for inline... inline [02:33:44.892] checking for printf format archetype... gnu_printf [02:33:44.899] checking for _Static_assert... yes [02:33:44.939] checking for typeof... typeof [02:33:44.945] checking for __builtin_types_compatible_p... yes [02:33:44.964] checking for __builtin_constant_p... yes [02:33:44.974] checking for __builtin_mul_overflow... yes [02:33:45.018] checking for __builtin_unreachable... yes [02:33:45.058] checking for computed goto support... yes [02:33:45.066] checking for struct tm.tm_zone... no [02:33:45.143] checking for union semun... no [02:33:45.176] checking for socklen_t... yes [02:33:47.259] checking for struct sockaddr.sa_len... no [02:33:49.209] checking for C/C++ restrict keyword... __restrict [02:33:49.249] checking for struct option... yes [02:33:49.300] checking whether assembler supports x86_64 popcntq... yes [02:33:49.306] checking size of off_t... 4 [02:33:49.631] 0 [02:33:49.631] checking for int timezone... yes [02:33:49.681] checking for backtrace_symbols... no [02:33:49.730] checking for copyfile... no [02:33:49.778] checking for copy_file_range... no [02:33:49.827] checking for elf_aux_info... no [02:33:49.876] checking for getauxval... no [02:33:49.925] checking for getifaddrs... no [02:33:49.973] checking for getpeerucred... no [02:33:50.022] checking for inet_pton... yes [02:33:50.071] checking for kqueue... no [02:33:50.120] checking for mbstowcs_l... no [02:33:50.168] checking for memset_s... no [02:33:50.217] checking for posix_fallocate... no [02:33:50.266] checking for ppoll... no [02:33:50.315] checking for pthread_is_threaded_np... no [02:33:50.363] checking for setproctitle... no [02:33:50.413] checking for setproctitle_fast... no [02:33:50.461] checking for strchrnul... no [02:33:50.510] checking for strsignal... no [02:33:50.560] checking for syncfs... no [02:33:50.608] checking for sync_file_range... no [02:33:50.657] checking for uselocale... no [02:33:50.707] checking for wcstombs_l... no [02:33:50.754] checking for __builtin_bswap16... yes [02:33:50.802] checking for __builtin_bswap32... yes [02:33:50.851] checking for __builtin_bswap64... yes [02:33:50.900] checking for __builtin_clz... yes [02:33:50.948] checking for __builtin_ctz... yes [02:33:50.996] checking for __builtin_popcount... yes [02:33:51.044] checking for __builtin_frame_address... yes [02:33:51.090] checking for _LARGEFILE_SOURCE value needed for large files... no [02:33:51.142] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [02:33:51.172] checking for posix_fadvise... no [02:33:51.223] checking whether posix_fadvise is declared... no [02:33:51.266] checking whether fdatasync is declared... no [02:33:51.311] checking whether strlcat is declared... no [02:33:51.372] checking whether strlcpy is declared... no [02:33:51.434] checking whether strnlen is declared... yes [02:33:51.447] checking whether strsep is declared... no [02:33:51.511] checking whether preadv is declared... no [02:33:51.548] checking whether pwritev is declared... no [02:33:51.584] checking whether F_FULLFSYNC is declared... no [02:33:51.624] checking for explicit_bzero... no [02:33:51.672] checking for getopt... yes [02:33:51.716] checking for getpeereid... no [02:33:51.763] checking for inet_aton... no [02:33:51.810] checking for mkdtemp... no [02:33:51.857] checking for strlcat... no [02:33:51.904] checking for strlcpy... no [02:33:51.951] checking for strnlen... yes [02:33:51.999] checking for strsep... no [02:33:52.046] checking for pthread_barrier_wait... yes [02:33:52.091] configure: On mingw32 we will use our strtof wrapper. [02:33:52.091] checking for getopt_long... yes [02:33:52.135] checking for syslog... no [02:33:52.182] checking for opterr... yes [02:33:52.229] checking for optreset... no [02:33:52.278] checking test program... cross-compiling [02:33:52.279] checking size of void *... 8 [02:33:52.646] checking size of size_t... 8 [02:33:52.925] checking size of long... 4 [02:33:53.227] checking size of long long... 8 [02:33:53.527] checking alignment of short... 2 [02:33:53.712] checking alignment of int... 4 [02:33:53.931] checking alignment of long... 4 [02:33:54.126] checking alignment of int64_t... 8 [02:33:54.441] checking alignment of double... 8 [02:33:54.750] checking for __int128... yes [02:33:54.796] checking for __int128 alignment bug... assuming ok [02:33:54.796] checking alignment of PG_INT128_TYPE... 16 [02:33:55.118] checking for builtin __sync char locking functions... yes [02:33:55.160] checking for builtin __sync int32 locking functions... yes [02:33:55.200] checking for builtin __sync int32 atomic operations... yes [02:33:55.241] checking for builtin __sync int64 atomic operations... yes [02:33:55.284] checking for builtin __atomic int32 atomic operations... yes [02:33:55.325] checking for builtin __atomic int64 atomic operations... yes [02:33:55.368] checking for __get_cpuid... yes [02:33:55.413] checking for __get_cpuid_count... yes [02:33:55.457] checking for __cpuid... no [02:33:55.852] checking for __cpuidex... no [02:33:56.269] checking for _xgetbv... yes [02:33:56.668] checking for _mm512_popcnt_epi64... yes [02:33:57.083] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [02:33:57.182] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [02:33:57.204] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [02:33:57.222] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [02:33:57.241] 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 [02:33:57.295] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [02:33:57.295] checking which random number source to use... Windows native [02:33:57.297] checking for xmllint... /usr/bin/xmllint [02:33:57.298] checking for xsltproc... /usr/bin/xsltproc [02:33:57.298] checking for fop... /usr/bin/fop [02:33:57.298] checking for dbtoepub... no [02:33:57.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [02:33:57.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [02:33:57.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [02:33:57.309] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [02:33:57.309] 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 [02:33:57.309] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [02:33:57.309] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [02:33:57.393] configure: creating ./config.status [02:33:57.477] config.status: creating GNUmakefile [02:33:57.489] config.status: creating src/Makefile.global [02:33:57.505] config.status: creating src/include/pg_config.h [02:33:57.517] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [02:33:57.532] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [02:33:57.539] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [02:33:57.546] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [02:33:57.553] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [02:33:57.560] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [02:33:57.564] config.status: executing check_win32_symlinks commands [02:33:57.597] [02:33:57.597] real 0m16.966s [02:33:57.597] user 0m11.573s [02:33:57.597] sys 0m5.147s [02:33:57.597] make -s -j${BUILD_JOBS} clean [02:33:58.087] time make -s -j${BUILD_JOBS} world-bin [02:36:42.187] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [02:36:42.216] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7fe0): undefined reference to `AnonymousShmemResize' [02:36:42.298] collect2: error: ld returned 1 exit status [02:36:42.299] make[2]: *** [Makefile:88: postgres] Error 1 [02:36:42.299] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [02:36:42.299] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [02:36:42.300] [02:36:42.300] real 2m44.213s [02:36:42.300] user 8m58.065s [02:36:42.300] sys 1m37.800s [02:36:42.300] [02:36:42.300] Exit status: 2