[00:42:42.894] time ./configure \ [00:42:42.894] --host=x86_64-w64-mingw32 \ [00:42:42.894] --enable-cassert \ [00:42:42.894] --without-icu \ [00:42:42.894] CC="ccache x86_64-w64-mingw32-gcc" \ [00:42:42.894] CXX="ccache x86_64-w64-mingw32-g++" [00:42:43.010] checking build system type... x86_64-pc-linux-gnu [00:42:43.206] checking host system type... x86_64-w64-mingw32 [00:42:43.211] checking which template to use... win32 [00:42:43.212] checking whether NLS is wanted... no [00:42:43.212] checking for default port number... 5432 [00:42:43.218] checking for block size... 8kB [00:42:43.219] checking for segment size... 1GB [00:42:43.222] checking for WAL block size... 8kB [00:42:43.223] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:42:43.254] checking whether the C compiler works... yes [00:42:43.402] checking for C compiler default output file name... a.exe [00:42:43.403] checking for suffix of executables... .exe [00:42:43.442] checking whether we are cross compiling... yes [00:42:43.519] checking for suffix of object files... o [00:42:43.536] checking whether we are using the GNU C compiler... yes [00:42:43.552] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:42:43.569] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:42:43.578] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:42:43.639] checking whether we are using the GNU C++ compiler... yes [00:42:43.645] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:42:43.862] checking for gawk... no [00:42:43.862] checking for mawk... mawk [00:42:43.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:42:43.894] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:42:43.901] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:42:43.943] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:42:43.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:42:43.993] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:42:44.008] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:42:44.014] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:42:44.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:42:44.027] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:42:44.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:42:44.063] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:42:44.069] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:42:44.075] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:42:44.082] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:42:44.112] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:42:44.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:42:44.258] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:42:44.274] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:42:44.280] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:42:44.286] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:42:44.293] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:42:44.299] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:42:44.320] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:42:44.336] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:42:44.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:42:44.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:42:44.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:42:44.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:42:44.427] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:42:44.460] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:42:44.475] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:42:44.491] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:42:44.498] checking whether the C compiler still works... yes [00:42:44.562] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:42:44.633] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:42:44.633] checking pkg-config is at least version 0.9.0... yes [00:42:44.649] checking whether to build with ICU support... no [00:42:44.649] checking whether to build with Tcl... no [00:42:44.649] checking whether to build Perl modules... no [00:42:44.649] checking whether to build Python modules... no [00:42:44.649] checking whether to build with GSSAPI support... no [00:42:44.650] checking whether to build with PAM support... no [00:42:44.650] checking whether to build with BSD Authentication support... no [00:42:44.651] checking whether to build with LDAP support... no [00:42:44.651] checking whether to build with Bonjour support... no [00:42:44.651] checking whether to build with SELinux support... no [00:42:44.651] checking whether to build with systemd support... no [00:42:44.651] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:42:44.651] checking whether to build with XML support... no [00:42:44.651] checking whether to build with LZ4 support... no [00:42:44.652] checking whether to build with ZSTD support... no [00:42:44.652] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:42:44.652] checking whether it is possible to strip libraries... yes [00:42:44.662] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:42:44.662] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:42:44.663] checking for a BSD-compatible install... /usr/bin/install -c [00:42:44.671] checking for tar... /usr/bin/tar [00:42:44.671] checking whether ln -s works... yes [00:42:44.672] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:42:44.674] checking for bison... /usr/bin/bison [00:42:44.676] configure: using bison (GNU Bison) 3.8.2 [00:42:44.679] checking for flex... /usr/bin/flex [00:42:44.681] configure: using flex 2.6.4 [00:42:44.681] checking for perl... /usr/bin/perl [00:42:44.684] configure: using perl 5.36.0 [00:42:44.686] checking for zic... /usr/sbin/zic [00:42:44.686] checking for a sed that does not truncate output... /usr/bin/sed [00:42:44.691] checking for grep that handles long lines and -e... /usr/bin/grep [00:42:44.693] checking for egrep... /usr/bin/grep -E [00:42:44.695] checking for ANSI C header files... yes [00:42:44.741] checking for sys/types.h... yes [00:42:44.758] checking for sys/stat.h... yes [00:42:44.773] checking for stdlib.h... yes [00:42:44.787] checking for string.h... yes [00:42:44.801] checking for memory.h... yes [00:42:44.815] checking for strings.h... yes [00:42:44.874] checking for inttypes.h... yes [00:42:44.889] checking for stdint.h... yes [00:42:44.902] checking for unistd.h... yes [00:42:44.919] checking for main in -lm... yes [00:42:44.966] checking for library containing setproctitle... no [00:42:45.053] checking for library containing dlsym... no [00:42:45.139] checking for library containing socket... -lws2_32 [00:42:45.266] checking for library containing getopt_long... none required [00:42:45.314] checking for library containing shm_open... no [00:42:45.402] checking for library containing shm_unlink... no [00:42:45.492] checking for library containing clock_gettime... no [00:42:45.578] checking for library containing shmget... no [00:42:45.665] checking for library containing backtrace_symbols... no [00:42:45.753] checking for library containing pthread_barrier_wait... -lpthread [00:42:45.843] checking for inflate in -lz... yes [00:42:45.893] checking atomic.h usability... no [00:42:45.952] checking atomic.h presence... no [00:42:45.971] checking for atomic.h... no [00:42:45.974] checking copyfile.h usability... no [00:42:46.029] checking copyfile.h presence... no [00:42:46.049] checking for copyfile.h... no [00:42:46.052] checking execinfo.h usability... no [00:42:46.107] checking execinfo.h presence... no [00:42:46.129] checking for execinfo.h... no [00:42:46.133] checking getopt.h usability... yes [00:42:46.140] checking getopt.h presence... yes [00:42:46.156] checking for getopt.h... yes [00:42:46.164] checking ifaddrs.h usability... no [00:42:46.219] checking ifaddrs.h presence... no [00:42:46.238] checking for ifaddrs.h... no [00:42:46.242] checking mbarrier.h usability... no [00:42:46.296] checking mbarrier.h presence... no [00:42:46.315] checking for mbarrier.h... no [00:42:46.319] checking sys/epoll.h usability... no [00:42:46.374] checking sys/epoll.h presence... no [00:42:46.393] checking for sys/epoll.h... no [00:42:46.396] checking sys/event.h usability... no [00:42:46.450] checking sys/event.h presence... no [00:42:46.470] checking for sys/event.h... no [00:42:46.473] checking sys/personality.h usability... no [00:42:46.528] checking sys/personality.h presence... no [00:42:46.548] checking for sys/personality.h... no [00:42:46.551] checking sys/prctl.h usability... no [00:42:46.607] checking sys/prctl.h presence... no [00:42:46.626] checking for sys/prctl.h... no [00:42:46.630] checking sys/procctl.h usability... no [00:42:46.685] checking sys/procctl.h presence... no [00:42:46.704] checking for sys/procctl.h... no [00:42:46.707] checking sys/signalfd.h usability... no [00:42:46.761] checking sys/signalfd.h presence... no [00:42:46.781] checking for sys/signalfd.h... no [00:42:46.784] checking sys/ucred.h usability... no [00:42:46.837] checking sys/ucred.h presence... no [00:42:46.857] checking for sys/ucred.h... no [00:42:46.860] checking termios.h usability... no [00:42:46.917] checking termios.h presence... no [00:42:46.937] checking for termios.h... no [00:42:46.940] checking ucred.h usability... no [00:42:46.996] checking ucred.h presence... no [00:42:47.015] checking for ucred.h... no [00:42:47.018] checking xlocale.h usability... no [00:42:47.076] checking xlocale.h presence... no [00:42:47.095] checking for xlocale.h... no [00:42:47.098] checking zlib.h usability... yes [00:42:47.108] checking zlib.h presence... yes [00:42:47.127] checking for zlib.h... yes [00:42:47.127] checking for lz4... /usr/bin/lz4 [00:42:47.128] checking for zstd... /usr/bin/zstd [00:42:47.128] checking for openssl... /usr/bin/openssl [00:42:47.132] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:42:47.133] checking crtdefs.h usability... yes [00:42:47.141] checking crtdefs.h presence... yes [00:42:47.156] checking for crtdefs.h... yes [00:42:47.158] checking whether byte ordering is bigendian... no [00:42:47.242] checking for inline... inline [00:42:47.249] checking for printf format archetype... gnu_printf [00:42:47.286] checking for _Static_assert... yes [00:42:47.327] checking for typeof... typeof [00:42:47.345] checking for __builtin_types_compatible_p... yes [00:42:47.356] checking for __builtin_constant_p... yes [00:42:47.367] checking for __builtin_mul_overflow... yes [00:42:47.414] checking for __builtin_unreachable... yes [00:42:47.456] checking for computed goto support... yes [00:42:47.463] checking for struct tm.tm_zone... no [00:42:47.543] checking for union semun... no [00:42:47.577] checking for socklen_t... yes [00:42:48.709] checking for struct sockaddr.sa_len... no [00:42:50.676] checking for C/C++ restrict keyword... __restrict [00:42:50.690] checking for struct option... yes [00:42:50.736] checking whether assembler supports x86_64 popcntq... yes [00:42:50.744] checking size of off_t... 4 [00:42:50.952] 0 [00:42:50.952] checking for int timezone... yes [00:42:51.005] checking for backtrace_symbols... no [00:42:51.057] checking for copyfile... no [00:42:51.109] checking for copy_file_range... no [00:42:51.163] checking for elf_aux_info... no [00:42:51.214] checking for getauxval... no [00:42:51.263] checking for getifaddrs... no [00:42:51.315] checking for getpeerucred... no [00:42:51.365] checking for inet_pton... yes [00:42:51.417] checking for kqueue... no [00:42:51.467] checking for mbstowcs_l... no [00:42:51.517] checking for memset_s... no [00:42:51.566] checking for posix_fallocate... no [00:42:51.616] checking for ppoll... no [00:42:51.666] checking for pthread_is_threaded_np... no [00:42:51.716] checking for setproctitle... no [00:42:51.765] checking for setproctitle_fast... no [00:42:51.814] checking for strchrnul... no [00:42:51.862] checking for strsignal... no [00:42:51.914] checking for syncfs... no [00:42:51.963] checking for sync_file_range... no [00:42:52.013] checking for uselocale... no [00:42:52.064] checking for wcstombs_l... no [00:42:52.111] checking for __builtin_bswap16... yes [00:42:52.159] checking for __builtin_bswap32... yes [00:42:52.208] checking for __builtin_bswap64... yes [00:42:52.255] checking for __builtin_clz... yes [00:42:52.304] checking for __builtin_ctz... yes [00:42:52.352] checking for __builtin_popcount... yes [00:42:52.400] checking for __builtin_frame_address... yes [00:42:52.446] checking for _LARGEFILE_SOURCE value needed for large files... no [00:42:52.497] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:42:52.530] checking for posix_fadvise... no [00:42:52.582] checking whether posix_fadvise is declared... no [00:42:52.630] checking whether fdatasync is declared... no [00:42:52.682] checking whether strlcat is declared... no [00:42:52.748] checking whether strlcpy is declared... no [00:42:52.813] checking whether strnlen is declared... yes [00:42:52.827] checking whether strsep is declared... no [00:42:52.890] checking whether preadv is declared... no [00:42:52.925] checking whether pwritev is declared... no [00:42:52.960] checking whether F_FULLFSYNC is declared... no [00:42:52.999] checking for explicit_bzero... no [00:42:53.044] checking for getopt... yes [00:42:53.091] checking for getpeereid... no [00:42:53.139] checking for inet_aton... no [00:42:53.186] checking for mkdtemp... no [00:42:53.232] checking for strlcat... no [00:42:53.278] checking for strlcpy... no [00:42:53.324] checking for strnlen... yes [00:42:53.371] checking for strsep... no [00:42:53.418] checking for pthread_barrier_wait... yes [00:42:53.462] configure: On mingw32 we will use our strtof wrapper. [00:42:53.462] checking for getopt_long... yes [00:42:53.507] checking for syslog... no [00:42:53.556] checking for opterr... yes [00:42:53.604] checking for optreset... no [00:42:53.658] checking test program... cross-compiling [00:42:53.658] checking size of void *... 8 [00:42:54.001] checking size of size_t... 8 [00:42:54.371] checking size of long... 4 [00:42:54.571] checking size of long long... 8 [00:42:54.952] checking alignment of short... 2 [00:42:55.087] checking alignment of int... 4 [00:42:55.289] checking alignment of long... 4 [00:42:55.618] checking alignment of int64_t... 8 [00:42:55.996] checking alignment of double... 8 [00:42:56.330] checking for __int128... yes [00:42:56.384] checking for __int128 alignment bug... assuming ok [00:42:56.384] checking alignment of PG_INT128_TYPE... 16 [00:42:56.877] checking for builtin __sync char locking functions... yes [00:42:56.918] checking for builtin __sync int32 locking functions... yes [00:42:56.961] checking for builtin __sync int32 atomic operations... yes [00:42:57.002] checking for builtin __sync int64 atomic operations... yes [00:42:57.045] checking for builtin __atomic int32 atomic operations... yes [00:42:57.087] checking for builtin __atomic int64 atomic operations... yes [00:42:57.131] checking for __get_cpuid... yes [00:42:57.178] checking for __get_cpuid_count... yes [00:42:57.221] checking for __cpuid... no [00:42:57.617] checking for __cpuidex... no [00:42:58.038] checking for _xgetbv... yes [00:42:58.437] checking for _mm512_popcnt_epi64... yes [00:42:58.855] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:42:58.954] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:42:58.976] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:42:58.995] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:42:59.013] 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 [00:42:59.068] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:42:59.068] checking which random number source to use... Windows native [00:42:59.070] checking for xmllint... /usr/bin/xmllint [00:42:59.071] checking for xsltproc... /usr/bin/xsltproc [00:42:59.071] checking for fop... /usr/bin/fop [00:42:59.071] checking for dbtoepub... no [00:42:59.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:42:59.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:42:59.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:42:59.082] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:42:59.082] 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 [00:42:59.082] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:42:59.082] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:42:59.168] configure: creating ./config.status [00:42:59.252] config.status: creating GNUmakefile [00:42:59.264] config.status: creating src/Makefile.global [00:42:59.279] config.status: creating src/include/pg_config.h [00:42:59.291] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:42:59.306] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:42:59.314] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:42:59.321] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:42:59.328] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:42:59.335] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:42:59.338] config.status: executing check_win32_symlinks commands [00:42:59.373] [00:42:59.373] real 0m16.479s [00:42:59.373] user 0m10.705s [00:42:59.373] sys 0m5.298s [00:42:59.373] make -s -j${BUILD_JOBS} clean [00:42:59.875] time make -s -j${BUILD_JOBS} world-bin [00:45:34.824] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [00:45:34.852] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7fe0): undefined reference to `AnonymousShmemResize' [00:45:34.934] collect2: error: ld returned 1 exit status [00:45:34.935] make[2]: *** [Makefile:88: postgres] Error 1 [00:45:34.935] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:45:34.935] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:45:34.935] [00:45:34.935] real 2m35.061s [00:45:34.935] user 8m27.398s [00:45:34.935] sys 1m35.170s [00:45:34.936] [00:45:34.936] Exit status: 2