public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug testsuite/29244] [gdb/testsuite, gcc 4.8] Problems with -static and target board unix/-fPIE/-pie
Date: Sat, 11 Jun 2022 10:31:35 +0000	[thread overview]
Message-ID: <bug-29244-4717-CMRt4jKWDg@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29244-4717@http.sourceware.org/bugzilla/>

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
More specifically:
...
(gdb) run ^M
Starting program: /data/vries/gdb_versions/devel/build/gdb/testsuite/outputs/g\
db.arch/amd64-disp-step-avx/amd64-disp-step-avx ^M
/bin/bash: /data/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.arch\
/amd64-disp-step-avx/amd64-disp-step-avx: No such file or directory^M
During startup program exited with code 127.^M
(gdb) FAIL: gdb.arch/amd64-disp-step-avx.exp: runto: run to main
...
and:
...
$ file
/data/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.arch/amd64-disp-step-avx/amd64-disp-step-avx 
/data/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.arch/amd64-disp-step-avx/amd64-disp-step-avx:
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib/ld6, BuildID[sha1]=205ab81333c8b66aaa2a3e2c841f5427145e77ca,
not stripped
...

Possibly the error message corresponds to the missing interpreter:
...
$ readelf -p .interp
/data/vries/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.arch/amd64-disp-step-avx/amd64-disp-step-avx 

String dump of section '.interp':
  [     0]  /lib/ld64.so.1
$ ls -al /lib/ld64.so.1
ls: cannot access '/lib/ld64.so.1': No such file or directory
...

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

  reply	other threads:[~2022-06-11 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-11 10:25 [Bug testsuite/29244] New: " vries at gcc dot gnu.org
2022-06-11 10:31 ` vries at gcc dot gnu.org [this message]
2023-06-05 14:14 ` [Bug testsuite/29244] " vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29244-4717-CMRt4jKWDg@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).