Skip to content
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

Nimble won't compile on Arm Linux #981

Open
younata opened this issue Apr 19, 2022 · 2 comments
Open

Nimble won't compile on Arm Linux #981

younata opened this issue Apr 19, 2022 · 2 comments
Labels

Comments

@younata
Copy link
Member

younata commented Apr 19, 2022

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:

Screen Shot 2022-04-18 at 6 03 44 PM

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.

@younata younata added the bug label Apr 19, 2022
@younata younata added this to the v11.0.0 milestone Apr 19, 2022
@younata younata modified the milestones: v11.0.0, v12.0.0 Oct 31, 2022
@younata
Copy link
Member Author

younata commented Oct 31, 2022

Bumping this to the next (major?) release in favor of getting async/await support out the door sooner.

@younata younata removed this from the v12.0.0 milestone Apr 4, 2023
@sliemeobn
Copy link

sliemeobn commented Jul 31, 2023

For all... probably 0 people running Nimble on a raspberry pi.

just FYI, the same issues occur when building on an Apple Silicon mac.
so, anyone doing server-side swift who wants to run their tests in a linux container (eg: vscode dev container) cannot use Nimble ATM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants