Actions
Bug #1363
closedBuild against 6.0.7 fails due to implicit declaration of lttng_kvm_x86_get_segment_base
Start date:
11/07/2022
Due date:
% Done:
100%
Estimated time:
Description
Building lttng-modules df46e53bf06
fails on i686 when running 6.0.7.
Linux debian 6.0.7 #1 SMP PREEMPT_DYNAMIC Mon Nov 7 22:32:42 EST 2022 i686 GNU/Linux
CC [M] /home/jgalar/lttng-build/src/lttng-modules/src/probes/lttng-probe-kvm-x86.o In file included from /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/define_trace.h:87, from /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:666, from /home/jgalar/lttng-build/src/lttng-modules/src/probes/lttng-probe-kvm-x86.c:40: /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h: In function ‘__event_prepare_interpreter_stack__kvm_x86_emulate_insn’: /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:585:30: error: implicit declaration of function ‘lttng_kvm_x86_get_segment_base’ [-Werror=implicit-function-declaration] 585 | ctf_integer(__u32, csbase, lttng_kvm_x86_get_segment_base(vcpu, VCPU_SREG_CS)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:708:2: note: in definition of macro ‘LTTNG_TRACEPOINT_EVENT_CLASS_CODE’ 708 | _fields \ | ^~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:107:3: note: in expansion of macro ‘PARAMS’ 107 | PARAMS(_fields), ) | ^~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:41:2: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_CLASS’ 41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:44:9: note: in expansion of macro ‘PARAMS’ 44 | PARAMS(fields)) \ | ^~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:544:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_MAP’ 544 | LTTNG_TRACEPOINT_EVENT_MAP(kvm_emulate_insn, kvm_x86_emulate_insn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:548:2: note: in expansion of macro ‘TP_FIELDS’ 548 | TP_FIELDS( | ^~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:614:2: note: in expansion of macro ‘_ctf_integer_ext_fetched’ 614 | _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, _nowrite) | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:631:2: note: in expansion of macro ‘_ctf_integer_ext_isuser0’ 631 | _ctf_integer_ext_isuser##_user(_type, _item, _user_src, _byte_order, _base, _nowrite) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/events-write.h:10:2: note: in expansion of macro ‘_ctf_integer_ext’ 10 | _ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0) | ^~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:585:3: note: in expansion of macro ‘ctf_integer’ 585 | ctf_integer(__u32, csbase, lttng_kvm_x86_get_segment_base(vcpu, VCPU_SREG_CS)) | ^~~~~~~~~~~ In file included from /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/define_trace.h:87, from /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:666, from /home/jgalar/lttng-build/src/lttng-modules/src/probes/lttng-probe-kvm-x86.c:40: /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h: In function ‘__event_probe__kvm_x86_exit’: /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:131:3: error: implicit declaration of function ‘lttng_kvm_x86_get_exit_info’ [-Werror=implicit-function-declaration] 131 | lttng_kvm_x86_get_exit_info(vcpu, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:1130:2: note: in definition of macro ‘_LTTNG_TRACEPOINT_EVENT_CLASS_CODE’ 1130 | _code_pre \ | ^~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:1196:21: note: in expansion of macro ‘PARAMS’ 1196 | PARAMS(_locvar), PARAMS(_code_pre), PARAMS(_fields), PARAMS(_code_post)) | ^~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:55:2: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_CLASS_CODE’ 55 | LTTNG_TRACEPOINT_EVENT_CLASS_CODE(map, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/lttng/tracepoint-event-impl.h:59:9: note: in expansion of macro ‘PARAMS’ 59 | PARAMS(_code_pre), \ | ^~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:120:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_CODE_MAP’ 120 | LTTNG_TRACEPOINT_EVENT_CODE_MAP(kvm_exit, kvm_x86_exit, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jgalar/lttng-build/src/lttng-modules/src/probes/../../include/instrumentation/events/arch/x86/kvm/trace.h:130:2: note: in expansion of macro ‘TP_code_pre’ 130 | TP_code_pre( | ^~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:249: /home/jgalar/lttng-build/src/lttng-modules/src/probes/lttng-probe-kvm-x86.o] Error 1 make[2]: *** [scripts/Makefile.build:465: /home/jgalar/lttng-build/src/lttng-modules/src/probes] Error 2 make[1]: *** [Makefile:1852: /home/jgalar/lttng-build/src/lttng-modules/src] Error 2 make[1]: Leaving directory '/root/linux-6.0.7' make: *** [Makefile:31: modules] Error 2
Files
Updated by Michael Jeanson about 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset lttng-modules|9bd027ed90ad9e12f36fc21a51f41d3bf284293a.
Actions