[
https://issues.apache.org/jira/browse/THRIFT-5818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuxuan Wang updated THRIFT-5818:
--------------------------------
Affects Version/s: 0.21.0
> Add AIX support
> ---------------
>
> Key: THRIFT-5818
> URL: https://issues.apache.org/jira/browse/THRIFT-5818
> Project: Thrift
> Issue Type: Bug
> Components: Go - Library
> Affects Versions: 0.21.0
> Environment: {noformat}
> -bash-5.2$ go version
> go version go1.23.1 aix/ppc64 {noformat}
> Reporter: John Troy
> Assignee: John Troy
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)