John Troy created THRIFT-5818:
---------------------------------

             Summary: Go library doesn't support AIX
                 Key: THRIFT-5818
                 URL: https://issues.apache.org/jira/browse/THRIFT-5818
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
         Environment: {noformat}
-bash-5.2$ go version 
go version go1.23.1 aix/ppc64 {noformat}
            Reporter: John Troy


Building the Go library on AIX results in the following error:
{noformat}
-bash-5.2$ go build ./lib/go/thrift 
# github.com/apache/thrift/lib/go/thrift 
lib/go/thrift/socket_unix_conn.go:61:80: undefined: 
syscall.MSG_DONTWAIT{noformat}
Unlike most other POSIX platforms, AIX does not have a MSG_DONTWAIT. On AIX 
matching behavior can be achieved with the MSG_NONBLOCK flag instead. I will 
open a PR on github with a suggested patch.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to