public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap
@ 2021-05-14 8:23 marxin at gcc dot gnu.org
2021-05-14 8:32 ` [Bug ada/100597] " schwab@linux-m68k.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-14 8:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Bug ID: 100597
Summary: [12 Regression] Broken Ada bootstrap
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: ebotcazou at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
I see the following failure for profiledbootstrap with bootstrap-lto-lean
config:
[ 1149s]
[ 1149s] raised STORAGE_ERROR : stack overflow or erroneous memory access
[ 1149s] make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:1026:
ada/b_gnat1.adb] Error 1
[ 1149s] make[3]: *** Waiting for unfinished jobs....
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/100597] [12 Regression] Broken Ada bootstrap
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
@ 2021-05-14 8:32 ` schwab@linux-m68k.org
2021-05-14 8:48 ` marxin at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2021-05-14 8:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host|x86_64-linux-gnu |
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Fails everywhere, even with plain bootstrap.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/100597] [12 Regression] Broken Ada bootstrap
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
2021-05-14 8:32 ` [Bug ada/100597] " schwab@linux-m68k.org
@ 2021-05-14 8:48 ` marxin at gcc dot gnu.org
2021-05-14 9:39 ` [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails ebotcazou at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-14 8:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-05-14
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
$ valgrind --trace-children=yes
/home/abuild/rpmbuild/BUILD/gcc-12.0.0+git185196/obj-x86_64-suse-linux/./prev-gcc/gnatbind
-nostdinc -I- -I. -Iada/generated -Iada -Iada/gcc-interface -I../../gcc/ada
-I../../gcc/ada/gcc-interface -Iada/libgnat -I../../gcc/ada/libgnat -o
b_gnat1.adb -n ada/gnat1drv.ali
...
==157661== Command:
/home/abuild/rpmbuild/BUILD/gcc-12.0.0+git185196/obj-x86_64-suse-linux/./prev-gcc/gnatbind
-nostdinc -I- -I. -Iada/generated -Iada -Iada/gcc-interface -I../../gcc/ada
-I../../gcc/ada/gcc-interface -Iada/libgnat -I../../gcc/ada/libgnat -o
b_gnat1.adb -n ada/gnat1drv.ali
==157661==
==157661== Invalid read of size 4
==157661== at 0x4E4D7B:
bindo__graphs__library_graphs__dg__vertex_list__unlock (g-lists.adb:733)
==157661== by 0x4E4D7B:
bindo__graphs__library_graphs__dg__vertex_list__has_next (g-lists.adb:443)
==157661== by 0x4E4D7B: bindo__graphs__library_graphs__dg__has_next__4
(g-graphs.adb:1155)
==157661== by 0x4E4D7B:
bindo__graphs__library_graphs__dg__find_components__associate_vertices
(g-graphs.adb:681)
==157661== by 0x4E4D7B:
bindo__graphs__library_graphs__dg__find_components__associate_all_vertices
(g-graphs.adb:667)
==157661== by 0x4E4D7B: bindo__graphs__library_graphs__dg__find_components
(g-graphs.adb:1044)
==157661== by 0x4E8618: bindo__graphs__library_graphs__find_components
(bindo-graphs.adb:1862)
==157661== by 0x4839AD:
bindo__elaborators__invocation_and_library_graph_elaborators__elaborate_units
(bindo-elaborators.adb:741)
==157661== by 0x473A72: bindo__find_elaboration_order (bindo.adb:512)
==157661== by 0x57BEB1: _ada_gnatbind (gnatbind.adb:925)
==157661== by 0x40CD4A: main (b_gnatb.adb:306)
==157661== Address 0x4 is not stack'd, malloc'd or (recently) free'd
==157661==
raised STORAGE_ERROR : stack overflow or erroneous memory access
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
2021-05-14 8:32 ` [Bug ada/100597] " schwab@linux-m68k.org
2021-05-14 8:48 ` marxin at gcc dot gnu.org
@ 2021-05-14 9:39 ` ebotcazou at gcc dot gnu.org
2021-05-14 10:20 ` schwab@linux-m68k.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-05-14 9:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |bootstrap
Summary|[12 Regression] Broken Ada |[12 Regression] Ada
|bootstrap |bootstrap fails
Target Milestone|--- |12.0
Status|NEW |WAITING
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I cannot reproduce and valgrind does not complain for me.
Andreas, how do you configure your plain bootstrap?
In any case, this must be a very recent change, could you try reverting
PR tree-optimization/100453
* tree-sra.c (sra_modify_assign): All const base accesses do not
need refreshing, not just those from decl_pool.
(sra_modify_assign): Do not refresh into a const base decl.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-05-14 9:39 ` [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails ebotcazou at gcc dot gnu.org
@ 2021-05-14 10:20 ` schwab@linux-m68k.org
2021-05-14 16:28 ` ebotcazou at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2021-05-14 10:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Target| |x86_64-*-*, ia64-*-*,
| |riscv64-*-*
--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
I have to correct myself, it only fails on ia64 and riscv64 with plain
bootstrap.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2021-05-14 10:20 ` schwab@linux-m68k.org
@ 2021-05-14 16:28 ` ebotcazou at gcc dot gnu.org
2021-05-14 17:34 ` schwab@linux-m68k.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-05-14 16:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I have to correct myself, it only fails on ia64 and riscv64 with plain
> bootstrap.
OK, thanks, the bootstrap indeed succeeds on x86-64 but the resulting Ada
compiler is broken, see PR tree-optimization/100453.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2021-05-14 16:28 ` ebotcazou at gcc dot gnu.org
@ 2021-05-14 17:34 ` schwab@linux-m68k.org
2021-05-15 8:35 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2021-05-14 17:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
Reverting ca9bb74a5f8 fixes bootstrap for me.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (5 preceding siblings ...)
2021-05-14 17:34 ` schwab@linux-m68k.org
@ 2021-05-15 8:35 ` jamborm at gcc dot gnu.org
2021-05-15 10:24 ` ro at gcc dot gnu.org
2021-05-15 20:09 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2021-05-15 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #6)
> Reverting ca9bb74a5f8 fixes bootstrap for me.
I have reverted the commit, so hopefully this is fixed (but I cannot verify
that at the moment).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (6 preceding siblings ...)
2021-05-15 8:35 ` jamborm at gcc dot gnu.org
@ 2021-05-15 10:24 ` ro at gcc dot gnu.org
2021-05-15 20:09 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2021-05-15 10:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
Target|x86_64-*-*, ia64-*-*, |x86_64-*-*, ia64-*-*,
|riscv64-*-* |riscv64-*-*, sparcv9-*-*
--- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing the same failure in a 64-bit-default Solaris/SPARC bootstrap, while
32-bit-default SPARC is ok.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
` (7 preceding siblings ...)
2021-05-15 10:24 ` ro at gcc dot gnu.org
@ 2021-05-15 20:09 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2021-05-15 20:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100597
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Presumably fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-05-15 20:09 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 8:23 [Bug ada/100597] New: [12 Regression] Broken Ada bootstrap marxin at gcc dot gnu.org
2021-05-14 8:32 ` [Bug ada/100597] " schwab@linux-m68k.org
2021-05-14 8:48 ` marxin at gcc dot gnu.org
2021-05-14 9:39 ` [Bug bootstrap/100597] [12 Regression] Ada bootstrap fails ebotcazou at gcc dot gnu.org
2021-05-14 10:20 ` schwab@linux-m68k.org
2021-05-14 16:28 ` ebotcazou at gcc dot gnu.org
2021-05-14 17:34 ` schwab@linux-m68k.org
2021-05-15 8:35 ` jamborm at gcc dot gnu.org
2021-05-15 10:24 ` ro at gcc dot gnu.org
2021-05-15 20:09 ` ebotcazou 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).