-
-
Notifications
You must be signed in to change notification settings - Fork 417
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 FreeBSD #1142
Comments
For the usize we should probably change not(macos) to linux? For the pktinfo types, do those exist on BSDs? Maybe add them in libc upstream? |
That's right, FreeBSD doesn't implement IP_PKTINFO. The closest thing it has, I think, is |
Keep in mind this is more than just "doesn't compile", and fixing the compilation won't fix the underlying problem. So you have to choose between binding to a specific listener, using IPv6 or not using server support. |
This is only a problem if the machine actually has multiple addresses on the same subnet, right? |
@Matthias247 @Ralith IP_RECVDSTADDR and IP_SENDSRCADDR might help. |
Those do sound relevant! I don't think we have any capacity to test on BSD ourselves, however, so in any case we need someone with a suitable environment to contribute. |
i can test,anytime unless sleep |
Nice! If you're interested in implementing this, we'd be happy to review a PR. |
Any updates? I can help to test too. |
There are no updates as far as I know -- someone still needs to make the required code changes. |
I'd be willing to put some work into this; we (the veloren project) use quinn and quinn-udp for our game |
Thanks for your interest! Feel free to reach out on gitter/matrix if you have any questions. Should be limited to mostly boring changes to quinn-udp/src/unix.rs. |
It doesn't build with rust 1.61 and the latest version (1.9.24) is affected by this bug: quinn-rs/quinn#1142 PR: 264292 Approved by: maintainer timeout
It doesn't build with rust 1.61 and the latest version (1.9.24) is affected by this bug: quinn-rs/quinn#1142 PR: 264292 Approved by: maintainer timeout
It doesn't build with rust 1.61 and the latest version (1.9.24) is affected by this bug: quinn-rs/quinn#1142 PR: 264292 Approved by: maintainer timeout (cherry picked from commit 5973697)
What fascinates me the most, the troubleigiving fragment of the code is guarded by |
That expands to |
Regressed by b681c65 (usize) and 1bc75aa (in_pktinfo)
The text was updated successfully, but these errors were encountered: