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

"__syscall" hlc.par.gc link failure on OpenBSD #124

Open
poldy opened this issue Jul 17, 2023 · 3 comments
Open

"__syscall" hlc.par.gc link failure on OpenBSD #124

poldy opened this issue Jul 17, 2023 · 3 comments

Comments

@poldy
Copy link
Contributor

poldy commented Jul 17, 2023

This function seems to have been removed between OpenBSD 7.2 & 7.3, around 6 months ago.

There is a POSIX equivalent, but because this code is in the boehm_gc submodule I can't really open a PR. I'll attach a traditional patch file here instead.

@poldy
Copy link
Contributor Author

poldy commented Jul 17, 2023

os_dep.c.patch

@wangp
Copy link
Member

wangp commented Jul 18, 2023

I guess this should be brought up upstream: https://github.com/ivmai/bdwgc

GC_OPENBSD_UTHREADS has been completely removed on the master (v8.3.x) branch:
ivmai/bdwgc#512

@poldy
Copy link
Contributor Author

poldy commented Jul 18, 2023

Thanks, that PR is very relevant--it's the proper fix. I think the next release of Mercury will just fix this automatically because it has been upgraded to use bdwgc 8.2.4, which was released after that PR was accepted into upstream bdwgc. So can just close this ticket, or leave it open in case someone else hits the problem so that at least they'll know the situation.

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

No branches or pull requests

2 participants