This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libiberty] Fix bootstrap failures (was Re: [libiberty patch]Disable sys_errlist in strerror.c)
- From: <tm_gccmail at mail dot kloo dot net>
- To: DJ Delorie <dj at redhat dot com>
- Cc: drow at mvista dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Oct 2003 13:41:40 -0700 (PDT)
- Subject: Re: [libiberty] Fix bootstrap failures (was Re: [libiberty patch]Disable sys_errlist in strerror.c)
On Thu, 2 Oct 2003, DJ Delorie wrote:
>
> > Is this OK?
> >
> > > 2003-10-02 Daniel Jacobowitz <drow@mvista.com>
> > >
> > > * strerror.c: Revert last change. Declare static sys_nerr
> > > and sys_errlist using different names.
>
> Did you test *this* one? ;-) If so, OK.
>
Well, I'm getting this in mainline now:
../../../gcc/libiberty/strerror.c: In function `errno_max':
../../../gcc/libiberty/strerror.c:601: error: `sys_nerr' undeclared (first
use in this function)
../../../gcc/libiberty/strerror.c:601: error: (Each undeclared identifier
is reported only once
../../../gcc/libiberty/strerror.c:601: error: for each function it appears
in.)
make[1]: *** [strerror.o] Error 1
make[1]: Leaving directory `/home/tm/gcc-build-sh-elf/sh-elf/libiberty'
make: *** [all-target-libiberty] Error 2
[tm@localhost gcc-build-sh-elf]$
Toshi