t-hardened-ld -o test-fsyr2k test-fsyr2k.o -fopenmp -lgivaro -lgmp -lgmpxx -lflexiblas -fopenmp PASS: test-fsyr2k g++ -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -g -I.. -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 -I/usr/include/flexiblas -I/usr/include/flexiblas -fopenmp -c -o test-fsytrf.o test-fsytrf.C /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -Wall -g -I.. -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 -I/usr/include/flexiblas -I/usr/include/flexiblas -fopenmp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test-fsytrf test-fsytrf.o -lgivaro -lgmp -lgmpxx -fopenmp -lflexiblas libtool: link: g++ -O2 -Wall -g -I.. -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 -I/usr/include/flexiblas -I/usr/include/flexiblas -fopenmp -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test-fsytrf test-fsytrf.o -fopenmp -lgivaro -lgmp -lgmpxx -lflexiblas -fopenmp *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbol lto1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [/tmp/ccrPwG1p.mk:32: /tmp/test-fsytrf.cysQDo.ltrans10.ltrans.o] Error 1 make[5]: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[4]: *** [Makefile:1369: test-fsytrf] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/fflas_ffpack-2.4.3/tests' make[3]: *** [Makefile:1798: check-TESTS] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/fflas_ffpack-2.4.3/tests' make[2]: *** [Makefile:2169: check-am] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/fflas_ffpack-2.4.3/tests' make[1]: *** [Makefile:1582: check-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/fflas_ffpack-2.4.3/tests' make: *** [Makefile:565: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.NpR4yW (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NpR4yW (%check) 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/fflas-ffpack.spec