public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto
@ 2020-11-09 16:27 vries at gcc dot gnu.org
2020-11-11 18:58 ` [Bug gdb/26856] " tromey at sourceware dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-09 16:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
Bug ID: 26856
Summary: Selftest FAILs for gdb build with -O2 -flto
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
When building gdb with -O2 -flto=auto, we run into a few testsuite failures:
...
FAIL: gdb.gdb/complaints.exp: clear complaints
FAIL: gdb.gdb/selftest.exp: breakpoint in captured_main (got interactive
prompt)
FAIL: gdb.gdb/selftest.exp: run until breakpoint at captured_main
...
Fi.i, we have:
...
call clear_complaints()^M
No symbol "clear_complaints" in current context.^M
(gdb) FAIL: gdb.gdb/complaints.exp: clear complaints
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/26856] Selftest FAILs for gdb build with -O2 -flto
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
@ 2020-11-11 18:58 ` tromey at sourceware dot org
2020-11-11 19:05 ` vries at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2020-11-11 18:58 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
IMO basically the only selftest worth preserving is the one
that runs the internal unit tests. The others have been
an ongoing source of problems like this.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/26856] Selftest FAILs for gdb build with -O2 -flto
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
2020-11-11 18:58 ` [Bug gdb/26856] " tromey at sourceware dot org
@ 2020-11-11 19:05 ` vries at gcc dot gnu.org
2021-09-02 6:14 ` vries at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-11 19:05 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12951
--> https://sourceware.org/bugzilla/attachment.cgi?id=12951&action=edit
Tentative patch
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/26856] Selftest FAILs for gdb build with -O2 -flto
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
2020-11-11 18:58 ` [Bug gdb/26856] " tromey at sourceware dot org
2020-11-11 19:05 ` vries at gcc dot gnu.org
@ 2021-09-02 6:14 ` vries at gcc dot gnu.org
2021-09-02 13:44 ` vries at gcc dot gnu.org
2023-07-18 6:35 ` [Bug testsuite/26856] " vries at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2021-09-02 6:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> FAIL: gdb.gdb/selftest.exp: breakpoint in captured_main (got interactive
> prompt)
> FAIL: gdb.gdb/selftest.exp: run until breakpoint at captured_main
Patch submitted here
(https://sourceware.org/pipermail/gdb-patches/2021-September/181786.html ) to
handle this with UNTESTED.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug gdb/26856] Selftest FAILs for gdb build with -O2 -flto
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
` (2 preceding siblings ...)
2021-09-02 6:14 ` vries at gcc dot gnu.org
@ 2021-09-02 13:44 ` vries at gcc dot gnu.org
2023-07-18 6:35 ` [Bug testsuite/26856] " vries at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2021-09-02 13:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #1)
> IMO basically the only selftest worth preserving is the one
> that runs the internal unit tests. The others have been
> an ongoing source of problems like this.
Submitted "[gdb/testsuite] Reimplement complaints selftest as unittest" here (
https://sourceware.org/pipermail/gdb-patches/2021-September/181789.html ).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug testsuite/26856] Selftest FAILs for gdb build with -O2 -flto
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
` (3 preceding siblings ...)
2021-09-02 13:44 ` vries at gcc dot gnu.org
@ 2023-07-18 6:35 ` vries at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2023-07-18 6:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26856
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.1
Resolution|--- |FIXED
Component|gdb |testsuite
Status|NEW |RESOLVED
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed since 12.1.
--
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:[~2023-07-18 6:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 16:27 [Bug gdb/26856] New: Selftest FAILs for gdb build with -O2 -flto vries at gcc dot gnu.org
2020-11-11 18:58 ` [Bug gdb/26856] " tromey at sourceware dot org
2020-11-11 19:05 ` vries at gcc dot gnu.org
2021-09-02 6:14 ` vries at gcc dot gnu.org
2021-09-02 13:44 ` vries at gcc dot gnu.org
2023-07-18 6:35 ` [Bug testsuite/26856] " 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).