[C++] Error: template with C linkage template <class T>
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
When installing arrow on IBM i it fails the install at the thrift dependency install with the following output:

**Environment**: IBM i | AS400 | AIX
**Reporter**: [Menno](https://issues.apache.org/jira/browse/ARROW-12885) / @mennosiek
#### Original Issue Attachments:
- [2021-05-26 16_31_09-Window.png](https://issues.apache.org/jira/secure/attachment/13025984/2021-05-26+16_31_09-Window.png)
- [thrift_ep-build-err.log](https://issues.apache.org/jira/secure/attachment/13026181/thrift_ep-build-err.log)
**Note**: *This issue was originally created as [ARROW-12885](https://issues.apache.org/jira/browse/ARROW-12885). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Research direction
Start by reviewing the attached thrift_ep-build-err.log and the reported installation failure for IBM i, AS400, and AIX. Reproduce the Arrow installation in an affected environment and verify that the Thrift dependency installs successfully without the reported C linkage template error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100