>>> libpfm4 4.11.0 Extracting gzip -d -c /tmp/instance-0/dl/libpfm4/libpfm-4.11.0.tar.gz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/libpfm4-4.11.0 -xf - >>> libpfm4 4.11.0 Patching >>> libpfm4 4.11.0 Configuring >>> libpfm4 4.11.0 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-0/output-1/build/libpfm4-4.11.0 SYS=Linux ARCH="riscv64" CC="/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc" LDCONFIG=true CONFIG_PFMLIB_SHARED=y DBG= make[1]: Entering directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0' Compiling for 'riscv64' target Compiling for 'Linux' system make[2]: Entering directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib' /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_common.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_pmu.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_raw.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -fPIC -DPIC -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_common.c -o pfmlib_common.lo /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -fPIC -DPIC -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_pmu.c -o pfmlib_perf_event_pmu.lo /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -fPIC -DPIC -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event.c -o pfmlib_perf_event.lo /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -fPIC -DPIC -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -c pfmlib_perf_event_raw.c -o pfmlib_perf_event_raw.lo rm -f libpfm.a ar cq libpfm.a pfmlib_common.o pfmlib_perf_event_pmu.o pfmlib_perf_event.o pfmlib_perf_event_raw.o /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -I. -shared -Wl,-soname -Wl,libpfm.so.4 -o libpfm.so.4.10.1 pfmlib_common.lo pfmlib_perf_event_pmu.lo pfmlib_perf_event.lo pfmlib_perf_event_raw.lo ln -sf libpfm.so.4.10.1 libpfm.so.4 ln -sf libpfm.so.4.10.1 libpfm.so make[2]: Leaving directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/lib' make[2]: Entering directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/tests' /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c validate.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c validate_perf.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/tests/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o validate validate.o validate_perf.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/tests/../lib/libpfm.a -lm make[2]: Leaving directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/tests' make[2]: Entering directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples' /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c showevtinfo.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c check_events.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o check_events check_events.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../lib/libpfm.a -lm -lrt /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o showevtinfo showevtinfo.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/examples/../lib/libpfm.a -lm -lrt make[2]: Leaving directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/examples' make[2]: Entering directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples' /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c perf_util.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_basic.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_count.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_attach_timeout.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c notify_self.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c notify_group.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_smpl.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_smpl_multi.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c self_pipe.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst_count.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c task_cpu.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c syst_smpl.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c evt2raw.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c branch_smpl.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -c rtop.c /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self self.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_basic self_basic.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_count self_count.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task task.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_attach_timeout task_attach_timeout.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst syst.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o notify_self notify_self.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o notify_group notify_group.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_smpl task_smpl.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_smpl_multi self_smpl_multi.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o self_pipe self_pipe.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst_count syst_count.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o task_cpu task_cpu.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o evt2raw evt2raw.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o branch_smpl branch_smpl.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o syst_smpl syst_smpl.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -I. -I/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -I. -D_GNU_SOURCE -pthread -o rtop rtop.o perf_util.o /tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples/../lib/libpfm.a -lpthread -lncurses -ltinfo -lm /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -ltinfo collect2: error: ld returned 1 exit status make[2]: *** [Makefile:65: rtop] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0/perf_examples' make[1]: *** [Makefile:49: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/libpfm4-4.11.0' make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/libpfm4-4.11.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'