[05:06:54.473] time ./configure \ [05:06:54.473] --host=x86_64-w64-mingw32 \ [05:06:54.473] --enable-cassert \ [05:06:54.473] --without-icu \ [05:06:54.473] CC="ccache x86_64-w64-mingw32-gcc" \ [05:06:54.473] CXX="ccache x86_64-w64-mingw32-g++" [05:06:54.587] checking build system type... x86_64-pc-linux-gnu [05:06:54.762] checking host system type... x86_64-w64-mingw32 [05:06:54.768] checking which template to use... win32 [05:06:54.768] checking whether NLS is wanted... no [05:06:54.768] checking for default port number... 5432 [05:06:54.775] checking for block size... 8kB [05:06:54.777] checking for segment size... 1GB [05:06:54.780] checking for WAL block size... 8kB [05:06:54.781] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:06:54.815] checking whether the C compiler works... yes [05:06:54.929] checking for C compiler default output file name... a.exe [05:06:54.930] checking for suffix of executables... .exe [05:06:54.968] checking whether we are cross compiling... yes [05:06:55.044] checking for suffix of object files... o [05:06:55.063] checking whether we are using the GNU C compiler... yes [05:06:55.079] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:06:55.097] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:06:55.107] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:06:55.257] checking whether we are using the GNU C++ compiler... yes [05:06:55.385] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:06:55.505] checking for gawk... no [05:06:55.505] checking for mawk... mawk [05:06:55.508] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:06:55.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:06:55.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:06:55.605] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:06:55.653] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:06:55.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:06:55.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:06:55.714] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:06:55.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:06:55.755] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:06:55.763] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:06:55.797] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:06:55.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:06:55.821] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:06:55.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:06:55.883] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:06:55.914] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:06:55.950] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:06:55.965] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:06:55.998] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:06:56.006] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:06:56.039] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:06:56.075] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:06:56.099] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:06:56.106] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:06:56.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:06:56.153] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:06:56.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:06:56.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:06:56.246] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:06:56.284] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:06:56.292] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:06:56.309] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:06:56.341] checking whether the C compiler still works... yes [05:06:56.412] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:06:56.475] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:06:56.476] checking pkg-config is at least version 0.9.0... yes [05:06:56.491] checking whether to build with ICU support... no [05:06:56.491] checking whether to build with Tcl... no [05:06:56.491] checking whether to build Perl modules... no [05:06:56.492] checking whether to build Python modules... no [05:06:56.492] checking whether to build with GSSAPI support... no [05:06:56.493] checking whether to build with PAM support... no [05:06:56.493] checking whether to build with BSD Authentication support... no [05:06:56.493] checking whether to build with LDAP support... no [05:06:56.493] checking whether to build with Bonjour support... no [05:06:56.493] checking whether to build with SELinux support... no [05:06:56.493] checking whether to build with systemd support... no [05:06:56.493] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:06:56.493] checking whether to build with XML support... no [05:06:56.494] checking whether to build with LZ4 support... no [05:06:56.494] checking whether to build with ZSTD support... no [05:06:56.494] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:06:56.495] checking whether it is possible to strip libraries... yes [05:06:56.500] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:06:56.501] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:06:56.501] checking for a BSD-compatible install... /usr/bin/install -c [05:06:56.509] checking for tar... /usr/bin/tar [05:06:56.509] checking whether ln -s works... yes [05:06:56.509] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:06:56.511] checking for bison... /usr/bin/bison [05:06:56.513] configure: using bison (GNU Bison) 3.8.2 [05:06:56.516] checking for flex... /usr/bin/flex [05:06:56.518] configure: using flex 2.6.4 [05:06:56.518] checking for perl... /usr/bin/perl [05:06:56.520] configure: using perl 5.36.0 [05:06:56.522] checking for zic... /usr/sbin/zic [05:06:56.523] checking for a sed that does not truncate output... /usr/bin/sed [05:06:56.527] checking for grep that handles long lines and -e... /usr/bin/grep [05:06:56.529] checking for egrep... /usr/bin/grep -E [05:06:56.530] checking for ANSI C header files... yes [05:06:56.617] checking for sys/types.h... yes [05:06:56.651] checking for sys/stat.h... yes [05:06:56.687] checking for stdlib.h... yes [05:06:56.747] checking for string.h... yes [05:06:56.783] checking for memory.h... yes [05:06:56.844] checking for strings.h... yes [05:06:56.899] checking for inttypes.h... yes [05:06:56.956] checking for stdint.h... yes [05:06:57.017] checking for unistd.h... yes [05:06:57.055] checking for main in -lm... yes [05:06:57.104] checking for library containing setproctitle... no [05:06:57.194] checking for library containing dlsym... no [05:06:57.284] checking for library containing socket... -lws2_32 [05:06:57.408] checking for library containing getopt_long... none required [05:06:57.452] checking for library containing shm_open... no [05:06:57.533] checking for library containing shm_unlink... no [05:06:57.623] checking for library containing clock_gettime... no [05:06:57.713] checking for library containing shmget... no [05:06:57.807] checking for library containing backtrace_symbols... no [05:06:57.894] checking for library containing pthread_barrier_wait... -lpthread [05:06:57.980] checking for inflate in -lz... yes [05:06:58.033] checking atomic.h usability... no [05:06:58.092] checking atomic.h presence... no [05:06:58.112] checking for atomic.h... no [05:06:58.115] checking copyfile.h usability... no [05:06:58.173] checking copyfile.h presence... no [05:06:58.192] checking for copyfile.h... no [05:06:58.195] checking execinfo.h usability... no [05:06:58.252] checking execinfo.h presence... no [05:06:58.271] checking for execinfo.h... no [05:06:58.274] checking getopt.h usability... yes [05:06:58.329] checking getopt.h presence... yes [05:06:58.343] checking for getopt.h... yes [05:06:58.349] checking ifaddrs.h usability... no [05:06:58.400] checking ifaddrs.h presence... no [05:06:58.417] checking for ifaddrs.h... no [05:06:58.420] checking mbarrier.h usability... no [05:06:58.471] checking mbarrier.h presence... no [05:06:58.488] checking for mbarrier.h... no [05:06:58.491] checking sys/epoll.h usability... no [05:06:58.544] checking sys/epoll.h presence... no [05:06:58.564] checking for sys/epoll.h... no [05:06:58.568] checking sys/event.h usability... no [05:06:58.626] checking sys/event.h presence... no [05:06:58.646] checking for sys/event.h... no [05:06:58.650] checking sys/personality.h usability... no [05:06:58.708] checking sys/personality.h presence... no [05:06:58.727] checking for sys/personality.h... no [05:06:58.730] checking sys/prctl.h usability... no [05:06:58.786] checking sys/prctl.h presence... no [05:06:58.805] checking for sys/prctl.h... no [05:06:58.808] checking sys/procctl.h usability... no [05:06:58.861] checking sys/procctl.h presence... no [05:06:58.878] checking for sys/procctl.h... no [05:06:58.881] checking sys/signalfd.h usability... no [05:06:58.932] checking sys/signalfd.h presence... no [05:06:58.949] checking for sys/signalfd.h... no [05:06:58.952] checking sys/ucred.h usability... no [05:06:59.005] checking sys/ucred.h presence... no [05:06:59.026] checking for sys/ucred.h... no [05:06:59.029] checking termios.h usability... no [05:06:59.085] checking termios.h presence... no [05:06:59.104] checking for termios.h... no [05:06:59.108] checking ucred.h usability... no [05:06:59.165] checking ucred.h presence... no [05:06:59.184] checking for ucred.h... no [05:06:59.187] checking xlocale.h usability... no [05:06:59.244] checking xlocale.h presence... no [05:06:59.263] checking for xlocale.h... no [05:06:59.266] checking zlib.h usability... yes [05:06:59.299] checking zlib.h presence... yes [05:06:59.318] checking for zlib.h... yes [05:06:59.318] checking for lz4... /usr/bin/lz4 [05:06:59.319] checking for zstd... /usr/bin/zstd [05:06:59.319] checking for openssl... /usr/bin/openssl [05:06:59.324] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:06:59.324] checking crtdefs.h usability... yes [05:06:59.380] checking crtdefs.h presence... yes [05:06:59.396] checking for crtdefs.h... yes [05:06:59.397] checking whether byte ordering is bigendian... no [05:06:59.481] checking for inline... inline [05:06:59.509] checking for printf format archetype... gnu_printf [05:06:59.545] checking for _Static_assert... yes [05:06:59.588] checking for typeof... typeof [05:06:59.624] checking for __builtin_types_compatible_p... yes [05:06:59.636] checking for __builtin_constant_p... yes [05:06:59.657] checking for __builtin_mul_overflow... yes [05:06:59.705] checking for __builtin_unreachable... yes [05:06:59.749] checking for computed goto support... yes [05:06:59.785] checking for struct tm.tm_zone... no [05:06:59.861] checking for union semun... no [05:06:59.894] checking for socklen_t... yes [05:07:01.330] checking for struct sockaddr.sa_len... no [05:07:03.284] checking for C/C++ restrict keyword... __restrict [05:07:03.328] checking for struct option... yes [05:07:03.383] checking whether assembler supports x86_64 popcntq... yes [05:07:03.390] checking size of off_t... 4 [05:07:03.702] 0 [05:07:03.703] checking for int timezone... yes [05:07:03.757] checking for backtrace_symbols... no [05:07:03.810] checking for copyfile... no [05:07:03.860] checking for copy_file_range... no [05:07:03.909] checking for elf_aux_info... no [05:07:03.958] checking for getauxval... no [05:07:04.009] checking for getifaddrs... no [05:07:04.064] checking for getpeerucred... no [05:07:04.115] checking for inet_pton... yes [05:07:04.167] checking for kqueue... no [05:07:04.219] checking for mbstowcs_l... no [05:07:04.271] checking for memset_s... no [05:07:04.323] checking for posix_fallocate... no [05:07:04.373] checking for ppoll... no [05:07:04.419] checking for pthread_is_threaded_np... no [05:07:04.467] checking for setproctitle... no [05:07:04.514] checking for setproctitle_fast... no [05:07:04.564] checking for strchrnul... no [05:07:04.617] checking for strsignal... no [05:07:04.670] checking for syncfs... no [05:07:04.722] checking for sync_file_range... no [05:07:04.774] checking for uselocale... no [05:07:04.825] checking for wcstombs_l... no [05:07:04.870] checking for __builtin_bswap16... yes [05:07:04.916] checking for __builtin_bswap32... yes [05:07:04.960] checking for __builtin_bswap64... yes [05:07:05.009] checking for __builtin_clz... yes [05:07:05.059] checking for __builtin_ctz... yes [05:07:05.109] checking for __builtin_popcount... yes [05:07:05.159] checking for __builtin_frame_address... yes [05:07:05.209] checking for _LARGEFILE_SOURCE value needed for large files... no [05:07:05.261] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:07:05.293] checking for posix_fadvise... no [05:07:05.346] checking whether posix_fadvise is declared... no [05:07:05.388] checking whether fdatasync is declared... no [05:07:05.431] checking whether strlcat is declared... no [05:07:05.491] checking whether strlcpy is declared... no [05:07:05.553] checking whether strnlen is declared... yes [05:07:05.589] checking whether strsep is declared... no [05:07:05.653] checking whether preadv is declared... no [05:07:05.691] checking whether pwritev is declared... no [05:07:05.728] checking whether F_FULLFSYNC is declared... no [05:07:05.768] checking for explicit_bzero... no [05:07:05.817] checking for getopt... yes [05:07:05.859] checking for getpeereid... no [05:07:05.903] checking for inet_aton... no [05:07:05.947] checking for mkdtemp... no [05:07:05.994] checking for strlcat... no [05:07:06.045] checking for strlcpy... no [05:07:06.095] checking for strnlen... yes [05:07:06.144] checking for strsep... no [05:07:06.195] checking for pthread_barrier_wait... yes [05:07:06.239] configure: On mingw32 we will use our strtof wrapper. [05:07:06.239] checking for getopt_long... yes [05:07:06.286] checking for syslog... no [05:07:06.336] checking for opterr... yes [05:07:06.386] checking for optreset... no [05:07:06.439] checking test program... cross-compiling [05:07:06.439] checking size of void *... 8 [05:07:06.958] checking size of size_t... 8 [05:07:07.404] checking size of long... 4 [05:07:07.793] checking size of long long... 8 [05:07:08.247] checking alignment of short... 2 [05:07:08.409] checking alignment of int... 4 [05:07:08.697] checking alignment of long... 4 [05:07:09.081] checking alignment of int64_t... 8 [05:07:09.587] checking alignment of double... 8 [05:07:09.985] checking for __int128... yes [05:07:10.038] checking for __int128 alignment bug... assuming ok [05:07:10.038] checking alignment of PG_INT128_TYPE... 16 [05:07:10.584] checking for builtin __sync char locking functions... yes [05:07:10.629] checking for builtin __sync int32 locking functions... yes [05:07:10.674] checking for builtin __sync int32 atomic operations... yes [05:07:10.718] checking for builtin __sync int64 atomic operations... yes [05:07:10.765] checking for builtin __atomic int32 atomic operations... yes [05:07:10.810] checking for builtin __atomic int64 atomic operations... yes [05:07:10.854] checking for __get_cpuid... yes [05:07:10.898] checking for __get_cpuid_count... yes [05:07:10.940] checking for __cpuid... no [05:07:11.343] checking for __cpuidex... no [05:07:11.771] checking for _xgetbv... yes [05:07:12.180] checking for _mm512_popcnt_epi64... yes [05:07:12.603] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [05:07:12.707] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:07:12.730] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [05:07:12.750] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:07:12.770] 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 [05:07:12.826] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:07:12.826] checking which random number source to use... Windows native [05:07:12.828] checking for xmllint... /usr/bin/xmllint [05:07:12.829] checking for xsltproc... /usr/bin/xsltproc [05:07:12.829] checking for fop... /usr/bin/fop [05:07:12.829] checking for dbtoepub... no [05:07:12.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:07:12.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:07:12.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:07:12.839] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:07:12.839] 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 [05:07:12.839] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:07:12.839] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:07:12.918] configure: creating ./config.status [05:07:13.000] config.status: creating GNUmakefile [05:07:13.014] config.status: creating src/Makefile.global [05:07:13.031] config.status: creating src/include/pg_config.h [05:07:13.045] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:07:13.061] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:07:13.069] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:07:13.077] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:07:13.084] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:07:13.092] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:07:13.096] config.status: executing check_win32_symlinks commands [05:07:13.131] [05:07:13.131] real 0m18.658s [05:07:13.131] user 0m12.312s [05:07:13.131] sys 0m6.064s [05:07:13.131] make -s -j${BUILD_JOBS} clean [05:07:13.623] time make -s -j${BUILD_JOBS} world-bin [05:10:16.043] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [05:10:16.074] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [05:10:16.161] collect2: error: ld returned 1 exit status [05:10:16.161] make[2]: *** [Makefile:88: postgres] Error 1 [05:10:16.162] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:10:16.162] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:10:16.162] [05:10:16.162] real 3m2.539s [05:10:16.162] user 9m58.714s [05:10:16.162] sys 1m49.102s [05:10:16.163] [05:10:16.163] Exit status: 2