You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: linker panic "R_USEIFACE ... references type:.eqfunc... which is not a type or itab" with reflect.TypeFor[T]().Comparable() [1.26 backport] #82245
@junioryono requested issue #81990 to be considered for backport to the next 1.26 minor release.
@gopherbot please consider this for backport to 1.26 and 1.27, it's a regression.
The program in this issue builds and runs with Go 1.24.0 and 1.25.0, but the linker panics with Go 1.26.0 and 1.27.0 (and with 1.26.8 and 1.27.1, as reported above), so a valid program stops building after upgrading. It also happens in test binaries. The workarounds are code changes (avoiding reflect.TypeForT.Comparable() on such types) or disabling inlining with -gcflags=-l. The fix (CL 844585) cherry-picks onto both release branches with one trivial conflict, since rewriteFixedLoad lives in ssa/rewrite.go there.
Activity