-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
__error() not provided for x86_64-unknown-dragonfly #1627
Comments
AFAICT the |
As far as I can tell, even removing the conditional so that the feature is always enabled is not enough for this to build. I changed:
to
Maybe I'm missing something? |
Sorry about missing this, it slipped by me over the holidays. #1432 added The reason you're hitting this issue is my fault however, see rust-random/getrandom#124. This was fixed in rust-random/getrandom#129 , which was released with Regardless, I think this issue can be closed. |
Thanks for the info. Please hold this off a bit, we're about to release 5.8 which has __errno_location, and in that case we can fall into the linux case, see this: https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/games/veloren/dragonfly/patch-util_libc.rs |
We have now released 5.8 which contains __errno_location |
See this commit, its now provided from libc in both stable and head releases:
It coud be exported in |
Fixed by #1875. |
After commit 3fa021d, libc won't provide __error() for DragonFly. We've spotted this by trying to build rust-1.39, which includes a newer libc crate (0.2.62) that contains this change.
The error shows up when the build tries to make use of libc::__error():
Let me know if you need additional information and I'll provide it.
The text was updated successfully, but these errors were encountered: