* Package: dev-util/lttng-modules-2.12.5 * Repository: gentoo * Maintainer: dlan@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.41-gentoo-dist * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking lttng-modules-2.12.5.tar.bz2 to /var/tmp/portage/dev-util/lttng-modules-2.12.5/work >>> Source unpacked in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work >>> Preparing source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing module make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux default make -C /usr/src/linux M=/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules make[1]: Entering directory '/usr/src/linux-5.15.41-gentoo-dist' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-pc-linux-gnu-gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115 You are using: x86_64-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0 CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lttng-ring-buffer-client-discard.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/Kbuild:62: File ./arch/x86/kvm/lapic.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it. CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/probes/lttng-test.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/Kbuild:166: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it. CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_backend.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/Kbuild:177: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it. /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/Kbuild:208: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need Linux 4.1+ kernel source tree to enable it. /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/Kbuild:239: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem. CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-sched.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/clock-plugin/lttng-clock-plugin-test.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/lttng-test.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/tests/lttng-clock-plugin-test.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_vfs.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.c: In function ‘channel_iterator_open’: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.c:504:17: error: implicit declaration of function ‘get_online_cpus’; did you mean ‘get_online_mems’? [-Werror=implicit-function-declaration] 504 | get_online_cpus(); | ^~~~~~~~~~~~~~~ | get_online_mems /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.c:514:17: error: implicit declaration of function ‘put_online_cpus’; did you mean ‘num_online_cpus’? [-Werror=implicit-function-declaration] 514 | put_online_cpus(); | ^~~~~~~~~~~~~~~ | num_online_cpus CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-irq.o cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:288: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-timer.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c: In function ‘lib_ring_buffer_set_quiescent_channel’: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c:759:17: error: implicit declaration of function ‘get_online_cpus’; did you mean ‘get_online_mems’? [-Werror=implicit-function-declaration] 759 | get_online_cpus(); | ^~~~~~~~~~~~~~~ | get_online_mems /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c:766:17: error: implicit declaration of function ‘put_online_cpus’; did you mean ‘num_online_cpus’? [-Werror=implicit-function-declaration] 766 | put_online_cpus(); | ^~~~~~~~~~~~~~~ | num_online_cpus CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lttng-ring-buffer-client-overwrite.o cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:288: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.o] Error 1 make[2]: *** [scripts/Makefile.build:551: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib] Error 2 make[2]: *** Waiting for unfinished jobs.... CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-module.o In file included from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/define_trace.h:87, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../instrumentation/events/lttng-module/kmem.h:338, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.c:35: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for ‘trace_kmem_cache_free’; have ‘void(long unsigned int, const void *)’ 131 | void trace_##_name(_proto); | ^~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/lttng-tracepoint-event-impl.h:96:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’ 96 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../instrumentation/events/lttng-module/kmem.h:111:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE’ 111 | LTTNG_TRACEPOINT_EVENT_INSTANCE(kmem_free, kmem_cache_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/kmem.h:9, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.c:24: ./include/linux/tracepoint.h:245:28: note: previous definition of ‘trace_kmem_cache_free’ with type ‘void(long unsigned int, const void *, const char *)’ 245 | static inline void trace_##name(proto) \ | ^~~~~~ ./include/linux/tracepoint.h:419:9: note: in expansion of macro ‘__DECLARE_TRACE’ 419 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ ./include/linux/tracepoint.h:553:9: note: in expansion of macro ‘DECLARE_TRACE’ 553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/kmem.h:138:1: note: in expansion of macro ‘TRACE_EVENT’ 138 | TRACE_EVENT(kmem_cache_free, | ^~~~~~~~~~~ CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-power.o make[3]: *** [scripts/Makefile.build:288: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:551: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes] Error 2 make[1]: *** [Makefile:1868: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5] Error 2 make[1]: Leaving directory '/usr/src/linux-5.15.41-gentoo-dist' make: *** [Makefile:153: modules] Error 2 * ERROR: dev-util/lttng-modules-2.12.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/lttng-modules-2.12.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/lttng-modules-2.12.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:lttng-modules-2.12.5:20220603-021038.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/lttng-modules-2.12.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/lttng-modules-2.12.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5' * S: '/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5'