Skip to content

noq-udp: receive with recvmsg on Fuchsia, as quinn-udp does #927

Backlog

Description

@bayanasar

Fuchsia doesn't implement recvmmsg; it fails with ENOSYS, so on Fuchsia every receive through noq-udp fails and QUIC never hears back. quinn-udp fixed the same code in quinn-rs/quinn#2997 by adding Fuchsia to the platforms that receive with recvmsg, as NetBSD and DragonFly already do. noq-udp still has the old gate.

We run noq-udp 1.5.0 with that change on a Khadas VIM3 running Fuchsia, and iroh connections work over it. Would you take the same change as a PR?

Building noq-udp for Fuchsia also needs in_pktinfo and the pktinfo socket options, which libc doesn't define for Fuchsia yet; we patch libc for that.

🤖 Generated with Claude Code

Activity

  1. moved this to 🚑 Needs Triage in irohon Dec 4, 2026
  2. flub commented on Dec 4, 2026

    @flub
    Member

    hey, yes that fix would be welcome.

    How realistic is it to run at least a subset of the tests on a VM in CI? If you rely on noq to work on fuchsia, we need a way to make sure we don't regress on this.

  3. added
    ready-for-pr
    on Dec 4, 2026
  4. moved this from 🚑 Needs Triage to 👍 Ready in irohon Dec 4, 2026
  5. added theissue type on Dec 4, 2026
  6. bayanasar commented on Dec 4, 2026

    @bayanasar
    Author

    Thanks! It's realistic: #932 adds a daily job that runs noq-udp's tests on the Fuchsia x64 emulator, and it passes on GitHub's runners.

    It does less than this issue asked, though. The recvmsg change alone doesn't build with libc as released, and libc's Fuchsia cmsghdr doesn't match Fuchsia's, so the full backend would misread control messages. So the PR puts Fuchsia on posix_minimal instead, which needs nothing from libc, at the cost of ECN and MTU discovery there.

    Drafted with Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-pr

    Type

    Projects

    • Status
      👍 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions