tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 515984f18a6f359887b37e95ef5a785b04ae2da7
commit: d14435b8c5cdcdadede980b086f439a7d6747d0c [11427/14193] LoongArch: Fix callchain parse error with kernel tracepoint events again
config: loongarch-randconfig-002-20240925 (https://download.01.org/0day-ci/archive/20240927/202409271347.SHAKNDVo-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409271347.SHAKNDVo-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409271347.SHAKNDVo-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L572':
power-traces.c:(.text+0x359c): undefined reference to `trace_event_printf'
loongarch64-linux-ld: power-traces.c:(.text+0x35c0): undefined reference to `trace_handle_return'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L580':
power-traces.c:(.text+0x3678): undefined reference to `trace_print_symbols_seq'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L581':
power-traces.c:(.text+0x36ac): undefined reference to `trace_output_call'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L587':
power-traces.c:(.text+0x3788): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `trace_raw_output_pm_qos_update':
power-traces.c:(.text+0x37dc): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L100011':
power-traces.c:(.text+0x39d8): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L606':
power-traces.c:(.text+0x3a3c): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `perf_trace_wakeup_source':
power-traces.c:(.text+0x3ae8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L615':
power-traces.c:(.text+0x3b84): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L613':
power-traces.c:(.text+0x3c0c): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L638':
power-traces.c:(.text+0x3f10): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L654':
power-traces.c:(.text+0x3fcc): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L659':
power-traces.c:(.text+0x40a8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L667':
power-traces.c:(.text+0x414c): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L678':
power-traces.c:(.text+0x4230): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L697':
power-traces.c:(.text+0x43f4): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L690':
power-traces.c:(.text+0x4420): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: power-traces.c:(.text+0x4474): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/power-traces.o: in function `.L708':
power-traces.c:(.text+0x44c8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x60): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x88): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0xa8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0xd0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0xf0): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x118): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x138): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x160): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x180): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x1a8): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x1c8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x1f0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x210): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x238): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x258): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x280): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x2a0): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x2c8): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x2e8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x310): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x330): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x358): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x378): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x3a0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x3c0): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x3e8): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x408): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/power-traces.o:(.ref.data+0x430): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `trace_raw_output_rpm_internal':
rpm-traces.c:(.text+0x2a4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L49':
rpm-traces.c:(.text+0x338): undefined reference to `trace_event_printf'
loongarch64-linux-ld: rpm-traces.c:(.text+0x358): undefined reference to `trace_handle_return'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `trace_raw_output_rpm_return_int':
rpm-traces.c:(.text+0x384): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: rpm-traces.c:(.text+0x3dc): undefined reference to `trace_event_printf'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L55':
rpm-traces.c:(.text+0x3fc): undefined reference to `trace_handle_return'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L59':
rpm-traces.c:(.text+0x4bc): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L62':
rpm-traces.c:(.text+0x514): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `perf_trace_rpm_internal':
rpm-traces.c:(.text+0x694): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L83':
rpm-traces.c:(.text+0x734): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L96':
rpm-traces.c:(.text+0x8a4): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `trace_event_raw_event_rpm_return_int':
rpm-traces.c:(.text+0x8d4): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L118':
rpm-traces.c:(.text+0x95c): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L101':
rpm-traces.c:(.text+0x9c8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L117':
rpm-traces.c:(.text+0xa5c): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `trace_event_raw_event_rpm_internal':
rpm-traces.c:(.text+0xad4): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/trace/rpm-traces.o: in function `.L130':
rpm-traces.c:(.text+0xb5c): undefined reference to `trace_event_buffer_reserve'
>> loongarch64-linux-ld: rpm-traces.c:(.text+0xba8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/trace/rpm-traces.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/rpm-traces.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/trace/rpm-traces.o:(.ref.data+0x60): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/trace/rpm-traces.o:(.ref.data+0x88): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/rseq.o: in function `perf_trace_rseq_update':
rseq.c:(.text+0x3d4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/rseq.o: in function `.L34':
rseq.c:(.text+0x430): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/rseq.o: in function `perf_trace_rseq_ip_fixup':
rseq.c:(.text+0x52c): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: kernel/rseq.o: in function `.L46':
rseq.c:(.text+0x568): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: kernel/rseq.o: in function `trace_event_raw_event_rseq_update':
rseq.c:(.text+0x650): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: kernel/rseq.o: in function `.L61':
rseq.c:(.text+0x690): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/rseq.o: in function `.L57':
rseq.c:(.text+0x6e8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: kernel/rseq.o: in function `trace_event_raw_event_rseq_ip_fixup':
rseq.c:(.text+0x770): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: rseq.c:(.text+0x78c): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: kernel/rseq.o: in function `.L68':
rseq.c:(.text+0x7e8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: rseq.c:(.text+0x81c): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: kernel/rseq.o: in function `trace_raw_output_rseq_update':
rseq.c:(.text+0x878): undefined reference to `trace_event_printf'
loongarch64-linux-ld: rseq.c:(.text+0x898): undefined reference to `trace_handle_return'
loongarch64-linux-ld: kernel/rseq.o: in function `.L84':
rseq.c:(.text+0x8c4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: kernel/rseq.o: in function `trace_raw_output_rseq_ip_fixup':
rseq.c:(.text+0x91c): undefined reference to `trace_event_printf'
loongarch64-linux-ld: rseq.c:(.text+0x93c): undefined reference to `trace_handle_return'
loongarch64-linux-ld: kernel/rseq.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/rseq.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: kernel/rseq.o:(.ref.data+0x60): undefined reference to `trace_event_reg'
loongarch64-linux-ld: kernel/rseq.o:(.ref.data+0x88): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/filemap.o: in function `perf_trace_mm_filemap_op_page_cache':
filemap.c:(.text+0x2ac): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/filemap.o: in function `.L54':
filemap.c:(.text+0x390): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/filemap.o: in function `perf_trace_filemap_set_wb_err':
filemap.c:(.text+0x494): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/filemap.o: in function `.L68':
filemap.c:(.text+0x4e4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/filemap.o: in function `perf_trace_file_check_and_advance_wb_err':
filemap.c:(.text+0x5d4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/filemap.o: in function `.L82':
filemap.c:(.text+0x638): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/filemap.o: in function `.L94':
filemap.c:(.text+0x720): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/filemap.o: in function `.L99':
filemap.c:(.text+0x7e4): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/filemap.o: in function `.L95':
filemap.c:(.text+0x86c): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/filemap.o: in function `.L96':
filemap.c:(.text+0x8e8): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/filemap.o: in function `trace_event_raw_event_filemap_set_wb_err':
filemap.c:(.text+0x918): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/filemap.o: in function `.L115':
filemap.c:(.text+0x988): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/filemap.o: in function `.L116':
filemap.c:(.text+0x9f8): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/filemap.o: in function `trace_event_raw_event_file_check_and_advance_wb_err':
filemap.c:(.text+0xa40): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/filemap.o: in function `.L128':
filemap.c:(.text+0xaac): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/filemap.o: in function `.L124':
filemap.c:(.text+0xae4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/filemap.o: in function `trace_raw_output_mm_filemap_op_page_cache':
filemap.c:(.text+0xb6c): undefined reference to `trace_event_printf'
loongarch64-linux-ld: filemap.c:(.text+0xb8c): undefined reference to `trace_handle_return'
loongarch64-linux-ld: filemap.c:(.text+0xbb4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/filemap.o: in function `.L142':
filemap.c:(.text+0xc20): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/filemap.o: in function `trace_raw_output_filemap_set_wb_err':
filemap.c:(.text+0xc40): undefined reference to `trace_handle_return'
loongarch64-linux-ld: filemap.c:(.text+0xc6c): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/filemap.o: in function `.L148':
filemap.c:(.text+0xce8): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/filemap.o: in function `trace_raw_output_file_check_and_advance_wb_err':
filemap.c:(.text+0xd08): undefined reference to `trace_handle_return'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0x60): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0x88): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0xa8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/filemap.o:(.ref.data+0xd0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_oom_score_adj_update':
oom_kill.c:(.text+0x4a0): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L83':
oom_kill.c:(.text+0x4fc): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L82':
oom_kill.c:(.text+0x578): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_reclaim_retry_zone':
oom_kill.c:(.text+0x66c): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L85':
oom_kill.c:(.text+0x6c4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_mark_victim':
oom_kill.c:(.text+0x7b4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L97':
oom_kill.c:(.text+0x7e4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_wake_reaper':
oom_kill.c:(.text+0x8b4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L109':
oom_kill.c:(.text+0x8e4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_start_task_reaping':
oom_kill.c:(.text+0x9b4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L121':
oom_kill.c:(.text+0x9e4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_finish_task_reaping':
oom_kill.c:(.text+0xab4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: oom_kill.c:(.text+0xae4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_skip_task_reaping':
oom_kill.c:(.text+0xbb4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: oom_kill.c:(.text+0xbe4): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `perf_trace_compact_retry':
oom_kill.c:(.text+0xcdc): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: oom_kill.c:(.text+0xd38): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L156':
oom_kill.c:(.text+0xe0c): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_oom_score_adj_update':
oom_kill.c:(.text+0xe40): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L175':
oom_kill.c:(.text+0xe8c): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_reclaim_retry_zone':
oom_kill.c:(.text+0xf30): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: oom_kill.c:(.text+0xf6c): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L187':
oom_kill.c:(.text+0xfe8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L183':
oom_kill.c:(.text+0x1058): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: oom_kill.c:(.text+0x1068): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_mark_victim':
oom_kill.c:(.text+0x10a8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L194':
oom_kill.c:(.text+0x1118): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: oom_kill.c:(.text+0x1128): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_wake_reaper':
oom_kill.c:(.text+0x1168): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L205':
oom_kill.c:(.text+0x11d8): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: oom_kill.c:(.text+0x11e8): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L206':
oom_kill.c:(.text+0x1228): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L220':
oom_kill.c:(.text+0x1298): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L216':
oom_kill.c:(.text+0x12a8): undefined reference to `trace_event_buffer_commit'
>> loongarch64-linux-ld: oom_kill.c:(.text+0x12e8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_finish_task_reaping':
oom_kill.c:(.text+0x1358): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L231':
oom_kill.c:(.text+0x1368): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L227':
oom_kill.c:(.text+0x13a8): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L242':
oom_kill.c:(.text+0x1438): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L238':
oom_kill.c:(.text+0x1474): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_event_raw_event_compact_retry':
oom_kill.c:(.text+0x14ec): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: oom_kill.c:(.text+0x1524): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L249':
oom_kill.c:(.text+0x1578): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x1598): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x15c4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_oom_score_adj_update':
oom_kill.c:(.text+0x1610): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x1630): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x165c): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_mark_victim':
oom_kill.c:(.text+0x16b0): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x16d0): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x16fc): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_wake_reaper':
oom_kill.c:(.text+0x1750): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x1770): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x179c): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L280':
oom_kill.c:(.text+0x17f0): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_start_task_reaping':
oom_kill.c:(.text+0x1810): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x183c): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L286':
oom_kill.c:(.text+0x1890): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_finish_task_reaping':
oom_kill.c:(.text+0x18b0): undefined reference to `trace_handle_return'
loongarch64-linux-ld: oom_kill.c:(.text+0x18dc): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L292':
oom_kill.c:(.text+0x1938): undefined reference to `trace_print_symbols_seq'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_skip_task_reaping':
oom_kill.c:(.text+0x1970): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x1994): undefined reference to `trace_handle_return'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L298':
oom_kill.c:(.text+0x19bc): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/oom_kill.o: in function `trace_raw_output_reclaim_retry_zone':
oom_kill.c:(.text+0x1a28): undefined reference to `trace_print_symbols_seq'
loongarch64-linux-ld: oom_kill.c:(.text+0x1a40): undefined reference to `trace_print_symbols_seq'
loongarch64-linux-ld: mm/oom_kill.o: in function `.L304':
oom_kill.c:(.text+0x1a68): undefined reference to `trace_event_printf'
loongarch64-linux-ld: oom_kill.c:(.text+0x1a94): undefined reference to `trace_handle_return'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x60): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x88): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0xa8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0xd0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0xf0): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x118): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x138): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x160): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x180): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x1a8): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x1c8): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x1f0): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x210): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/oom_kill.o:(.ref.data+0x238): undefined reference to `trace_event_raw_init'
loongarch64-linux-ld: mm/swap.o: in function `.L20':
swap.c:(.text+0x13c): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: swap.c:(.text+0x1dc): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/swap.o: in function `.L32':
swap.c:(.text+0x2d4): undefined reference to `perf_trace_buf_alloc'
loongarch64-linux-ld: mm/swap.o: in function `.L38':
swap.c:(.text+0x42c): undefined reference to `perf_trace_run_bpf_submit'
loongarch64-linux-ld: mm/swap.o: in function `trace_event_raw_event_mm_lru_insertion':
swap.c:(.text+0x560): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/swap.o: in function `.L63':
swap.c:(.text+0x69c): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/swap.o: in function `.L75':
swap.c:(.text+0x72c): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: mm/swap.o: in function `trace_event_raw_event_mm_lru_activate':
swap.c:(.text+0x7c0): undefined reference to `trace_event_buffer_reserve'
loongarch64-linux-ld: mm/swap.o: in function `.L80':
swap.c:(.text+0x844): undefined reference to `trace_event_buffer_commit'
loongarch64-linux-ld: mm/swap.o: in function `.L76':
swap.c:(.text+0x8ac): undefined reference to `__trace_trigger_soft_disabled'
loongarch64-linux-ld: swap.c:(.text+0x8e4): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/swap.o: in function `.L105':
swap.c:(.text+0x978): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/swap.o: in function `.L107':
swap.c:(.text+0x998): undefined reference to `trace_handle_return'
loongarch64-linux-ld: mm/swap.o: in function `.L102':
swap.c:(.text+0xa64): undefined reference to `trace_raw_output_prep'
loongarch64-linux-ld: mm/swap.o: in function `.L100':
swap.c:(.text+0xab4): undefined reference to `trace_event_printf'
loongarch64-linux-ld: mm/swap.o: in function `trace_raw_output_mm_lru_activate':
swap.c:(.text+0xad4): undefined reference to `trace_handle_return'
loongarch64-linux-ld: mm/swap.o:(.ref.data+0x18): undefined reference to `trace_event_reg'
loongarch64-linux-ld: mm/swap.o:(.ref.data+0x40): undefined reference to `trace_event_raw_init'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6be8d57e8dd89fb93f6a1801c246e70ae85fbfaf
commit: 66ae8ddda388386daea0623a65ea2ac85c24ca00 [11316/30000] ascend/arm64: Add ascend_enable_all kernel parameter
config: arm64-randconfig-r131-20240925 (https://download.01.org/0day-ci/archive/20240927/202409271256.FaGlmrJY-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240927/202409271256.FaGlmrJY-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409271256.FaGlmrJY-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/arm64/mm/init.c:746:9: sparse: sparse: mixing declarations and code
>> arch/arm64/mm/init.c:730:6: sparse: sparse: symbol 'ascend_enable_all_features' was not declared. Should it be static?
vim +/ascend_enable_all_features +730 arch/arm64/mm/init.c
729
> 730 void ascend_enable_all_features(void)
731 {
732 if (IS_ENABLED(CONFIG_ASCEND_DVPP_MMAP))
733 enable_mmap_dvpp = 1;
734
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Zhao,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: f9510969035e796a27375a80d9d6489440e17a1a
commit: 6636f4434a9c5c9c645694db206188ee5a6626dd [13350/23779] ext4: report error to userspace by netlink
config: x86_64-buildonly-randconfig-002-20240927 (https://download.01.org/0day-ci/archive/20240927/202409271130.zkdDo9UH-lkp@…)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409271130.zkdDo9UH-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409271130.zkdDo9UH-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: __alloc_skb
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_netlink_send_info) in archive built-in.a
--
>> ld.lld: error: undefined symbol: kfree_skb
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_netlink_send_info) in archive built-in.a
--
>> ld.lld: error: undefined symbol: __nlmsg_put
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_netlink_send_info) in archive built-in.a
--
>> ld.lld: error: undefined symbol: netlink_broadcast
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_netlink_send_info) in archive built-in.a
--
>> ld.lld: error: undefined symbol: init_net
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_init_fs) in archive built-in.a
--
>> ld.lld: error: undefined symbol: __netlink_kernel_create
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_init_fs) in archive built-in.a
--
>> ld.lld: error: undefined symbol: netlink_kernel_release
>>> referenced by super.c
>>> fs/ext4/super.o:(ext4_exit_fs) in archive built-in.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
From: Ben Hutchings <benh(a)debian.org>
stable inclusion
from stable-v4.19.321
commit d237c7d06ffddcdb5d36948c527dc01284388218
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAR60F
CVE: CVE-2024-46673
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit 919ddf8336f0b84c0453bac583808c9f165a85c2 ]
aac_probe_one() calls hardware-specific init functions through the
aac_driver_ident::init pointer, all of which eventually call down to
aac_init_adapter().
If aac_init_adapter() fails after allocating memory for aac_dev::queues,
it frees the memory but does not clear that member.
After the hardware-specific init function returns an error,
aac_probe_one() goes down an error path that frees the memory pointed to
by aac_dev::queues, resulting.in a double-free.
Reported-by: Michael Gordon <m.gordon.zelenoborsky(a)gmail.com>
Link: https://bugs.debian.org/1075855
Fixes: 8e0c5ebde82b ("[SCSI] aacraid: Newer adapter communication iterface support")
Signed-off-by: Ben Hutchings <benh(a)debian.org>
Link: https://lore.kernel.org/r/ZsZvfqlQMveoL5KQ@decadent.org.uk
Signed-off-by: Martin K. Petersen <martin.petersen(a)oracle.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Zheng Qixing <zhengqixing(a)huawei.com>
---
drivers/scsi/aacraid/comminit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
index 0dc7b5a4fea2..0378fd3eb039 100644
--- a/drivers/scsi/aacraid/comminit.c
+++ b/drivers/scsi/aacraid/comminit.c
@@ -652,6 +652,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
if (aac_comm_init(dev)<0){
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
/*
@@ -659,6 +660,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
*/
if (aac_fib_setup(dev) < 0) {
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
--
2.39.2
From: Ben Hutchings <benh(a)debian.org>
stable inclusion
from stable-v5.10.225
commit 9e96dea7eff6f2bbcd0b42a098012fc66af9eb69
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAR60F
CVE: CVE-2024-46673
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit 919ddf8336f0b84c0453bac583808c9f165a85c2 ]
aac_probe_one() calls hardware-specific init functions through the
aac_driver_ident::init pointer, all of which eventually call down to
aac_init_adapter().
If aac_init_adapter() fails after allocating memory for aac_dev::queues,
it frees the memory but does not clear that member.
After the hardware-specific init function returns an error,
aac_probe_one() goes down an error path that frees the memory pointed to
by aac_dev::queues, resulting.in a double-free.
Reported-by: Michael Gordon <m.gordon.zelenoborsky(a)gmail.com>
Link: https://bugs.debian.org/1075855
Fixes: 8e0c5ebde82b ("[SCSI] aacraid: Newer adapter communication iterface support")
Signed-off-by: Ben Hutchings <benh(a)debian.org>
Link: https://lore.kernel.org/r/ZsZvfqlQMveoL5KQ@decadent.org.uk
Signed-off-by: Martin K. Petersen <martin.petersen(a)oracle.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Zheng Qixing <zhengqixing(a)huawei.com>
---
drivers/scsi/aacraid/comminit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
index 355b16f0b145..34e45c87cae0 100644
--- a/drivers/scsi/aacraid/comminit.c
+++ b/drivers/scsi/aacraid/comminit.c
@@ -642,6 +642,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
if (aac_comm_init(dev)<0){
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
/*
@@ -649,6 +650,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
*/
if (aac_fib_setup(dev) < 0) {
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
--
2.39.2
From: Ben Hutchings <benh(a)debian.org>
stable inclusion
from stable-v5.10.225
commit 9e96dea7eff6f2bbcd0b42a098012fc66af9eb69
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAR60F
CVE: CVE-2024-46673
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit 919ddf8336f0b84c0453bac583808c9f165a85c2 ]
aac_probe_one() calls hardware-specific init functions through the
aac_driver_ident::init pointer, all of which eventually call down to
aac_init_adapter().
If aac_init_adapter() fails after allocating memory for aac_dev::queues,
it frees the memory but does not clear that member.
After the hardware-specific init function returns an error,
aac_probe_one() goes down an error path that frees the memory pointed to
by aac_dev::queues, resulting.in a double-free.
Reported-by: Michael Gordon <m.gordon.zelenoborsky(a)gmail.com>
Link: https://bugs.debian.org/1075855
Fixes: 8e0c5ebde82b ("[SCSI] aacraid: Newer adapter communication iterface support")
Signed-off-by: Ben Hutchings <benh(a)debian.org>
Link: https://lore.kernel.org/r/ZsZvfqlQMveoL5KQ@decadent.org.uk
Signed-off-by: Martin K. Petersen <martin.petersen(a)oracle.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Zheng Qixing <zhengqixing(a)huawei.com>
---
drivers/scsi/aacraid/comminit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
index 355b16f0b145..34e45c87cae0 100644
--- a/drivers/scsi/aacraid/comminit.c
+++ b/drivers/scsi/aacraid/comminit.c
@@ -642,6 +642,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
if (aac_comm_init(dev)<0){
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
/*
@@ -649,6 +650,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
*/
if (aac_fib_setup(dev) < 0) {
kfree(dev->queues);
+ dev->queues = NULL;
return NULL;
}
--
2.39.2