# error Need frc() for this platform. | ^~~~~ src/oslat/oslat.c: In function '__measure_cpu_hz': src/oslat/oslat.c:229:2: warning: implicit declaration of function 'frc' [-Wimplicit-function-declaration] 229 | frc(&s); | ^~~ src/oslat/oslat.c: In function 'thread_main': src/oslat/oslat.c:393:3: warning: implicit declaration of function 'relax' [-Wimplicit-function-declaration] 393 | relax(); | ^~~~~ make: *** [Makefile:105: bld/oslat.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -D VERSION=1.9 -c src/sched_deadline/deadline_test.c -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/deadline_test.o src/sched_deadline/deadline_test.c: In function 'ftrace_write': src/sched_deadline/deadline_test.c:339:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(mark_fd, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'main': src/sched_deadline/deadline_test.c:1967:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1967 | system("cat /sys/fs/cgroup/cpuset/my_cpuset/tasks"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'teardown': src/sched_deadline/deadline_test.c:843:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 843 | write(fd, "0", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c:849:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 849 | write(fd, "1", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'destroy_cpuset': src/sched_deadline/deadline_test.c:801:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -O2 -g -DNUMA -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hackbench bld/hackbench.o -lrt -lpthread gcc -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 -O2 -g -DNUMA -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cyclictest bld/cyclictest.o -lrt -lpthread -lrttest -Lbld -lnuma error: Bad exit status from /var/tmp/rpm-tmp.5u0dW9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5u0dW9 (%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/realtime-tests.spec