Page MenuHomeFreeBSD

sysutils/cni-dnsname: Fix arm64 build
ClosedPublic

Authored by dch on Sep 17 2026, 9:45 PM.
Tags
None
Referenced Files
F176396158: D59776.id187001.diff
Sun, Oct 18, 1:28 PM
F176369377: D59776.id187868.diff
Sun, Oct 18, 7:30 AM
Unknown Object (File)
Sun, Oct 18, 6:51 AM
Unknown Object (File)
Sun, Oct 18, 6:49 AM
Unknown Object (File)
Fri, Oct 16, 8:00 PM
Unknown Object (File)
Fri, Oct 16, 7:47 PM
Unknown Object (File)
Sun, Oct 11, 1:06 AM
Unknown Object (File)
Sat, Oct 10, 3:49 AM
Subscribers

Details

Summary

golang.org/x/sys/unix fails to build on aarch64 because the pinned vendored
FpReg references an undefined uint128 type, at least on FreeBSD arm64:

vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

Fake it with an equivalent 16x byte array, which is what upstream now does:

https://github.com/golang/go/blob/master/src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go#L337-L342

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dch requested review of this revision.Sep 17 2026, 9:45 PM

Not sure if this needs a PORTREVISION bump, it should be arch independent (because of the path)

Regenerate patch without preceding text

If it didn't build before on arm64 and the patch does not affect !amd64 I imagine a bump is unnecessary

This revision is now accepted and ready to land.Sep 18 2026, 1:53 PM

rofl i love it.

ty for catching it!

This revision was automatically updated to reflect the committed changes.