-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pedantic -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c gcroots.c -fPIC -DPIC -o .libs/gcroots.o libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pedantic -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c -fPIC -DPIC -o .libs/mach_dep.o In file included from ./include/private/gc_priv.h:68, from mark.c:30: ./include/private/gcconfig.h:492:5: error: #error "The collector has not been ported to this machine/OS combination." 492 | # error "The collector has not been ported to this machine/OS combination." | ^~~~~ In file included from ./include/private/gc_priv.h:68, from gcroots.c:19: ./include/private/gcconfig.h:492:5: error: #error "The collector has not been ported to this machine/OS combination." 492 | # error "The collector has not been ported to this machine/OS combination." | ^~~~~ In file included from ./include/private/gc_priv.h:68, from mach_dep.c:16: ./include/private/gcconfig.h:492:5: error: #error "The collector has not been ported to this machine/OS combination." 492 | # error "The collector has not been ported to this machine/OS combination." | ^~~~~ mark.c: In function 'GCROOTS_noop1': mark.c:35:26: warning: variable 'sink' set but not used [-Wunused-but-set-variable] 35 | static volatile word sink; | ^~~~ gcroots.c: In function 'GCROOTS_push_current_stack': gcroots.c:196:11: warning: cast increases required alignment of target type [-Wcast-align] 196 | ctx = (GCROOTS_context *)cold_gc_frame; | ^ make[1]: *** [Makefile:907: mark.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:907: gcroots.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libgcroots-0.3.1' make[1]: *** [Makefile:907: mach_dep.lo] Error 1 make: *** [Makefile:994: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.gIueDE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gIueDE (%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/libgcroots.spec