public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/26031] New: exec_is_pie doesn't work with gold
@ 2020-05-24  8:55 vries at gcc dot gnu.org
  2020-05-24  9:03 ` [Bug testsuite/26031] " vries at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-05-24  8:55 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26031
           Summary: exec_is_pie doesn't work with gold
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

There's a proc exec_is_pie in gdb.exp, which works by checking for the PIE flag
in the elf dynamic flags, as displayed by readelf -d.

This doesn't work when we're using the gold linker, since it doesn't add such a
flag, so this results in a lot of unnecessary:
...
gdb compile failed, pie failed to generate PIE executable
...

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

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

end of thread, other threads:[~2020-05-25 10:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24  8:55 [Bug testsuite/26031] New: exec_is_pie doesn't work with gold vries at gcc dot gnu.org
2020-05-24  9:03 ` [Bug testsuite/26031] " vries at gcc dot gnu.org
2020-05-25 10:02 ` cvs-commit at gcc dot gnu.org
2020-05-25 10:03 ` vries at gcc dot gnu.org
2020-05-25 10:05 ` schwab@linux-m68k.org
2020-05-25 10:20 ` vries at gcc dot gnu.org

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).