-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build on M1 Mac Mini #413
Comments
I've narrowed down the issue to
Which causes |
I've tested the current
Because it includes this fix: https://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=2593751ef |
This fixes build issues on new 5th generation Macs with `arm64` M1 CPUs. Specifically it changes to detected system from `arm64-apple-darwin*` or `arm64-apple-darwin*` to correct `aarch64-apple-darwin*`. Resolves: sqlcipher#413 Signed-off-by: Jakub Sokołowski <jakub@status.im>
I've updated My stab at trying to solve this issue. |
Closing related ticket per #414, ticket open with Nix team to resolve in shell. |
Update: This issue appears to be related to GNU Coreutils and its
And it's not Nix specific. So the options are either fix GNU Coreutils (will take ages) or update |
Description
Currently building of this library fails if architecture is detected as
arm64
, but works forarm
. This appears to be due to this line:sqlcipher/config.sub
Line 1170 in f7e9e90
As far as I can tell just adding
arm64
to this list in one form or another makes it work and build.Expected Behavior
Actual Behavior
Steps to Reproduce
Hardware: Mac Mini G5E (M1)
Software: Darwin 20.6.0
SQLCipher version:
3.4.2
and4.5.0
The text was updated successfully, but these errors were encountered: