[19:54:13.936] time ./configure \ [19:54:13.936] --host=x86_64-w64-mingw32 \ [19:54:13.936] --enable-cassert \ [19:54:13.936] --without-icu \ [19:54:13.936] CC="ccache x86_64-w64-mingw32-gcc" \ [19:54:13.936] CXX="ccache x86_64-w64-mingw32-g++" [19:54:14.076] checking build system type... x86_64-pc-linux-gnu [19:54:14.283] checking host system type... x86_64-w64-mingw32 [19:54:14.289] checking which template to use... win32 [19:54:14.289] checking whether NLS is wanted... no [19:54:14.289] checking for default port number... 5432 [19:54:14.296] checking for block size... 8kB [19:54:14.297] checking for segment size... 1GB [19:54:14.300] checking for WAL block size... 8kB [19:54:14.301] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:54:14.336] checking whether the C compiler works... yes [19:54:14.492] checking for C compiler default output file name... a.exe [19:54:14.493] checking for suffix of executables... .exe [19:54:14.538] checking whether we are cross compiling... yes [19:54:14.624] checking for suffix of object files... o [19:54:14.644] checking whether we are using the GNU C compiler... yes [19:54:14.652] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:54:14.671] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:54:14.682] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:54:14.852] checking whether we are using the GNU C++ compiler... yes [19:54:14.860] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:54:15.106] checking for gawk... no [19:54:15.106] checking for mawk... mawk [19:54:15.109] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:54:15.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:54:15.151] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:54:15.201] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:54:15.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:54:15.267] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:54:15.275] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:54:15.295] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:54:15.303] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:54:15.321] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:54:15.329] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:54:15.364] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:54:15.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:54:15.400] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:54:15.407] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:54:15.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:54:15.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:54:15.485] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:54:15.492] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:54:15.499] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:54:15.506] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:54:15.524] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:54:15.559] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:54:15.583] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:54:15.601] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:54:15.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:54:15.648] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:54:15.690] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:54:15.707] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:54:15.714] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:54:15.750] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:54:15.768] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:54:15.785] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:54:15.793] checking whether the C compiler still works... yes [19:54:15.872] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:54:15.948] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:54:15.948] checking pkg-config is at least version 0.9.0... yes [19:54:15.969] checking whether to build with ICU support... no [19:54:15.969] checking whether to build with Tcl... no [19:54:15.969] checking whether to build Perl modules... no [19:54:15.969] checking whether to build Python modules... no [19:54:15.969] checking whether to build with GSSAPI support... no [19:54:15.971] checking whether to build with PAM support... no [19:54:15.971] checking whether to build with BSD Authentication support... no [19:54:15.971] checking whether to build with LDAP support... no [19:54:15.971] checking whether to build with Bonjour support... no [19:54:15.971] checking whether to build with SELinux support... no [19:54:15.971] checking whether to build with systemd support... no [19:54:15.971] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:54:15.972] checking whether to build with XML support... no [19:54:15.972] checking whether to build with LZ4 support... no [19:54:15.972] checking whether to build with ZSTD support... no [19:54:15.973] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:54:15.973] checking whether it is possible to strip libraries... yes [19:54:15.981] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:54:15.981] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:54:15.982] checking for a BSD-compatible install... /usr/bin/install -c [19:54:15.992] checking for tar... /usr/bin/tar [19:54:15.993] checking whether ln -s works... yes [19:54:15.993] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:54:15.995] checking for bison... /usr/bin/bison [19:54:15.998] configure: using bison (GNU Bison) 3.8.2 [19:54:16.001] checking for flex... /usr/bin/flex [19:54:16.016] configure: using flex 2.6.4 [19:54:16.016] checking for perl... /usr/bin/perl [19:54:16.019] configure: using perl 5.36.0 [19:54:16.022] checking for zic... /usr/sbin/zic [19:54:16.022] checking for a sed that does not truncate output... /usr/bin/sed [19:54:16.028] checking for grep that handles long lines and -e... /usr/bin/grep [19:54:16.030] checking for egrep... /usr/bin/grep -E [19:54:16.032] checking for ANSI C header files... yes [19:54:16.099] checking for sys/types.h... yes [19:54:16.118] checking for sys/stat.h... yes [19:54:16.157] checking for stdlib.h... yes [19:54:16.218] checking for string.h... yes [19:54:16.233] checking for memory.h... yes [19:54:16.298] checking for strings.h... yes [19:54:16.313] checking for inttypes.h... yes [19:54:16.331] checking for stdint.h... yes [19:54:16.396] checking for unistd.h... yes [19:54:16.464] checking for main in -lm... yes [19:54:16.514] checking for library containing setproctitle... no [19:54:16.607] checking for library containing dlsym... no [19:54:16.700] checking for library containing socket... -lws2_32 [19:54:16.839] checking for library containing getopt_long... none required [19:54:16.893] checking for library containing shm_open... no [19:54:16.992] checking for library containing shm_unlink... no [19:54:17.087] checking for library containing clock_gettime... no [19:54:17.184] checking for library containing shmget... no [19:54:17.281] checking for library containing backtrace_symbols... no [19:54:17.375] checking for library containing pthread_barrier_wait... -lpthread [19:54:17.473] checking for inflate in -lz... yes [19:54:17.522] checking for stdbool.h that conforms to C99... yes [19:54:17.534] checking for _Bool... yes [19:54:17.662] checking atomic.h usability... no [19:54:17.720] checking atomic.h presence... no [19:54:17.740] checking for atomic.h... no [19:54:17.743] checking copyfile.h usability... no [19:54:17.798] checking copyfile.h presence... no [19:54:17.818] checking for copyfile.h... no [19:54:17.821] checking execinfo.h usability... no [19:54:17.878] checking execinfo.h presence... no [19:54:17.897] checking for execinfo.h... no [19:54:17.901] checking getopt.h usability... yes [19:54:17.959] checking getopt.h presence... yes [19:54:17.975] checking for getopt.h... yes [19:54:17.982] checking ifaddrs.h usability... no [19:54:18.040] checking ifaddrs.h presence... no [19:54:18.059] checking for ifaddrs.h... no [19:54:18.062] checking mbarrier.h usability... no [19:54:18.120] checking mbarrier.h presence... no [19:54:18.140] checking for mbarrier.h... no [19:54:18.144] checking sys/epoll.h usability... no [19:54:18.201] checking sys/epoll.h presence... no [19:54:18.220] checking for sys/epoll.h... no [19:54:18.224] checking sys/event.h usability... no [19:54:18.281] checking sys/event.h presence... no [19:54:18.299] checking for sys/event.h... no [19:54:18.303] checking sys/personality.h usability... no [19:54:18.360] checking sys/personality.h presence... no [19:54:18.382] checking for sys/personality.h... no [19:54:18.386] checking sys/prctl.h usability... no [19:54:18.444] checking sys/prctl.h presence... no [19:54:18.464] checking for sys/prctl.h... no [19:54:18.468] checking sys/procctl.h usability... no [19:54:18.525] checking sys/procctl.h presence... no [19:54:18.544] checking for sys/procctl.h... no [19:54:18.547] checking sys/signalfd.h usability... no [19:54:18.604] checking sys/signalfd.h presence... no [19:54:18.623] checking for sys/signalfd.h... no [19:54:18.627] checking sys/ucred.h usability... no [19:54:18.686] checking sys/ucred.h presence... no [19:54:18.706] checking for sys/ucred.h... no [19:54:18.709] checking termios.h usability... no [19:54:18.767] checking termios.h presence... no [19:54:18.787] checking for termios.h... no [19:54:18.790] checking ucred.h usability... no [19:54:18.851] checking ucred.h presence... no [19:54:18.872] checking for ucred.h... no [19:54:18.876] checking xlocale.h usability... no [19:54:18.937] checking xlocale.h presence... no [19:54:18.957] checking for xlocale.h... no [19:54:18.960] checking zlib.h usability... yes [19:54:19.027] checking zlib.h presence... yes [19:54:19.047] checking for zlib.h... yes [19:54:19.048] checking for lz4... /usr/bin/lz4 [19:54:19.048] checking for zstd... /usr/bin/zstd [19:54:19.048] checking for openssl... /usr/bin/openssl [19:54:19.052] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [19:54:19.053] checking crtdefs.h usability... yes [19:54:19.109] checking crtdefs.h presence... yes [19:54:19.126] checking for crtdefs.h... yes [19:54:19.127] checking whether byte ordering is bigendian... no [19:54:19.240] checking for inline... inline [19:54:19.258] checking for printf format archetype... gnu_printf [19:54:19.293] checking for _Static_assert... yes [19:54:19.337] checking for typeof... typeof [19:54:19.374] checking for __builtin_types_compatible_p... yes [19:54:19.395] checking for __builtin_constant_p... yes [19:54:19.406] checking for __builtin_unreachable... yes [19:54:19.450] checking for computed goto support... yes [19:54:19.485] checking for struct tm.tm_zone... no [19:54:19.568] checking for union semun... no [19:54:19.603] checking for socklen_t... yes [19:54:20.814] checking for struct sockaddr.sa_len... no [19:54:22.960] checking for C/C++ restrict keyword... __restrict [19:54:22.984] checking for struct option... yes [19:54:23.062] checking whether assembler supports x86_64 popcntq... yes [19:54:23.070] checking size of off_t... 4 [19:54:23.419] 0 [19:54:23.419] checking size of bool... 1 [19:54:23.506] checking for int timezone... yes [19:54:23.562] checking for backtrace_symbols... no [19:54:23.615] checking for copyfile... no [19:54:23.666] checking for copy_file_range... no [19:54:23.718] checking for getifaddrs... no [19:54:23.771] checking for getpeerucred... no [19:54:23.824] checking for inet_pton... yes [19:54:23.877] checking for kqueue... no [19:54:23.931] checking for mbstowcs_l... no [19:54:23.986] checking for memset_s... no [19:54:24.045] checking for posix_fallocate... no [19:54:24.100] checking for ppoll... no [19:54:24.156] checking for pthread_is_threaded_np... no [19:54:24.210] checking for setproctitle... no [19:54:24.266] checking for setproctitle_fast... no [19:54:24.320] checking for strchrnul... no [19:54:24.378] checking for strsignal... no [19:54:24.436] checking for syncfs... no [19:54:24.490] checking for sync_file_range... no [19:54:24.543] checking for uselocale... no [19:54:24.599] checking for wcstombs_l... no [19:54:24.652] checking for __builtin_bswap16... yes [19:54:24.714] checking for __builtin_bswap32... yes [19:54:24.766] checking for __builtin_bswap64... yes [19:54:24.819] checking for __builtin_clz... yes [19:54:24.873] checking for __builtin_ctz... yes [19:54:24.924] checking for __builtin_popcount... yes [19:54:24.974] checking for __builtin_frame_address... yes [19:54:25.024] checking for _LARGEFILE_SOURCE value needed for large files... no [19:54:25.079] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:54:25.115] checking for posix_fadvise... no [19:54:25.172] checking whether posix_fadvise is declared... no [19:54:25.221] checking whether fdatasync is declared... no [19:54:25.269] checking whether strlcat is declared... no [19:54:25.336] checking whether strlcpy is declared... no [19:54:25.402] checking whether strnlen is declared... yes [19:54:25.437] checking whether strsep is declared... no [19:54:25.501] checking whether preadv is declared... no [19:54:25.537] checking whether pwritev is declared... no [19:54:25.578] checking whether F_FULLFSYNC is declared... no [19:54:25.623] checking for explicit_bzero... no [19:54:25.674] checking for getopt... yes [19:54:25.722] checking for getpeereid... no [19:54:25.771] checking for inet_aton... no [19:54:25.819] checking for mkdtemp... no [19:54:25.868] checking for strlcat... no [19:54:25.919] checking for strlcpy... no [19:54:25.968] checking for strnlen... yes [19:54:26.017] checking for strsep... no [19:54:26.065] checking for pthread_barrier_wait... yes [19:54:26.110] configure: On mingw32 we will use our strtof wrapper. [19:54:26.111] checking for getopt_long... yes [19:54:26.156] checking for _configthreadlocale... yes [19:54:26.203] checking for syslog... no [19:54:26.252] checking for opterr... yes [19:54:26.303] checking for optreset... no [19:54:26.356] checking test program... cross-compiling [19:54:26.356] checking whether long int is 64 bits... no [19:54:26.390] checking whether long long int is 64 bits... yes [19:54:26.400] checking for __builtin_mul_overflow... yes [19:54:26.447] checking size of void *... 8 [19:54:26.804] checking size of size_t... 8 [19:54:27.219] checking size of long... 4 [19:54:27.506] checking alignment of short... 2 [19:54:27.762] checking alignment of int... 4 [19:54:28.158] checking alignment of long... 4 [19:54:28.368] checking alignment of long long int... 8 [19:54:28.718] checking alignment of double... 8 [19:54:29.136] checking for __int128... yes [19:54:29.184] checking for __int128 alignment bug... assuming ok [19:54:29.184] checking alignment of PG_INT128_TYPE... 16 [19:54:29.625] checking for builtin __sync char locking functions... yes [19:54:29.668] checking for builtin __sync int32 locking functions... yes [19:54:29.711] checking for builtin __sync int32 atomic operations... yes [19:54:29.754] checking for builtin __sync int64 atomic operations... yes [19:54:29.797] checking for builtin __atomic int32 atomic operations... yes [19:54:29.841] checking for builtin __atomic int64 atomic operations... yes [19:54:29.885] checking for __get_cpuid... yes [19:54:29.933] checking for __get_cpuid_count... yes [19:54:29.978] checking for __cpuid... no [19:54:30.373] checking for __cpuidex... no [19:54:30.797] checking for _xgetbv... yes [19:54:31.209] checking for _mm512_popcnt_epi64... yes [19:54:31.634] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:54:31.680] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:54:31.767] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:54:31.790] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:54:31.808] 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 [19:54:31.863] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:54:31.864] checking which random number source to use... Windows native [19:54:31.866] checking for xmllint... /usr/bin/xmllint [19:54:31.866] checking for xsltproc... /usr/bin/xsltproc [19:54:31.866] checking for fop... /usr/bin/fop [19:54:31.867] checking for dbtoepub... no [19:54:31.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:54:31.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:54:31.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:54:31.879] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:54:31.879] 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 [19:54:31.879] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:54:31.879] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:54:31.964] configure: creating ./config.status [19:54:32.049] config.status: creating GNUmakefile [19:54:32.061] config.status: creating src/Makefile.global [19:54:32.077] config.status: creating src/include/pg_config.h [19:54:32.090] config.status: creating src/include/pg_config_ext.h [19:54:32.102] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:54:32.117] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:54:32.124] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:54:32.131] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:54:32.139] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:54:32.146] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:54:32.150] config.status: executing check_win32_symlinks commands [19:54:32.184] [19:54:32.184] real 0m18.248s [19:54:32.184] user 0m12.084s [19:54:32.184] sys 0m5.718s [19:54:32.184] make -s -j${BUILD_JOBS} clean [19:54:32.713] time make -s -j${BUILD_JOBS} world-bin [19:57:27.542] /usr/bin/x86_64-w64-mingw32-ld: utils/adt/uuid.o:uuid.c:(.text+0x7d5): undefined reference to `get_real_time_ns' [19:57:27.542] /usr/bin/x86_64-w64-mingw32-ld: utils/adt/uuid.o:uuid.c:(.text+0x80b): undefined reference to `get_real_time_ns' [19:57:27.632] collect2: error: ld returned 1 exit status [19:57:27.633] make[2]: *** [Makefile:88: postgres] Error 1 [19:57:27.633] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:57:27.634] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:57:27.634] [19:57:27.634] real 2m54.921s [19:57:27.634] user 9m34.058s [19:57:27.634] sys 1m45.106s [19:57:27.634] [19:57:27.634] Exit status: 2