This is the mail archive of the 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]

bootstrap failure in libstdc++ on i686-linux

Until yesterday bootstrapping on i686-linux with the following
configure command worked fine:
/cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
         --enable-threads=posix \
         --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib \

Today it stops with:

/builds/gcc/gcc-3.1-devel/gcc/xgcc -B/builds/gcc/gcc-3.1-devel/gcc/ -B/opt/gcc-3.1-devel/i686-pc-linux-gnu/bin/ -B/opt/gcc-3.1-devel/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-3.1-devel/i686-pc-linux-gnu/include -I.  -I/builds/gcc/gcc-3.1-devel/i686-pc-linux-gnu/libstdc++-v3/include -DHAVE_CONFIG_H -fno-exceptions     -o /builds/gcc/gcc-3.1-devel/i686-pc-linux-gnu/libstdc++-v3/src/gen-num-limits /cvs/gcc/libstdc++-v3/src/
cc1plus: warning: changing search order for system directory "/opt/gcc-3.1-devel/i686-pc-linux-gnu/include"
cc1plus: warning:   as it has already been specified as a system directory
In file included from /builds/gcc/gcc-3.1-devel/gcc/include/stdio.h:73,
                 from /cvs/gcc/libstdc++-v3/src/
/usr/include/libio.h:208: parse error before `*' token
/usr/include/libio.h:214: parse error before `*' token
/usr/include/libio.h:217: parse error before `*' token
gen-num-limits failed to build, exiting.
mknumeric_limits failed to execute properly: exiting
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/builds/gcc/gcc-3.1-devel'

/usr/include/libio.h contains:
     202 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
     203 /* The order of the elements in the following struct must match the ord
     203 er
     204    of the virtual functions in the libstdc++ codecvt class.  */
     205 struct _IO_codecvt
     206 {
     207   void (*__codecvt_destr) (struct _IO_codecvt *);
     208   enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *,
     209                                              __mbstate_t *,
     210                                              const wchar_t *,
     211                                              const wchar_t *,
     212                                              const wchar_t **, char *,
     213                                              char *, char **);
     214   enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *,
     215                                                  __mbstate_t *, char *,
     216                                                  char *, char **);
     217   enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *,
     218                                             __mbstate_t *,
     219                                             const char *, const char *,
     220                                             const char **, wchar_t *,
     221                                             wchar_t *, wchar_t **);

I have no idea what has changed and might be the cause of this.  Any

 Andreas Jaeger
  SuSE Labs

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