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: internal compiler error: missing reader for "sync/atomic".LoadPointer #51857
changed the title [-]internal compiler error: missing reader for "sync/atomic".LoadPointer[/-][+]cmd/compile: internal compiler error: missing reader for "sync/atomic".LoadPointer[/+]on Mar 22, 2022
You have to use -gcflags=all=-d=unified to make all packages compiled with unified IR, or using GOEXPERIMENT=unified go build without any further compiler flags.
Activity
thesyncim commentedon Mar 22, 2022
cc @mdempsky
thesyncim commentedon Mar 22, 2022
works fine with
GOEXPERIMENT=unified[-]internal compiler error: missing reader for "sync/atomic".LoadPointer[/-][+]cmd/compile: internal compiler error: missing reader for "sync/atomic".LoadPointer[/+]cuonglm commentedon Mar 22, 2022
You have to use
-gcflags=all=-d=unifiedto make all packages compiled with unified IR, or usingGOEXPERIMENT=unified go buildwithout any further compiler flags.Closing since when this works as intended.