[Bug tools/29282] New: eu-addr2line -k doesn't display correct file:line in arm.

2022-06-23 Thread panxh_ran at 163 dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29282

Bug ID: 29282
   Summary: eu-addr2line -k doesn't display correct file:line in
arm.
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: tools
  Assignee: unassigned at sourceware dot org
  Reporter: panxh_ran at 163 dot com
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Hello, when using eu-addr2line -k to get line infomation of kernel symbols, it
often displays wrong file:line in arm.
Steps:
1.Get func address from /proc/kallsyms.
2.Use eu-addr2line -k  to get file name and line number.
Compare the line number with source file,and we find the line number is wrong.

It seems that the following kernel commit that adds NOPs at function entry
causes the problem.
Elfutils needs to adapt this feature.
> Fixes: 3b23e4991fb6 ("arm64: implement ftrace with regs")
> Signed-off-by: Arnd Bergmann 

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug tools/29282] eu-addr2line -k doesn't display correct file:line in arm.

2022-06-23 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29282

Frank Ch. Eigler  changed:

   What|Removed |Added

 CC||fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler  ---
possibly another side-effect of this upstream gcc bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2092438

and not an elfutils bug per se

-- 
You are receiving this mail because:
You are on the CC list for the bug.