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

[jira] [Commented] (ARROW-11740) [C++] posix_memalign not declared in scope on Solaris

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

Neal Richardson commented on ARROW-11740:
-----------------------------------------

The call to posix_memalign is already inside an ifdef to enable special win32 handling, so maybe we need similar here (or can just throw Solaris in the win32 case?) https://github.com/apache/arrow/blob/master/cpp/src/arrow/memory_pool.cc#L178-L195

> [C++] posix_memalign not declared in scope on Solaris
> -----------------------------------------------------
>
>                 Key: ARROW-11740
>                 URL: https://issues.apache.org/jira/browse/ARROW-11740
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: C++
>            Reporter: Neal Richardson
>            Priority: Major
>
> {code}
> [ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/memory_pool.cc.o
> /export/home/X4HzInm/Rtemp/Rtmp1Zx7Xc/file1f6372fd66ce/cpp/src/arrow/memory_pool.cc:In static member function static arrow::Status arrow::{anonymous}::SystemAllocator::AllocateAligned(int64_t, uint8_t**):
> /export/home/X4HzInm/Rtemp/Rtmp1Zx7Xc/file1f6372fd66ce/cpp/src/arrow/memory_pool.cc:187:64:error: posix_memalignwas not declared in this scope
>                                        static_cast<size_t>(size));
> {code}



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