[Bug debugedit/33111] during find-debuginfo/debugedit, "Unhandled relocation 6 at [0] for .debug_info section" for gcc "offload" libraries

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jun 26 20:07:52 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33111

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
readelf -r:

Relocation section '.rela.debug_info' at offset 0x3aa8 contains 228 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
000000000008  000400000006 R_AMDGPU_ABS32    0000000000000000 .debug_abbrev + 0
00000000000d  000700000006 R_AMDGPU_ABS32    0000000000000000 .debug_str + 42a
000000000017  000800000006 R_AMDGPU_ABS32    0000000000000000 .debug_line_str +
0
00000000001b  000800000006 R_AMDGPU_ABS32    0000000000000000 .debug_line_str +
d5
00000000001f  000100000003 R_AMDGPU_ABS64    0000000000000000 .text + 0
00000000002f  000600000006 R_AMDGPU_ABS32    0000000000000000 .debug_line + 0

eu-readelf -r:

Relocation section [ 7] '.rela.debug_info' for section [ 6] '.debug_info' at
offset 0x3aa8 contains 228 entries:
  Offset              Type            Value               Addend Name
  0x0000000000000008  <INVALID RELOC> 000000000000000000      +0 .debug_abbrev
  0x000000000000000d  <INVALID RELOC> 000000000000000000   +1066 .debug_str
  0x0000000000000017  <INVALID RELOC> 000000000000000000      +0
.debug_line_str
  0x000000000000001b  <INVALID RELOC> 000000000000000000    +213
.debug_line_str
  0x000000000000001f  <INVALID RELOC> 000000000000000000      +0 .text

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


More information about the Debugedit mailing list