[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: |
Hermann Peifer |
Subject: |
Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches |
Date: |
Thu, 8 Feb 2018 21:50:11 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 08.02.18 21:10, Andrew J. Schorr wrote:
> I think you are compiling intdiv.c without HAVE_MPFR
> enabled...
>
Indeed. Silly me. This configure option solves the whole issue:
--with-mpfr=/opt/local. See below. Everything is fine now and ALL TESTS
PASSED.
BTW: gawk itself does not need this configure option, it finds the MPFR
libraries anyway.
Hermann
$ grep -i mpfr extension/config.log
$ ./configure --disable-option-checking --prefix=/usr/local
--with-mpfr=/opt/local LDFLAGS=-L/opt/local/lib --cache-file=/dev/null
--srcdir=.
configure:12855: checking whether mpfr via "-lmpfr -lgmp" is present and
usable
configure:12882: gcc -o conftest -g -O2 -Wall -I/opt/local/include
-L/opt/local/lib -L/opt/local/lib conftest.c -lmpfr -lgmp >&5
| #define HAVE_MPFR 1
| #define HAVE_MPFR 1
| #define HAVE_MPFR 1
LIBMPFR='-lmpfr -lgmp'
#define HAVE_MPFR 1
$
$
$ otool -L extension/.libs/intdiv.so
extension/.libs/intdiv.so:
/opt/local/lib/libmpfr.4.dylib (compatibility version 6.0.0, current
version 6.6.0)
/opt/local/lib/libgmp.10.dylib (compatibility version 14.0.0, current
version 14.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.0.0)
$
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, (continued)
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, arnold, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, arnold, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, arnold, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches,
Hermann Peifer <=
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/08
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/09
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Eric Pruitt, 2018/02/09
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/09
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Hermann Peifer, 2018/02/09
- Re: [bug-gawk] macOS: mpfrsqrt check fails on gawk-4.2-stable and master branches, Andrew J. Schorr, 2018/02/09