public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2
@ 2003-10-08 11:16 martelm at quark dot vsc dot edu
  2003-10-08 15:28 ` [Bug bootstrap/12539] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: martelm at quark dot vsc dot edu @ 2003-10-08 11:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539

           Summary: GCC 3.3.1 bootstrap failure on AIX 5.2
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martelm at quark dot vsc dot edu
                CC: gcc-bugs at gcc dot gnu dot org

Trying to bootstrap gcc-3.3.1 on IBM AIX 5.2.0.0 Maintenance Level 1, using IBM
C Compiler 5.0.2.0.  Configured the build with :

../gcc-3.3.1/configure --disable-nls --enable-languages=c,c++

Using gnu-make 3.80, I get this error during bootstrap. 


stage1/xgcc -Bstage1/ -B/usr/local/powerpc-ibm-aix5.2.0.0/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I.
-I. -I../../gcc-3.3.1/gcc -I../../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config
-I../../gcc-3.3.1/gcc/../include ../../gcc-3.3.1/gcc/genautomata.c -o genautomata.o
In file included from ../../gcc-3.3.1/gcc/genautomata.c:109:
include/math.h:1071:2: '#' is not followed by a macro parameter
In file included from ../../gcc-3.3.1/gcc/genautomata.c:109:
include/math.h:1072: error: parse error before '==' token
include/math.h:1072: error: syntax error at '#' token
include/math.h:1074: error: syntax error at '#' token
include/math.h:1076: error: syntax error at '#' token
make[2]: *** [genautomata.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-3.3.1-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.3.1-build/gcc'
make: *** [bootstrap] Error 2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
  2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
@ 2003-10-08 15:28 ` pinskia at gcc dot gnu dot org
  2003-10-08 16:49 ` martelm at quark dot vsc dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-08 15:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
            Summary|GCC 3.3.1 bootstrap failure |GCC 3.3.1 bootstrap failure
                   |on AIX 5.2                  |on AIX 5.2


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-08 15:28 -------
Can you attach the "include/math.h" file in the objdir?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
  2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
  2003-10-08 15:28 ` [Bug bootstrap/12539] " pinskia at gcc dot gnu dot org
@ 2003-10-08 16:49 ` martelm at quark dot vsc dot edu
  2003-10-08 16:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: martelm at quark dot vsc dot edu @ 2003-10-08 16:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539



------- Additional Comments From martelm at quark dot vsc dot edu  2003-10-08 16:49 -------
I've attahced the original math.h from the configure/bootstrap process.  I found
this link :

http://gcc.gnu.org/ml/gcc/2003-07/msg00212.html

And I modified this section of math.h to remove the #ifndef __cplusplus and the
corrosponding #endif and the make bootstrap is moving along.

#ifndef __LONGDOUBLE128
#define fpclassify(__x)	\
    (sizeof(__x) == sizeof(float) ?  \
        ((_classf((double)__x) == FP_SNAN) || (_classf((double)__x) == FP_QNAN) ? \
            FP_QNAN : \
            (_classf((double) __x) & 0x00000001 ? \
                _classf((double) __x) - 1 : \
                _classf((double) __x)) ) : \
#ifndef __cplusplus
        ((class(__x) == FP_SNAN) || (class(__x) == FP_QNAN) ? \
#endif
            FP_QNAN : \
#ifndef __cplusplus
            (class(__x)  & 0x00000001 ? \
#endif


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
  2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
  2003-10-08 15:28 ` [Bug bootstrap/12539] " pinskia at gcc dot gnu dot org
  2003-10-08 16:49 ` martelm at quark dot vsc dot edu
@ 2003-10-08 16:53 ` pinskia at gcc dot gnu dot org
  2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
  2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-08 16:53 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-08 16:53 -------
Invalid as based on the followup of the message given by the reporter.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
  2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
                   ` (3 preceding siblings ...)
  2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
@ 2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-20 18:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-20 18:16 -------
Reopening bug to mark it as a dup of ...


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/12539] GCC 3.3.1 bootstrap failure on AIX 5.2
  2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
                   ` (2 preceding siblings ...)
  2003-10-08 16:53 ` pinskia at gcc dot gnu dot org
@ 2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
  2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-20 18:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12539


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-20 18:16 -------
bug 11315.

*** This bug has been marked as a duplicate of 11315 ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-20 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08 11:16 [Bug bootstrap/12539] New: GCC 3.3.1 bootstrap failure on AIX 5.2 martelm at quark dot vsc dot edu
2003-10-08 15:28 ` [Bug bootstrap/12539] " pinskia at gcc dot gnu dot org
2003-10-08 16:49 ` martelm at quark dot vsc dot edu
2003-10-08 16:53 ` pinskia at gcc dot gnu dot org
2003-10-20 18:16 ` pinskia at gcc dot gnu dot org
2003-10-20 18:16 ` 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).