[14:26:14.252] time ./configure \ [14:26:14.252] --host=x86_64-w64-mingw32 \ [14:26:14.252] --enable-cassert \ [14:26:14.252] --without-icu \ [14:26:14.252] CC="ccache x86_64-w64-mingw32-gcc" \ [14:26:14.252] CXX="ccache x86_64-w64-mingw32-g++" [14:26:14.370] checking build system type... x86_64-pc-linux-gnu [14:26:14.555] checking host system type... x86_64-w64-mingw32 [14:26:14.560] checking which template to use... win32 [14:26:14.560] checking whether NLS is wanted... no [14:26:14.561] checking for default port number... 5432 [14:26:14.567] checking for block size... 8kB [14:26:14.568] checking for segment size... 1GB [14:26:14.571] checking for WAL block size... 8kB [14:26:14.572] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:26:14.606] checking whether the C compiler works... yes [14:26:14.745] checking for C compiler default output file name... a.exe [14:26:14.746] checking for suffix of executables... .exe [14:26:14.787] checking whether we are cross compiling... yes [14:26:14.865] checking for suffix of object files... o [14:26:14.873] checking whether we are using the GNU C compiler... yes [14:26:14.890] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:26:14.908] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:26:14.933] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:26:14.991] checking whether we are using the GNU C++ compiler... yes [14:26:14.998] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:26:15.202] checking for gawk... no [14:26:15.202] checking for mawk... mawk [14:26:15.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:26:15.211] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:26:15.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:26:15.292] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:26:15.340] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:26:15.358] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:26:15.426] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:26:15.434] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:26:15.441] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:26:15.476] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:26:15.484] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:26:15.501] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:26:15.509] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:26:15.526] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:26:15.561] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:26:15.578] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:26:15.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:26:15.653] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:26:15.660] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:26:15.678] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:26:15.686] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:26:15.694] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:26:15.701] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:26:15.725] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:26:15.743] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:26:15.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:26:15.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:26:15.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:26:15.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:26:15.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:26:15.910] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:26:15.928] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:26:15.946] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:26:15.983] checking whether the C compiler still works... yes [14:26:16.051] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:26:16.128] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:26:16.128] checking pkg-config is at least version 0.9.0... yes [14:26:16.145] checking whether to build with ICU support... no [14:26:16.145] checking whether to build with Tcl... no [14:26:16.145] checking whether to build Perl modules... no [14:26:16.145] checking whether to build Python modules... no [14:26:16.145] checking whether to build with GSSAPI support... no [14:26:16.147] checking whether to build with PAM support... no [14:26:16.147] checking whether to build with BSD Authentication support... no [14:26:16.147] checking whether to build with LDAP support... no [14:26:16.147] checking whether to build with Bonjour support... no [14:26:16.147] checking whether to build with SELinux support... no [14:26:16.147] checking whether to build with systemd support... no [14:26:16.148] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:26:16.148] checking whether to build with XML support... no [14:26:16.148] checking whether to build with LZ4 support... no [14:26:16.148] checking whether to build with ZSTD support... no [14:26:16.149] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:26:16.149] checking whether it is possible to strip libraries... yes [14:26:16.161] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:26:16.161] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:26:16.161] checking for a BSD-compatible install... /usr/bin/install -c [14:26:16.171] checking for tar... /usr/bin/tar [14:26:16.171] checking whether ln -s works... yes [14:26:16.171] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:26:16.173] checking for bison... /usr/bin/bison [14:26:16.176] configure: using bison (GNU Bison) 3.8.2 [14:26:16.179] checking for flex... /usr/bin/flex [14:26:16.181] configure: using flex 2.6.4 [14:26:16.181] checking for perl... /usr/bin/perl [14:26:16.184] configure: using perl 5.36.0 [14:26:16.187] checking for zic... /usr/sbin/zic [14:26:16.187] checking for a sed that does not truncate output... /usr/bin/sed [14:26:16.192] checking for grep that handles long lines and -e... /usr/bin/grep [14:26:16.194] checking for egrep... /usr/bin/grep -E [14:26:16.197] checking for ANSI C header files... yes [14:26:16.296] checking for sys/types.h... yes [14:26:16.360] checking for sys/stat.h... yes [14:26:16.378] checking for stdlib.h... yes [14:26:16.416] checking for string.h... yes [14:26:16.432] checking for memory.h... yes [14:26:16.451] checking for strings.h... yes [14:26:16.514] checking for inttypes.h... yes [14:26:16.581] checking for stdint.h... yes [14:26:16.597] checking for unistd.h... yes [14:26:16.614] checking for main in -lm... yes [14:26:16.664] checking for library containing setproctitle... no [14:26:16.758] checking for library containing dlsym... no [14:26:16.851] checking for library containing socket... -lws2_32 [14:26:16.992] checking for library containing getopt_long... none required [14:26:17.043] checking for library containing shm_open... no [14:26:17.135] checking for library containing shm_unlink... no [14:26:17.229] checking for library containing clock_gettime... no [14:26:17.322] checking for library containing shmget... no [14:26:17.415] checking for library containing backtrace_symbols... no [14:26:17.507] checking for library containing pthread_barrier_wait... -lpthread [14:26:17.605] checking for inflate in -lz... yes [14:26:17.660] checking atomic.h usability... no [14:26:17.720] checking atomic.h presence... no [14:26:17.741] checking for atomic.h... no [14:26:17.745] checking copyfile.h usability... no [14:26:17.804] checking copyfile.h presence... no [14:26:17.825] checking for copyfile.h... no [14:26:17.828] checking execinfo.h usability... no [14:26:17.885] checking execinfo.h presence... no [14:26:17.905] checking for execinfo.h... no [14:26:17.909] checking getopt.h usability... yes [14:26:17.966] checking getopt.h presence... yes [14:26:17.982] checking for getopt.h... yes [14:26:17.990] checking ifaddrs.h usability... no [14:26:18.049] checking ifaddrs.h presence... no [14:26:18.069] checking for ifaddrs.h... no [14:26:18.073] checking mbarrier.h usability... no [14:26:18.132] checking mbarrier.h presence... no [14:26:18.152] checking for mbarrier.h... no [14:26:18.156] checking sys/epoll.h usability... no [14:26:18.216] checking sys/epoll.h presence... no [14:26:18.236] checking for sys/epoll.h... no [14:26:18.240] checking sys/event.h usability... no [14:26:18.299] checking sys/event.h presence... no [14:26:18.320] checking for sys/event.h... no [14:26:18.323] checking sys/personality.h usability... no [14:26:18.381] checking sys/personality.h presence... no [14:26:18.401] checking for sys/personality.h... no [14:26:18.405] checking sys/prctl.h usability... no [14:26:18.464] checking sys/prctl.h presence... no [14:26:18.484] checking for sys/prctl.h... no [14:26:18.488] checking sys/procctl.h usability... no [14:26:18.547] checking sys/procctl.h presence... no [14:26:18.567] checking for sys/procctl.h... no [14:26:18.571] checking sys/signalfd.h usability... no [14:26:18.628] checking sys/signalfd.h presence... no [14:26:18.650] checking for sys/signalfd.h... no [14:26:18.653] checking sys/ucred.h usability... no [14:26:18.712] checking sys/ucred.h presence... no [14:26:18.733] checking for sys/ucred.h... no [14:26:18.737] checking termios.h usability... no [14:26:18.797] checking termios.h presence... no [14:26:18.817] checking for termios.h... no [14:26:18.821] checking ucred.h usability... no [14:26:18.879] checking ucred.h presence... no [14:26:18.899] checking for ucred.h... no [14:26:18.903] checking xlocale.h usability... no [14:26:18.962] checking xlocale.h presence... no [14:26:18.982] checking for xlocale.h... no [14:26:18.985] checking zlib.h usability... yes [14:26:18.994] checking zlib.h presence... yes [14:26:19.015] checking for zlib.h... yes [14:26:19.015] checking for lz4... /usr/bin/lz4 [14:26:19.015] checking for zstd... /usr/bin/zstd [14:26:19.016] checking for openssl... /usr/bin/openssl [14:26:19.020] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:26:19.021] checking crtdefs.h usability... yes [14:26:19.029] checking crtdefs.h presence... yes [14:26:19.045] checking for crtdefs.h... yes [14:26:19.047] checking whether byte ordering is bigendian... no [14:26:19.163] checking for inline... inline [14:26:19.171] checking for printf format archetype... gnu_printf [14:26:19.211] checking for _Static_assert... yes [14:26:19.256] checking for typeof... typeof [14:26:19.294] checking for __builtin_types_compatible_p... yes [14:26:19.317] checking for __builtin_constant_p... yes [14:26:19.339] checking for __builtin_mul_overflow... yes [14:26:19.390] checking for __builtin_unreachable... yes [14:26:19.434] checking for computed goto support... yes [14:26:19.472] checking for struct tm.tm_zone... no [14:26:19.560] checking for union semun... no [14:26:19.599] checking for socklen_t... yes [14:26:21.183] checking for struct sockaddr.sa_len... no [14:26:23.308] checking for C/C++ restrict keyword... __restrict [14:26:23.324] checking for struct option... yes [14:26:23.370] checking whether assembler supports x86_64 popcntq... yes [14:26:23.409] checking size of off_t... 4 [14:26:23.776] 0 [14:26:23.776] checking for int timezone... yes [14:26:23.834] checking for backtrace_symbols... no [14:26:23.891] checking for copyfile... no [14:26:23.948] checking for copy_file_range... no [14:26:24.005] checking for elf_aux_info... no [14:26:24.064] checking for getauxval... no [14:26:24.121] checking for getifaddrs... no [14:26:24.177] checking for getpeerucred... no [14:26:24.233] checking for inet_pton... yes [14:26:24.289] checking for kqueue... no [14:26:24.348] checking for mbstowcs_l... no [14:26:24.404] checking for memset_s... no [14:26:24.462] checking for posix_fallocate... no [14:26:24.519] checking for ppoll... no [14:26:24.575] checking for pthread_is_threaded_np... no [14:26:24.631] checking for setproctitle... no [14:26:24.687] checking for setproctitle_fast... no [14:26:24.744] checking for strchrnul... no [14:26:24.800] checking for strsignal... no [14:26:24.856] checking for syncfs... no [14:26:24.913] checking for sync_file_range... no [14:26:24.969] checking for uselocale... no [14:26:25.024] checking for wcstombs_l... no [14:26:25.078] checking for __builtin_bswap16... yes [14:26:25.134] checking for __builtin_bswap32... yes [14:26:25.187] checking for __builtin_bswap64... yes [14:26:25.240] checking for __builtin_clz... yes [14:26:25.294] checking for __builtin_ctz... yes [14:26:25.347] checking for __builtin_popcount... yes [14:26:25.400] checking for __builtin_frame_address... yes [14:26:25.453] checking for _LARGEFILE_SOURCE value needed for large files... no [14:26:25.512] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:26:25.547] checking for posix_fadvise... no [14:26:25.603] checking whether posix_fadvise is declared... no [14:26:25.655] checking whether fdatasync is declared... no [14:26:25.707] checking whether strlcat is declared... no [14:26:25.779] checking whether strlcpy is declared... no [14:26:25.847] checking whether strnlen is declared... yes [14:26:25.885] checking whether strsep is declared... no [14:26:25.954] checking whether preadv is declared... no [14:26:25.997] checking whether pwritev is declared... no [14:26:26.038] checking whether F_FULLFSYNC is declared... no [14:26:26.083] checking for explicit_bzero... no [14:26:26.136] checking for getopt... yes [14:26:26.186] checking for getpeereid... no [14:26:26.238] checking for inet_aton... no [14:26:26.291] checking for mkdtemp... no [14:26:26.342] checking for strlcat... no [14:26:26.394] checking for strlcpy... no [14:26:26.447] checking for strnlen... yes [14:26:26.501] checking for strsep... no [14:26:26.555] checking for pthread_barrier_wait... yes [14:26:26.604] configure: On mingw32 we will use our strtof wrapper. [14:26:26.604] checking for getopt_long... yes [14:26:26.655] checking for syslog... no [14:26:26.710] checking for opterr... yes [14:26:26.765] checking for optreset... no [14:26:26.822] checking test program... cross-compiling [14:26:26.823] checking size of void *... 8 [14:26:27.264] checking size of size_t... 8 [14:26:27.710] checking size of long... 4 [14:26:28.019] checking size of long long... 8 [14:26:28.555] checking alignment of short... 2 [14:26:28.792] checking alignment of int... 4 [14:26:29.129] checking alignment of long... 4 [14:26:29.461] checking alignment of int64_t... 8 [14:26:29.960] checking alignment of double... 8 [14:26:30.327] checking for __int128... yes [14:26:30.384] checking for __int128 alignment bug... assuming ok [14:26:30.384] checking alignment of PG_INT128_TYPE... 16 [14:26:30.921] checking for builtin __sync char locking functions... yes [14:26:30.970] checking for builtin __sync int32 locking functions... yes [14:26:31.018] checking for builtin __sync int32 atomic operations... yes [14:26:31.067] checking for builtin __sync int64 atomic operations... yes [14:26:31.117] checking for builtin __atomic int32 atomic operations... yes [14:26:31.164] checking for builtin __atomic int64 atomic operations... yes [14:26:31.210] checking for __get_cpuid... yes [14:26:31.263] checking for __get_cpuid_count... yes [14:26:31.312] checking for __cpuid... no [14:26:31.714] checking for __cpuidex... no [14:26:32.139] checking for _xgetbv... yes [14:26:32.560] checking for _mm512_popcnt_epi64... yes [14:26:32.997] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:26:33.106] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:26:33.131] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:26:33.154] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:26:33.176] 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 [14:26:33.238] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:26:33.238] checking which random number source to use... Windows native [14:26:33.240] checking for xmllint... /usr/bin/xmllint [14:26:33.240] checking for xsltproc... /usr/bin/xsltproc [14:26:33.241] checking for fop... /usr/bin/fop [14:26:33.241] checking for dbtoepub... no [14:26:33.241] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:26:33.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:26:33.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:26:33.253] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:26:33.253] 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 [14:26:33.253] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:26:33.253] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:26:33.349] configure: creating ./config.status [14:26:33.444] config.status: creating GNUmakefile [14:26:33.457] config.status: creating src/Makefile.global [14:26:33.474] config.status: creating src/include/pg_config.h [14:26:33.488] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:26:33.506] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:26:33.514] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:26:33.523] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:26:33.532] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:26:33.540] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:26:33.544] config.status: executing check_win32_symlinks commands [14:26:33.582] [14:26:33.582] real 0m19.330s [14:26:33.582] user 0m12.825s [14:26:33.582] sys 0m6.121s [14:26:33.582] make -s -j${BUILD_JOBS} clean [14:26:34.109] time make -s -j${BUILD_JOBS} world-bin [14:29:12.535] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [14:29:12.565] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [14:29:12.650] collect2: error: ld returned 1 exit status [14:29:12.651] make[2]: *** [Makefile:88: postgres] Error 1 [14:29:12.651] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:29:12.651] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:29:12.652] [14:29:12.652] real 2m38.543s [14:29:12.652] user 8m39.225s [14:29:12.652] sys 1m35.698s [14:29:12.652] [14:29:12.652] Exit status: 2