emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52330: closed (Different processor architecture on Apple M1 CPU)


From: GNU bug Tracking System
Subject: bug#52330: closed (Different processor architecture on Apple M1 CPU)
Date: Tue, 07 Dec 2021 22:02:01 +0000

Your message dated Tue, 7 Dec 2021 14:01:38 -0800
with message-id <119f0e35-e111-e40b-eb7f-0a7780dee0b8@cs.ucla.edu>
and subject line Re: bug#52330: Different processor architecture on Apple M1 CPU
has caused the debbugs.gnu.org bug report #52330,
regarding Different processor architecture on Apple M1 CPU
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52330: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52330
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Different processor architecture on Apple M1 CPU Date: Mon, 6 Dec 2021 15:53:10 +0100
I've identified an issue with GNU Coreutils uname utility. Specifically with the value it returns for the processor type/architecture(-p). When used on a MacOS with M1 arm64 processor the returned value is amr64, but the default uname utility on MacOS returns arm.

This issue has caused build issues with SQLite and SQLCipher packages when trying to build them on 4th generation Mac Mini inside of a Nix shell which uses GNU Coreutils. It wails with:

[nix-shell:~/repos/sqlite]$ ./configure
checking build system type... Invalid configuration `arm64-apple-darwin20.6.0': machine `arm64-apple' not recognized
configure: error: /nix/store/ppzr8yab3s3883skd0da5i4ylzpksk9l-bash-5.1-p8/bin/bash ./config.sub arm64-apple-darwin20.6.0 failed

I've tried to get to the bottom of this issue when trying to get our iOS builds to work on arm64:
https://github.com/status-im/status-react/issues/12799

And initially I thought this was specific to Nix, so I opened an issue for it:
https://github.com/NixOS/nixpkgs/issues/147914

But as suggested there the issue appears to be in GNU Coreutils.
I also tried fixing the build in SQLCipher by updating their `config.sub` and `config.guess` scripts, but the PR was rejected:
https://github.com/sqlcipher/sqlcipher/pull/414

I've also opened a thread on SQLite forum about this issue:
https://www.sqlite.org/forum/forumpost/f0875bea54

But not sure if they would want to update their `config.sub` and `config.guess` either.

Is this something that can be fixed in GNU Coreutils?

--- End Message ---
--- Begin Message --- Subject: Re: bug#52330: Different processor architecture on Apple M1 CPU Date: Tue, 7 Dec 2021 14:01:38 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0
Thanks for checking. I installed the patch and am closing the bug report.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]