configure/config.sub should be updated to recognise arm64-apple

8 views
Skip to first unread message

dim...@gmail.com

unread,
Apr 4, 2025, 2:27:59 PM4/4/25
to fricas...@googlegroups.com
Hi,

trying to build fricas 1.3.11 on macOS arm64 machine,
(with up to date Conda tools:

clang version 18.1.8
Target: arm64-apple-darwin24.3.0

and sbcl 2.4.0)

in up to date conda installation, ends very quickly with

% ./configure
checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config/config.sub arm64-apple-darwin20.0.0 failed

Running more or less up to date autotools (autoconf 2.71, etc)

autoreconf -ivf

fixes ./configure, and the build goes smoothly, building working FriCAS
(good enough to pass all tests in SageMath).

Best,
Dima

PS. It's not the 1st time I request refreshing ./configure etc.
Your config.sub is over 10 years old accoring to the
timestamp='2014-09-11'.
Please use up to date autotools for releases. E.g. your config.sub
doesn't seem to know riscv, too.

signature.asc

Waldek Hebisch

unread,
Apr 4, 2025, 2:32:36 PM4/4/25
to fricas...@googlegroups.com
On Fri, Apr 04, 2025 at 01:27:34PM -0500, dim...@gmail.com wrote:
> Hi,
>
> trying to build fricas 1.3.11 on macOS arm64 machine,
> (with up to date Conda tools:
>
> clang version 18.1.8
> Target: arm64-apple-darwin24.3.0
>
> and sbcl 2.4.0)
>
> in up to date conda installation, ends very quickly with
>
> % ./configure
> checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
> configure: error: /bin/sh ./config/config.sub arm64-apple-darwin20.0.0 failed

This is fixed in the trunk.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages