And one more --

The build fails in the same way when I remove --enable-fat but use
export CFLAGS="-arch x86_64 -mmacosx-version-min=10.9 -mno-avx -mno-avx2
-mno-bmi2"

I am concluding that Apple has silently dropped support for old Intel CPUs
which are supported by OSX 10.9.

- Marc

On Wed, Sep 20, 2023 at 12:01 PM Marc Culler <marc.cul...@gmail.com> wrote:

> One more data point -- I do get a successful build if I omit the
> --enable-fat option.  That means no CFLAGS and configuring with:
>
> $ ./configure --with-pic --prefix=XXXXXX
>
> In this case the compiler options include:
> -mtune=skylake -march=broadwell
>
> - Marc
>
> On Wed, Sep 20, 2023 at 11:49 AM Marc Culler <marc.cul...@gmail.com>
> wrote:
>
>> With no CFLAGS and using
>>
>> $ ./configure --with-pic --enable-fat --prefix=XXXXX
>>
>> I get almost the same error (the difference being the distance of the
>> branch), namely:
>>
>> ld: branch8 out of range 378633 in ___gmpn_add_nc_x86_64
>>
>> - Marc
>>
>> On Wed, Sep 20, 2023 at 11:25 AM Hans Åberg <haber...@telia.com> wrote:
>>
>>>
>>>
>>> > On 20 Sep 2023, at 16:36, Marc Culler <marc.cul...@gmail.com> wrote:
>>> >
>>> > …macOS Sonoma beta…
>>> …
>>> > …using: "Apple clang version 15.0.0
>>> > (clang-1500.0.40.1)"
>>>
>>> The same compiler version is now available on MacOS 13, together with
>>> Xcode 15.
>>>
>>>
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to