[00:03:35.453] time ./configure \ [00:03:35.453] --host=x86_64-w64-mingw32 \ [00:03:35.453] --enable-cassert \ [00:03:35.453] --without-icu \ [00:03:35.453] CC="ccache x86_64-w64-mingw32-gcc" \ [00:03:35.453] CXX="ccache x86_64-w64-mingw32-g++" [00:03:35.583] checking build system type... x86_64-pc-linux-gnu [00:03:35.786] checking host system type... x86_64-w64-mingw32 [00:03:35.793] checking which template to use... win32 [00:03:35.793] checking whether NLS is wanted... no [00:03:35.793] checking for default port number... 5432 [00:03:35.801] checking for block size... 8kB [00:03:35.803] checking for segment size... 1GB [00:03:35.805] checking for WAL block size... 8kB [00:03:35.807] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:03:35.847] checking whether the C compiler works... yes [00:03:35.991] checking for C compiler default output file name... a.exe [00:03:35.993] checking for suffix of executables... .exe [00:03:36.039] checking whether we are cross compiling... yes [00:03:36.119] checking for suffix of object files... o [00:03:36.129] checking whether we are using the GNU C compiler... yes [00:03:36.138] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:03:36.158] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:03:36.170] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:03:36.238] checking whether we are using the GNU C++ compiler... yes [00:03:36.386] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:03:36.528] checking for gawk... no [00:03:36.529] checking for mawk... mawk [00:03:36.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:03:36.569] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:03:36.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:03:36.658] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:03:36.708] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:03:36.728] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:03:36.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:03:36.784] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:03:36.792] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:03:36.811] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:03:36.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:03:36.849] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:03:36.857] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:03:36.875] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:03:36.883] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:03:36.902] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:03:36.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:03:36.950] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:03:36.968] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:03:37.002] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:03:37.009] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:03:37.045] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:03:37.053] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:03:37.078] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:03:37.096] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:03:37.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:03:37.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:03:37.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:03:37.198] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:03:37.217] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:03:37.256] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:03:37.275] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:03:37.294] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:03:37.303] checking whether the C compiler still works... yes [00:03:37.374] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:03:37.453] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:03:37.453] checking pkg-config is at least version 0.9.0... yes [00:03:37.469] checking whether to build with ICU support... no [00:03:37.470] checking whether to build with Tcl... no [00:03:37.470] checking whether to build Perl modules... no [00:03:37.470] checking whether to build Python modules... no [00:03:37.470] checking whether to build with GSSAPI support... no [00:03:37.471] checking whether to build with PAM support... no [00:03:37.471] checking whether to build with BSD Authentication support... no [00:03:37.471] checking whether to build with LDAP support... no [00:03:37.471] checking whether to build with Bonjour support... no [00:03:37.471] checking whether to build with SELinux support... no [00:03:37.471] checking whether to build with systemd support... no [00:03:37.472] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:03:37.472] checking whether to build with XML support... no [00:03:37.472] checking whether to build with LZ4 support... no [00:03:37.472] checking whether to build with ZSTD support... no [00:03:37.472] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:03:37.473] checking whether it is possible to strip libraries... yes [00:03:37.480] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:03:37.480] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:03:37.480] checking for a BSD-compatible install... /usr/bin/install -c [00:03:37.490] checking for tar... /usr/bin/tar [00:03:37.490] checking whether ln -s works... yes [00:03:37.490] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:03:37.492] checking for bison... /usr/bin/bison [00:03:37.495] configure: using bison (GNU Bison) 3.8.2 [00:03:37.498] checking for flex... /usr/bin/flex [00:03:37.500] configure: using flex 2.6.4 [00:03:37.500] checking for perl... /usr/bin/perl [00:03:37.503] configure: using perl 5.36.0 [00:03:37.505] checking for zic... /usr/sbin/zic [00:03:37.505] checking for a sed that does not truncate output... /usr/bin/sed [00:03:37.510] checking for grep that handles long lines and -e... /usr/bin/grep [00:03:37.512] checking for egrep... /usr/bin/grep -E [00:03:37.514] checking for ANSI C header files... yes [00:03:37.575] checking for sys/types.h... yes [00:03:37.592] checking for sys/stat.h... yes [00:03:37.607] checking for stdlib.h... yes [00:03:37.621] checking for string.h... yes [00:03:37.654] checking for memory.h... yes [00:03:37.669] checking for strings.h... yes [00:03:37.684] checking for inttypes.h... yes [00:03:37.699] checking for stdint.h... yes [00:03:37.713] checking for unistd.h... yes [00:03:37.776] checking for main in -lm... yes [00:03:37.820] checking for library containing setproctitle... no [00:03:37.906] checking for library containing dlsym... no [00:03:37.991] checking for library containing socket... -lws2_32 [00:03:38.115] checking for library containing getopt_long... none required [00:03:38.159] checking for library containing shm_open... no [00:03:38.242] checking for library containing shm_unlink... no [00:03:38.324] checking for library containing clock_gettime... no [00:03:38.406] checking for library containing shmget... no [00:03:38.489] checking for library containing backtrace_symbols... no [00:03:38.570] checking for library containing pthread_barrier_wait... -lpthread [00:03:38.653] checking for inflate in -lz... yes [00:03:38.699] checking atomic.h usability... no [00:03:38.752] checking atomic.h presence... no [00:03:38.770] checking for atomic.h... no [00:03:38.773] checking copyfile.h usability... no [00:03:38.825] checking copyfile.h presence... no [00:03:38.843] checking for copyfile.h... no [00:03:38.846] checking execinfo.h usability... no [00:03:38.898] checking execinfo.h presence... no [00:03:38.916] checking for execinfo.h... no [00:03:38.919] checking getopt.h usability... yes [00:03:38.972] checking getopt.h presence... yes [00:03:38.986] checking for getopt.h... yes [00:03:38.993] checking ifaddrs.h usability... no [00:03:39.045] checking ifaddrs.h presence... no [00:03:39.063] checking for ifaddrs.h... no [00:03:39.066] checking mbarrier.h usability... no [00:03:39.119] checking mbarrier.h presence... no [00:03:39.137] checking for mbarrier.h... no [00:03:39.140] checking sys/epoll.h usability... no [00:03:39.192] checking sys/epoll.h presence... no [00:03:39.210] checking for sys/epoll.h... no [00:03:39.213] checking sys/event.h usability... no [00:03:39.266] checking sys/event.h presence... no [00:03:39.284] checking for sys/event.h... no [00:03:39.287] checking sys/personality.h usability... no [00:03:39.338] checking sys/personality.h presence... no [00:03:39.356] checking for sys/personality.h... no [00:03:39.359] checking sys/prctl.h usability... no [00:03:39.412] checking sys/prctl.h presence... no [00:03:39.429] checking for sys/prctl.h... no [00:03:39.432] checking sys/procctl.h usability... no [00:03:39.484] checking sys/procctl.h presence... no [00:03:39.501] checking for sys/procctl.h... no [00:03:39.504] checking sys/signalfd.h usability... no [00:03:39.558] checking sys/signalfd.h presence... no [00:03:39.576] checking for sys/signalfd.h... no [00:03:39.579] checking sys/ucred.h usability... no [00:03:39.631] checking sys/ucred.h presence... no [00:03:39.648] checking for sys/ucred.h... no [00:03:39.651] checking termios.h usability... no [00:03:39.703] checking termios.h presence... no [00:03:39.720] checking for termios.h... no [00:03:39.723] checking ucred.h usability... no [00:03:39.775] checking ucred.h presence... no [00:03:39.792] checking for ucred.h... no [00:03:39.795] checking xlocale.h usability... no [00:03:39.846] checking xlocale.h presence... no [00:03:39.863] checking for xlocale.h... no [00:03:39.865] checking zlib.h usability... yes [00:03:39.874] checking zlib.h presence... yes [00:03:39.891] checking for zlib.h... yes [00:03:39.892] checking for lz4... /usr/bin/lz4 [00:03:39.892] checking for zstd... /usr/bin/zstd [00:03:39.892] checking for openssl... /usr/bin/openssl [00:03:39.896] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [00:03:39.897] checking crtdefs.h usability... yes [00:03:39.923] checking crtdefs.h presence... yes [00:03:39.937] checking for crtdefs.h... yes [00:03:39.938] checking whether byte ordering is bigendian... no [00:03:40.014] checking for inline... inline [00:03:40.020] checking for printf format archetype... gnu_printf [00:03:40.052] checking for _Static_assert... yes [00:03:40.091] checking for typeof... typeof [00:03:40.122] checking for __builtin_types_compatible_p... yes [00:03:40.133] checking for __builtin_constant_p... yes [00:03:40.143] checking for __builtin_mul_overflow... yes [00:03:40.187] checking for __builtin_unreachable... yes [00:03:40.227] checking for computed goto support... yes [00:03:40.242] checking for struct tm.tm_zone... no [00:03:40.312] checking for union semun... no [00:03:40.343] checking for socklen_t... yes [00:03:41.471] checking for struct sockaddr.sa_len... no [00:03:43.528] checking for C/C++ restrict keyword... __restrict [00:03:43.541] checking for struct option... yes [00:03:43.588] checking whether assembler supports x86_64 popcntq... yes [00:03:43.628] checking size of off_t... 4 [00:03:43.848] 0 [00:03:43.848] checking for int timezone... yes [00:03:43.902] checking for backtrace_symbols... no [00:03:43.956] checking for copyfile... no [00:03:44.010] checking for copy_file_range... no [00:03:44.064] checking for elf_aux_info... no [00:03:44.119] checking for getauxval... no [00:03:44.173] checking for getifaddrs... no [00:03:44.226] checking for getpeerucred... no [00:03:44.282] checking for inet_pton... yes [00:03:44.336] checking for kqueue... no [00:03:44.392] checking for mbstowcs_l... no [00:03:44.447] checking for memset_s... no [00:03:44.500] checking for posix_fallocate... no [00:03:44.553] checking for ppoll... no [00:03:44.606] checking for pthread_is_threaded_np... no [00:03:44.660] checking for setproctitle... no [00:03:44.712] checking for setproctitle_fast... no [00:03:44.767] checking for strchrnul... no [00:03:44.821] checking for strsignal... no [00:03:44.875] checking for syncfs... no [00:03:44.931] checking for sync_file_range... no [00:03:44.987] checking for uselocale... no [00:03:45.043] checking for wcstombs_l... no [00:03:45.093] checking for __builtin_bswap16... yes [00:03:45.146] checking for __builtin_bswap32... yes [00:03:45.196] checking for __builtin_bswap64... yes [00:03:45.246] checking for __builtin_clz... yes [00:03:45.296] checking for __builtin_ctz... yes [00:03:45.344] checking for __builtin_popcount... yes [00:03:45.392] checking for __builtin_frame_address... yes [00:03:45.440] checking for _LARGEFILE_SOURCE value needed for large files... no [00:03:45.492] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:03:45.520] checking for posix_fadvise... no [00:03:45.570] checking whether posix_fadvise is declared... no [00:03:45.613] checking whether fdatasync is declared... no [00:03:45.657] checking whether strlcat is declared... no [00:03:45.718] checking whether strlcpy is declared... no [00:03:45.779] checking whether strnlen is declared... yes [00:03:45.792] checking whether strsep is declared... no [00:03:45.852] checking whether preadv is declared... no [00:03:45.887] checking whether pwritev is declared... no [00:03:45.921] checking whether F_FULLFSYNC is declared... no [00:03:45.959] checking for explicit_bzero... no [00:03:46.004] checking for getopt... yes [00:03:46.047] checking for getpeereid... no [00:03:46.094] checking for inet_aton... no [00:03:46.141] checking for mkdtemp... no [00:03:46.188] checking for strlcat... no [00:03:46.237] checking for strlcpy... no [00:03:46.286] checking for strnlen... yes [00:03:46.335] checking for strsep... no [00:03:46.385] checking for pthread_barrier_wait... yes [00:03:46.431] configure: On mingw32 we will use our strtof wrapper. [00:03:46.431] checking for getopt_long... yes [00:03:46.478] checking for syslog... no [00:03:46.530] checking for opterr... yes [00:03:46.584] checking for optreset... no [00:03:46.641] checking test program... cross-compiling [00:03:46.641] checking size of void *... 8 [00:03:47.007] checking size of size_t... 8 [00:03:47.475] checking size of long... 4 [00:03:47.744] checking size of long long... 8 [00:03:48.096] checking alignment of short... 2 [00:03:48.251] checking alignment of int... 4 [00:03:48.505] checking alignment of long... 4 [00:03:48.881] checking alignment of int64_t... 8 [00:03:49.287] checking alignment of double... 8 [00:03:49.621] checking for __int128... yes [00:03:49.678] checking for __int128 alignment bug... assuming ok [00:03:49.678] checking alignment of PG_INT128_TYPE... 16 [00:03:50.149] checking for builtin __sync char locking functions... yes [00:03:50.190] checking for builtin __sync int32 locking functions... yes [00:03:50.231] checking for builtin __sync int32 atomic operations... yes [00:03:50.272] checking for builtin __sync int64 atomic operations... yes [00:03:50.314] checking for builtin __atomic int32 atomic operations... yes [00:03:50.355] checking for builtin __atomic int64 atomic operations... yes [00:03:50.399] checking for __get_cpuid... yes [00:03:50.445] checking for __get_cpuid_count... yes [00:03:50.488] checking for __cpuid... no [00:03:50.885] checking for __cpuidex... no [00:03:51.306] checking for _xgetbv... yes [00:03:51.708] checking for _mm512_popcnt_epi64... yes [00:03:52.127] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [00:03:52.227] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:03:52.248] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [00:03:52.265] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:03:52.282] 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:03:52.334] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:03:52.334] checking which random number source to use... Windows native [00:03:52.336] checking for xmllint... /usr/bin/xmllint [00:03:52.336] checking for xsltproc... /usr/bin/xsltproc [00:03:52.336] checking for fop... /usr/bin/fop [00:03:52.336] checking for dbtoepub... no [00:03:52.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:03:52.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:03:52.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:03:52.347] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:03:52.347] 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:03:52.347] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:03:52.347] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:03:52.427] configure: creating ./config.status [00:03:52.509] config.status: creating GNUmakefile [00:03:52.520] config.status: creating src/Makefile.global [00:03:52.535] config.status: creating src/include/pg_config.h [00:03:52.546] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:03:52.560] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:03:52.567] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:03:52.573] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:03:52.580] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:03:52.587] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:03:52.590] config.status: executing check_win32_symlinks commands [00:03:52.622] [00:03:52.622] real 0m17.169s [00:03:52.622] user 0m11.253s [00:03:52.622] sys 0m5.552s [00:03:52.622] make -s -j${BUILD_JOBS} clean [00:03:53.113] time make -s -j${BUILD_JOBS} world-bin [00:06:28.554] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [00:06:28.584] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7fe0): undefined reference to `AnonymousShmemResize' [00:06:28.668] collect2: error: ld returned 1 exit status [00:06:28.673] make[2]: *** [Makefile:88: postgres] Error 1 [00:06:28.673] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:06:28.673] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:06:28.674] [00:06:28.674] real 2m35.561s [00:06:28.674] user 8m25.964s [00:06:28.674] sys 1m36.182s [00:06:28.674] [00:06:28.674] Exit status: 2