bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master


From: Andrew J. Schorr
Subject: Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches
Date: Thu, 8 Feb 2018 08:21:47 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 08, 2018 at 07:45:59AM +0100, Hermann Peifer wrote:
> So as far as I understand, see my other mail: the integrated intdiv0
> function (earlier known as intdiv) works fine, both on Linux and macOS.

OK. Good.

> Due to some magic, the current indiv extension operates on a higher
> precision than expected -- but only on Linux. Adding PREC=400 on macOS
> doesn't make any difference.

Actually, I think the PREC setting should apply only to floating-point
operations, but this is an integer calculation. So I don't think PREC
should matter.

> Hmm. We have a couple of unused older MacBooks here, collecting dust.
> You could pass by and fetch one ;-)

Ha.

Here's another crazy idea. Can you please patching extension/Makefile.am
as attached, and then rebuilding with "make clean && make && make check"
and see if that fixes the problem? I'm starting to think that it's a dynamic
linking issue and that somehow MacOS is using a separate copy of the mpfr and
gmp shared libraries for the extension that have not been initialized by the
main gawk program.

Thanks,
Andy

Attachment: extmake.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]