c -fPIC -DPIC -o .libs/dummy.annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-10.79/gcc-plugin' In file included from dummy.annobin.cc:16: dummy.annobin.cc: In function 'unsigned int annobin_get_target_pointer_size()': annobin.h:207:40: error: unable to find numeric literal operator 'operator""_illegal_reference_to_global_options' 207 | #define ANNOBIN_ILLEGAL_GLOBAL_OPTIONS 999_illegal_reference_to_global_options | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ annobin.h:207:40: note: in definition of macro 'ANNOBIN_ILLEGAL_GLOBAL_OPTIONS' 207 | #define ANNOBIN_ILLEGAL_GLOBAL_OPTIONS 999_illegal_reference_to_global_options | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/riscv64-redhat-linux/11/plugin/include/options.h:7307:19: note: in expansion of macro 'global_options' 7307 | #define riscv_abi global_options.x_riscv_abi | ^~~~~~~~~~~~~~ /usr/lib/gcc/riscv64-redhat-linux/11/plugin/include/config/riscv/riscv.h:165:23: note: in expansion of macro 'riscv_abi' 165 | #define POINTER_SIZE (riscv_abi >= ABI_LP64 ? 64 : 32) | ^~~~~~~~~ dummy.annobin.cc:38:10: note: in expansion of macro 'POINTER_SIZE' 38 | return POINTER_SIZE; | ^~~~~~~~~~~~ make[2]: *** [Makefile:465: dummy.annobin.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/annobin-10.79/gcc-plugin' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I'..' -I'..' -I/usr/lib/gcc/riscv64-redhat-linux/11/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/11/plugin/include -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o annobin.lo annobin.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/lib/gcc/riscv64-redhat-linux/11/plugin/include -I/usr/lib/gcc/riscv64-redhat-linux/11/plugin/include -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1 -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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -c annobin.cc -fPIC -DPIC -o .libs/annobin.o make[2]: Leaving directory '/builddir/build/BUILD/annobin-10.79/gcc-plugin' make[1]: *** [Makefile:365: all] Error 2 make: *** [Makefile:428: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.wwPE81 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wwPE81 (%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/annobin.spec