From: Luis Machado <luis.machado@linaro.org>
To: Tom de Vries <tdevries@suse.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH][gdb/testsuite] Be quiet about untested dtrace-prob.exp
Date: Tue, 18 Feb 2020 13:20:00 -0000 [thread overview]
Message-ID: <19291d66-aa9c-6060-3f74-b73dd2e22e6d@linaro.org> (raw)
In-Reply-To: <511ae4d0-9d0b-fc77-5ad8-b99f6b0128f6@suse.de>
On 2/18/20 10:13 AM, Tom de Vries wrote:
> On 18-02-2020 13:35, Luis Machado wrote:
>> On 2/18/20 9:02 AM, Tom de Vries wrote:
>>> Hi,
>>>
>>> When running gdb.base/dtrace-probe.exp, I get this on stdout/stderr:
>>> ...
>>> Running src/gdb/testsuite/gdb.base/dtrace-probe.exp ...
>>> gdb compile failed, ld: error in \
>>> Â Â build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe.o\
>>> Â Â (.eh_frame); no .eh_frame_hdr table will be created
>>> ld: crt1.o: in function `_start':
>>> start.S:110: undefined reference to `main'
>>> ld: build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o:\
>>> Â Â (.SUNW_dof+0x88): undefined reference to `main'
>>> ld: build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o:\
>>> Â Â (.SUNW_dof+0xb8): undefined reference to `main'
>>> collect2: error: ld returned 1 exit status
>>>
>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â === gdb Summary ===
>>>
>>> nr of untested testcases        1
>>
>> Odd. I'm running this natively on aarch64 and i don't see the same. I
>> only get output in gdb.log.
>>
>
> I've looked a bit at the semantics of output_clone (in
> /usr/share/dejagnu/framework.exp), and the only way I could think of how
> that would happen for you is if the output somehow starts with a keyword
> like PASS/FAIL/WARNING/ERROR/etc. [ If you want to chase that difference
> it could be useful to post a gdb.log/gdb.sum/stdout_stderr.log. ]
I think the setup i have differs from yours. I don't have DTtrace, so
the testsuite ends up using pdtrace. That somehow makes things go a
different way. The build ends up failing, but silently.
as: unrecognized option '-64
readelf: Error:
'binutils-gdb-master/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o':
No such file
error: could not extract the start of shdr from
binutils-gdb-master/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o
UNTESTED: gdb.base/dtrace-probe.exp: failed to compile
next prev parent reply other threads:[~2020-02-18 13:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 12:02 Tom de Vries
2020-02-18 12:35 ` Luis Machado
2020-02-18 13:13 ` Tom de Vries
2020-02-18 13:20 ` Luis Machado [this message]
2020-02-18 13:36 ` Tom de Vries
2020-02-18 21:26 ` Tom Tromey
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=19291d66-aa9c-6060-3f74-b73dd2e22e6d@linaro.org \
--to=luis.machado@linaro.org \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/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