public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp
@ 2005-05-11 11:09 fxcoudert at gcc dot gnu dot org
2005-05-11 11:15 ` [Bug preprocessor/21512] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 13+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-05-11 11:09 UTC (permalink / raw)
To: gcc-bugs
When compiling libcpp/init.c:
../../gcc/libcpp/init.c:59: parse error before `,'
[9 times]
This error happens on:
TRIGRAPH_MAP
s('=', '#') s(')', ']') s('!', '|')
s('(', '[') s('\'', '^') s('>', '}')
s('/', '\\') s('<', '{') s('-', '~')
END
which, once preprocessed, is:
__extension__ const uchar _cpp_trigraph_map[255 + 1] = {
[ '=' ] = '#' , [ ')' ] = ']' , [ '!' ] = '|' ,
[ '(' ] = '[' , [ '\'' ] = '^' , [ '>' ] = '}' ,
[ '/' ] = '\\' , [ '<' ] = '{' , [ '-' ] = '~' ,
};
The following minimal code:
__extension__ const unsigned char _cpp_trigraph_map[255 + 1] = {
[ '=' ] = '#' , [ ')' ] = ']' , [ '!' ] = '|'
};
compiles fine on my linux box but gives 3 "parse error before `,'" on ppc-darwin5.5.
A workaround seems to specify -DHAVE_DESIGNATED_INITIALIZERS=0.
--
Summary: build failure on ppc-apple-darwin5.5 in libcpp
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ppc-apple-darwin5.5
GCC host triplet: ppc-apple-darwin5.5
GCC target triplet: ppc-apple-darwin5.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
@ 2005-05-11 11:15 ` pinskia at gcc dot gnu dot org
2005-05-11 11:41 ` [Bug bootstrap/21512] " bonzini at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 11:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-11 11:14 -------
This is caused by moving libcpp to the toplevel.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|bootstrap |preprocessor
Ever Confirmed| |1
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2005-05-11 11:14:59
date| |
Summary|build failure on ppc-apple- |[4.0/4.1 Regression] build
|darwin5.5 in libcpp |failure on ppc-apple-
| |darwin5.5 in libcpp
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
2005-05-11 11:15 ` [Bug preprocessor/21512] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-05-11 11:41 ` bonzini at gcc dot gnu dot org
2005-05-11 11:42 ` bonzini at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-05-11 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-05-11 11:41 -------
This is a bootstrap bug, the bug is in the toplevel Makefile.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|preprocessor |bootstrap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
2005-05-11 11:15 ` [Bug preprocessor/21512] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-11 11:41 ` [Bug bootstrap/21512] " bonzini at gcc dot gnu dot org
@ 2005-05-11 11:42 ` bonzini at gcc dot gnu dot org
2005-05-19 11:38 ` fxcoudert at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-05-11 11:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-05-11 11:14:59 |2005-05-11 11:42:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-11 11:42 ` bonzini at gcc dot gnu dot org
@ 2005-05-19 11:38 ` fxcoudert at gcc dot gnu dot org
2005-06-26 18:17 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-05-19 11:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-05-19 11:34 -------
Tried again to build gcc on powerpc-apple-darwin5.5 (MacOS 10.1), with the
workaround for the bug reported in comment #0.
Fails with error message:
../../gcc/gcc/config/rs6000/host-darwin.c:25: sys/ucontext.h: No such file or
directory
System header sys/ucontext.h appeared with MacOS 10.2. Something intelligent
should be done for systems without sys/ucontext.h.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-19 11:38 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-26 18:17 ` pinskia at gcc dot gnu dot org
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 18:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 18:17 -------
(In reply to comment #3)
> Tried again to build gcc on powerpc-apple-darwin5.5 (MacOS 10.1), with the
> workaround for the bug reported in comment #0.
That is a host bug and should be filed separately.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-06-26 18:17 ` pinskia at gcc dot gnu dot org
@ 2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
2005-07-18 9:40 ` bonzini at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:35 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
@ 2005-07-18 9:40 ` bonzini at gcc dot gnu dot org
2005-08-09 18:59 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-07-18 9:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-07-18 09:37 -------
Will be fixed by toplevel bootstrap.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-07-18 9:40 ` bonzini at gcc dot gnu dot org
@ 2005-08-09 18:59 ` pinskia at gcc dot gnu dot org
2005-08-09 20:23 ` fxcoudert at gcc dot gnu dot org
2005-08-09 20:26 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-09 18:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-09 18:58 -------
targetting torwards 4.2 since 4.1 will not have top level bootstrap enabled by default.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-08-09 18:59 ` pinskia at gcc dot gnu dot org
@ 2005-08-09 20:23 ` fxcoudert at gcc dot gnu dot org
2005-08-09 20:26 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-09 20:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-08-09 20:23 -------
So, if I understand correctly, you're meaning that gcc 4.0 and 4.1 will not
build on ppc-apple-darwin5.5? I find that a litlle... disappointing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-08-09 20:23 ` fxcoudert at gcc dot gnu dot org
@ 2005-08-09 20:26 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-09 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-09 20:26 -------
(In reply to comment #7)
> So, if I understand correctly, you're meaning that gcc 4.0 and 4.1 will not
> build on ppc-apple-darwin5.5? I find that a litlle... disappointing.
Well the work around is to use 3.4 to build 4.0, that will fix the bug reported here but not the sys/
ucontext.h bug which should have been reported seperately and is a bug in config/darwin.h.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
[not found] <bug-21512-10259@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:10 ` pinskia at gcc dot gnu dot org
@ 2005-10-31 0:12 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31 0:12 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/21512] [4.0/4.1 Regression] build failure on ppc-apple-darwin5.5 in libcpp
[not found] <bug-21512-10259@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:10 ` pinskia at gcc dot gnu dot org
2005-10-31 0:12 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:10 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.0 |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21512
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-10-31 0:12 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-11 11:09 [Bug bootstrap/21512] New: build failure on ppc-apple-darwin5.5 in libcpp fxcoudert at gcc dot gnu dot org
2005-05-11 11:15 ` [Bug preprocessor/21512] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-11 11:41 ` [Bug bootstrap/21512] " bonzini at gcc dot gnu dot org
2005-05-11 11:42 ` bonzini at gcc dot gnu dot org
2005-05-19 11:38 ` fxcoudert at gcc dot gnu dot org
2005-06-26 18:17 ` pinskia at gcc dot gnu dot org
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
2005-07-18 9:40 ` bonzini at gcc dot gnu dot org
2005-08-09 18:59 ` pinskia at gcc dot gnu dot org
2005-08-09 20:23 ` fxcoudert at gcc dot gnu dot org
2005-08-09 20:26 ` pinskia at gcc dot gnu dot org
[not found] <bug-21512-10259@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:10 ` pinskia at gcc dot gnu dot org
2005-10-31 0:12 ` pinskia at gcc dot gnu dot 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).