macOS version detection broken in configure

Niels Möller nisse at
Thu Oct 21 07:04:26 UTC 2021

Carlo Cabrera <carlo.cabrera at> writes:

> The configure script mistakenly recognises macOS 11 (Big Sur) as an old version
> of macOS, thereby choosing the linker flags `-flat_namespace` and `-undefined suppress`.
> We want to avoid `-flat_namespace` as this can cause name collisions for users
> of the library. [1]
> This can be fixed by patching libtool.m4 [2] and regenerating configure.

When it is fixed upstream in libtool (what's the current status?), gmp
can upgrade to a fixed version. I don't think gmp will carry patched
versions of libtool files.

If there's something that needs fixing in gmp's, it's a
different matter.


Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list