Re: make check errors on recent MacOS versions appear to be due to new default linker in XCode

2024-10-02 Thread Hans Åberg
> On 2 Oct 2024, at 20:14, Marc Glisse wrote: > > On Wed, 2 Oct 2024, Mark Mentovai wrote: > >> https://git.savannah.gnu.org/cgit/libtool.git/commit/m4/libtool.m4?id=9e8c882517082fe5755f2524d23efb02f1522490, >> in libtool-2.4.7, modernizes this check in libtool, and with that in use, >> does n

Re: make check errors on recent MacOS versions appear to be due to new default linker in XCode

2024-10-02 Thread Marc Glisse
On Wed, 2 Oct 2024, Mark Mentovai wrote: https://git.savannah.gnu.org/cgit/libtool.git/commit/m4/libtool.m4?id=9e8c882517082fe5755f2524d23efb02f1522490, in libtool-2.4.7, modernizes this check in libtool, and with that in use, does not enable -flat_namespace in this situation. Upgrading libtool

Re: make check errors on recent MacOS versions appear to be due to new default linker in XCode

2024-10-02 Thread Mark Mentovai
If you read nothing else, read this: gmp-6.3.0 ships libtool-2.4.6 (2015-02-16). Update to libtool-2.4.7 (2022-03-17) to solve this problem. Details: There does appear to be a bug in Apple’s new linker (ld-new or ld-prime) when targeting x86_64, producing a Mach-O dynamic library (clang -dynamic