This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.1.2 on Solaris 2.5: bootstrap failure in libio


On Mar 22, 1999, "J.H.M. Dassen" <jdassen@wi.leidenuniv.nl> wrote:

> On Fri, Mar 19, 1999 at 00:24:09 -0700, Jeffrey A Law wrote:
>> So, the next step is to figure out why your _G_config.h file is messed up.

> I inserted "sh -x" in libio's Makefile.in's rule for _G_config.h ; here's
> the relevant part of the log.

> I have no idea how to procede from here; suggestions are welcome.

It's weird; it seems that it's not finding definionts for most
standard types.  What do you get if you run:

/local/ray/egcs/egcs-1.1.2/builddir/gcc/xgcc \
-B/local/ray/egcs/egcs-1.1.2/builddir/gcc/ -I. -I../../../libio -E \
dummy.c -DWCHAR=1 -DWCTYPE=1

Where dummy.c contains:

#include <sys/types.h>
#include <stddef.h>
#ifdef __STDC__
#include <stdarg.h>
#else /* !__STDC__ */
#include <varargs.h>
#endif /* __STDC__ */
#include <stdio.h>
#include <time.h>
#include <signal.h>
#ifdef __STDC__
#include <limits.h>
#endif
#if WCHAR == 1
#include <wchar.h>
#endif
#if WCTYPE == 1
#include <wctype.h>
#endif
#ifdef size_t
typedef size_t Xsize_t;
#elif defined(__SIZE_TYPE__)
typedef __SIZE_TYPE__ Xsize_t;
#endif
#ifdef ptrdiff_t
typedef ptrdiff_t Xptrdiff_t;
#elif defined(__PTRDIFF_TYPE__)
typedef __PTRDIFF_TYPE__ Xptrdiff_t;
#endif
#ifdef wchar_t
typedef wchar_t Xwchar_t;
#elif defined(__WCHAR_TYPE__)
typedef __WCHAR_TYPE__ Xwchar_t;
#endif
#ifdef va_list
typedef va_list XXXva_list;
#endif
#ifdef BUFSIZ
long XBUFSIZ=BUFSIZ;
#endif
#ifdef FOPEN_MAX
long XFOPEN_MAX=FOPEN_MAX;
#endif
#ifdef FILENAME_MAX
long XFILENAME_MAX=FILENAME_MAX;
#endif
#ifdef SHRT_MAX
long XSHRT_MAX=SHRT_MAX;
#endif
#ifdef INT_MAX
long XINT_MAX=INT_MAX;
#endif
#ifdef LONG_MAX
long XLONG_MAX=LONG_MAX;
#endif
#ifdef LONG_LONG_MAX
long XLONG_LONG_MAX=LONG_LONG_MAX;
#endif

What does `type sed' print?  Which version of sed is that, if it
happens to be GNU sed?

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,egcs.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]