This is the mail archive of the
mailing list for the GCC project.
Re: GCC 3.3 build on AIX 5.2, ICE
- From: Alexy Khrabrov <alexy dot khrabrov at setup dot org>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Dara Hazeghi <dhazeghi at yahoo dot com>, alexy at setup dot org, gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Tue, 1 Jul 2003 16:36:18 -0400
- Subject: Re: GCC 3.3 build on AIX 5.2, ICE
- References: <firstname.lastname@example.org> <200307010257.WAA30398@makai.watson.ibm.com>
I've tried all possible combinations on AIX, and now
I've got quite far with the native cc for bootstrap.
I had to make the following edits:
in gcc/intl/plural.c, cc complains that the body
if yylex doesn't match its prototype w.r.t. the 2nd
parameter, where the prototype declares unsigned char**
and the body has a unsigned char**. What is mind-boggling
is that they are identical, except the body is K&R, but
even replacing the body's head by the prototype _literally_
still emits the error with AIX cc! So I oblige and remove
the const from the prorotype, then cc runs through, but
xgcc of course complains -- so I put the const back and
that part is over.
Another complaint is about build's math.h, where the
conditional are embedded in the midst of a macro definition,
and cc considers them macro parameters -- I just remove them
and now I'm at the stage where the library contents is checked
for declaration and linkage, and it's extremely slow and
seemingly repetitive -- after a few hours, same declaration,
linkage checks. Is there an endless loop in the make somewhere?
I put the original plural.c back with its time intact, but the
math.h is edited. Is it supposed to take forever on AIX?