Results for gcc-2.95 19990623 (prerelease) testsuite on rs6000-ibm-aix4.1.4.0
Branko Cibej
branko.cibej@hermes.si
Thu Jul 1 03:42:00 GMT 1999
Jeffrey A Law wrote:
> In message <9906291133.AA32498@tofsi.hermes.si>you write:
> > Native configuration is rs6000-ibm-aix4.1.4.0
> >
> > === libio tests ===
> >
> >
> > Running target unix
> > FAIL: hounddog.cc compilation
> > FAIL: hounddog.cc compilation -b0
> > FAIL: hounddog.cc compilation -b2
> > FAIL: putbackdog.cc compilation
> > FAIL: putbackdog.cc compilation -b0
> > FAIL: putbackdog.cc compilation -b2
> > FAIL: tFile.cc compilation
> > FAIL: tFile.cc compilation -b0
> > FAIL: tFile.cc compilation -b3
> > FAIL: tiomanip.cc compilation
> Something bad is happening. Can you look at libio.log and see why everything
> is failing to compile? I suspect the same problem is causing your
> libio & libstdc++ failures and possible some of your g++ failures.
Ah, I think I have it. The results are the same
with the 990629 snapshot::
In file included from ../../../../../src/egcs/libio/testsuite/../tests/hounddog.cc:26:
/home2/brane/egcs/build/egcs/gcc/include/stdlib.h:517: warning: `EXIT_FAILURE' redefined
/home2/brane/egcs/build/egcs/gcc/include/stdlib.h:79: warning: this is the location of the previous definition
The log files are full of this, and tons of it show up during bootstrap.
Lines 79 and 80 are
#define EXIT_FAILURE (1) /* exit function failure */
#define EXIT_SUCCESS 0 /* exit function success */
lines 517 and 518 are
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
and the diff from /usr/include/stdlib.h is
$ diff -u /usr/include/stdlib.h /home2/brane/egcs/build/egcs/gcc/include/stdlib,h
--- /usr/include/stdlib.h Thu Sep 1 15:59:01 1994
+++ /home2/brane/egcs/build/egcs/gcc/include/stdlib.h Thu Jul 1 03:32:18 1999
@@ -47,12 +47,23 @@
#ifndef _SIZE_T
#define _SIZE_T
-typedef unsigned long size_t;
+#ifndef __SIZE_TYPE__
+#define __SIZE_TYPE__ long unsigned int
+#endif
+#ifndef _GCC_SIZE_T
+#define _GCC_SIZE_T
+typedef __SIZE_TYPE__ size_t;
+#endif
#endif
#ifndef _WCHAR_T
#define _WCHAR_T
-typedef unsigned short wchar_t;
+#ifndef __WCHAR_TYPE__
+#define __WCHAR_TYPE__ int
+#endif
+#ifndef __cplusplus
+typedef __WCHAR_TYPE__ wchar_t;
+#endif
#endif
typedef struct div_t { /* struct returned from div */
@@ -304,8 +315,8 @@
#endif /* _ALL_SOURCE */
#if (defined (__MATH__) && defined (_ANSI_C_SOURCE) )
-#define abs(__j) __abs(__j)
-#define labs(__j) __labs(__j)
+#define abs __abs
+#define labs __labs
#endif /* __MATH__ and _ANSI_C_SOURCE */
/*
@@ -426,8 +437,8 @@
#endif /* ifdef _NO_PROTO */
#if (defined (__MATH__) && defined (__XLC121__) && defined (_ALL_SOURCE) )
-#define imul_dbl(__a, __b, __c) __imul_dbl(__a, __b, __c)
-#define umul_dbl(__a, __b, __c) __umul_dbl(__a, __b, __c)
+#define imul_dbl __imul_dbl
+#define umul_dbl __umul_dbl
#endif
#ifdef _NO_PROTO
@@ -461,8 +472,8 @@
*/
#if (defined (__MATH__) && defined (__XLC121__) && defined (_ANSI_C_SOURCE) )
-#define div(__numer,__denom) __div(__numer,__denom)
-#define ldiv(__numer,__denom) __ldiv(__numer,__denom)
+#define div __div
+#define ldiv __ldiv
#endif
/*
@@ -498,9 +509,11 @@
#endif /* ifdef _NO_PROTO */
#if (defined (__MATH__) && defined (__XLC13__))
-# define llabs(__j) __llabs(__j)
+#define llabs __llabs
#endif /* ifdef __MATH__ */
#endif /* if defined(_LONG_LONG) && defined(_ALL_SOURCE) */
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
#endif /* _H_STDLIB */
All of this looks fine to me, except that redefinition at the end.
Could this be a problem with fixincludes? I start every
configure/bootstrap/check cycle with an empty build directory,
so I doubt it's something left over from previous runs.
Hope that helps,
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 61) 186 53 49 fax: (+386 61) 186 52 70
More information about the Gcc-testresults
mailing list