On 9/24/26 2:06 PM, Matt Turner wrote:
Alpha's <asm/unistd.h> defines __NR_getpid as __NR_getxpid before
including the header that defines __NR_getxpid.  -fdump-go-spec cannot
resolve the forward reference, so SYS_GETPID is missing and the
syscall tests fail to build:

   syscall_linux_test.go:631:66: error: reference to undefined identifier 
'syscall.SYS_GETPID'

Define it from SYS_GETXPID, as is done for SIGCLD.
Do these need to go to the upstream golang project?   I honestly don't know for sure -- at least parts of libgo come from upstream.

jeff

Reply via email to