This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: [hppa-linux] HEAD broken?


On Sun, Sep 21, 2003 at 10:22:32PM -0400, Carlos O'Donell wrote:
> gcc,
> 
> CVS HEAD:
> 
> Using binutils 2.14.90 20030920
> 
> --host=hppa-linux 
> --prefix=/mnt/flaire/hppa-toolchain/install
> --target=hppa-linux 
> --build=hppa-linux
> --with-gnu-ld=/mnt/flaire/hppa-toolchain/install/bin/ld
> --with-gnu-as=/mnt/flaire/hppa-toolchain/install/bin/as
> --enable-languages=c

More information.  Output of configure in libiberty?  Suspicious things
in config.log?

> ---
> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-cvs/libiberty/../include
> -W -Wall -Wtraditional -pedantic ../../gcc-cvs/libiberty/strerror.c 
> -o strerror.o
> ../../gcc-cvs/libiberty/strerror.c:465: 
> 	warning: static declaration for `sys_nerr' follows non-static
> ../../gcc-cvs/libiberty/strerror.c:466: 
> 	error: conflicting types for `sys_errlist' /usr/include/bits/sys_errlist.h:28: 
> 	error: previous declaration of `sys_errlist'
> make[2]: *** [strerror.o] Error 1
> make[2]: Leaving directory `/mnt/flaire/hppa-toolchain/src/gcc-build32/libiberty'
> make[1]: *** [all-libiberty] Error 2
> make[1]: Leaving directory `/mnt/flaire/hppa-toolchain/src/gcc-build32'
> ---
> 
> gcc-cvs/libiberty/strerror.c
>     463 #ifndef HAVE_SYS_ERRLIST
>     464 
>     465 static int sys_nerr;
>     466 static const char **sys_errlist;
>     467 
>     468 #else
> 
> /usr/include/bits/sys_errlist.h
>      26 #ifdef  __USE_BSD
>      27 extern int sys_nerr;
>      28 extern __const char *__const sys_errlist[];
>      29 #endif
> 
> c.
> 
> 
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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