x/sys/unix: mkerrors.sh broken on AIX #69365
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.23.1 aix/ppc64
Output of
go env
in your module/workspace:What did you do?
I ran
mkerrors.sh
in theunix
directory in order to regeneratezerrors_aix_ppc64.go
according to the README.What did you see happen?
The process crashed with a segfault:
What did you expect to see?
I expected
mkerrors.sh
to produce complete output on aix/ppc64 without crashing.Debugging further:
The program attempts to call strsignal() against SIGMAX64, which is not a real signal and is not a valid thing to do. Digging further, it seems the intent is to filter SIGMAX64 out with grep, but using a GNU syntax which doesn't behave the same way with AIX's grep. It looks like it may have broken in x/sys #137. The OS is AIX 7.3.
I've submitted a proposed fix in golang/sys#217
The text was updated successfully, but these errors were encountered: