-
Notifications
You must be signed in to change notification settings - Fork 197
eventfd is not available on FreeBSD 12 #716
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
Comments
sunfishcode
added a commit
that referenced
this issue
Jul 2, 2023
`eventfd` was introduced in FreeBSD 13, so it isn't in FreeBSD 12. Use `weakcall` to call it on FreeBSD so that we don't have a link-time dependency on it. Fixes #716.
sunfishcode
added a commit
that referenced
this issue
Jul 2, 2023
`eventfd` was introduced in FreeBSD 13, so it isn't in FreeBSD 12. Use `weakcall` to call it on FreeBSD so that we don't have a link-time dependency on it. Fixes #716.
sunfishcode
added a commit
that referenced
this issue
Jul 2, 2023
* Use `weakcall` for `eventfd` on FreeBSD. `eventfd` was introduced in FreeBSD 13, so it isn't in FreeBSD 12. Use `weakcall` to call it on FreeBSD so that we don't have a link-time dependency on it. Fixes #716. * Re-introduce FreeBSD 12 in the Cirrus CI config. FreeBSD 12 was origally removed in #517 due to problems with `curl`, however those were fixed by removing the `pkg install -y curl` in #643, so we can now re-enable FreeBSD 12 testing. * Use `weakcall!` for `ptsname_r` on FreeBSD too. FreeBSD 12 lacks `ptsname_r`. * Relax a test to accept `NOSYS` from `eventfd` on FreeBSD. * Relax some `procctl` tests on FreeBSD too. * Fix the `openpty` tests for FreeBSD 12.
sunfishcode
added a commit
that referenced
this issue
Jul 2, 2023
* Use `weakcall` for `eventfd` on FreeBSD. `eventfd` was introduced in FreeBSD 13, so it isn't in FreeBSD 12. Use `weakcall` to call it on FreeBSD so that we don't have a link-time dependency on it. Fixes #716. * Re-introduce FreeBSD 12 in the Cirrus CI config. FreeBSD 12 was origally removed in #517 due to problems with `curl`, however those were fixed by removing the `pkg install -y curl` in #643, so we can now re-enable FreeBSD 12 testing. * Use `weakcall!` for `ptsname_r` on FreeBSD too. FreeBSD 12 lacks `ptsname_r`. * Relax a test to accept `NOSYS` from `eventfd` on FreeBSD. * Relax some `procctl` tests on FreeBSD too. * Fix the `openpty` tests for FreeBSD 12.
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 9, 2023
Update rustix The issue has been fixed. bytecodealliance/rustix#716
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this issue
Jul 10, 2023
Update rustix The issue has been fixed. bytecodealliance/rustix#716
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
20c13d4 added support for
eventfd
on FreeBSD. FreeBSD has eventfd in FreeBSD 13, but not in FreeBSD 12. FreeBSD 12 is still supported upstream and therefore rustc builds its distribution builds using FreeBSD 12, which fails because of the rustix change.rustix::backend::syscalls::eventfd
gets linked intolibrustc_driver.so
despite not being used (I'm not sure why, maybe something weird around dylibs?) and then it fails to link with the main binary because of the undefined symbol.See rust-lang/rust#113046 (comment)
The text was updated successfully, but these errors were encountered: