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
The PR_SET_PTRACER_ANY system error number is missing from the // +build arm,linux version of zerror_${GOOS}_${GOARCH}.go, but is available for all other linux builds. This results in the compilation of code like https://github.com/backtrace-labs/go-bcd/blob/master/bcd_sys_linux.go to fail on 32-bit arm architectures.
I haven't been able to find any reason why this flag would be missing, so I'm curious if the correct approach would be to add something like:
The text was updated successfully, but these errors were encountered:
quentinmit
changed the title
sys/unix: PR_SET_PTRACER_ANY missing for linux_arm conditional compilation
x/sys/unix: PR_SET_PTRACER_ANY missing for linux_arm conditional compilation
Aug 26, 2016
The
PR_SET_PTRACER_ANY
system error number is missing from the// +build arm,linux
version ofzerror_${GOOS}_${GOARCH}.go
, but is available for all other linux builds. This results in the compilation of code like https://github.com/backtrace-labs/go-bcd/blob/master/bcd_sys_linux.go to fail on 32-bit arm architectures.I haven't been able to find any reason why this flag would be missing, so I'm curious if the correct approach would be to add something like:
directly after the other default error codes in the
mkerrors.sh
generation script.The text was updated successfully, but these errors were encountered: