e-point -pipe -Winit-self -Wmissing-include-dirs -Wshadow -D_GNU_SOURCE -fPIC -g -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o vlogger.lo vlogger.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -Wall -g -fPIC -Wall -Wextra -Werror -ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs -Wshadow -D_GNU_SOURCE -fPIC -g -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c vlogger.cpp -fPIC -DPIC -o .libs/vlogger.o BUILDSTDERR: In file included from ../../src/vma/util/asm.h:42, BUILDSTDERR: from ../../src/vma/util/rdtsc.h:38, BUILDSTDERR: from vlogger.h:45, BUILDSTDERR: from main.cpp:36: BUILDSTDERR: ../../src/vma/util/asm-x86.h: In function 'void prefetch(void*)': BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: error: 'memcpy' was not declared in this scope BUILDSTDERR: memcpy(temp_prefetch_block, x, L1_CACHE_BYTES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: note: 'memcpy' is defined in header ''; did you forget to '#include '? BUILDSTDERR: ../../src/vma/util/asm-x86.h:39:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: BUILDSTDERR: memcpy(temp_prefetch_block, x, L1_CACHE_BYTES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: make[3]: *** [Makefile:526: main.o] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from ../../src/vma/util/asm.h:42, BUILDSTDERR: from ../../src/vma/util/rdtsc.h:38, BUILDSTDERR: from vlogger.h:45, BUILDSTDERR: from vlogger.cpp:34: BUILDSTDERR: ../../src/vma/util/asm-x86.h: In function 'void prefetch(void*)': BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: error: 'memcpy' was not declared in this scope BUILDSTDERR: memcpy(temp_prefetch_block, x, L1_CACHE_BYTES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: note: 'memcpy' is defined in header ''; did you forget to '#include '? BUILDSTDERR: ../../src/vma/util/asm-x86.h:39:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: ../../src/vma/util/asm-x86.h:117:3: BUILDSTDERR: memcpy(temp_prefetch_block, x, L1_CACHE_BYTES); BUILDSTDERR: ^~~~~~ BUILDSTDERR: make[3]: *** [Makefile:542: vlogger.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1/src/vlogger' make[2]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1/src' BUILDSTDERR: make[2]: *** [Makefile:372: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:495: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libvma-8.0.1' BUILDSTDERR: make: *** [Makefile:400: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.mdpdd1 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.mdpdd1 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/libvma.spec