Macbook M1 Support

Open
#676 10 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
c

Research direction

Start by reproducing the segmentation fault after building HashLink from the repository and running the hl command on an Apple M1 arm64 system. Investigate what prevents direct arm64 execution rather than relying on Rosetta; done means hl runs successfully natively on arm64.

Written by the indexing model from the issue text.

Description

After cloning and building hashlink from repo, running hl command gives me segmentation fault.
Searching around the internet suggests that hashlink does not support arm64.
Tried to build using Rosetta, however, it seems a bit more complicated since it requires a variant of homebrew that is installed with x86_64 as well, while I have other projects which requires homebrew arm64.

Will there be a direct support for running hashlink on arm64 in the foreseeable future?

Dominant language
C
Stars
911
Forks
207
Avg merge
1d 21h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HaxeFoundation/hashlink

All issues in HaxeFoundation/hashlink

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.