You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Eduardo Ponce (Jira)" <ji...@apache.org> on 2021/09/05 02:52:00 UTC

[jira] [Commented] (ARROW-13592) How to use "-D_GLIBCXX_USE_CXX11_ABI=0" correctly in arrow

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

Eduardo Ponce commented on ARROW-13592:
---------------------------------------

Quick questions that come to mind:
* Have you tried compiling the other library with "-D_GLIBCXX_USE_CXX11_ABI=1"?
* Have you tried linking Arrow with "-D_GLIBCXX_USE_CXX11_ABI=1" and the other library with "-D_GLIBCXX_USE_CXX11_ABI=0"? The reason I ask this is because C++ ABI incompatibilities do not necessarily create linking errors for all the standard headers used.

> How to use "-D_GLIBCXX_USE_CXX11_ABI=0" correctly in arrow
> ----------------------------------------------------------
>
>                 Key: ARROW-13592
>                 URL: https://issues.apache.org/jira/browse/ARROW-13592
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 5.0.0
>            Reporter: wangdapeng
>            Priority: Blocker
>
> One of the key libraries in my project uses "-D_GLIBCXX_USE_CXX11_ABI=0", and there is no version "-D_GLIBCXX_USE_CXX11_ABI=1",so I had to compile arrow with "-D_GLIBCXX_USE_CXX11_ABI=0".
> env: GCC 7.5 cmake 3.16
> Arrow was compiled with -D_GLIBCXX_USE_CXX11_ABI=0, the link error : file was not recognized, and the file was truncated  
> commands:
> cmake .. -DARROW_DATASET=ON -DARROW_FILESYSTEM=ON -DARROW_PARQUET=ON -DARROW_WITH_SNAPPY=ON -DARROW_WITH_ZLIB=ON -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
>  make arrow
>  make parquet



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