problem with gcc-3.4.0

Torbjorn Granlund tg at swox.com
Thu Apr 22 19:45:16 CEST 2004


<keith.briggs at bt.com> writes:

  I just upgraded my redhat linux 8 system to gcc-3.4.0, and now I cannot build gmp-4.1.2.
  Can anybody suggest what I can try to fix this?
  Thank you,
  Keith
  
  install at sodium:~/gmp-4.1.2/mpz> /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -g -O2 -fomit-frame-pointer -mcpu=pentium4 -march=pentium4 -c aorsmul.c
  `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
  
  aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
  aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here
  aorsmul.c:44: error: conflicting types for '__gmpz_aorsmul'
  aorsmul.c:39: error: previous declaration of '__gmpz_aorsmul' was here 
  
I think this is a bug in the gcc 3.4 parser that causes it to
reject regparm attributes.  I have tried to figure out some
alternative syntax that gcc 3.4 could accept, but found nil.

-- 
Torbjörn


More information about the gmp-bugs mailing list