alprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o auto-load.o auxv.o ax-gdb.o ax-general.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o btrace.o build-id.o buildsym.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cli-out.o coff-pe-read.o coffread.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-namespace.o cp-support.o cp-valprint.o ctf.o d-lang.o d-namespace.o d-valprint.o dbxread.o dcache.o debug.o demangle.o dictionary.o disasm.o disasm-selftests.o dummy-frame.o dwarf2-frame.o dwarf2-frame-tailcall.o dwarf2expr.o dwarf2loc.o dwarf2read.o eval.o event-loop.o event-top.o exceptions.o expprint.o extension.o f-lang.o f-typeprint.o f-valprint.o filename-seen-cache.o filesystem.o findcmd.o findvar.o frame.o frame-base.o frame-unwind.o gcore.o gdb_bfd.o gdb-dlfcn.o gdb_obstack.o gdb_regex.o gdb_usleep.o gdbarch.o gdbarch-selftests.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-lang.o go-typeprint.o go-valprint.o inf-child.o inf-loop.o infcall.o infcmd.o inferior.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o minidebug.o minsyms.o mipsread.o namespace.o objc-lang.o objfiles.o observer.o opencl-lang.o osabi.o osdata.o p-lang.o p-typeprint.o p-valprint.o parse.o printcmd.o probe.o producer.o progspace.o progspace-and-thread.o prologue-value.o psymtab.o record.o record-btrace.o record-full.o regcache.o reggroups.o registry.o remote.o remote-fileio.o remote-notif.o reverse.o rust-lang.o sentinel-frame.o ser-event.o serial.o skip.o solib.o solib-target.o source.o stabsread.o stack.o std-regs.o symfile.o symfile-debug.o symmisc.o symtab.o target.o target-dcache.o target-descriptions.o target-memory.o thread.o thread-fsm.o tid-parse.o top.o tracefile.o tracefile-tfile.o tracepoint.o trad-frame.o tramp-frame.o target-float.o typeprint.o ui-file.o ui-out.o user-regs.o utils.o valarith.o valops.o valprint.o value.o varobj.o xml-support.o xml-syscall.o xml-tdesc.o target/waitstatus.o compile/compile.o compile/compile-c-support.o compile/compile-c-symbols.o compile/compile-c-types.o compile/compile-loc2c.o compile/compile-object-load.o compile/compile-object-run.o inflow.o init.o \ ../sim/avr/libsim.a ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a -lz ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -ldl -lncursesw -lm -ldl ../libiberty/libiberty.a build-gnulib/import/libgnu.a /usr/bin/ld: infcmd.o: in function `.L0 ': /builddir/build/BUILD/avr-gdb-8.1/build/gdb/../../gdb-8.1/gdb/common/common-utils.h:60: undefined reference to `regcache::readonly' /usr/bin/ld: infcmd.o: in function `get_inferior_args()': /builddir/build/BUILD/avr-gdb-8.1/build/gdb/../../gdb-8.1/gdb/infcmd.c:173: undefined reference to `regcache::readonly' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1918: gdb] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/avr-gdb-8.1/build/gdb' make[1]: Leaving directory '/builddir/build/BUILD/avr-gdb-8.1/build' make[1]: *** [Makefile:8824: all-gdb] Error 2 make: *** [Makefile:849: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.rYshgY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rYshgY (%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/avr-gdb.spec