Skip to content

Conversation

@bregma
Copy link
Member

@bregma bregma commented Apr 22, 2024

Modern GC and clang were barfing on the inline asm constraints for the aarch64-linux setcontext() replacement. Reformulated the asm code to reduce the required constraints.

Fixed #702

Modern GC and clang were barfing on the inline asm constraints for the
aarch64-linux setcontext() replacement. Reformulated the asm code to
reduce the required constraints.
@ararslan
Copy link
Contributor

Hi @bregma, is there anything preventing this PR from moving forward? I confirmed that this change (applied to v1.8.1) fixes the build in my case.

Somewhat as an aside, it seems Xamarin has their own fix for this. I'd be curious to know how their approach differs from yours as implemented in this PR, if at all.

Thanks for working on this!

@bregma
Copy link
Member Author

bregma commented Jun 11, 2024

I think the only blocker for this is an attention deficit on my part. I'll merge to main and start on a backport for #742

@bregma bregma merged commit 55448f6 into master Jun 11, 2024
@bregma bregma deleted the gh-702/master branch June 12, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aarch64: error: inline assembly requires more registers than available

3 participants