-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fails to build on Mac OSX #4
Comments
(replied by email yesterday but it didn't appear here in the tracker, so I'm duplicating it) reallocarray() is present on glibc >=2.26 and originated from OpenBSD. SOCK_CLOEXEC is a Linux and BSD extension that is a few years old as well. MSG_DONTWAIT is around since Linux 2.2 (from the 90s) and is also present in the BSDs. How old is the system that you're trying to build on, and what OS is it running? |
according to the issue he opened on my repo, he's using a mac, and it seems likely he won't respond anymore. |
Thanks, I'll close out the bug then. I would have expected Mac to more closely conform to the BSDs, but it's not a platform that I can easily test against, anyway. |
I didn't see it, yes it was on a OSX Mac is always updated but I'm not into build scripts, if there is something I can do to update the build pipeline let me know as I'm trying to get this working.. @rofl0r just seen the reply |
It's an issue of OSX lacking features that are present on other commonly-used platforms and isn't simply a build system fix. Most of these have been around for quite a number of years and I'm surprised OSX lacks support. For muonsocks, you'd need to:
The other missing syscall flags are used for various reasons, often to avoid syscall overheads.
I think it's probably better to use microsocks instead, as these changes would remove a lot of the optimizations that have been done in muonsocks. |
The text was updated successfully, but these errors were encountered: