Another GCC 2.95 problem
Jeffrey A Law
law@cygnus.com
Tue Aug 31 22:45:00 GMT 1999
In message < Pine.LNX.4.10.9908091032130.26468-100000@castle.srealm.net.au >you
write:
> This time its building GCC 2.95 on:
>
> FreeBSD relic.net 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Fri Jul 30 15:57:17 E
> DT 1999
> root@relic.net:/usr/src/sys/compile/CYCLONE i386
>
> I get the following errors. The configure line I used was:
> root@relic:~/gcc-2.95# ./configure --enable-shared --enable-threads \
> --enable-haifa --with-gnu-as --with-gnu-ld --enable-cpp \
> --enable-c-cpplib --enable-nls
>
> root@relic:~/gcc-2.95# make bootstrap
> make all-recursive
> Making all in intl
> Making all in lib
> Making all in makeinfo
> Bootstrapping the compiler
> make CC="gcc" libdir=/usr/local/lib LANGUAGES="c"
> make intl.all
> (cd intl && make all)
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/
> share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CO
> NFIG_H -I.. -I. -I../intl -I../lib -g localealias.c
> localealias.c: In function `read_alias_file':
> localealias.c:337: void value not ignored as it ought to be
> localealias.c:341: void value not ignored as it ought to be
This would most likely indicate a bug in your header files -- somehow the
compiler thinks that memcpy is supposed to return a void, which is incorrect.
I would start by compiling that module using the same options above and
adding "-save-temps". Then find where memcpy is declared. From that point
walk backwards until you find a cpp line directive which will tell you what
file the memcpy declaration came from.
jeff
More information about the Gcc-bugs
mailing list