public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942
@ 2014-10-31 8:47 dominiq at lps dot ens.fr
2014-10-31 9:47 ` [Bug bootstrap/63695] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-10-31 8:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
Bug ID: 63695
Summary: [5 Regression] Bootstrapping with Ada is broken at
r216942
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
On x86_64-apple-darwin14 bootstrapping with Ada is broken at r216942 (r216914
is OK):
g++ -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common
-DHAVE_CONFIG_H -I. -Iada -I../../work/gcc -I../../work/gcc/ada
-I../../work/gcc/../include -I./../intl -I../../work/gcc/../libcpp/include
-I/opt/mp/include -I../../work/gcc/../libdecnumber
-I../../work/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../work/gcc/../libbacktrace -DCLOOG_INT_GMP -DCLOOG_INT_GMP
-I/opt/mp/include -o ada/targtyps.o -MT ada/targtyps.o -MMD -MP -MF
ada/.deps/targtyps.TPo ../../work/gcc/ada/gcc-interface/targtyps.c
gcc -c -g -gnatpg -gnatwns -gnata -W -Wall -nostdinc -I- -I. -Iada/generated
-Iada -I../../work/gcc/ada -I../../work/gcc/ada/gcc-interface
../../work/gcc/ada/a-ioexce.ads -o ada/a-ioexce.o
a-ioexce.ads:21:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:22:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:23:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:24:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:25:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:26:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:27:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
a-ioexce.ads:28:19: violation of restriction "No_Elaboration_Code" at
system.ads:53
make[3]: *** [ada/a-ioexce.o] Error 1
make[3]: Leaving directory `/opt/gcc/build_w/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/opt/gcc/build_w'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc/build_w'
make: *** [all] Error 2
Note reaching this point requires the patches for pr63534 and pr63622.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
@ 2014-10-31 9:47 ` rguenth at gcc dot gnu.org
2014-10-31 9:48 ` charlet at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-31 9:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |charlet at gcc dot gnu.org
Target Milestone|--- |5.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
2014-10-31 9:47 ` [Bug bootstrap/63695] " rguenth at gcc dot gnu.org
@ 2014-10-31 9:48 ` charlet at gcc dot gnu.org
2014-10-31 11:24 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-10-31 9:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
Arnaud Charlet <charlet at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-10-31
Ever confirmed|0 |1
--- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Can you clarify the exact version of your bootstrap Ada compiler?
I suspect this is the issue here. Your bootstrap compiler is likely faulty
here (likely an old 4.10 snapshot?), and e.g. reverting to 4.9.x as your
bootstrap compiler should address this issue.
Arno
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
2014-10-31 9:47 ` [Bug bootstrap/63695] " rguenth at gcc dot gnu.org
2014-10-31 9:48 ` charlet at gcc dot gnu.org
@ 2014-10-31 11:24 ` dominiq at lps dot ens.fr
2014-10-31 11:25 ` charlet at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-10-31 11:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Can you clarify the exact version of your bootstrap Ada compiler?
> I suspect this is the issue here. Your bootstrap compiler is likely faulty
> here (likely an old 4.10 snapshot?), and e.g. reverting to 4.9.x as your bootstrap
> compiler should address this issue.
I have bootstrapped gcc5 from r216098 up to r216914 with
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.10a/libexec/gcc/x86_64-apple-darwin13.4.0/5.0.0/lto-wrapper
Target: x86_64-apple-darwin13.4.0 <--- maverick
Configured with: ../_clean/configure --prefix=/opt/gcc/gcc4.10a
--enable-languages=c,c++,fortran,ada,lto --with-gmp=/opt/mp --with-system-zlib
--enable-checking=release --with-isl=/opt/mp --enable-lto --enable-plugin
Thread model: posix
gcc version 5.0.0 20141010 (experimental) [trunk revision 216098] (GCC)
I have successfully bootstrapped r216952 with
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.9wr/libexec/gcc/x86_64-apple-darwin14.0.0/4.9.2/lto-wrapper
Target: x86_64-apple-darwin14.0.0 <--- yosemite
Configured with: ../4.9_work/configure --prefix=/opt/gcc/gcc4.9wr
--enable-languages=c,c++,fortran,objc,obj-c++,ada,java,lto --with-gmp=/opt/mp
--with-system-zlib --with-isl=/opt/mp --enable-lto --enable-plugin
Thread model: posix
gcc version 4.9.2 20141019 (prerelease) [4.9 branch revision 216436p1] (GCC)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2014-10-31 11:24 ` dominiq at lps dot ens.fr
@ 2014-10-31 11:25 ` charlet at gcc dot gnu.org
2014-10-31 11:53 ` charlet at gcc dot gnu.org
2014-11-03 10:11 ` ebotcazou at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-10-31 11:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
Arnaud Charlet <charlet at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
OK, so this confirms my suspicion: you had an unsuitable snapshot as your
Ada bootstrap compiler.
Arno
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2014-10-31 11:25 ` charlet at gcc dot gnu.org
@ 2014-10-31 11:53 ` charlet at gcc dot gnu.org
2014-11-03 10:11 ` ebotcazou at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-10-31 11:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
--- Comment #5 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
The addition of pragma No_Elaboration_Code_All in system.ads, which wasn't
properly supported by your bootstrap compiler.
In order to bootstrap with this change you either need an older compiler which
doesn't know (and will ignore) about pragma No_Elaboration_Code_All, or knows
about it and handles it properly (case for very recent compilers, but not
yours).
Note that strictly speaking you should always use a stable release as your
bootstrap compiler, and not a snapshot, precisely to avoid this kind of
subtle temporary issues (which are very rare, but may occur).
Hope everything is now clear!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/63695] [5 Regression] Bootstrapping with Ada is broken at r216942
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2014-10-31 11:53 ` charlet at gcc dot gnu.org
@ 2014-11-03 10:11 ` ebotcazou at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-03 10:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63695
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernd.edlinger at hotmail dot de
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
*** Bug 63720 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-11-03 10:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-31 8:47 [Bug bootstrap/63695] New: [5 Regression] Bootstrapping with Ada is broken at r216942 dominiq at lps dot ens.fr
2014-10-31 9:47 ` [Bug bootstrap/63695] " rguenth at gcc dot gnu.org
2014-10-31 9:48 ` charlet at gcc dot gnu.org
2014-10-31 11:24 ` dominiq at lps dot ens.fr
2014-10-31 11:25 ` charlet at gcc dot gnu.org
2014-10-31 11:53 ` charlet at gcc dot gnu.org
2014-11-03 10:11 ` 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).