public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section
@ 2022-01-09 17:34 hjl.tools at gmail dot com
  2022-01-09 17:34 ` [Bug gdb/28758] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-09 17:34 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28758
           Summary: GDB 11 doesn't work correctly on binaries with a
                    SHT_RELR (.relr.dyn) section
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

$ readelf -SW elf/ld.so | grep .relr.dyn
  [11] .relr.dyn         RELR            0000000000000d88 000d88 000030 08   A 
0   0  8
$ ...
Response:  Temporary breakpoint 1 at 0x1189: file test-cond-printers.c, line
33.
Starting program:
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/nptl/test-cond-printers 
BFD:
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so:
unknown type [0x13] section `.relr.dyn'
warning:
`/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so':
Shared library architecture unknown is not compatible with target architecture
i386:x86-64.
warning:
`/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so':
Shared library architecture unknown is not compatible with target architecture
i386:x86-64.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/28758] GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section
  2022-01-09 17:34 [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section hjl.tools at gmail dot com
@ 2022-01-09 17:34 ` hjl.tools at gmail dot com
  2022-01-09 17:46 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-09 17:34 UTC (permalink / raw)
  To: gdb-prs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |11.2

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/28758] GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section
  2022-01-09 17:34 [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section hjl.tools at gmail dot com
  2022-01-09 17:34 ` [Bug gdb/28758] " hjl.tools at gmail dot com
@ 2022-01-09 17:46 ` hjl.tools at gmail dot com
  2022-01-10 13:11 ` hjl.tools at gmail dot com
  2022-01-16 13:29 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-09 17:46 UTC (permalink / raw)
  To: gdb-prs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.2

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch set is posted at

https://sourceware.org/pipermail/gdb-patches/2022-January/184953.html

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/28758] GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section
  2022-01-09 17:34 [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section hjl.tools at gmail dot com
  2022-01-09 17:34 ` [Bug gdb/28758] " hjl.tools at gmail dot com
  2022-01-09 17:46 ` hjl.tools at gmail dot com
@ 2022-01-10 13:11 ` hjl.tools at gmail dot com
  2022-01-16 13:29 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-10 13:11 UTC (permalink / raw)
  To: gdb-prs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GDB 11.2 by

fb0b83d80d1 bfd_section_from_shdr: Support SHT_RELR sections
67609c9c701 readelf: Support SHT_RELR/DT_RELR for -r
1b244ed9d3f readelf: Support RELR in -S and -d and output

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/28758] GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section
  2022-01-09 17:34 [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2022-01-10 13:11 ` hjl.tools at gmail dot com
@ 2022-01-16 13:29 ` hjl.tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-16 13:29 UTC (permalink / raw)
  To: gdb-prs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brobecker at gnat dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 28785 has been marked as a duplicate of this bug. ***

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-16 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09 17:34 [Bug gdb/28758] New: GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section hjl.tools at gmail dot com
2022-01-09 17:34 ` [Bug gdb/28758] " hjl.tools at gmail dot com
2022-01-09 17:46 ` hjl.tools at gmail dot com
2022-01-10 13:11 ` hjl.tools at gmail dot com
2022-01-16 13:29 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).