bdwgc
bdwgc copied to clipboard
Recognize and support OpenBSD/arm64
Alternatively, it looks like you could just cherry-pick this patch from upstream:
https://github.com/ivmai/bdwgc/commit/c94e4d9793b5c04c939ef1585ad93ef46b9a498c
Hello @bluerise wondering if you hit any issues related to this in Unity? I'm wondering about the motivation for the PR to our fork? Thanks!
Hi @joncham!
My initial motivation was to make Mono ( https://www.mono-project.com ) work on an arm64-based OpenBSD machine.
Mono uses Unity's fork of bdwgc instead of the Upstream version: https://github.com/mono/mono/commit/cc137237d86b0553e844dc34c9a3cbc5b20782c0
So, to make Mono work and compile on arm64, so I can play OpenRA, I would like to have this patch in Unity's fork of bdwgc, so that I can then tell the Mono project to update the git reference/submodule to include a newer version of Unity's fork.
Basically, it only is related to Unity in that Mono, which is unrelated to you I guess, depends on your fork. :)
The patchset adds support that bdwgc compiles and works on OpenBSD/arm64. Sorry that I haven't stated that in the initial Pull Request. At that time I thought this project was part of Mono, so I had the information combined here: https://github.com/mono/mono/pull/21015
The patchset doesn't change anything else, and hence does not cause regressions elsewhere, it just adds a new platform.
As per my comment before, apparently the Upstream version already received (about the same) change already, so the easiest way might be to just cherry-pick that change from them.
While this does not provide much improvement for Unity's projects, I'd be really happy to have this in so that Mono can gain official support for OpenBSD/arm64.
Thanks, Patrick