Nimble won't compile on Arm Linux
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- operating-systems, testing
Research direction
Reproduce the reported failure by running swift test for Nimble in an Arm Linux or Apple Silicon Docker environment, using issue #980 for context. Inspect the throwAssertion matcher and its platform compilation conditions, then verify that the project builds and tests successfully on Arm Linux without relying on the proposed workaround.
Written by the indexing model from the issue text.
Description
For all... probably 0 people running Nimble on a raspberry pi..
For those running swift in a docker container on an apple silicon mac.
Discovered while doing #980, basically, if you try to run swift test on an Arm box, you get a bunch of build errors like the following:
Googling around, it seems like this is just a register or something that isn't in the arm version of GLIBC?
We can definitely avoid this by wrapping our throwAssertion matcher around an #if canImport(Darwin) || arch(x86_64) compilation block. But, I'd love an actual fix for this if we can do that.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 609
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Quick/Nimble
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
skiptools/skip-fuse-ui#147 ·
-
area:collectors P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
catehstn/social-brain-app#183 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100