/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/./gcc/xg++ -shared-libgcc -B/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/./gcc -nostdinc++ -L/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/src -L/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/src/.libs -L/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/libsupc++/.libs -B/usr/riscv64-redhat-linux/bin/ -B/usr/riscv64-redhat-linux/lib/ -isystem /usr/riscv64-redhat-linux/include -isystem /usr/riscv64-redhat-linux/sys-include -DHAVE_CONFIG_H -I. -I.. -I.. -I/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/./gcc/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/13/plugin/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I /builddir/build/BUILD/gcc-13.0.1-20230117/gcc -I /builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/gcc -nostdinc++ -I/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include/riscv64-redhat-linux -I/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/include -I/builddir/build/BUILD/gcc-13.0.1-20230117/libstdc++-v3/libsupc++ -I/builddir/build/BUILD/gcc-13.0.1-20230117/libstdc++-v3/include/backward -I/builddir/build/BUILD/gcc-13.0.1-20230117/libstdc++-v3/testsuite/util -I /builddir/build/BUILD/gcc-13.0.1-20230117/include -I /builddir/build/BUILD/gcc-13.0.1-20230117/libcpp/include -Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/builddir/build/BUILD/gcc-13.0.1-20230117/obj-riscv64-redhat-linux/riscv64-redhat-linux/libstdc++-v3/src/.libs -c annobin.cc -fPIC -DPIC -o .libs/annobin.o In file included from annobin.cc:20: annobin.cc: In function 'unsigned int compute_GOWall_options()': annobin.h:203:104: error: 'struct gcc_options' has no member named 'x_use_gnu_debug_info_extensions' 203 | #define GET_INT_OPTION_BY_NAME(NAME) annobin_get_int_option_by_name (#NAME, annobin_global_options->x_##NAME) | ^~ annobin.cc:896:7: note: in expansion of macro 'GET_INT_OPTION_BY_NAME' 896 | if (GET_INT_OPTION_BY_NAME (use_gnu_debug_info_extensions)) | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gcc-13.0.1-20230117/annobin-plugin/annobin-10.91/gcc-plugin' make[2]: *** [Makefile:467: annobin.lo] Error 1 make[1]: *** [Makefile:367: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/gcc-13.0.1-20230117/annobin-plugin/annobin-10.91/gcc-plugin' make: *** [Makefile:429: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.SpWcLR (%build) RPM build warnings: line 347: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap line 348: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-devel line 349: It's not recommended to have unversioned Obsoletes: Obsoletes: libmudflap-static RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SpWcLR (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/gcc.spec