[ 
https://issues.apache.org/jira/browse/ARROW-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354339#comment-17354339
 ] 

Menno commented on ARROW-12885:
-------------------------------

The only thing I can find when I search online is that when compiler system 
headers are included many errors occure regarding the template with C linkage.

There is a possible problem with option -isystem on AIX.

In their case it was fixed avoiding the -system option by doing something like 
this:
{code:java}
  if ((CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CMAKE_SYSTEM_NAME STREQUAL "OS400") 
AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
    include_directories("${CMake_SOURCE_DIR}/includefile")
  else()
    include_directories(SYSTEM "${CMake_SOURCE_DIR}/includefile")
  endif()
{code}
Is there any location in arrow's source code where this might apply?

{{}}

 

 

 

> [C++] Error: template with C linkage template <class T>
> -------------------------------------------------------
>
>                 Key: ARROW-12885
>                 URL: https://issues.apache.org/jira/browse/ARROW-12885
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: IBM i | AS400 | power
>            Reporter: Menno
>            Priority: Major
>         Attachments: 2021-05-26 16_31_09-Window.png, thrift_ep-build-err.log
>
>
> When installing arrow on IBM i it fails the install at the thrift dependency 
> install with the following output:
> !2021-05-26 16_31_09-Window.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to