lttng team mailing list archive
-
lttng team
-
Mailing list archive
-
Message #03713
[Bug 1826846] Re: Unable to build lttng module with 5.0.0-13.14~18.04.2 linux-hwe-edge kernel
** Also affects: lttng-modules (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/1826846
Title:
Unable to build lttng module with 5.0.0-13.14~18.04.2 linux-hwe-edge
kernel
Status in ubuntu-kernel-tests:
New
Status in linux-hwe-edge package in Ubuntu:
New
Status in lttng-modules package in Ubuntu:
New
Bug description:
The lttng DKMS module failed to build on Bionic 5.0.0 kernel:
'cat /var/lib/dkms/lttng-modules/*/build/make.log'
DKMS make.log for lttng-modules-2.10.5 for kernel 5.0.0-13-generic (x86_64)
Thu Apr 25 14:10:29 UTC 2019
make: Entering directory '/usr/src/linux-headers-5.0.0-13-generic'
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.o
/var/lib/dkms/lttng-modules/2.10.5/build/probes/Kbuild:41: 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/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.o
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.o
/var/lib/dkms/lttng-modules/2.10.5/build/probes/Kbuild:166: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it.
/var/lib/dkms/lttng-modules/2.10.5/build/probes/Kbuild:182: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.
/var/lib/dkms/lttng-modules/2.10.5/build/probes/Kbuild:215: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need Linux 4.1+ kernel source tree to enable it.
/var/lib/dkms/lttng-modules/2.10.5/build/probes/Kbuild:265: Files ./kernel/trace/trace.h not found. Probe "ftrace" is disabled. Use full kernel source tree to enable it.
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.o
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/lib/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.c:34:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.c:22:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/lib/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.c:34:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.c:22:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/lib/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.c:34:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
/var/lib/dkms/lttng-modules/2.10.5/build/lib/../lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
scripts/Makefile.build:284: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.o' failed
make[2]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/ring_buffer_backend.o] Error 1
scripts/Makefile.build:515: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/lib' failed
make[1]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/lib] Error 2
make[1]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.o
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/api.h:26,
from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/api.h:1,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client.h:180,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.c:29:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/api.h:26,
from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/api.h:1,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client.h:180,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.c:29:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/api.h:26,
from /var/lib/dkms/lttng-modules/2.10.5/build/wrapper/ringbuffer/api.h:1,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client.h:180,
from /var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.c:29:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
/var/lib/dkms/lttng-modules/2.10.5/build/lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../instrumentation/events/lttng-module/lttng-test.h:54,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.c:39:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/init.h:5:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../instrumentation/events/lttng-module/lttng-test.h:54,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.c:39:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/init.h:5:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/../instrumentation/events/lttng-module/lttng-test.h:54,
from /var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.c:39:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
/var/lib/dkms/lttng-modules/2.10.5/build/tests/../lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.o' failed
make[1]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/lttng-ring-buffer-client-discard.o] Error 1
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/tests/clock-plugin/lttng-clock-plugin-test.o
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/sched.h:599,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.c:41:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/sched.h:599,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.c:41:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/sched.h:599,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.c:41:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
scripts/Makefile.build:284: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.o' failed
make[2]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/tests/probes/lttng-test.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
CC [M] /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.o
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.o' failed
make[2]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-sched.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/irq.h:189,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.c:42:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/irq.h:189,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.c:42:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/irq.h:189,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.c:42:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
scripts/Makefile.build:515: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/tests' failed
make[1]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/tests] Error 2
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.o' failed
make[2]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-irq.o] Error 1
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/timer.h:354,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.c:43:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:305:16: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/timer.h:354,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.c:43:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_strcpy_from_user_inatomic’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:48: error: macro "access_ok" passed 3 arguments, but takes just 2
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
In file included from ./include/linux/export.h:45:0,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:7,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.c:23:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:375:16: error: ‘access_ok’ undeclared (first use in this function)
if (unlikely(!access_ok(VERIFY_READ, src, len)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../wrapper/ringbuffer/backend.h:1:0,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/lttng-tracepoint-event-impl.h:33,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../probes/define_trace.h:100,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/../instrumentation/events/lttng-module/timer.h:354,
from /var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.c:43:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_copy_from_user_check_nofault’:
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:38: error: macro "access_ok" passed 3 arguments, but takes just 2
if (!access_ok(VERIFY_READ, src, len))
^
/var/lib/dkms/lttng-modules/2.10.5/build/probes/../lib/ringbuffer/backend.h:465:7: error: ‘access_ok’ undeclared (first use in this function)
if (!access_ok(VERIFY_READ, src, len))
^~~~~~~~~
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.o' failed
make[2]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/probes/lttng-probe-timer.o] Error 1
scripts/Makefile.build:515: recipe for target '/var/lib/dkms/lttng-modules/2.10.5/build/probes' failed
make[1]: *** [/var/lib/dkms/lttng-modules/2.10.5/build/probes] Error 2
Makefile:1584: recipe for target '_module_/var/lib/dkms/lttng-modules/2.10.5/build' failed
make: *** [_module_/var/lib/dkms/lttng-modules/2.10.5/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.0.0-13-generic'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1826846/+subscriptions