[MPFR] bug report (?)

Patrick Pelissier patrick.pelissier at gmail.com
Tue Apr 15 07:44:55 UTC 2014


By looking at the config.log of MPFR, the compilation error is:
error: 'BYTES_PER_MP_LIMB' undeclared

So MPFR is in fault (not GMP).
Its support of gmp-impl shall be updated.

--
 Regards,
  Patrick



On Tue, Apr 15, 2014 at 3:28 AM, Matthew Niemerg
<matthew.niemerg at gmail.com>wrote:

> As suggested, here are the config.log files for both GMP and MPFR (renamed
> appropriately).  As you can see, I did both the clang compiler and the
> gcc-4.7.3 compiler, with both yielding the same error message.
>
> Thanks,
> Matt
>
>
>
> On Mon, Apr 14, 2014 at 5:29 PM, Vincent Lefevre <vincent at vinc17.net>wrote:
>
>> On 2014-04-14 16:21:47 -0600, Matthew Niemerg wrote:
>> > I am submitting this to both gmp and mpfr, as I am not sure where the
>> > culprit of this bug really is.  I have downloaded the latest gmp
>> (6.0.0a --
>> > there wasn't a 6.0.0 option) and have successfully built it.  However,
>> when
>> > I attempted to compile mpfr with the latest gmp, doing both an internal
>> > build (--with-gmp-build) and gmp directory flags (--with-gmp-dir),
>> during
>> > the configure step, I received an error
>> >
>> > "
>> > configure: error: GMP_NUMB_BITS is incorrect.
>> > You probably need to change some of the GMP or MPFR compile options.
>> > "
>>
>> It could be an ABI related problem due to an incorrect installation.
>> You should provide the config.log of GMP and MPFR.
>>
>> > I am using no additional configure flags, apart from using the gcc-4.7.3
>> > compiler.
>>
>> If you use CC=gcc-4.7.3 in the configure line, this will disable the
>> automatic CFLAGS detection by MPFR, with known problems if you are on
>> a machine with a 32-bit ABI by default. Something like that.
>>
>> --
>> Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
>> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
>> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
>>
>
>


More information about the gmp-bugs mailing list