[09:15:52.679] time ./configure \ [09:15:52.679] --host=x86_64-w64-mingw32 \ [09:15:52.679] --enable-cassert \ [09:15:52.679] --without-icu \ [09:15:52.679] CC="ccache x86_64-w64-mingw32-gcc" \ [09:15:52.679] CXX="ccache x86_64-w64-mingw32-g++" [09:15:52.783] checking build system type... x86_64-pc-linux-gnu [09:15:52.947] checking host system type... x86_64-w64-mingw32 [09:15:52.951] checking which template to use... win32 [09:15:52.952] checking whether NLS is wanted... no [09:15:52.952] checking for default port number... 5432 [09:15:52.958] checking for block size... 8kB [09:15:52.959] checking for segment size... 1GB [09:15:52.962] checking for WAL block size... 8kB [09:15:52.963] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:15:52.994] checking whether the C compiler works... yes [09:15:53.110] checking for C compiler default output file name... a.exe [09:15:53.112] checking for suffix of executables... .exe [09:15:53.150] checking whether we are cross compiling... yes [09:15:53.220] checking for suffix of object files... o [09:15:53.227] checking whether we are using the GNU C compiler... yes [09:15:53.256] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:15:53.271] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:15:53.343] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:15:53.463] checking whether we are using the GNU C++ compiler... yes [09:15:53.595] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:15:53.663] checking for gawk... no [09:15:53.663] checking for mawk... mawk [09:15:53.665] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:15:53.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:15:53.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:15:53.776] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:15:53.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:15:53.826] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:15:53.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:15:53.849] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:15:53.856] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:15:53.886] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:15:53.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:15:53.931] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:15:53.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:15:53.943] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:15:53.958] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:15:53.988] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:15:54.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:15:54.037] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:15:54.052] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:15:54.058] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:15:54.089] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:15:54.146] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:15:54.178] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:15:54.200] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:15:54.232] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:15:54.262] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:15:54.297] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:15:54.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:15:54.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:15:54.369] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:15:54.402] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:15:54.408] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:15:54.423] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:15:54.454] checking whether the C compiler still works... yes [09:15:54.523] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:15:54.585] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:15:54.585] checking pkg-config is at least version 0.9.0... yes [09:15:54.601] checking whether to build with ICU support... no [09:15:54.601] checking whether to build with Tcl... no [09:15:54.601] checking whether to build Perl modules... no [09:15:54.601] checking whether to build Python modules... no [09:15:54.601] checking whether to build with GSSAPI support... no [09:15:54.602] checking whether to build with PAM support... no [09:15:54.602] checking whether to build with BSD Authentication support... no [09:15:54.602] checking whether to build with LDAP support... no [09:15:54.602] checking whether to build with Bonjour support... no [09:15:54.603] checking whether to build with SELinux support... no [09:15:54.603] checking whether to build with systemd support... no [09:15:54.603] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:15:54.603] checking whether to build with libcurl support... no [09:15:54.603] checking whether to build with XML support... no [09:15:54.603] checking whether to build with LZ4 support... no [09:15:54.604] checking whether to build with ZSTD support... no [09:15:54.604] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:15:54.604] checking whether it is possible to strip libraries... yes [09:15:54.611] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:15:54.611] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:15:54.611] checking for a BSD-compatible install... /usr/bin/install -c [09:15:54.619] checking for tar... /usr/bin/tar [09:15:54.620] checking whether ln -s works... yes [09:15:54.620] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:15:54.622] checking for bison... /usr/bin/bison [09:15:54.624] configure: using bison (GNU Bison) 3.8.2 [09:15:54.626] checking for flex... /usr/bin/flex [09:15:54.628] configure: using flex 2.6.4 [09:15:54.628] checking for perl... /usr/bin/perl [09:15:54.631] configure: using perl 5.36.0 [09:15:54.633] checking for zic... /usr/sbin/zic [09:15:54.633] checking for a sed that does not truncate output... /usr/bin/sed [09:15:54.637] checking for grep that handles long lines and -e... /usr/bin/grep [09:15:54.639] checking for egrep... /usr/bin/grep -E [09:15:54.641] checking for ANSI C header files... yes [09:15:54.725] checking for sys/types.h... yes [09:15:54.759] checking for sys/stat.h... yes [09:15:54.817] checking for stdlib.h... yes [09:15:54.848] checking for string.h... yes [09:15:54.903] checking for memory.h... yes [09:15:54.958] checking for strings.h... yes [09:15:54.989] checking for inttypes.h... yes [09:15:55.003] checking for stdint.h... yes [09:15:55.035] checking for unistd.h... yes [09:15:55.095] checking for main in -lm... yes [09:15:55.142] checking for library containing setproctitle... no [09:15:55.230] checking for library containing dlsym... no [09:15:55.318] checking for library containing socket... -lws2_32 [09:15:55.446] checking for library containing getopt_long... none required [09:15:55.491] checking for library containing shm_open... no [09:15:55.576] checking for library containing shm_unlink... no [09:15:55.662] checking for library containing clock_gettime... no [09:15:55.747] checking for library containing shmget... no [09:15:55.831] checking for library containing backtrace_symbols... no [09:15:55.916] checking for library containing pthread_barrier_wait... -lpthread [09:15:56.001] checking for inflate in -lz... yes [09:15:56.047] checking atomic.h usability... no [09:15:56.101] checking atomic.h presence... no [09:15:56.119] checking for atomic.h... no [09:15:56.122] checking copyfile.h usability... no [09:15:56.173] checking copyfile.h presence... no [09:15:56.190] checking for copyfile.h... no [09:15:56.193] checking execinfo.h usability... no [09:15:56.244] checking execinfo.h presence... no [09:15:56.263] checking for execinfo.h... no [09:15:56.266] checking getopt.h usability... yes [09:15:56.295] checking getopt.h presence... yes [09:15:56.310] checking for getopt.h... yes [09:15:56.317] checking ifaddrs.h usability... no [09:15:56.371] checking ifaddrs.h presence... no [09:15:56.389] checking for ifaddrs.h... no [09:15:56.392] checking mbarrier.h usability... no [09:15:56.446] checking mbarrier.h presence... no [09:15:56.464] checking for mbarrier.h... no [09:15:56.467] checking sys/epoll.h usability... no [09:15:56.521] checking sys/epoll.h presence... no [09:15:56.539] checking for sys/epoll.h... no [09:15:56.542] checking sys/event.h usability... no [09:15:56.595] checking sys/event.h presence... no [09:15:56.614] checking for sys/event.h... no [09:15:56.617] checking sys/personality.h usability... no [09:15:56.671] checking sys/personality.h presence... no [09:15:56.690] checking for sys/personality.h... no [09:15:56.693] checking sys/prctl.h usability... no [09:15:56.744] checking sys/prctl.h presence... no [09:15:56.762] checking for sys/prctl.h... no [09:15:56.765] checking sys/procctl.h usability... no [09:15:56.819] checking sys/procctl.h presence... no [09:15:56.837] checking for sys/procctl.h... no [09:15:56.840] checking sys/signalfd.h usability... no [09:15:56.896] checking sys/signalfd.h presence... no [09:15:56.914] checking for sys/signalfd.h... no [09:15:56.918] checking sys/ucred.h usability... no [09:15:56.971] checking sys/ucred.h presence... no [09:15:56.989] checking for sys/ucred.h... no [09:15:56.992] checking termios.h usability... no [09:15:57.046] checking termios.h presence... no [09:15:57.064] checking for termios.h... no [09:15:57.067] checking ucred.h usability... no [09:15:57.122] checking ucred.h presence... no [09:15:57.141] checking for ucred.h... no [09:15:57.145] checking xlocale.h usability... no [09:15:57.197] checking xlocale.h presence... no [09:15:57.215] checking for xlocale.h... no [09:15:57.218] checking zlib.h usability... yes [09:15:57.227] checking zlib.h presence... yes [09:15:57.246] checking for zlib.h... yes [09:15:57.246] checking for lz4... /usr/bin/lz4 [09:15:57.246] checking for zstd... /usr/bin/zstd [09:15:57.247] checking for openssl... /usr/bin/openssl [09:15:57.251] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:15:57.251] checking crtdefs.h usability... yes [09:15:57.306] checking crtdefs.h presence... yes [09:15:57.321] checking for crtdefs.h... yes [09:15:57.322] checking whether byte ordering is bigendian... no [09:15:57.399] checking for inline... inline [09:15:57.416] checking for printf format archetype... gnu_printf [09:15:57.452] checking for _Static_assert... yes [09:15:57.492] checking for typeof... typeof [09:15:57.499] checking for __builtin_types_compatible_p... yes [09:15:57.535] checking for __builtin_constant_p... yes [09:15:57.555] checking for __builtin_mul_overflow... yes [09:15:57.597] checking for __builtin_unreachable... yes [09:15:57.638] checking for computed goto support... yes [09:15:57.644] checking for struct tm.tm_zone... no [09:15:57.716] checking for union semun... no [09:15:57.745] checking for socklen_t... yes [09:15:59.828] checking for struct sockaddr.sa_len... no [09:16:01.815] checking for C/C++ restrict keyword... __restrict [09:16:01.853] checking for struct option... yes [09:16:01.900] checking whether assembler supports x86_64 popcntq... yes [09:16:01.932] checking size of off_t... 4 [09:16:02.229] 0 [09:16:02.230] checking for int timezone... yes [09:16:02.277] checking for backtrace_symbols... no [09:16:02.322] checking for copyfile... no [09:16:02.367] checking for copy_file_range... no [09:16:02.414] checking for elf_aux_info... no [09:16:02.460] checking for getauxval... no [09:16:02.506] checking for getifaddrs... no [09:16:02.553] checking for getpeerucred... no [09:16:02.599] checking for inet_pton... yes [09:16:02.649] checking for kqueue... no [09:16:02.698] checking for mbstowcs_l... no [09:16:02.745] checking for memset_s... no [09:16:02.792] checking for posix_fallocate... no [09:16:02.839] checking for ppoll... no [09:16:02.885] checking for pthread_is_threaded_np... no [09:16:02.932] checking for setproctitle... no [09:16:02.981] checking for setproctitle_fast... no [09:16:03.027] checking for strchrnul... no [09:16:03.075] checking for strsignal... no [09:16:03.124] checking for syncfs... no [09:16:03.171] checking for sync_file_range... no [09:16:03.218] checking for uselocale... no [09:16:03.265] checking for wcstombs_l... no [09:16:03.310] checking for __builtin_bswap16... yes [09:16:03.356] checking for __builtin_bswap32... yes [09:16:03.404] checking for __builtin_bswap64... yes [09:16:03.450] checking for __builtin_clz... yes [09:16:03.496] checking for __builtin_ctz... yes [09:16:03.543] checking for __builtin_popcount... yes [09:16:03.589] checking for __builtin_frame_address... yes [09:16:03.634] checking for _LARGEFILE_SOURCE value needed for large files... no [09:16:03.684] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:16:03.714] checking for posix_fadvise... no [09:16:03.763] checking whether posix_fadvise is declared... no [09:16:03.807] checking whether fdatasync is declared... no [09:16:03.851] checking whether strlcat is declared... no [09:16:03.915] checking whether strlcpy is declared... no [09:16:03.977] checking whether strnlen is declared... yes [09:16:04.040] checking whether strsep is declared... no [09:16:04.101] checking whether preadv is declared... no [09:16:04.136] checking whether pwritev is declared... no [09:16:04.175] checking whether F_FULLFSYNC is declared... no [09:16:04.213] checking for explicit_bzero... no [09:16:04.257] checking for getopt... yes [09:16:04.298] checking for getpeereid... no [09:16:04.345] checking for inet_aton... no [09:16:04.389] checking for mkdtemp... no [09:16:04.433] checking for strlcat... no [09:16:04.478] checking for strlcpy... no [09:16:04.523] checking for strnlen... yes [09:16:04.567] checking for strsep... no [09:16:04.612] checking for pthread_barrier_wait... yes [09:16:04.654] configure: On mingw32 we will use our strtof wrapper. [09:16:04.654] checking for getopt_long... yes [09:16:04.695] checking for syslog... no [09:16:04.739] checking for opterr... yes [09:16:04.784] checking for optreset... no [09:16:04.832] checking test program... cross-compiling [09:16:04.832] checking size of void *... 8 [09:16:05.255] checking size of size_t... 8 [09:16:05.624] checking size of long... 4 [09:16:05.963] checking size of long long... 8 [09:16:06.307] checking alignment of short... 2 [09:16:06.510] checking alignment of int... 4 [09:16:06.865] checking alignment of long... 4 [09:16:07.218] checking alignment of int64_t... 8 [09:16:07.660] checking alignment of double... 8 [09:16:08.021] checking for __int128... yes [09:16:08.066] checking for __int128 alignment bug... assuming ok [09:16:08.066] checking alignment of PG_INT128_TYPE... 16 [09:16:08.620] checking for builtin __sync char locking functions... yes [09:16:08.659] checking for builtin __sync int32 locking functions... yes [09:16:08.699] checking for builtin __sync int32 atomic operations... yes [09:16:08.741] checking for builtin __sync int64 atomic operations... yes [09:16:08.786] checking for builtin __atomic int32 atomic operations... yes [09:16:08.830] checking for builtin __atomic int64 atomic operations... yes [09:16:08.874] checking for __get_cpuid... yes [09:16:08.918] checking for __get_cpuid_count... yes [09:16:08.960] checking for __cpuid... no [09:16:09.350] checking for __cpuidex... no [09:16:09.770] checking for _xgetbv... yes [09:16:10.168] checking for _mm512_popcnt_epi64... yes [09:16:10.583] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:16:10.682] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:16:10.704] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:16:10.722] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:16:10.739] 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 [09:16:10.790] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:16:10.791] checking which random number source to use... Windows native [09:16:10.792] checking for xmllint... /usr/bin/xmllint [09:16:10.792] checking for xsltproc... /usr/bin/xsltproc [09:16:10.793] checking for fop... /usr/bin/fop [09:16:10.793] checking for dbtoepub... no [09:16:10.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:16:10.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:16:10.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:16:10.803] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:16:10.803] 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 [09:16:10.803] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:16:10.803] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:16:10.879] configure: creating ./config.status [09:16:10.955] config.status: creating GNUmakefile [09:16:10.966] config.status: creating src/Makefile.global [09:16:10.980] config.status: creating src/include/pg_config.h [09:16:10.991] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:16:11.005] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:16:11.011] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:16:11.018] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:16:11.024] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:16:11.030] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:16:11.033] config.status: executing check_win32_symlinks commands [09:16:11.064] [09:16:11.064] real 0m18.385s [09:16:11.064] user 0m12.354s [09:16:11.064] sys 0m5.721s [09:16:11.064] make -s -j${BUILD_JOBS} clean [09:16:11.568] time make -s -j${BUILD_JOBS} world-bin [09:18:18.408] shmem.c: In function ‘pg_get_shmem_numa_allocations’: [09:18:18.408] shmem.c:604:24: error: implicit declaration of function ‘sysconf’; did you mean ‘swscanf’? [-Werror=implicit-function-declaration] [09:18:18.408] 604 | os_page_size = sysconf(_SC_PAGESIZE); [09:18:18.408] | ^~~~~~~ [09:18:18.408] | swscanf [09:18:18.408] shmem.c:604:32: error: ‘_SC_PAGESIZE’ undeclared (first use in this function); did you mean ‘DC_PAPERSIZE’? [09:18:18.408] 604 | os_page_size = sysconf(_SC_PAGESIZE); [09:18:18.408] | ^~~~~~~~~~~~ [09:18:18.408] | DC_PAPERSIZE [09:18:18.408] shmem.c:604:32: note: each undeclared identifier is reported only once for each function it appears in [09:18:18.408] cc1: all warnings being treated as errors [09:18:18.409] make[4]: *** [: shmem.o] Error 1 [09:18:18.409] make[4]: *** Waiting for unfinished jobs.... [09:18:18.994] make[3]: *** [../../../src/backend/common.mk:37: ipc-recursive] Error 2 [09:18:18.994] make[2]: *** [common.mk:37: storage-recursive] Error 2 [09:18:18.994] make[2]: *** Waiting for unfinished jobs.... [09:18:57.800] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:18:57.801] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:18:57.801] [09:18:57.801] real 2m46.233s [09:18:57.801] user 8m58.036s [09:18:57.801] sys 1m45.110s [09:18:57.801] [09:18:57.801] Exit status: 2