Apple M1 compilation issue.

Karel Gardas karel at functional.vision
Mon May 16 17:11:44 UTC 2022


On 5/16/22 17:33, Andreas Enge wrote:
> Hello Karel,
> 
> Am Mon, May 16, 2022 at 04:33:42PM +0200 schrieb Karel Gardas:
>> Could you be so kind and in next release use latest available autotools to
>> generate configure script and associated files? This way, problematic
>> config.sub file is generated with the proper support for Apple M1 hardware
>> and everything should be working again.
> 
> actually this is already part of our release process. I just tried with
> the latest release of autoconf, 2.71, and got the following:
> 
>> --- mpc/build-aux/config.sub.orig       2022-05-11 09:20:51.000000000 +0200
>> +++ mpc/build-aux/config.sub    2022-05-11 09:23:47.000000000 +0200
>> @@ -916,6 +916,10 @@
>> +       arm64-*)
>> +               cpu=aarch64
>> +               vendor=`echo "$basic_machine" | sed 's/-.*//'`
>> +               ;;
> 
> timestamp='2021-08-14'
>          arm64-*)
>                  cpu=aarch64
>                  ;;
> 
> So there is no vendor part. Would that be enough for your purposes?

I think so, but I don't have hardware here to test anymore.

Thanks!
Karel
> PS: I wonder where this is downloaded from. The git repository of autoconf
>      itself has an older version of that file from 2021-01-08.
>      Ah, here: git clone https://git.savannah.gnu.org/git/config.git
>      shows a config.sub from 2022-01-03, which has the same arm64 line.

Indeed!



More information about the devel mailing list