public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29244] New: [gdb/testsuite, gcc 4.8] Problems with -static and target board unix/-fPIE/-pie
@ 2022-06-11 10:25 vries at gcc dot gnu.org
  2022-06-11 10:31 ` [Bug testsuite/29244] " vries at gcc dot gnu.org
  2023-06-05 14:14 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-11 10:25 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29244
           Summary: [gdb/testsuite, gcc 4.8] Problems with -static and
                    target board unix/-fPIE/-pie
           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: ---

On openSUSE Leap 42.3 and gcc 4.8.5, and target board unix/-fPIE/-pie I'm
running into a cluster of FAILs:
...
FAIL: gdb.arch/amd64-disp-step-avx.exp: running to main in runto
FAIL: gdb.arch/amd64-init-x87-values.exp: check_setting_mxcsr_before_enable:
running to main in runto
FAIL: gdb.arch/amd64-init-x87-values.exp: check_setting_x87_regs_before_enable:
running to main in runto
FAIL: gdb.arch/amd64-init-x87-values.exp: check_x87_regs_around_init: running
to main in runto
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: frame
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: starti prompt
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: step back into _start (the
program is no longer running)
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: step back into foo (the
program is no longer running)
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: step into bar (the program
is no longer running)
FAIL: gdb.dwarf2/frame-inlined-in-outer-frame.exp: step into foo (the program
is no longer running)
...

The problem is that the compilation fails to produces an usable static
executable, instead we get a shared library, and we trying to execute it we run
into "No such file or directory".

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

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

end of thread, other threads:[~2023-06-05 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 10:25 [Bug testsuite/29244] New: [gdb/testsuite, gcc 4.8] Problems with -static and target board unix/-fPIE/-pie vries at gcc dot gnu.org
2022-06-11 10:31 ` [Bug testsuite/29244] " vries at gcc dot gnu.org
2023-06-05 14:14 ` 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).