This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Another GCC 2.95 problem
- To: "Preston A. Elder" <prez at goth dot net>
- Subject: Re: Another GCC 2.95 problem
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 08 Aug 1999 22:56:47 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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