[18:13:50.450] time ./configure \ [18:13:50.450] --host=x86_64-w64-mingw32 \ [18:13:50.450] --enable-cassert \ [18:13:50.450] --without-icu \ [18:13:50.450] CC="ccache x86_64-w64-mingw32-gcc" \ [18:13:50.450] CXX="ccache x86_64-w64-mingw32-g++" [18:13:50.555] checking build system type... x86_64-pc-linux-gnu [18:13:50.705] checking host system type... x86_64-w64-mingw32 [18:13:50.710] checking which template to use... win32 [18:13:50.710] checking whether NLS is wanted... no [18:13:50.710] checking for default port number... 5432 [18:13:50.716] checking for block size... 8kB [18:13:50.717] checking for segment size... 1GB [18:13:50.720] checking for WAL block size... 8kB [18:13:50.721] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:13:50.753] checking whether the C compiler works... yes [18:13:50.865] checking for C compiler default output file name... a.exe [18:13:50.866] checking for suffix of executables... .exe [18:13:50.907] checking whether we are cross compiling... yes [18:13:50.977] checking for suffix of object files... o [18:13:50.985] checking whether we are using the GNU C compiler... yes [18:13:51.001] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:13:51.017] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:13:51.040] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:13:51.097] checking whether we are using the GNU C++ compiler... yes [18:13:51.103] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:13:51.327] checking for gawk... no [18:13:51.327] checking for mawk... mawk [18:13:51.329] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:13:51.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:13:51.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:13:51.417] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:13:51.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:13:51.470] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:13:51.505] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:13:51.539] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:13:51.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:13:51.553] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:13:51.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:13:51.587] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:13:51.604] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:13:51.612] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:13:51.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:13:51.635] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:13:51.670] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:13:51.707] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:13:51.723] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:13:51.755] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:13:51.762] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:13:51.795] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:13:51.830] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:13:51.855] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:13:51.872] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:13:51.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:13:51.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:13:51.953] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:13:51.984] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:13:52.001] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:13:52.035] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:13:52.052] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:13:52.069] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:13:52.077] checking whether the C compiler still works... yes [18:13:52.140] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:13:52.210] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:13:52.210] checking pkg-config is at least version 0.9.0... yes [18:13:52.226] checking whether to build with ICU support... no [18:13:52.226] checking whether to build with Tcl... no [18:13:52.226] checking whether to build Perl modules... no [18:13:52.226] checking whether to build Python modules... no [18:13:52.226] checking whether to build with GSSAPI support... no [18:13:52.228] checking whether to build with PAM support... no [18:13:52.228] checking whether to build with BSD Authentication support... no [18:13:52.228] checking whether to build with LDAP support... no [18:13:52.228] checking whether to build with Bonjour support... no [18:13:52.228] checking whether to build with SELinux support... no [18:13:52.228] checking whether to build with systemd support... no [18:13:52.228] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:13:52.228] checking whether to build with XML support... no [18:13:52.229] checking whether to build with LZ4 support... no [18:13:52.229] checking whether to build with ZSTD support... no [18:13:52.229] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:13:52.229] checking whether it is possible to strip libraries... yes [18:13:52.238] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:13:52.238] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:13:52.238] checking for a BSD-compatible install... /usr/bin/install -c [18:13:52.247] checking for tar... /usr/bin/tar [18:13:52.247] checking whether ln -s works... yes [18:13:52.247] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:13:52.250] checking for bison... /usr/bin/bison [18:13:52.252] configure: using bison (GNU Bison) 3.8.2 [18:13:52.255] checking for flex... /usr/bin/flex [18:13:52.257] configure: using flex 2.6.4 [18:13:52.257] checking for perl... /usr/bin/perl [18:13:52.259] configure: using perl 5.36.0 [18:13:52.262] checking for zic... /usr/sbin/zic [18:13:52.262] checking for a sed that does not truncate output... /usr/bin/sed [18:13:52.267] checking for grep that handles long lines and -e... /usr/bin/grep [18:13:52.269] checking for egrep... /usr/bin/grep -E [18:13:52.270] checking for ANSI C header files... yes [18:13:52.316] checking for sys/types.h... yes [18:13:52.337] checking for sys/stat.h... yes [18:13:52.374] checking for stdlib.h... yes [18:13:52.388] checking for string.h... yes [18:13:52.402] checking for memory.h... yes [18:13:52.436] checking for strings.h... yes [18:13:52.495] checking for inttypes.h... yes [18:13:52.510] checking for stdint.h... yes [18:13:52.523] checking for unistd.h... yes [18:13:52.583] checking for main in -lm... yes [18:13:52.627] checking for library containing setproctitle... no [18:13:52.711] checking for library containing dlsym... no [18:13:52.794] checking for library containing socket... -lws2_32 [18:13:52.918] checking for library containing getopt_long... none required [18:13:52.964] checking for library containing shm_open... no [18:13:53.049] checking for library containing shm_unlink... no [18:13:53.135] checking for library containing clock_gettime... no [18:13:53.225] checking for library containing shmget... no [18:13:53.309] checking for library containing backtrace_symbols... no [18:13:53.394] checking for library containing pthread_barrier_wait... -lpthread [18:13:53.480] checking for inflate in -lz... yes [18:13:53.527] checking atomic.h usability... no [18:13:53.581] checking atomic.h presence... no [18:13:53.599] checking for atomic.h... no [18:13:53.602] checking copyfile.h usability... no [18:13:53.655] checking copyfile.h presence... no [18:13:53.674] checking for copyfile.h... no [18:13:53.677] checking execinfo.h usability... no [18:13:53.731] checking execinfo.h presence... no [18:13:53.749] checking for execinfo.h... no [18:13:53.752] checking getopt.h usability... yes [18:13:53.804] checking getopt.h presence... yes [18:13:53.818] checking for getopt.h... yes [18:13:53.825] checking ifaddrs.h usability... no [18:13:53.876] checking ifaddrs.h presence... no [18:13:53.894] checking for ifaddrs.h... no [18:13:53.897] checking mbarrier.h usability... no [18:13:53.950] checking mbarrier.h presence... no [18:13:53.967] checking for mbarrier.h... no [18:13:53.970] checking sys/epoll.h usability... no [18:13:54.022] checking sys/epoll.h presence... no [18:13:54.039] checking for sys/epoll.h... no [18:13:54.042] checking sys/event.h usability... no [18:13:54.093] checking sys/event.h presence... no [18:13:54.111] checking for sys/event.h... no [18:13:54.113] checking sys/personality.h usability... no [18:13:54.165] checking sys/personality.h presence... no [18:13:54.183] checking for sys/personality.h... no [18:13:54.186] checking sys/prctl.h usability... no [18:13:54.237] checking sys/prctl.h presence... no [18:13:54.255] checking for sys/prctl.h... no [18:13:54.257] checking sys/procctl.h usability... no [18:13:54.309] checking sys/procctl.h presence... no [18:13:54.326] checking for sys/procctl.h... no [18:13:54.329] checking sys/signalfd.h usability... no [18:13:54.381] checking sys/signalfd.h presence... no [18:13:54.399] checking for sys/signalfd.h... no [18:13:54.402] checking sys/ucred.h usability... no [18:13:54.455] checking sys/ucred.h presence... no [18:13:54.473] checking for sys/ucred.h... no [18:13:54.476] checking termios.h usability... no [18:13:54.528] checking termios.h presence... no [18:13:54.545] checking for termios.h... no [18:13:54.548] checking ucred.h usability... no [18:13:54.599] checking ucred.h presence... no [18:13:54.616] checking for ucred.h... no [18:13:54.619] checking xlocale.h usability... no [18:13:54.671] checking xlocale.h presence... no [18:13:54.689] checking for xlocale.h... no [18:13:54.692] checking zlib.h usability... yes [18:13:54.700] checking zlib.h presence... yes [18:13:54.718] checking for zlib.h... yes [18:13:54.718] checking for lz4... /usr/bin/lz4 [18:13:54.718] checking for zstd... /usr/bin/zstd [18:13:54.719] checking for openssl... /usr/bin/openssl [18:13:54.723] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:13:54.723] checking crtdefs.h usability... yes [18:13:54.775] checking crtdefs.h presence... yes [18:13:54.790] checking for crtdefs.h... yes [18:13:54.791] checking whether byte ordering is bigendian... no [18:13:54.892] checking for inline... inline [18:13:54.899] checking for printf format archetype... gnu_printf [18:13:54.933] checking for _Static_assert... yes [18:13:54.972] checking for typeof... typeof [18:13:55.005] checking for __builtin_types_compatible_p... yes [18:13:55.024] checking for __builtin_constant_p... yes [18:13:55.035] checking for __builtin_mul_overflow... yes [18:13:55.081] checking for __builtin_unreachable... yes [18:13:55.123] checking for computed goto support... yes [18:13:55.139] checking for struct tm.tm_zone... no [18:13:55.213] checking for union semun... no [18:13:55.246] checking for socklen_t... yes [18:13:57.455] checking for struct sockaddr.sa_len... no [18:13:59.578] checking for C/C++ restrict keyword... __restrict [18:13:59.590] checking for struct option... yes [18:13:59.628] checking whether assembler supports x86_64 popcntq... yes [18:13:59.635] checking size of off_t... 4 [18:13:59.909] 0 [18:13:59.910] checking for int timezone... yes [18:13:59.960] checking for backtrace_symbols... no [18:14:00.009] checking for copyfile... no [18:14:00.058] checking for copy_file_range... no [18:14:00.106] checking for elf_aux_info... no [18:14:00.155] checking for getauxval... no [18:14:00.205] checking for getifaddrs... no [18:14:00.255] checking for getpeerucred... no [18:14:00.303] checking for inet_pton... yes [18:14:00.350] checking for kqueue... no [18:14:00.399] checking for mbstowcs_l... no [18:14:00.450] checking for memset_s... no [18:14:00.502] checking for posix_fallocate... no [18:14:00.553] checking for ppoll... no [18:14:00.605] checking for pthread_is_threaded_np... no [18:14:00.656] checking for setproctitle... no [18:14:00.706] checking for setproctitle_fast... no [18:14:00.758] checking for strchrnul... no [18:14:00.809] checking for strsignal... no [18:14:00.860] checking for syncfs... no [18:14:00.912] checking for sync_file_range... no [18:14:00.964] checking for uselocale... no [18:14:01.015] checking for wcstombs_l... no [18:14:01.064] checking for __builtin_bswap16... yes [18:14:01.113] checking for __builtin_bswap32... yes [18:14:01.162] checking for __builtin_bswap64... yes [18:14:01.210] checking for __builtin_clz... yes [18:14:01.259] checking for __builtin_ctz... yes [18:14:01.307] checking for __builtin_popcount... yes [18:14:01.357] checking for __builtin_frame_address... yes [18:14:01.405] checking for _LARGEFILE_SOURCE value needed for large files... no [18:14:01.458] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:14:01.490] checking for posix_fadvise... no [18:14:01.544] checking whether posix_fadvise is declared... no [18:14:01.591] checking whether fdatasync is declared... no [18:14:01.638] checking whether strlcat is declared... no [18:14:01.703] checking whether strlcpy is declared... no [18:14:01.769] checking whether strnlen is declared... yes [18:14:01.782] checking whether strsep is declared... no [18:14:01.845] checking whether preadv is declared... no [18:14:01.881] checking whether pwritev is declared... no [18:14:01.918] checking whether F_FULLFSYNC is declared... no [18:14:01.960] checking for explicit_bzero... no [18:14:02.009] checking for getopt... yes [18:14:02.055] checking for getpeereid... no [18:14:02.102] checking for inet_aton... no [18:14:02.152] checking for mkdtemp... no [18:14:02.201] checking for strlcat... no [18:14:02.250] checking for strlcpy... no [18:14:02.298] checking for strnlen... yes [18:14:02.347] checking for strsep... no [18:14:02.396] checking for pthread_barrier_wait... yes [18:14:02.439] configure: On mingw32 we will use our strtof wrapper. [18:14:02.439] checking for getopt_long... yes [18:14:02.483] checking for syslog... no [18:14:02.530] checking for opterr... yes [18:14:02.578] checking for optreset... no [18:14:02.629] checking test program... cross-compiling [18:14:02.629] checking size of void *... 8 [18:14:02.990] checking size of size_t... 8 [18:14:03.420] checking size of long... 4 [18:14:03.762] checking size of long long... 8 [18:14:04.147] checking alignment of short... 2 [18:14:04.343] checking alignment of int... 4 [18:14:04.550] checking alignment of long... 4 [18:14:04.913] checking alignment of int64_t... 8 [18:14:05.311] checking alignment of double... 8 [18:14:05.629] checking for __int128... yes [18:14:05.681] checking for __int128 alignment bug... assuming ok [18:14:05.681] checking alignment of PG_INT128_TYPE... 16 [18:14:06.216] checking for builtin __sync char locking functions... yes [18:14:06.260] checking for builtin __sync int32 locking functions... yes [18:14:06.304] checking for builtin __sync int32 atomic operations... yes [18:14:06.346] checking for builtin __sync int64 atomic operations... yes [18:14:06.390] checking for builtin __atomic int32 atomic operations... yes [18:14:06.432] checking for builtin __atomic int64 atomic operations... yes [18:14:06.476] checking for __get_cpuid... yes [18:14:06.522] checking for __get_cpuid_count... yes [18:14:06.566] checking for __cpuid... no [18:14:06.959] checking for __cpuidex... no [18:14:07.383] checking for _xgetbv... yes [18:14:07.789] checking for _mm512_popcnt_epi64... yes [18:14:08.199] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:14:08.300] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:14:08.323] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:14:08.342] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:14:08.360] 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 [18:14:08.416] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:14:08.416] checking which random number source to use... Windows native [18:14:08.418] checking for xmllint... /usr/bin/xmllint [18:14:08.419] checking for xsltproc... /usr/bin/xsltproc [18:14:08.419] checking for fop... /usr/bin/fop [18:14:08.419] checking for dbtoepub... no [18:14:08.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:14:08.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:14:08.420] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:14:08.432] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:14:08.432] 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 [18:14:08.432] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:14:08.432] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:14:08.521] configure: creating ./config.status [18:14:08.613] config.status: creating GNUmakefile [18:14:08.626] config.status: creating src/Makefile.global [18:14:08.642] config.status: creating src/include/pg_config.h [18:14:08.655] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:14:08.672] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:14:08.679] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:14:08.687] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:14:08.694] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:14:08.702] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:14:08.705] config.status: executing check_win32_symlinks commands [18:14:08.740] [18:14:08.740] real 0m18.290s [18:14:08.740] user 0m12.202s [18:14:08.740] sys 0m5.834s [18:14:08.740] make -s -j${BUILD_JOBS} clean [18:14:09.253] time make -s -j${BUILD_JOBS} world-bin [18:16:40.095] /usr/bin/x86_64-w64-mingw32-ld: postmaster/launch_backend.o:launch_backend:(.rdata$.refptr.ShmemLock[.refptr.ShmemLock]+0x0): undefined reference to `ShmemLock' [18:16:40.121] /usr/bin/x86_64-w64-mingw32-ld: utils/misc/guc_tables.o:guc_tables.c:(.data+0x7f00): undefined reference to `AnonymousShmemResize' [18:16:40.197] collect2: error: ld returned 1 exit status [18:16:40.198] make[2]: *** [Makefile:88: postgres] Error 1 [18:16:40.198] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:16:40.198] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:16:40.199] [18:16:40.199] real 2m30.946s [18:16:40.199] user 8m14.298s [18:16:40.199] sys 1m32.538s [18:16:40.199] [18:16:40.199] Exit status: 2