Project

General

Profile

Actions

Bug #1417

closed

Fails build on linu-6.11

Added by taurnil oronar 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
09/26/2024
Due date:
% Done:

0%

Estimated time:

Description

CC [M] /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-block.o
CC [M] /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-napi.o
CC [M] /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-skb.o
In file included from /usr/src/lttng-modules-2.13.14/src/probes/../../include/lttng/define_trace.h:87,
from /usr/src/lttng-modules-2.13.14/src/probes/../../include/instrumentation/events/skb.h:125,
from /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-skb.c:29:
/usr/src/lttng-modules-2.13.14/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for 'trace_kfree_skb'; have 'void(struct sk_buff *, void *, enum skb_drop_reason)'
133 | void trace_##_name(_proto); | ^~~~
/usr/src/lttng-modules-2.13.14/src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS, PARAMS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/lttng-modules-2.13.14/src/probes/../../include/instrumentation/events/skb.h:47:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
47 | LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb, | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/trace/events/skb.h:10,
from /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-skb.c:18:
./include/linux/tracepoint.h:255:28: note: previous definition of 'trace_kfree_skb' with type 'void(struct sk_buff *, void *, enum skb_drop_reason, struct sock *)'
255 | static inline void trace_##name(proto) \ | ^~~~
./include/linux/tracepoint.h:433:9: note: in expansion of macro '__DECLARE_TRACE'
433 | __DECLARE_TRACE(name, PARAMS, PARAMS, \ | ^~~~~~~~~~~~~
./include/linux/tracepoint.h:567:9: note: in expansion of macro 'DECLARE_TRACE'
567 | DECLARE_TRACE(name, PARAMS, PARAMS) | ^~~~~~~~~~~
./include/trace/events/skb.h:24:1: note: in expansion of macro 'TRACE_EVENT'
24 | TRACE_EVENT(kfree_skb, | ^~~~~~~~~
make4: * [scripts/Makefile.build:244: /usr/src/lttng-modules-2.13.14/src/probes/lttng-probe-skb.o] Error 1
make3:
[scripts/Makefile.build:485: /usr/src/lttng-modules-2.13.14/src/probes] Error 2
make2:
[/usr/src/linux-6.11/Makefile:1926: /usr/src/lttng-modules-2.13.14/src] Error 2
make1:
[Makefile:224: __sub-make] Error 2
make1: Leaving directory '/usr/src/linux-6.11'
make: *
* [Makefile:31: modules] Error 2


Files

Actions #1

Updated by Kienan Stewart 3 months ago

  • Status changed from New to Feedback
  • Assignee set to Kienan Stewart

Hi Taurnil,

thanks for the bug report. I believe the fixes are in master and the stable-2.13 branches but aren't yet part of a tagged release.

Could you to see if using the HEAD of the stable-2.13 branch (commit::40e435e9cbdc9fbdf6c1a4a9146f605091083c24) works for you?

Ref: https://github.com/lttng/lttng-modules/commits/stable-2.13

thanks,
kienan

Actions #2

Updated by taurnil oronar 3 months ago

Kienan Stewart wrote in #note-1:

Hi Taurnil,

thanks for the bug report. I believe the fixes are in master and the stable-2.13 branches but aren't yet part of a tagged release.

Could you to see if using the HEAD of the stable-2.13 branch (commit::40e435e9cbdc9fbdf6c1a4a9146f605091083c24) works for you?

Ref: https://github.com/lttng/lttng-modules/commits/stable-2.13

thanks,
kienan

Using this zip file from today; https://github.com/lttng/lttng-modules.git, it compiled fine.

Actions #3

Updated by Kienan Stewart 3 months ago

  • Status changed from Feedback to Resolved

Hi Taurnil,

lttng-modules 2.13.15 is now available. This version contains the fixes for 6.11.

https://lists.lttng.org/pipermail/lttng-dev/2024-September/030867.html

thanks,
kienan

Actions

Also available in: Atom PDF