Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec'], chrootPath='/var/lib/mock/f33-build-123761-39137/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/ruby-2.7.0-127.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec'], chrootPath='/var/lib/mock/f33-build-123761-39137/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CE7Vrb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby-2.7.0 + /usr/bin/xz -dc /builddir/build/SOURCES/ruby-2.7.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf ext/psych/yaml + rm -rf ext/fiddle/libffi-3.2.1 + echo 'Patch #0 (ruby-2.3.0-ruby_version.patch):' Patch #0 (ruby-2.3.0-ruby_version.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file template/ruby.pc.in patching file lib/rdoc/ri/paths.rb patching file tool/rbinstall.rb patching file lib/rubygems/defaults.rb patching file test/rubygems/test_gem.rb patching file configure.ac Patch #1 (ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch): + echo 'Patch #1 (ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file loadpath.c patching file tool/mkconfig.rb Patch #2 (ruby-2.1.0-Enable-configuration-of-archlibdir.patch): + echo 'Patch #2 (ruby-2.1.0-Enable-configuration-of-archlibdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #3 (ruby-2.1.0-always-use-i386.patch): + echo 'Patch #3 (ruby-2.1.0-always-use-i386.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #4 (ruby-2.1.0-custom-rubygems-location.patch): + echo 'Patch #4 (ruby-2.1.0-custom-rubygems-location.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file loadpath.c patching file template/verconf.h.tmpl patching file tool/rbinstall.rb Patch #5 (ruby-1.9.3-mkmf-verbose.patch): + echo 'Patch #5 (ruby-1.9.3-mkmf-verbose.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/mkmf.rb Patch #6 (ruby-2.7.0-Initialize-ABRT-hook.patch): + echo 'Patch #6 (ruby-2.7.0-Initialize-ABRT-hook.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file abrt.c patching file common.mk patching file ruby.c Patch #9 (ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch): + echo 'Patch #9 (ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/fiddle/helper.rb Patch #10 (ruby-2.7.0-Remove-RubyGems-dependency.patch): + echo 'Patch #10 (ruby-2.7.0-Remove-RubyGems-dependency.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb Patch #22 (ruby-2.6.0-config-support-include-directive.patch): + echo 'Patch #22 (ruby-2.6.0-config-support-include-directive.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/openssl/lib/openssl/config.rb patching file test/openssl/test_config.rb + cp -a /builddir/build/SOURCES/ruby-exercise.stp . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oQ4zzd + umask 022 + cd /builddir/build/BUILD + cd ruby-2.7.0 + autoconf + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tool/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./tool/config.sub ++ basename ./tool/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tool/config.sub '/usr/lib/rpm/redhat/config.sub' -> './tool/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tool/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./tool/config.guess ++ basename ./tool/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tool/config.guess '/usr/lib/rpm/redhat/config.guess' -> './tool/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-rubylibprefix=/usr/share/ruby --with-archlibdir=/usr/lib64 --with-rubyarchprefix=/usr/lib64/ruby --with-sitedir=/usr/local/share/ruby/site_ruby --with-sitearchdir=/usr/local/lib64/ruby/site_ruby --with-vendordir=/usr/share/ruby/vendor_ruby --with-vendorarchdir=/usr/lib64/ruby/vendor_ruby --with-rubyhdrdir=/usr/include --with-rubyarchhdrdir=/usr/include '--with-sitearchhdrdir=$(sitehdrdir)/$(arch)' '--with-vendorarchhdrdir=$(vendorhdrdir)/$(arch)' --with-rubygemsdir=/usr/share/rubygems --with-ruby-pc=ruby.pc --with-compress-debug-sections=no --disable-rpath --enable-shared --with-ruby-version= --enable-multiarch checking for ruby... false checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for riscv64-redhat-linux-gnu-ld... no checking for ld... ld checking whether the linker is GNU ld... yes checking whether gcc -E accepts -o... yes checking for gcc... /usr/bin/gcc checking for riscv64-redhat-linux-gnu-ranlib... no checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for ar flags... rcD checking for riscv64-redhat-linux-gnu-as... no checking for as... as checking for riscv64-redhat-linux-gnu-objdump... no checking for riscv64-redhat-linux-gnu-gobjdump... no checking for objdump... objdump checking for riscv64-redhat-linux-gnu-objcopy... no checking for riscv64-redhat-linux-gnu-gobjcopy... no checking for objcopy... objcopy checking for riscv64-redhat-linux-gnu-nm... no checking for riscv64-redhat-linux-gnu-nm... no checking for nm... nm 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... /usr/bin/mkdir -p checking for riscv64-redhat-linux-gnu-dtrace... no checking for dtrace... dtrace checking for dot... no checking for doxygen... no checking for pkg-config... no 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 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 -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,2259 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 -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes checking whether -fstack-protector-strong is accepted as CFLAGS... yes checking whether -fstack-protector-strong 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 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... no checking for an ANSI C-conforming const... yes checking whether char is unsigned... yes 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... 8 checking size of long long... 8 checking size of __int64... 0 checking size of __int128... 16 checking size of off_t... 8 checking size of void*... 8 checking size of float... 4 checking size of double... 8 checking size of time_t... 8 checking size of clock_t... 8 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... ULONG 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... ULONG checking for off_t... (cached) yes checking for convertible type of off_t... LONG checking for clockid_t... yes checking for convertible type of clockid_t... INT checking for prototypes... yes checking token paste string... ansi checking stringization... #expr checking string literal concatenation... yes checking for variable length prototypes and stdarg.h... yes checking for variable length macro... yes checking for alignas() syntax... __attribute__((__aligned__(x))) checking for alignof() syntax... alignof 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 DEPRECATED_TYPE type attribute... __attribute__ ((__deprecated__ mesg)) 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++... no 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... yes checking whether getenv is declared... yes checking for size_t... yes checking size of size_t... 8 checking size of ptrdiff_t... 8 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 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... yes 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... __int128 checking for uint128_t... unsigned __int128 checking for intptr_t... yes checking size of intptr_t... 8 checking for uintptr_t... yes checking size of uintptr_t... 8 checking for printf prefix for intptr_t... NONE checking for ssize_t... yes checking size of ssize_t... 8 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 return type of signal handlers... void checking for working alloca.h... yes checking for alloca... yes checking for dynamic size alloca... ok checking for working memcmp... 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... yes 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... no checking for strlcpy... no 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... yes 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... yes checking for cosh... yes checking for crypt_r... yes 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 getpgid... yes checking for getpgrp... yes checking for getpriority... yes checking for getpwnam_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... no checking for killpg... yes checking for lchmod... yes 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 statx... yes checking if getcwd allocates buffer if NULL is given... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for struct crypt_data.initialized... 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... yes checking for sig_t... yes checking whether right shift preserve sign bit... yes checking whether _SC_CLK_TCK is supported... yes checking stack growing direction on riscv64... -1 checking native coroutine implementation for riscv64-linux... 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... 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 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... yes checking for broken backtrace... no checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking whether -Wl,--no-undefined is accepted as LDFLAGS... yes checking whether wrapper for LD_LIBRARY_PATH is needed... no checking whether dtrace USDT is available... yes checking whether dtrace needs post processing... yes 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/riscv64-linux/ruby/config.h updated configure: ruby library version = 2.7.0 configure: creating ./config.status config.status: creating GNUmakefile config.status: creating Makefile config.status: creating ruby.pc --- Configuration summary for ruby version 2.7.0 * Installation prefix: /usr * exec prefix: /usr * arch: riscv64-linux * site arch: ${arch} * RUBY_BASE_NAME: ruby * enable shared: yes * ruby lib prefix: ${exec_prefix}/share/ruby * site libraries path: ${sitearchlibdir}/${RUBY_BASE_NAME} * vendor path: /usr/share/ruby/vendor_ruby * target OS: linux * compiler: gcc * with pthread: yes * with coroutine: ucontext * enable shared libs: yes * dynamic library ext: so * CFLAGS: ${optflags} ${debugflags} ${warnflags} * LDFLAGS: -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \ -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ -fstack-protector-strong -rdynamic \ -Wl,-export-dynamic * DLDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now \ -specs=/usr/lib/rpm/redhat/redhat-hardened-ld * 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: strip -S -x * install doc: rdoc * JIT support: yes * man page type: doc --- + make -j4 'COPY=cp -p' Q= BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 CPPFLAGS = DLDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libruby.so.2.7 -fstack-protector-strong SOLIBS = -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm LANG = C LC_ALL = LC_CTYPE = MFLAGS = -j4 --jobserver-auth=4,5 gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9) Copyright (C) 2020 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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o main.o -c ./main.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dmydln.o -c dmydln.c compiling miniinit.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o miniinit.o -c miniinit.c compiling dmyext.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dmyext.o -c dmyext.c compiling abrt.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o abrt.o -c abrt.c translating probes probes.d dtrace -o probes.h.tmp -h -C -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -s probes.d compiling ast.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o ast.o -c ast.c compiling bignum.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o bignum.o -c bignum.c compiling class.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o class.o -c class.c sed -e 's/RUBY_/RUBY_DTRACE_/g' -e 's/PROBES_H_TMP/RUBY_PROBES_H/' -e 's/(char \*/(const char */g' -e 's/, char \*/, const char */g' probes.h.tmp > probes.h rm -f probes.h.tmp compiling compar.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o compar.o -c compar.c compiling compile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o compile.o -c compile.c compiling complex.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o complex.o -c complex.c compiling cont.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o cont.o -c cont.c compiling debug.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o debug.o -c debug.c compiling debug_counter.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o debug_counter.o -c debug_counter.c compiling dir.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dir.o -c dir.c compiling dln_find.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dln_find.o -c dln_find.c compiling encoding.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o encoding.o -c encoding.c compiling enum.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enum.o -c enum.c compiling enumerator.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enumerator.o -c enumerator.c compiling error.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o error.o -c error.c compiling eval.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o eval.o -c eval.c compiling file.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o file.o -c file.c compiling gc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o gc.o -c gc.c In file included from vm_core.h:79, from eval_intern.h:5, from gc.c:25: gc.c: In function 'atomic_sub_nounderflow': ruby_atomic.h:136:71: warning: passing argument 1 of 'ruby_atomic_compare_and_swap' from incompatible pointer type [-Wincompatible-pointer-types] 136 | # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval)) | ^~~~~~ | | | size_t * {aka long unsigned int *} ruby_atomic.h:163:44: note: in expansion of macro 'ATOMIC_CAS' 163 | # define ATOMIC_SIZE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, val) | ^~~~~~~~~~ gc.c:9681:6: note: in expansion of macro 'ATOMIC_SIZE_CAS' 9681 | if (ATOMIC_SIZE_CAS(*var, val, val-sub) == val) break; | ^~~~~~~~~~~~~~~ ruby_atomic.h:127:62: note: expected 'rb_atomic_t *' {aka 'int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 127 | extern rb_atomic_t ruby_atomic_compare_and_swap(rb_atomic_t *ptr, | ~~~~~~~~~~~~~^~~ gc.c: In function 'rb_free_tmp_buffer': ruby_atomic.h:186:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 186 | # define ATOMIC_PTR_EXCHANGE(var, val) (void *)ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:140:69: note: in definition of macro 'ATOMIC_SIZE_EXCHANGE' 140 | # define ATOMIC_SIZE_EXCHANGE(var, val) ruby_atomic_size_exchange(&(var), (val)) | ^~~ gc.c:10261:14: note: in expansion of macro 'ATOMIC_PTR_EXCHANGE' 10261 | void *ptr = ATOMIC_PTR_EXCHANGE(s->ptr, 0); | ^~~~~~~~~~~~~~~~~~~ compiling hash.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o hash.o -c hash.c compiling inits.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o inits.o -c inits.c compiling io.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o io.o -c io.c compiling iseq.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o iseq.o -c iseq.c compiling load.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o load.o -c load.c compiling marshal.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o marshal.o -c marshal.c compiling math.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o math.o -c math.c making mjit_config.h + echo '#ifndef RUBY_MJIT_CONFIG_H' + echo '#define RUBY_MJIT_CONFIG_H 1' + echo + sep= + echo '#ifdef LOAD_RELATIVE' + quote MJIT_HEADER_INSTALL_DIR /include/riscv64-linux/ruby- + printf '#define MJIT_HEADER_INSTALL_DIR' + shift + printf ' "%s"' /include/riscv64-linux/ruby- + echo + echo '#else' + quote MJIT_HEADER_INSTALL_DIR /usr/include + printf '#define MJIT_HEADER_INSTALL_DIR' + shift + printf ' "%s"' /usr/include + echo + echo '#endif' + quote MJIT_MIN_HEADER_NAME rb_mjit_min_header-2.7.0.h + printf '#define MJIT_MIN_HEADER_NAME' + shift + printf ' "%s"' rb_mjit_min_header-2.7.0.h + echo + sep=, + quote 'MJIT_CC_COMMON ' /usr/bin/gcc + printf '#define MJIT_CC_COMMON ' + shift + printf ' "%s",' /usr/bin/gcc + echo + quote 'MJIT_CFLAGS MJIT_ARCHFLAG' -w + printf '#define MJIT_CFLAGS MJIT_ARCHFLAG' + shift + printf ' "%s",' -w + echo + quote 'MJIT_OPTFLAGS ' -O3 + printf '#define MJIT_OPTFLAGS ' + shift + printf ' "%s",' -O3 + echo + quote 'MJIT_DEBUGFLAGS ' -ggdb3 + printf '#define MJIT_DEBUGFLAGS ' + shift + printf ' "%s",' -ggdb3 + echo + quote 'MJIT_LDSHARED ' /usr/bin/gcc -shared + printf '#define MJIT_LDSHARED ' + shift + printf ' "%s",' /usr/bin/gcc -shared + echo + quote 'MJIT_DLDFLAGS MJIT_ARCHFLAG' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + printf '#define MJIT_DLDFLAGS MJIT_ARCHFLAG' + shift + printf ' "%s",' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + echo + quote 'MJIT_LIBS ' -lruby + printf '#define MJIT_LIBS ' + shift + printf ' "%s",' -lruby + echo + quote 'PRELOADENV "LD_PRELOAD"' + printf '#define PRELOADENV "LD_PRELOAD"' + shift + echo + indent= + define_arch_flags + quote 'MJIT_ARCHFLAG /* no flag */' + printf '#define MJIT_ARCHFLAG /* no flag */' + shift + echo + echo + echo '#endif /* RUBY_MJIT_CONFIG_H */' compiling mjit_compile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o mjit_compile.o -c mjit_compile.c compiling node.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o node.o -c node.c compiling numeric.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o numeric.o -c numeric.c compiling object.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o object.o -c object.c compiling pack.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o pack.o -c pack.c compiling parse.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o parse.o -c parse.c compiling proc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o proc.o -c proc.c compiling process.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o process.o -c process.c compiling random.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o random.o -c random.c compiling range.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o range.o -c range.c compiling rational.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o rational.o -c rational.c compiling re.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o re.o -c re.c compiling regcomp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regcomp.o -c regcomp.c compiling regenc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regenc.o -c regenc.c compiling regerror.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regerror.o -c regerror.c compiling regexec.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regexec.o -c regexec.c compiling regparse.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regparse.o -c regparse.c compiling regsyntax.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o regsyntax.o -c regsyntax.c compiling ruby.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o ruby.o -c ruby.c In file included from ruby.c:53: ruby.c: In function 'proc_options': ./include/ruby/util.h:53:26: warning: value computed is not used [-Wunused-value] 53 | #define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ruby.c:1254:21: note: in expansion of macro 'scan_oct' 1254 | scan_oct(s, 2, &numlen); | ^~~~~~~~ compiling safe.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o safe.o -c safe.c compiling signal.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o signal.o -c signal.c In file included from vm_core.h:79, from signal.c:15: signal.c: In function 'check_reserved_signal_': ruby_atomic.h:186:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 186 | # define ATOMIC_PTR_EXCHANGE(var, val) (void *)ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:140:69: note: in definition of macro 'ATOMIC_SIZE_EXCHANGE' 140 | # define ATOMIC_SIZE_EXCHANGE(var, val) ruby_atomic_size_exchange(&(var), (val)) | ^~~ signal.c:986:24: note: in expansion of macro 'ATOMIC_PTR_EXCHANGE' 986 | const char *prev = ATOMIC_PTR_EXCHANGE(received_signal, name); | ^~~~~~~~~~~~~~~~~~~ compiling sprintf.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o sprintf.o -c sprintf.c compiling st.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o st.o -c st.c compiling strftime.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o strftime.o -c strftime.c compiling string.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o string.o -c string.c compiling struct.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o struct.o -c struct.c compiling symbol.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o symbol.o -c symbol.c compiling thread.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o thread.o -c thread.c compiling time.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o time.o -c time.c In file included from vm_core.h:79, from eval_intern.h:5, from thread.c:68: thread_pthread.c: In function 'rb_sigwait_fd_get': ruby_atomic.h:201:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:136:73: note: in definition of macro 'ATOMIC_CAS' 136 | # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval)) | ^~~ ruby_atomic.h:201:53: note: in expansion of macro 'ATOMIC_SIZE_CAS' 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^~~~~~~~~~~~~~~ thread_pthread.c:1921:13: note: in expansion of macro 'ATOMIC_PTR_CAS' 1921 | if (ATOMIC_PTR_CAS(sigwait_th, THREAD_INVALID, th) == THREAD_INVALID) { | ^~~~~~~~~~~~~~ ruby_atomic.h:136:71: warning: passing argument 1 of 'ruby_atomic_compare_and_swap' from incompatible pointer type [-Wincompatible-pointer-types] 136 | # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval)) | ^~~~~~ | | | size_t * {aka long unsigned int *} ruby_atomic.h:163:44: note: in expansion of macro 'ATOMIC_CAS' 163 | # define ATOMIC_SIZE_CAS(var, oldval, val) ATOMIC_CAS(var, oldval, val) | ^~~~~~~~~~ ruby_atomic.h:201:53: note: in expansion of macro 'ATOMIC_SIZE_CAS' 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^~~~~~~~~~~~~~~ thread_pthread.c:1921:13: note: in expansion of macro 'ATOMIC_PTR_CAS' 1921 | if (ATOMIC_PTR_CAS(sigwait_th, THREAD_INVALID, th) == THREAD_INVALID) { | ^~~~~~~~~~~~~~ ruby_atomic.h:127:62: note: expected 'rb_atomic_t *' {aka 'int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 127 | extern rb_atomic_t ruby_atomic_compare_and_swap(rb_atomic_t *ptr, | ~~~~~~~~~~~~~^~~ ruby_atomic.h:201:88: warning: overflow in conversion from 'long unsigned int' to 'rb_atomic_t' {aka 'int'} changes value from '18446744073709551615' to '-1' [-Woverflow] 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^ ruby_atomic.h:136:80: note: in definition of macro 'ATOMIC_CAS' 136 | # define ATOMIC_CAS(var, oldval, newval) ruby_atomic_compare_and_swap(&(var), (oldval), (newval)) | ^~~~~~ ruby_atomic.h:201:53: note: in expansion of macro 'ATOMIC_SIZE_CAS' 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^~~~~~~~~~~~~~~ thread_pthread.c:1921:13: note: in expansion of macro 'ATOMIC_PTR_CAS' 1921 | if (ATOMIC_PTR_CAS(sigwait_th, THREAD_INVALID, th) == THREAD_INVALID) { | ^~~~~~~~~~~~~~ ruby_atomic.h:201:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 201 | # define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val)) | ^ thread_pthread.c:1921:13: note: in expansion of macro 'ATOMIC_PTR_CAS' 1921 | if (ATOMIC_PTR_CAS(sigwait_th, THREAD_INVALID, th) == THREAD_INVALID) { | ^~~~~~~~~~~~~~ thread_pthread.c: In function 'rb_sigwait_fd_put': ruby_atomic.h:186:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 186 | # define ATOMIC_PTR_EXCHANGE(var, val) (void *)ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:140:69: note: in definition of macro 'ATOMIC_SIZE_EXCHANGE' 140 | # define ATOMIC_SIZE_EXCHANGE(var, val) ruby_atomic_size_exchange(&(var), (val)) | ^~~ thread_pthread.c:1934:11: note: in expansion of macro 'ATOMIC_PTR_EXCHANGE' 1934 | old = ATOMIC_PTR_EXCHANGE(sigwait_th, THREAD_INVALID); | ^~~~~~~~~~~~~~~~~~~ compiling transcode.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o transcode.o -c transcode.c compiling transient_heap.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o transient_heap.o -c transient_heap.c compiling util.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o util.o -c util.c compiling variable.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o variable.o -c variable.c : > revision.tmp compiling vm.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o vm.o -c vm.c compiling vm_backtrace.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o vm_backtrace.o -c vm_backtrace.c compiling vm_dump.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o vm_dump.o -c vm_dump.c compiling vm_trace.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o vm_trace.o -c vm_trace.c /usr/bin/mkdir -p coroutine/ucontext processing probes in object files rm -f probes.o dtrace -G -C -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -s ./probes.d -o probes.o /usr/bin/mkdir -p enc/trans .ext/.timestamp compiling ./missing/setproctitle.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o setproctitle.o -c ./missing/setproctitle.c compiling ./missing/strlcat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o strlcat.o -c ./missing/strlcat.c compiling ./missing/strlcpy.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o strlcpy.o -c ./missing/strlcpy.c compiling addr2line.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o addr2line.o -c addr2line.c compiling dmyenc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dmyenc.o -c dmyenc.c compiling dln.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o dln.o -c dln.c compiling localeinit.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o localeinit.o -c localeinit.c /usr/bin/mkdir -p .ext/.timestamp/riscv64-linux .ext/riscv64-linux /usr/bin/mkdir -p .ext/.timestamp .ext/common compiling array.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o array.o -c array.c compiling mjit.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o mjit.o -c mjit.c In file included from vm_core.h:79, from mjit_worker.c:75, from mjit.c:18: mjit_worker.c: In function 'compact_all_jit_code': ruby_atomic.h:186:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 186 | # define ATOMIC_PTR_EXCHANGE(var, val) (void *)ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:140:69: note: in definition of macro 'ATOMIC_SIZE_EXCHANGE' 140 | # define ATOMIC_SIZE_EXCHANGE(var, val) ruby_atomic_size_exchange(&(var), (val)) | ^~~ mjit_worker.c:121:41: note: in expansion of macro 'ATOMIC_PTR_EXCHANGE' 121 | #define MJIT_ATOMIC_SET(var, val) (void)ATOMIC_PTR_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~ mjit_worker.c:904:17: note: in expansion of macro 'MJIT_ATOMIC_SET' 904 | MJIT_ATOMIC_SET(cur->iseq->body->jit_func, (mjit_func_t)func); | ^~~~~~~~~~~~~~~ mjit_worker.c: In function 'mjit_worker': ruby_atomic.h:186:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 186 | # define ATOMIC_PTR_EXCHANGE(var, val) (void *)ATOMIC_SIZE_EXCHANGE(*(size_t *)&(var), (size_t)(val)) | ^~~~~~~~~~~~~~~~ ruby_atomic.h:140:69: note: in definition of macro 'ATOMIC_SIZE_EXCHANGE' 140 | # define ATOMIC_SIZE_EXCHANGE(var, val) ruby_atomic_size_exchange(&(var), (val)) | ^~~ mjit_worker.c:121:41: note: in expansion of macro 'ATOMIC_PTR_EXCHANGE' 121 | #define MJIT_ATOMIC_SET(var, val) (void)ATOMIC_PTR_EXCHANGE(var, val) | ^~~~~~~~~~~~~~~~~~~ mjit_worker.c:1239:17: note: in expansion of macro 'MJIT_ATOMIC_SET' 1239 | MJIT_ATOMIC_SET(unit->iseq->body->jit_func, func); | ^~~~~~~~~~~~~~~ ./tool/ifchange "--timestamp=.revision.time" "./revision.h" revision.tmp ./revision.h unchanged compiling coroutine/ucontext/Context.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o coroutine/ucontext/Context.o -c coroutine/ucontext/Context.c compiling enc/ascii.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enc/ascii.o -c enc/ascii.c compiling enc/us_ascii.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enc/us_ascii.o -c enc/us_ascii.c compiling enc/unicode.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enc/unicode.o -c enc/unicode.c compiling enc/utf_8.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enc/utf_8.o -c enc/utf_8.c compiling enc/trans/newline.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o enc/trans/newline.o -c enc/trans/newline.c # rm -f revision.h # : > revision.h || : > revision.h compiling version.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o version.o -c version.c enc/unicode.c: In function 'onigenc_unicode_get_case_fold_codes_by_str': enc/unicode.c:557:21: warning: 'ncs[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 557 | for (i = 0; i < ncs[0]; i++) { | ~~~^~~ building rb_mjit_header.h gcc -E -DMJIT_HEADER -P -dD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 ./vm.c -o rb_mjit_header.h.new linking miniruby gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -fstack-protector-strong main.o dmydln.o miniinit.o dmyext.o abrt.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o iseq.o load.o marshal.o math.o mjit.o mjit_compile.o node.o numeric.o object.o pack.o parse.o proc.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o transient_heap.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_trace.o coroutine/ucontext/Context.o probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o strlcat.o strlcpy.o addr2line.o -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -o miniruby ./tool/ifchange "--timestamp=.ext/.timestamp/rb_mjit_header.time" rb_mjit_header.h rb_mjit_header.h.new rb_mjit_header.h updated : ./miniruby -I./lib -I. -I.ext/common -n \ -e 'BEGIN{version=ARGV.shift;mis=ARGV.dup}' \ -e 'END{abort "UNICODE version mismatch: #{mis}" unless mis.empty?}' \ -e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \ 12.1.0 ./enc/unicode/12.1.0/casefold.h ./enc/unicode/12.1.0/name2ctype.h ./miniruby -I./lib -I. -I.ext/common ./tool/mk_builtin_binary.rb --cross=no generating encdb.h ./miniruby -I./lib -I. -I.ext/common ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc building .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h ./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC " rb_mjit_header.h .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h compiling builtin.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o builtin.o -c builtin.c encdb.h updated miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed. ./miniruby -I./lib -I. -I.ext/common ./tool/mkconfig.rb \ -arch=riscv64-linux -version=2.7.0 \ -install_name=ruby \ -so_name=ruby \ -unicode_version=12.1.0 \ -unicode_emoji_version=12.1 \ > rbconfig.tmp ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp rbconfig.rb updated generating enc.mk ./miniruby -I./lib -I. -I.ext/common ./enc/make_encmake.rb --builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="enc/trans/newline.o" --module enc.mk creating verconf.h ./miniruby -I./lib -I. -I.ext/common "./tool/generic_erb.rb" -o verconf.h ./template/verconf.h.tmpl make: *** [uncommon.mk:241: .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h] Aborted (core dumped) make: *** Waiting for unfinished jobs.... verconf.h updated error: Bad exit status from /var/tmp/rpm-tmp.oQ4zzd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oQ4zzd (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby.spec