>>> ruby 3.0.0 Extracting xzcat /tmp/instance-1/dl/ruby/ruby-3.0.0.tar.xz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/ruby-3.0.0 -xf - >>> ruby 3.0.0 Patching Applying 0001-fix-default-coroutine-selection.patch using patch: patching file configure.ac >>> ruby 3.0.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-1/output-1/build/ruby-3.0.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ruby 3.0.0 Configuring >>> ruby 3.0.0 Autoreconfiguring >>> ruby 3.0.0 Patching libtool patching file /tmp/instance-1/output-1/build/ruby-3.0.0/ext/fiddle/libffi-3.2.1/ltmain.sh (cd /tmp/instance-1/output-1/build/ruby-3.0.0/ && rm -rf config.cache && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/sparc-linux-ar" AS="/tmp/instance-1/output-1/host/bin/sparc-linux-as" LD="/tmp/instance-1/output-1/host/bin/sparc-linux-ld" NM="/tmp/instance-1/output-1/host/bin/sparc-linux-nm" CC="/tmp/instance-1/output-1/host/bin/sparc-linux-gcc" GCC="/tmp/instance-1/output-1/host/bin/sparc-linux-gcc" CPP="/tmp/instance-1/output-1/host/bin/sparc-linux-cpp" CXX="/tmp/instance-1/output-1/host/bin/sparc-linux-g++" FC="/tmp/instance-1/output-1/host/bin/sparc-linux-gfortran" F77="/tmp/instance-1/output-1/host/bin/sparc-linux-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/sparc-linux-ranlib" READELF="/tmp/instance-1/output-1/host/bin/sparc-linux-readelf" STRIP="/tmp/instance-1/output-1/host/bin/sparc-linux-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/sparc-linux-objcopy" OBJDUMP="/tmp/instance-1/output-1/host/bin/sparc-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/sparc-linux-as" DEFAULT_LINKER="/tmp/instance-1/output-1/host/bin/sparc-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes ac_cv_func_finite=yes ac_cv_func_isinf=yes ac_cv_func_isnan=yes stack_protector=no CONFIG_SITE=/dev/null ./configure --target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-install-doc --disable-rpath --disable-rubygems --with-gmp ) checking for ruby... /tmp/instance-1/output-1/host/bin/ruby tool/config.guess already exists tool/config.sub already exists checking build system type... x86_64-pc-linux-gnu checking host system type... sparc-buildroot-linux-uclibc checking target system type... sparc-buildroot-linux-uclibc checking for sparc-buildroot-linux-uclibc-gcc... /tmp/instance-1/output-1/host/bin/sparc-linux-gcc checking for sparc-buildroot-linux-uclibc-/tmp/instance-1/output-1/host/bin/sparc-linux-ld... /tmp/instance-1/output-1/host/bin/sparc-linux-ld checking for sparc-buildroot-linux-uclibc-/tmp/instance-1/output-1/host/bin/sparc-linux-gcc-ar... /tmp/instance-1/output-1/host/bin/sparc-linux-ar checking for sparc-buildroot-linux-uclibc-/tmp/instance-1/output-1/host/bin/sparc-linux-g++... /tmp/instance-1/output-1/host/bin/sparc-linux-g++ checking for sparc-buildroot-linux-uclibc-/tmp/instance-1/output-1/host/bin/sparc-linux-gcc-nm... /tmp/instance-1/output-1/host/bin/sparc-linux-nm checking for sparc-buildroot-linux-uclibc-/tmp/instance-1/output-1/host/bin/sparc-linux-gcc-ranlib... /tmp/instance-1/output-1/host/bin/sparc-linux-ranlib checking for sparc-buildroot-linux-uclibc-gcc... (cached) /tmp/instance-1/output-1/host/bin/sparc-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-1/output-1/host/bin/sparc-linux-gcc accepts -g... yes checking for /tmp/instance-1/output-1/host/bin/sparc-linux-gcc option to accept ISO C89... none needed checking for /tmp/instance-1/output-1/host/bin/sparc-linux-gcc option to accept ISO C99... none needed checking whether we are using the GNU C++ compiler... yes checking whether /tmp/instance-1/output-1/host/bin/sparc-linux-g++ accepts -g... yes checking how to run the C preprocessor... /tmp/instance-1/output-1/host/bin/sparc-linux-cpp checking for sparc-buildroot-linux-uclibc-ranlib... (cached) /tmp/instance-1/output-1/host/bin/sparc-linux-ranlib checking for sparc-buildroot-linux-uclibc-gar... (cached) /tmp/instance-1/output-1/host/bin/sparc-linux-ar checking for sparc-buildroot-linux-uclibc-gas... /tmp/instance-1/output-1/host/bin/sparc-linux-as checking for sparc-buildroot-linux-uclibc-gld... (cached) /tmp/instance-1/output-1/host/bin/sparc-linux-ld checking for sparc-buildroot-linux-uclibc-gnm... (cached) /tmp/instance-1/output-1/host/bin/sparc-linux-nm checking for sparc-buildroot-linux-uclibc-gobjcopy... /tmp/instance-1/output-1/host/bin/sparc-linux-objcopy checking for sparc-buildroot-linux-uclibc-gobjdump... /tmp/instance-1/output-1/host/bin/sparc-linux-objdump checking for sparc-buildroot-linux-uclibc-gstrip... /tmp/instance-1/output-1/host/bin/sparc-linux-strip checking whether the linker is GNU ld... yes checking whether /tmp/instance-1/output-1/host/bin/sparc-linux-cpp accepts -o... yes checking for /tmp/instance-1/output-1/host/bin/sparc-linux-ar flags... rcD checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for sparc-buildroot-linux-uclibc-dtrace... no checking for dot... no checking for doxygen... doxygen checking for sparc-buildroot-linux-uclibc-pkg-config... /tmp/instance-1/output-1/host/bin/pkg-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether it is Android... no checking for cd using physical directory... cd -P checking whether CFLAGS is valid... yes checking whether LDFLAGS is valid... yes checking whether -Wl,-R. is accepted as LDFLAGS... yes checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes checking whether -fdeclspec is accepted as CFLAGS... no checking whether -fdeclspec is accepted as CXXFLAGS... no checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes checking whether -Wdivision-by-zero is accepted as CFLAGS... no checking whether -Wduplicated-cond is accepted as CFLAGS... yes checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes checking whether -Wimplicit-int is accepted as CFLAGS... yes checking whether -Wmisleading-indentation is accepted as CFLAGS... yes checking whether -Wpointer-arith is accepted as CFLAGS... yes checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no checking whether -Wwrite-strings is accepted as CFLAGS... yes checking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... yes checking whether -Wmissing-noreturn is accepted as CFLAGS... yes checking whether -Wno-cast-function-type is accepted as CFLAGS... yes checking whether -Wno-constant-logical-operand is accepted as CFLAGS... yes checking whether -Wno-long-long is accepted as CFLAGS... yes checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes checking whether -Wno-overlength-strings is accepted as CFLAGS... yes checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes checking whether -Wno-parentheses-equality is accepted as CFLAGS... yes checking whether -Wno-self-assign is accepted as CFLAGS... yes checking whether -Wno-tautological-compare is accepted as CFLAGS... yes checking whether -Wno-unused-parameter is accepted as CFLAGS... yes checking whether -Wno-unused-value is accepted as CFLAGS... yes checking whether -Wsuggest-attribute=format is accepted as CFLAGS... yes checking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... yes checking whether -Wunused-variable is accepted as CFLAGS... yes checking whether -diag-disable=175,188,1684,2259,2312 is accepted as CFLAGS... no checking whether -Wextra-tokens is accepted as CFLAGS... no checking whether -Wall -Wextra is accepted as CFLAGS... yes checking whether -Qunused-arguments is accepted as CFLAGS... no checking whether -O3 -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes checking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... yes checking whether -std=gnu99 is accepted as CFLAGS... yes checking whether -fno-strict-overflow is accepted as CFLAGS... yes checking whether -ggdb3 is accepted as CFLAGS... yes checking whether -fvisibility=hidden is accepted as CFLAGS... yes checking whether -fno-fast-math is accepted as CFLAGS... yes checking whether -fexcess-precision=standard is accepted as CFLAGS... yes checking whether -fp-model precise is accepted as CFLAGS... no checking whether compiler has statement and declarations in expressions... yes checking whether CXXFLAGS is valid... yes checking for crypt in -lcrypt... yes checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking for shutdown in -lsocket... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking a.out.h usability... yes checking a.out.h presence... yes checking for a.out.h... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking copyfile.h usability... no checking copyfile.h presence... no checking for copyfile.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking intrinsics.h usability... no checking intrinsics.h presence... no checking for intrinsics.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking malloc_np.h usability... no checking malloc_np.h presence... no checking for malloc_np.h... no checking net/socket.h usability... no checking net/socket.h presence... no checking for net/socket.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sanitizer/asan_interface.h usability... no checking sanitizer/asan_interface.h presence... no checking for sanitizer/asan_interface.h... no checking sanitizer/msan_interface.h usability... no checking sanitizer/msan_interface.h presence... no checking for sanitizer/msan_interface.h... no checking setjmpex.h usability... no checking setjmpex.h presence... no checking for setjmpex.h... no checking stdalign.h usability... yes checking stdalign.h presence... yes checking for stdalign.h... yes checking sys/attr.h usability... no checking sys/attr.h presence... no checking for sys/attr.h... no checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/id.h usability... no checking sys/id.h presence... no checking for sys/id.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking syscall.h usability... yes checking syscall.h presence... yes checking for syscall.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for library containing __gmpz_init... -lgmp checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... (cached) yes checking for an ANSI C-conforming const... yes checking whether char is unsigned... no checking for inline... inline checking for working volatile... yes checking for typeof syntax and keyword spelling... typeof checking for C/C++ restrict keyword... __restrict checking for long long... yes checking for off_t... yes checking char bit... 8 checking size of int... 4 checking size of short... 2 checking size of long... 4 checking size of long long... 8 checking size of __int64... 0 checking size of __int128... 0 checking size of off_t... 8 checking size of void*... 4 checking size of float... 4 checking size of double... 8 checking size of time_t... 4 checking size of clock_t... 4 checking packed struct attribute... x __attribute__((packed)) checking whether -Wno-address-of-packed-member is accepted as CFLAGS... yes checking for printf prefix for long long... ll checking for pid_t... yes checking for convertible type of pid_t... INT checking for uid_t... yes checking for convertible type of uid_t... UINT checking for gid_t... yes checking for convertible type of gid_t... UINT checking for time_t... yes checking for convertible type of time_t... LONG checking for dev_t... yes checking for convertible type of dev_t... ULL checking for mode_t... yes checking for convertible type of mode_t... UINT checking for rlim_t... yes checking for convertible type of rlim_t... ULL checking for off_t... (cached) yes checking for convertible type of off_t... LL checking for clockid_t... yes checking for convertible type of clockid_t... INT checking for variable length macro... yes checking if _Alignof() works... yes checking for CONSTFUNC function attribute... __attribute__ ((__const__)) x checking for PUREFUNC function attribute... __attribute__ ((__pure__)) x checking for NORETURN function attribute... __attribute__ ((__noreturn__)) x checking for DEPRECATED function attribute... __attribute__ ((__deprecated__)) x checking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) x checking for NOINLINE function attribute... __attribute__ ((__noinline__)) x checking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) x checking for NO_SANITIZE function attribute... __attribute__ ((__no_sanitize__(san))) x checking for NO_SANITIZE_ADDRESS function attribute... __attribute__ ((__no_sanitize_address__)) x checking for NO_ADDRESS_SAFETY_ANALYSIS function attribute... __attribute__ ((__no_address_safety_analysis__)) x checking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) x checking for MAYBE_UNUSED function attribute... __attribute__ ((__unused__)) x checking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) x checking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) x checking for WEAK function attribute... __attribute__ ((__weak__)) x checking for __attribute__((__depreacted__(msg))) in C++... yes checking for std::nullptr_t... yes checking for FUNC_STDCALL function attribute... x checking for FUNC_CDECL function attribute... x checking for FUNC_FASTCALL function attribute... x checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((__optimize__("O0"))) x checking for FUNC_MINIMIZED function attribute... __attribute__ ((__optimize__("-Os","-fomit-frame-pointer"))) x checking for function alias... alias checking for __atomic builtins... no checking for __sync builtins... no checking for __builtin_unreachable... yes checking for exported function attribute... __attribute__ ((__visibility__("default"))) checking for RUBY_FUNC_NONNULL function attribute... __attribute__ ((__nonnull__(n))) x checking for function name string predefined identifier... __func__ checking if enum over int is allowed... yes checking whether sys_nerr is declared... no checking whether getenv is declared... yes checking for size_t... yes checking size of size_t... 4 checking size of ptrdiff_t... 4 checking for printf prefix for size_t... z checking for printf prefix for ptrdiff_t... t checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking size of struct stat.st_size... SIZEOF_OFF_T checking size of struct stat.st_blocks... SIZEOF_OFF_T checking size of struct stat.st_ino... SIZEOF_LONG_LONG checking for struct stat.st_atim... yes checking for struct stat.st_atimespec... no checking for struct stat.st_atimensec... no checking for struct stat.st_mtim... yes checking for struct stat.st_mtimespec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_ctim... yes checking for struct stat.st_ctimespec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_birthtimespec... no checking for struct statx.stx_btime... no checking for struct timeval... yes checking size of struct timeval.tv_sec... SIZEOF_TIME_T checking for struct timespec... yes checking for struct timezone... yes checking for fd_mask... yes checking for int8_t... yes checking size of int8_t... 1 checking for uint8_t... yes checking size of uint8_t... 1 checking for int16_t... yes checking size of int16_t... 2 checking for uint16_t... yes checking size of uint16_t... 2 checking for int32_t... yes checking size of int32_t... 4 checking for uint32_t... yes checking size of uint32_t... 4 checking for int64_t... yes checking size of int64_t... 8 checking for uint64_t... yes checking size of uint64_t... 8 checking for int128_t... no checking for uint128_t... no checking for intptr_t... yes checking size of intptr_t... 4 checking for uintptr_t... yes checking size of uintptr_t... 4 checking for printf prefix for intptr_t... NONE checking for ssize_t... yes checking size of ssize_t... 4 checking for printf prefix for int64_t... NONE checking for stack end address... __libc_stack_end checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking for working alloca.h... yes checking for alloca... yes checking for dynamic size alloca... ok checking for working memcmp... (cached) yes checking for acosh... yes checking for cbrt... yes checking for crypt... yes checking for dup2... yes checking for erf... yes checking for explicit_bzero... no checking for ffs... yes checking for flock... yes checking for hypot... yes checking for lgamma_r... yes checking for memmove... yes checking for nan... yes checking for nextafter... yes checking for setproctitle... no checking for strchr... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for strstr... yes checking for tgamma... yes checking whether finite is declared... yes checking whether isinf is declared... yes checking whether isnan is declared... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for signbit... yes checking for pid_t... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for __syscall... no checking for _longjmp... yes checking for arc4random_buf... no checking for atan2l... yes checking for atan2f... yes checking for chroot... yes checking for chsize... no checking for clock_gettime... yes checking for copy_file_range... no checking for cosh... yes checking for crypt_r... no checking for daemon... (cached) no checking for dirfd... yes checking for dl_iterate_phdr... yes checking for dlopen... yes checking for dladdr... yes checking for dup... yes checking for dup3... yes checking for eaccess... yes checking for endgrent... yes checking for eventfd... yes checking for explicit_memset... no checking for fcopyfile... no checking for fchmod... yes checking for fchown... yes checking for fcntl... yes checking for fdatasync... yes checking for fdopendir... yes checking for fgetattrlist... no checking for fmod... yes checking for fstatat... yes checking for fsync... yes checking for ftruncate... yes checking for ftruncate64... yes checking for getattrlist... no checking for getcwd... yes checking for getgidx... no checking for getgrnam... yes checking for getgrnam_r... yes checking for getgroups... yes checking for getlogin... yes checking for getlogin_r... yes checking for getpgid... yes checking for getpgrp... yes checking for getpriority... yes checking for getpwnam... yes checking for getpwnam_r... yes checking for getpwuid... yes checking for getpwuid_r... yes checking for getrandom... yes checking for getresgid... yes checking for getresuid... yes checking for getrlimit... yes checking for getsid... yes checking for gettimeofday... yes checking for getuidx... no checking for gmtime_r... yes checking for grantpt... yes checking for initgroups... yes checking for ioctl... yes checking for isfinite... no checking for issetugid... yes checking for killpg... yes checking for lchmod... no checking for lchown... yes checking for link... yes checking for llabs... yes checking for lockf... yes checking for log2... yes checking for lstat... yes checking for lutimes... yes checking for malloc_usable_size... yes checking for malloc_size... no checking for mblen... yes checking for memalign... yes checking for memset_s... no checking for writev... yes checking for memrchr... yes checking for memmem... yes checking for mkfifo... yes checking for mknod... yes checking for mktime... yes checking for openat... yes checking for pipe2... yes checking for poll... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for ppoll... yes checking for pread... yes checking for pwrite... yes checking for qsort_r... yes checking for qsort_s... no checking for readlink... yes checking for realpath... yes checking for round... yes checking for sched_getaffinity... yes checking for seekdir... yes checking for select_large_fdset... no checking for sendfile... yes checking for setegid... yes checking for setenv... yes checking for seteuid... yes checking for setgid... yes checking for setgroups... yes checking for setpgid... yes checking for setpgrp... yes checking for setregid... yes checking for setresgid... yes checking for setresuid... yes checking for setreuid... yes checking for setrgid... no checking for setrlimit... yes checking for setruid... no checking for setsid... yes checking for setuid... yes checking for shutdown... yes checking for sigaction... yes checking for sigaltstack... yes checking for sigprocmask... yes checking for sinh... yes checking for spawnv... no checking for symlink... yes checking for syscall... yes checking for sysconf... yes checking for tanh... yes checking for telldir... yes checking for timegm... yes checking for times... yes checking for truncate... yes checking for truncate64... yes checking for unsetenv... yes checking for utimensat... yes checking for utimes... yes checking for wait4... yes checking for waitpid... yes checking for __cospi... no checking for __sinpi... no checking if getcwd allocates buffer if NULL is given... yes checking for __builtin_alloca_with_align... yes checking for __builtin_assume_aligned... yes checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_popcount... yes checking for __builtin_popcountll... yes checking for __builtin_clz... yes checking for __builtin_clzl... yes checking for __builtin_clzll... yes checking for __builtin_ctz... yes checking for __builtin_ctzll... yes checking for __builtin_add_overflow... yes checking for __builtin_sub_overflow... yes checking for __builtin_mul_overflow... yes checking for __builtin_mul_overflow_p... yes checking for __builtin_constant_p... yes checking for __builtin_choose_expr... yes checking for __builtin_choose_expr_constant_p... yes checking for __builtin_types_compatible_p... yes checking for __builtin_trap... yes checking whether qsort_r is GNU version... yes checking whether qsort_r is BSD version... no checking whether atan2 handles Inf as C99... yes checking for clock_getres... yes checking for timer_create in -lrt... yes checking for timer_settime in -lrt... yes checking for unsetenv returns a value... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for external int daylight... yes checking for negative time_t for gmtime(3)... yes checking for localtime(3) overflow correctly... no checking for sig_t... yes checking whether right shift preserve sign bit... yes checking for copy_file_range... no checking whether _SC_CLK_TCK is supported... yes checking stack growing direction on sparc... -1 checking native coroutine implementation for sparc-linux-uclibc... checking for getcontext... yes checking for swapcontext... yes checking for makecontext... yes ucontext checking for pthread_create in -lthr... no checking for pthread_create in -lpthread... yes checking for pthread_np.h... no checking whether pthread_t is scalar type... yes checking for sched_yield... yes checking for pthread_attr_setinheritsched... yes checking for pthread_attr_get_np... no checking for pthread_attr_getstack... yes checking for pthread_attr_getguardsize... yes checking for pthread_get_stackaddr_np... no checking for pthread_get_stacksize_np... no checking for thr_stksegment... no checking for pthread_stackseg_np... no checking for pthread_getthrds_np... no checking for pthread_condattr_setclock... yes checking for pthread_sigmask... yes checking for pthread_setname_np... yes checking for pthread_set_name_np... no checking for pthread_getattr_np... yes checking arguments of pthread_setname_np... (pthread_self(), name) checking if mcontext_t is a pointer... no checking for getcontext... (cached) yes checking for setcontext... yes checking if fork works with pthread... yes checking whether ELF binaries are produced... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking elf_abi.h usability... no checking elf_abi.h presence... no checking for elf_abi.h... no checking for uncompress in -lz... yes checking mach-o/loader.h usability... no checking mach-o/loader.h presence... no checking for mach-o/loader.h... no checking whether OS depend dynamic link works... yes checking for backtrace... no checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for /tmp/instance-1/output-1/host/bin/sparc-linux-strip flags... -S -x checking whether -Wl,--no-undefined is accepted as LDFLAGS... yes checking whether dtrace USDT is available... no checking for __builtin_setjmp... yes with cast () checking for _setjmpex as a macro or function... no checking for _setjmp as a macro or function... yes checking for sigsetjmp as a macro or function... no checking for setjmp type... __builtin_setjmp checking for prefix of external symbols... NONE checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking if make is GNU make... yes .ext/include/sparc-linux-uclibc/ruby/config.h updated configure: ruby library version = 3.0.0 configure: creating ./config.status config.status: creating GNUmakefile config.status: creating Makefile config.status: creating ruby-3.0.pc --- Configuration summary for ruby version 3.0.0 * Installation prefix: /usr * exec prefix: /usr * arch: sparc-linux-uclibc * site arch: ${arch} * RUBY_BASE_NAME: ruby * enable shared: yes * ruby lib prefix: ${libdir}/${RUBY_BASE_NAME} * site libraries path: ${rubylibprefix}/${sitearch} * vendor path: ${rubylibprefix}/vendor_ruby * target OS: linux-uclibc * compiler: /tmp/instance-1/output-1/host/bin/sparc-linux-gcc * with pthread: yes * with coroutine: ucontext * enable shared libs: yes * dynamic library ext: so * CFLAGS: ${optflags} ${debugflags} ${warnflags} * LDFLAGS: -L. -rdynamic -Wl,-export-dynamic * DLDFLAGS: -Wl,--compress-debug-sections=zlib * optflags: -O3 * debugflags: -ggdb3 * warnflags: -Wall -Wextra -Wdeprecated-declarations \ -Wduplicated-cond -Wimplicit-function-declaration \ -Wimplicit-int -Wmisleading-indentation \ -Wpointer-arith -Wwrite-strings \ -Wimplicit-fallthrough=0 -Wmissing-noreturn \ -Wno-cast-function-type \ -Wno-constant-logical-operand -Wno-long-long \ -Wno-missing-field-initializers \ -Wno-overlength-strings \ -Wno-packed-bitfield-compat \ -Wno-parentheses-equality -Wno-self-assign \ -Wno-tautological-compare -Wno-unused-parameter \ -Wno-unused-value -Wsuggest-attribute=format \ -Wsuggest-attribute=noreturn -Wunused-variable * strip command: /tmp/instance-1/output-1/host/bin/sparc-linux-stri\ p -S -x * install doc: no * JIT support: yes * man page type: doc * BASERUBY -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) \ [x86_64-linux] --- >>> ruby 3.0.0 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-1/output-1/build/ruby-3.0.0/ make[1]: Entering directory '/tmp/instance-1/output-1/build/ruby-3.0.0' BASERUBY = /tmp/instance-1/output-1/host/bin/ruby --disable=gems CC = /tmp/instance-1/output-1/host/bin/sparc-linux-gcc LD = /tmp/instance-1/output-1/host/bin/sparc-linux-ld LDSHARED = /tmp/instance-1/output-1/host/bin/sparc-linux-gcc -shared CFLAGS = -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/sparc-linux-uclibc -I./include -I. -I./enc/unicode/12.1.0 CPPFLAGS = -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDISABLE_RUBYGEMS=1 DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.3.0 SOLIBS = -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm LANG = en_US.UTF-8 LC_ALL = C LC_CTYPE = MFLAGS = -w -j32 --jobserver-auth=6,7 sparc-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. compiling ./main.c compiling dmydln.c compiling miniinit.c compiling dmyext.c making dummy probes.h compiling ast.c compiling bignum.c compiling class.c compiling compar.c compiling compile.c compiling complex.c compiling cont.c compiling debug.c compiling debug_counter.c compiling dir.c compiling dln_find.c compiling encoding.c compiling enum.c compiling enumerator.c compiling error.c compiling eval.c compiling file.c compiling gc.c compiling hash.c compiling inits.c compiling io.c compiling iseq.c compiling load.c compiling marshal.c compiling math.c compiling memory_view.c making mjit_config.h compiling mjit_compile.c compiling node.c compiling numeric.c compiling object.c compiling pack.c In file included from ruby_atomic.h:1, from vm_core.h:78, from iseq.h:14, from ast.c:6: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from iseq.h:14, from mini_builtin.c:3, from miniinit.c:51: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from iseq.h:14, from ast.c:6: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from iseq.h:14, from mini_builtin.c:3, from miniinit.c:51: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from class.c:39: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from debug.c:16: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from cont.c:21: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ compiling parse.c In file included from class.c:39: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from eval_intern.h:5, from debug.c:16: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from eval_intern.h:5, from cont.c:21: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ make[1]: *** [Makefile:424: miniinit.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from eval.c:20: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from iseq.h:14, from compile.c:35: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from error.c:42: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from iseq.c:21: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ make[1]: *** [Makefile:424: ast.o] Error 1 In file included from eval_intern.h:5, from eval.c:20: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from gc.c:76: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from iseq.h:14, from compile.c:35: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from load.c:6: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from error.c:42: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ In file included from eval_intern.h:5, from iseq.c:21: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from eval_intern.h:5, from gc.c:76: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from eval_intern.h:5, from load.c:6: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from vm_core.h:78, from eval_intern.h:5, from cont.c:21: cont.c: In function 'ec_switch': ruby_atomic.h:11:29: warning: implicit declaration of function 'RUBY_ATOMIC_OR'; did you mean 'RUBY_ATOMIC_H'? [-Wimplicit-function-declaration] 11 | #define ATOMIC_OR(var, val) RUBY_ATOMIC_OR(var, val) | ^~~~~~~~~~~~~~ vm_core.h:1863:41: note: in expansion of macro 'ATOMIC_OR' 1863 | #define RUBY_VM_SET_TRAP_INTERRUPT(ec) ATOMIC_OR((ec)->interrupt_flag, TRAP_INTERRUPT_MASK) | ^~~~~~~~~ cont.c:818:9: note: in expansion of macro 'RUBY_VM_SET_TRAP_INTERRUPT' 818 | RUBY_VM_SET_TRAP_INTERRUPT(ec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:424: debug.o] Error 1 In file included from ruby_atomic.h:1, from vm_core.h:78, from mjit.h:13, from mjit_compile.c:22: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ make[1]: *** [Makefile:424: class.o] Error 1 In file included from ruby_atomic.h:1, from io.c:136: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ In file included from mjit.h:13, from mjit_compile.c:22: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ io.c:231:8: error: unknown type name 'rb_atomic_t' 231 | static rb_atomic_t max_file_descriptor = NOFILE; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ io.c: In function 'rb_update_max_fd': io.c:235:5: error: unknown type name 'rb_atomic_t'; did you mean 'sig_atomic_t'? 235 | rb_atomic_t afd = (rb_atomic_t)fd; | ^~~~~~~~~~~ | sig_atomic_t io.c:235:24: error: 'rb_atomic_t' undeclared (first use in this function); did you mean 'sig_atomic_t'? 235 | rb_atomic_t afd = (rb_atomic_t)fd; | ^~~~~~~~~~~ | sig_atomic_t io.c:235:24: note: each undeclared identifier is reported only once for each function it appears in io.c:235:36: error: expected ',' or ';' before 'fd' 235 | rb_atomic_t afd = (rb_atomic_t)fd; | ^~ io.c:236:16: error: expected ';' before 'max_fd' 236 | rb_atomic_t max_fd = max_file_descriptor; | ^~~~~~~ | ; In file included from ruby_atomic.h:1, from vm_core.h:78, from node.c:16: ./include/ruby/atomic.h:139:3: error: #error No atomic operation found 139 | # error No atomic operation found | ^~~~~ io.c:239:26: error: 'max_fd' undeclared (first use in this function) 239 | if (fd < 0 || afd <= max_fd) | ^~~~~~ In file included from node.c:16: vm_core.h:627:5: error: unknown type name 'rb_atomic_t' 627 | rb_atomic_t postponed_job_index; | ^~~~~~~~~~~ vm_core.h:851:5: error: unknown type name 'rb_atomic_t' 851 | rb_atomic_t interrupt_flag; | ^~~~~~~~~~~ vm_core.h:852:5: error: unknown type name 'rb_atomic_t' 852 | rb_atomic_t interrupt_mask; /* size should match flag */ | ^~~~~~~~~~~ In file included from io.c:136: ruby_atomic.h:5:41: warning: implicit declaration of function 'RUBY_ATOMIC_CAS'; did you mean 'RUBY_ATOMIC_H'? [-Wimplicit-function-declaration] 5 | #define ATOMIC_CAS(var, oldval, newval) RUBY_ATOMIC_CAS(var, oldval, newval) | ^~~~~~~~~~~~~~~ io.c:255:11: note: in expansion of macro 'ATOMIC_CAS' 255 | max_fd = ATOMIC_CAS(max_file_descriptor, max_fd, afd); | ^~~~~~~~~~ gc.c:699:2: error: unknown type name 'rb_atomic_t' 699 | rb_atomic_t finalizing; | ^~~~~~~~~~~ In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from eval.c:20: eval.c: In function 'rb_ec_cleanup': ./include/ruby/atomic.h:171:46: warning: implicit declaration of function 'RUBY_ATOMIC_EXCHANGE'; did you mean 'RUBY_ATOMIC_PTR_EXCHANGE'? [-Wimplicit-function-declaration] 171 | # define RUBY_ATOMIC_SIZE_EXCHANGE(var, val) RUBY_ATOMIC_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~~ ./include/ruby/atomic.h:222:49: note: in expansion of macro 'RUBY_ATOMIC_SIZE_EXCHANGE' 222 | # define RUBY_ATOMIC_VALUE_EXCHANGE(var, val) RUBY_ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ruby_atomic.h:23:41: note: in expansion of macro 'RUBY_ATOMIC_VALUE_EXCHANGE' 23 | #define ATOMIC_VALUE_EXCHANGE(var, val) RUBY_ATOMIC_VALUE_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eval.c:266:14: note: in expansion of macro 'ATOMIC_VALUE_EXCHANGE' 266 | VALUE err = ATOMIC_VALUE_EXCHANGE(errs[nerr], Qnil); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:424: cont.o] Error 1 make[1]: *** [Makefile:424: load.o] Error 1 In file included from ruby_atomic.h:1, from vm_core.h:78, from eval_intern.h:5, from gc.c:76: gc.c: In function 'finalize_deferred': ./include/ruby/atomic.h:171:46: warning: implicit declaration of function 'RUBY_ATOMIC_EXCHANGE'; did you mean 'RUBY_ATOMIC_PTR_EXCHANGE'? [-Wimplicit-function-declaration] 171 | # define RUBY_ATOMIC_SIZE_EXCHANGE(var, val) RUBY_ATOMIC_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~~ ./include/ruby/atomic.h:222:49: note: in expansion of macro 'RUBY_ATOMIC_SIZE_EXCHANGE' 222 | # define RUBY_ATOMIC_VALUE_EXCHANGE(var, val) RUBY_ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ruby_atomic.h:23:41: note: in expansion of macro 'RUBY_ATOMIC_VALUE_EXCHANGE' 23 | #define ATOMIC_VALUE_EXCHANGE(var, val) RUBY_ATOMIC_VALUE_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gc.c:3719:22: note: in expansion of macro 'ATOMIC_VALUE_EXCHANGE' 3719 | while ((zombie = ATOMIC_VALUE_EXCHANGE(heap_pages_deferred_final, 0)) != 0) { | ^~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:424: eval.o] Error 1 make[1]: *** [Makefile:424: node.o] Error 1 gc.c: In function 'atomic_sub_nounderflow': ./include/ruby/atomic.h:175:49: warning: implicit declaration of function 'RUBY_ATOMIC_CAS'; did you mean 'RUBY_ATOMIC_H'? [-Wimplicit-function-declaration] 175 | # define RUBY_ATOMIC_SIZE_CAS(var, oldval, val) RUBY_ATOMIC_CAS(var, oldval, val) | ^~~~~~~~~~~~~~~ ruby_atomic.h:16:46: note: in expansion of macro 'RUBY_ATOMIC_SIZE_CAS' 16 | #define ATOMIC_SIZE_CAS(var, oldval, newval) RUBY_ATOMIC_SIZE_CAS(var, oldval, newval) | ^~~~~~~~~~~~~~~~~~~~ gc.c:10407:6: note: in expansion of macro 'ATOMIC_SIZE_CAS' 10407 | if (ATOMIC_SIZE_CAS(*var, val, val-sub) == val) break; | ^~~~~~~~~~~~~~~ gc.c: In function 'objspace_malloc_increase': ./include/ruby/atomic.h:147:42: warning: implicit declaration of function 'RUBY_ATOMIC_FETCH_ADD'; did you mean 'RUBY_ATOMIC_SIZE_ADD'? [-Wimplicit-function-declaration] 147 | # define RUBY_ATOMIC_ADD(var, val) (void)RUBY_ATOMIC_FETCH_ADD(var, val) | ^~~~~~~~~~~~~~~~~~~~~ ./include/ruby/atomic.h:179:41: note: in expansion of macro 'RUBY_ATOMIC_ADD' 179 | # define RUBY_ATOMIC_SIZE_ADD(var, val) RUBY_ATOMIC_ADD(var, val) | ^~~~~~~~~~~~~~~ ruby_atomic.h:15:35: note: in expansion of macro 'RUBY_ATOMIC_SIZE_ADD' 15 | #define ATOMIC_SIZE_ADD(var, val) RUBY_ATOMIC_SIZE_ADD(var, val) | ^~~~~~~~~~~~~~~~~~~~ gc.c:10429:2: note: in expansion of macro 'ATOMIC_SIZE_ADD' 10429 | ATOMIC_SIZE_ADD(malloc_increase, new_size - old_size); | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:424: error.o] Error 1 make[1]: *** [Makefile:424: mjit_compile.o] Error 1 make[1]: *** [Makefile:424: iseq.o] Error 1 make[1]: *** [Makefile:424: gc.o] Error 1 make[1]: *** [Makefile:424: compile.o] Error 1 make[1]: *** [Makefile:424: io.o] Error 1 make[1]: Leaving directory '/tmp/instance-1/output-1/build/ruby-3.0.0' make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/ruby-3.0.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'