[Possible bug in __gmpz_powm]

Gabriel Sturzu gabriel.sturzu at keysight.com
Thu Jan 30 09:40:51 UTC 2020


Hello again,

I tried to build 6.2.0 for powerpc750 and it gives the following
compiler error:

tmp-invert_limb.s: Assembler messages:
tmp-invert_limb.s:170: Internal error, aborting at /home/vlad/crosstool/build/powerpc-750-linux-gnu/gcc-4.2.4-glibc-2.3.3/binutils-2.16.1/gas/config/tc-ppc.c line 5769 in md_apply_fix3
Please report this bug.
Makefile:768: recipe for target 'invert_limb.lo' failed
make[2]: *** [invert_limb.lo] Error 1
make[2]: Leaving directory '/home/toni/Desktop/gmp-6.2.0/mpn'
Makefile:995: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/toni/Desktop/gmp-6.2.0'
Makefile:785: recipe for target 'all' failed
make: *** [all] Error 2

I used the same configure options as for 6.0.0 which compiles
without errors, ./configure --host=powerpc750-linux and
the same CC and CXX environment variables.
The output from configure is:
 Version:           GNU MP 6.2.0
  Host type:         powerpc750-unknown-linux-gnu
  ABI:               32
  Install prefix:    /usr/local
  Compiler:          /opt/cegl-4.0/powerpc-750-linux-gnu/gcc-4.2.4-glibc-2.3.3/bin/powerpc-750-linux-gnu-gcc -std=gnu99
  Static libraries:  yes
  Shared libraries:  yes

Also for 6.1.0 it gives the same compiler error.

                                 Best regards,
                                              Antonio


-----Original Message-----
From: tg at gmplib.org <tg at gmplib.org> 
Sent: Tuesday, January 28, 2020 9:15 PM
To: Gabriel Sturzu <gabriel.sturzu at keysight.com>
Cc: gmp-bugs at gmplib.org; Bogdan Cap-Bun <bogdan.cap-bun at keysight.com>
Subject: Re: [Possible bug in __gmpz_powm]

[EXTERNAL]

Gabriel Sturzu <gabriel.sturzu at keysight.com> writes:

    Version:           GNU MP 6.0.0

That is an obsolete GMP release.  Please try a current release, preferably 6.2.0.

--
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list