public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
@ 2011-06-15 5:21 dominiq at lps dot ens.fr
2011-06-15 9:58 ` [Bug bootstrap/49415] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-15 5:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
Summary: [4.7 Regression] Revision 175071 fails to bootstrap on
x86_64-apple-darwin10
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: jsm28@gcc.gnu.org
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
Revision 175071 fails to bootstrap on x86_64-apple-darwin10 with
...
/opt/gcc/build_w/./prev-gcc/xgcc -B/opt/gcc/build_w/./prev-gcc/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/lib/ -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/include -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/sys-include -c -g -O2
-mdynamic-no-pic -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../work/gcc -I../../work/gcc/. -I../../work/gcc/../include
-I../../work/gcc/../libcpp/include -I/opt/sw64/include
-I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd
-I../libdecnumber -I/opt/sw64/include -DCLOOG_INT_GMP -DCLOOG_ORG
-I/opt/sw64/include \
../../work/gcc/common/config/i386/i386-common.c -o i386-common.o
In file included from ./tm_p.h:5:0,
from ../../work/gcc/common/config/i386/i386-common.c:27:
../../work/gcc/config/darwin-protos.h:57:51: error: ISO C forbids forward
references to 'enum' types [-Werror=edantic]
../../work/gcc/config/darwin-protos.h:58:11: error: 'enum machine_mode'
declared inside parameter list [-Werror]
../../work/gcc/config/darwin-protos.h:58:11: error: its scope is only this
definition or declaration, which is probably not what you want [-Werror]
cc1: all warnings being treated as errors
This is likely due to revision 175064.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
@ 2011-06-15 9:58 ` rguenth at gcc dot gnu.org
2011-06-15 10:32 ` joseph at codesourcery dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-15 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2011-06-15 9:58 ` [Bug bootstrap/49415] " rguenth at gcc dot gnu.org
@ 2011-06-15 10:32 ` joseph at codesourcery dot com
2011-06-15 12:33 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2011-06-15 10:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-06-15 10:31:50 UTC ---
On Wed, 15 Jun 2011, dominiq at lps dot ens.fr wrote:
> ../../work/gcc/config/darwin-protos.h:57:51: error: ISO C forbids forward
> references to 'enum' types [-Werror=edantic]
> ../../work/gcc/config/darwin-protos.h:58:11: error: 'enum machine_mode'
> declared inside parameter list [-Werror]
> ../../work/gcc/config/darwin-protos.h:58:11: error: its scope is only this
> definition or declaration, which is probably not what you want [-Werror]
Please try wrapping the problem prototype in #ifdef RTX_CODE, like some
other prototypes in that header. (Including machmode.h in i386-common.c
might cause other problems, and certainly would be against modularity.
Ideally tm.h and tm_p.h would be split into common parts and parts used
only in the compiler proper, but that's a long way off.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2011-06-15 9:58 ` [Bug bootstrap/49415] " rguenth at gcc dot gnu.org
2011-06-15 10:32 ` joseph at codesourcery dot com
@ 2011-06-15 12:33 ` dominiq at lps dot ens.fr
2011-06-15 13:48 ` dominiq at lps dot ens.fr
2011-06-29 20:55 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-15 12:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-15 12:33:06 UTC ---
> Please try wrapping the problem prototype in #ifdef RTX_CODE, like some
> other prototypes in that header.
--- /opt/gcc/_clean/gcc/config/darwin-protos.h 2011-04-06 13:56:07.000000000
+0200
+++ /opt/gcc/work/gcc/config/darwin-protos.h 2011-06-15 13:34:23.000000000
+0200
@@ -54,8 +54,11 @@ extern void machopic_finish (FILE *);
extern int machopic_reloc_rw_mask (void);
extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT);
+
+#ifdef RTX_CODE
extern section *machopic_select_rtx_section (enum machine_mode, rtx,
unsigned HOST_WIDE_INT);
+#endif /* RTX_CODE */
extern section *darwin_function_section (tree, enum node_frequency, bool,
bool);
extern void darwin_function_switched_text_sections (FILE *, tree, bool);
I am now at stage3 (1.5 hour more to go for full bootstrap).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2011-06-15 12:33 ` dominiq at lps dot ens.fr
@ 2011-06-15 13:48 ` dominiq at lps dot ens.fr
2011-06-29 20:55 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-15 13:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-15 13:47:43 UTC ---
I have bootstrapped revision 175077 with the patch in comment #2.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/49415] [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2011-06-15 13:48 ` dominiq at lps dot ens.fr
@ 2011-06-29 20:55 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-29 20:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-29 20:54:45 UTC ---
This pr has been fixed by revision 175110. Closing.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-29 20:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 5:21 [Bug bootstrap/49415] New: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2011-06-15 9:58 ` [Bug bootstrap/49415] " rguenth at gcc dot gnu.org
2011-06-15 10:32 ` joseph at codesourcery dot com
2011-06-15 12:33 ` dominiq at lps dot ens.fr
2011-06-15 13:48 ` dominiq at lps dot ens.fr
2011-06-29 20:55 ` dominiq at lps dot ens.fr
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).