[08:55:41.134] time ./configure \ [08:55:41.134] --host=x86_64-w64-mingw32 \ [08:55:41.134] --enable-cassert \ [08:55:41.134] --without-icu \ [08:55:41.134] CC="ccache x86_64-w64-mingw32-gcc" \ [08:55:41.134] CXX="ccache x86_64-w64-mingw32-g++" [08:55:41.252] checking build system type... x86_64-pc-linux-gnu [08:55:41.433] checking host system type... x86_64-w64-mingw32 [08:55:41.438] checking which template to use... win32 [08:55:41.439] checking whether NLS is wanted... no [08:55:41.439] checking for default port number... 5432 [08:55:41.445] checking for block size... 8kB [08:55:41.446] checking for segment size... 1GB [08:55:41.448] checking for WAL block size... 8kB [08:55:41.450] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:55:41.481] checking whether the C compiler works... yes [08:55:41.610] checking for C compiler default output file name... a.exe [08:55:41.611] checking for suffix of executables... .exe [08:55:41.649] checking whether we are cross compiling... yes [08:55:41.719] checking for suffix of object files... o [08:55:41.750] checking whether we are using the GNU C compiler... yes [08:55:41.764] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:55:41.770] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:55:41.780] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:55:41.926] checking whether we are using the GNU C++ compiler... yes [08:55:41.932] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:55:41.993] checking for gawk... no [08:55:41.993] checking for mawk... mawk [08:55:41.995] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:55:42.024] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:55:42.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:55:42.094] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:55:42.246] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:55:42.262] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:55:42.291] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:55:42.298] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:55:42.304] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:55:42.319] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:55:42.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:55:42.339] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:55:42.355] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:55:42.369] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:55:42.375] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:55:42.390] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:55:42.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:55:42.484] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:55:42.500] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:55:42.507] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:55:42.513] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:55:42.545] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:55:42.577] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:55:42.601] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:55:42.631] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:55:42.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:55:42.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:55:42.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:55:42.743] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:55:42.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:55:42.793] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:55:42.800] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:55:42.807] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:55:42.815] checking whether the C compiler still works... yes [08:55:42.885] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:55:42.947] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:55:42.948] checking pkg-config is at least version 0.9.0... yes [08:55:42.963] checking whether to build with ICU support... no [08:55:42.964] checking whether to build with Tcl... no [08:55:42.964] checking whether to build Perl modules... no [08:55:42.964] checking whether to build Python modules... no [08:55:42.964] checking whether to build with GSSAPI support... no [08:55:42.965] checking whether to build with PAM support... no [08:55:42.965] checking whether to build with BSD Authentication support... no [08:55:42.965] checking whether to build with LDAP support... no [08:55:42.965] checking whether to build with Bonjour support... no [08:55:42.965] checking whether to build with SELinux support... no [08:55:42.965] checking whether to build with systemd support... no [08:55:42.966] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:55:42.966] checking whether to build with XML support... no [08:55:42.966] checking whether to build with LZ4 support... no [08:55:42.966] checking whether to build with ZSTD support... no [08:55:42.966] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:55:42.967] checking whether it is possible to strip libraries... yes [08:55:42.973] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:55:42.973] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:55:42.973] checking for a BSD-compatible install... /usr/bin/install -c [08:55:42.982] checking for tar... /usr/bin/tar [08:55:42.982] checking whether ln -s works... yes [08:55:42.982] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:55:42.984] checking for bison... /usr/bin/bison [08:55:42.986] configure: using bison (GNU Bison) 3.8.2 [08:55:42.989] checking for flex... /usr/bin/flex [08:55:42.999] configure: using flex 2.6.4 [08:55:43.000] checking for perl... /usr/bin/perl [08:55:43.002] configure: using perl 5.36.0 [08:55:43.004] checking for zic... /usr/sbin/zic [08:55:43.004] checking for a sed that does not truncate output... /usr/bin/sed [08:55:43.009] checking for grep that handles long lines and -e... /usr/bin/grep [08:55:43.011] checking for egrep... /usr/bin/grep -E [08:55:43.012] checking for ANSI C header files... yes [08:55:43.070] checking for sys/types.h... yes [08:55:43.088] checking for sys/stat.h... yes [08:55:43.123] checking for stdlib.h... yes [08:55:43.137] checking for string.h... yes [08:55:43.151] checking for memory.h... yes [08:55:43.209] checking for strings.h... yes [08:55:43.268] checking for inttypes.h... yes [08:55:43.283] checking for stdint.h... yes [08:55:43.296] checking for unistd.h... yes [08:55:43.333] checking for main in -lm... yes [08:55:43.378] checking for library containing setproctitle... no [08:55:43.462] checking for library containing dlsym... no [08:55:43.546] checking for library containing socket... -lws2_32 [08:55:43.672] checking for library containing getopt_long... none required [08:55:43.717] checking for library containing shm_open... no [08:55:43.800] checking for library containing shm_unlink... no [08:55:43.882] checking for library containing clock_gettime... no [08:55:43.964] checking for library containing shmget... no [08:55:44.045] checking for library containing backtrace_symbols... no [08:55:44.127] checking for library containing pthread_barrier_wait... -lpthread [08:55:44.209] checking for inflate in -lz... yes [08:55:44.256] checking atomic.h usability... no [08:55:44.307] checking atomic.h presence... no [08:55:44.324] checking for atomic.h... no [08:55:44.327] checking copyfile.h usability... no [08:55:44.378] checking copyfile.h presence... no [08:55:44.395] checking for copyfile.h... no [08:55:44.399] checking execinfo.h usability... no [08:55:44.451] checking execinfo.h presence... no [08:55:44.468] checking for execinfo.h... no [08:55:44.470] checking getopt.h usability... yes [08:55:44.521] checking getopt.h presence... yes [08:55:44.534] checking for getopt.h... yes [08:55:44.541] checking ifaddrs.h usability... no [08:55:44.592] checking ifaddrs.h presence... no [08:55:44.608] checking for ifaddrs.h... no [08:55:44.611] checking mbarrier.h usability... no [08:55:44.662] checking mbarrier.h presence... no [08:55:44.681] checking for mbarrier.h... no [08:55:44.684] checking sys/epoll.h usability... no [08:55:44.736] checking sys/epoll.h presence... no [08:55:44.754] checking for sys/epoll.h... no [08:55:44.757] checking sys/event.h usability... no [08:55:44.807] checking sys/event.h presence... no [08:55:44.824] checking for sys/event.h... no [08:55:44.827] checking sys/personality.h usability... no [08:55:44.879] checking sys/personality.h presence... no [08:55:44.896] checking for sys/personality.h... no [08:55:44.900] checking sys/prctl.h usability... no [08:55:44.952] checking sys/prctl.h presence... no [08:55:44.970] checking for sys/prctl.h... no [08:55:44.973] checking sys/procctl.h usability... no [08:55:45.026] checking sys/procctl.h presence... no [08:55:45.044] checking for sys/procctl.h... no [08:55:45.047] checking sys/signalfd.h usability... no [08:55:45.099] checking sys/signalfd.h presence... no [08:55:45.116] checking for sys/signalfd.h... no [08:55:45.119] checking sys/ucred.h usability... no [08:55:45.174] checking sys/ucred.h presence... no [08:55:45.192] checking for sys/ucred.h... no [08:55:45.196] checking termios.h usability... no [08:55:45.249] checking termios.h presence... no [08:55:45.268] checking for termios.h... no [08:55:45.271] checking ucred.h usability... no [08:55:45.324] checking ucred.h presence... no [08:55:45.343] checking for ucred.h... no [08:55:45.347] checking xlocale.h usability... no [08:55:45.399] checking xlocale.h presence... no [08:55:45.417] checking for xlocale.h... no [08:55:45.420] checking zlib.h usability... yes [08:55:45.451] checking zlib.h presence... yes [08:55:45.469] checking for zlib.h... yes [08:55:45.469] checking for lz4... /usr/bin/lz4 [08:55:45.469] checking for zstd... /usr/bin/zstd [08:55:45.469] checking for openssl... /usr/bin/openssl [08:55:45.473] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [08:55:45.474] checking crtdefs.h usability... yes [08:55:45.526] checking crtdefs.h presence... yes [08:55:45.539] checking for crtdefs.h... yes [08:55:45.541] checking whether byte ordering is bigendian... no [08:55:45.619] checking for inline... inline [08:55:45.626] checking for printf format archetype... gnu_printf [08:55:45.634] checking for _Static_assert... yes [08:55:45.674] checking for typeof... typeof [08:55:45.706] checking for __builtin_types_compatible_p... yes [08:55:45.716] checking for __builtin_constant_p... yes [08:55:45.727] checking for __builtin_mul_overflow... yes [08:55:45.771] checking for __builtin_unreachable... yes [08:55:45.810] checking for computed goto support... yes [08:55:45.825] checking for struct tm.tm_zone... no [08:55:45.899] checking for union semun... no [08:55:45.930] checking for socklen_t... yes [08:55:47.955] checking for struct sockaddr.sa_len... no [08:55:49.863] checking for C/C++ restrict keyword... __restrict [08:55:49.901] checking for struct option... yes [08:55:49.939] checking whether assembler supports x86_64 popcntq... yes [08:55:49.969] checking size of off_t... 4 [08:55:50.245] 0 [08:55:50.245] checking for int timezone... yes [08:55:50.292] checking for backtrace_symbols... no [08:55:50.339] checking for copyfile... no [08:55:50.387] checking for copy_file_range... no [08:55:50.434] checking for elf_aux_info... no [08:55:50.482] checking for getauxval... no [08:55:50.530] checking for getifaddrs... no [08:55:50.581] checking for getpeerucred... no [08:55:50.629] checking for inet_pton... yes [08:55:50.677] checking for kqueue... no [08:55:50.724] checking for mbstowcs_l... no [08:55:50.772] checking for memset_s... no [08:55:50.818] checking for posix_fallocate... no [08:55:50.864] checking for ppoll... no [08:55:50.911] checking for pthread_is_threaded_np... no [08:55:50.958] checking for setproctitle... no [08:55:51.005] checking for setproctitle_fast... no [08:55:51.053] checking for strchrnul... no [08:55:51.100] checking for strsignal... no [08:55:51.147] checking for syncfs... no [08:55:51.193] checking for sync_file_range... no [08:55:51.242] checking for uselocale... no [08:55:51.289] checking for wcstombs_l... no [08:55:51.333] checking for __builtin_bswap16... yes [08:55:51.379] checking for __builtin_bswap32... yes [08:55:51.424] checking for __builtin_bswap64... yes [08:55:51.468] checking for __builtin_clz... yes [08:55:51.513] checking for __builtin_ctz... yes [08:55:51.557] checking for __builtin_popcount... yes [08:55:51.601] checking for __builtin_frame_address... yes [08:55:51.645] checking for _LARGEFILE_SOURCE value needed for large files... no [08:55:51.693] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:55:51.722] checking for posix_fadvise... no [08:55:51.770] checking whether posix_fadvise is declared... no [08:55:51.811] checking whether fdatasync is declared... no [08:55:51.854] checking whether strlcat is declared... no [08:55:51.913] checking whether strlcpy is declared... no [08:55:51.972] checking whether strnlen is declared... yes [08:55:51.984] checking whether strsep is declared... no [08:55:52.043] checking whether preadv is declared... no [08:55:52.076] checking whether pwritev is declared... no [08:55:52.108] checking whether F_FULLFSYNC is declared... no [08:55:52.144] checking for explicit_bzero... no [08:55:52.188] checking for getopt... yes [08:55:52.230] checking for getpeereid... no [08:55:52.275] checking for inet_aton... no [08:55:52.319] checking for mkdtemp... no [08:55:52.365] checking for strlcat... no [08:55:52.409] checking for strlcpy... no [08:55:52.453] checking for strnlen... yes [08:55:52.497] checking for strsep... no [08:55:52.540] checking for pthread_barrier_wait... yes [08:55:52.581] configure: On mingw32 we will use our strtof wrapper. [08:55:52.581] checking for getopt_long... yes [08:55:52.622] checking for syslog... no [08:55:52.666] checking for opterr... yes [08:55:52.711] checking for optreset... no [08:55:52.759] checking test program... cross-compiling [08:55:52.759] checking size of void *... 8 [08:55:53.126] checking size of size_t... 8 [08:55:53.445] checking size of long... 4 [08:55:53.741] checking size of long long... 8 [08:55:54.138] checking alignment of short... 2 [08:55:54.289] checking alignment of int... 4 [08:55:54.551] checking alignment of long... 4 [08:55:54.792] checking alignment of int64_t... 8 [08:55:55.099] checking alignment of double... 8 [08:55:55.381] checking for __int128... yes [08:55:55.425] checking for __int128 alignment bug... assuming ok [08:55:55.425] checking alignment of PG_INT128_TYPE... 16 [08:55:55.938] checking for builtin __sync char locking functions... yes [08:55:55.978] checking for builtin __sync int32 locking functions... yes [08:55:56.019] checking for builtin __sync int32 atomic operations... yes [08:55:56.061] checking for builtin __sync int64 atomic operations... yes [08:55:56.104] checking for builtin __atomic int32 atomic operations... yes [08:55:56.144] checking for builtin __atomic int64 atomic operations... yes [08:55:56.187] checking for __get_cpuid... yes [08:55:56.230] checking for __get_cpuid_count... yes [08:55:56.274] checking for __cpuid... no [08:55:56.662] checking for __cpuidex... no [08:55:57.078] checking for _xgetbv... yes [08:55:57.472] checking for _mm512_popcnt_epi64... yes [08:55:57.877] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:55:57.971] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:55:57.992] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:55:58.009] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:55:58.026] 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:55:58.078] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:55:58.079] checking which random number source to use... Windows native [08:55:58.081] checking for xmllint... /usr/bin/xmllint [08:55:58.081] checking for xsltproc... /usr/bin/xsltproc [08:55:58.081] checking for fop... /usr/bin/fop [08:55:58.081] checking for dbtoepub... no [08:55:58.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:55:58.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:55:58.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:55:58.092] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:55:58.093] 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:55:58.093] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:55:58.093] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:55:58.174] configure: creating ./config.status [08:55:58.254] config.status: creating GNUmakefile [08:55:58.265] config.status: creating src/Makefile.global [08:55:58.279] config.status: creating src/include/pg_config.h [08:55:58.291] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:55:58.304] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:55:58.311] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:55:58.318] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:55:58.326] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:55:58.333] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:55:58.336] config.status: executing check_win32_symlinks commands [08:55:58.369] [08:55:58.369] real 0m17.235s [08:55:58.369] user 0m11.552s [08:55:58.369] sys 0m5.333s [08:55:58.369] make -s -j${BUILD_JOBS} clean [08:55:58.849] time make -s -j${BUILD_JOBS} world-bin [08:58:16.105] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [08:58:16.133] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [08:58:16.213] collect2: error: ld returned 1 exit status [08:58:16.214] make[2]: *** [Makefile:88: postgres] Error 1 [08:58:16.214] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:58:16.215] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:58:16.215] [08:58:16.215] real 2m17.365s [08:58:16.215] user 7m27.366s [08:58:16.215] sys 1m23.885s [08:58:16.215] [08:58:16.215] Exit status: 2