This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libiberty patch] Disable sys_errlist in strerror.c
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gcc-patches at gcc dot gnu dot org,dj at redhat dot com
- Date: Thu, 2 Oct 2003 06:12:06 +0200
- Subject: Re: [libiberty patch] Disable sys_errlist in strerror.c
- References: <20031001220258.GA3751@nevyn.them.org>
> 2003-10-01 Daniel Jacobowitz <drow@mvista.com>
>
> * strerror.c: Don't provide or reference sys_errlist if
> strerror is available.
Broke bootstrap on SPARC/Solaris with the Sun compiler:
cc -c -DHAVE_CONFIG_H -g -I. -I../src/libiberty/../include
../src/libiberty/strerror.c -o strerror.o
"../src/libiberty/strerror.c", line 601: undefined symbol: sys_nerr
cc: acomp failed for ../src/libiberty/strerror.c
gmake[1]: *** [strerror.o] Error 2
--
Eric Botcazou