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

Uwe L. Korn edited comment on ARROW-2193 at 2/22/18 8:54 AM:
-------------------------------------------------------------

The problem is possibly the different default flags that are passed from the 
compiler to the linker. GCC passes {{--as-needed}} by default whereas clang 
does not. Setting {{CXXFLAGS}} and so to {{-Wl,--as-needed}} should be the 
proper fix. We actually don't want to link statically to Boost (I will open a 
separate issue about the problems I had with this).


was (Author: xhochy):
The problem is possibly the different default flags that are passed from the 
compiler to the linker. GCC passes `--as-needed` by default whereas clang does 
not. Setting {{CXXFLAGS}} and so to {{-Wl,--as-needed}} should be the proper 
fix. We actually don't want to link statically to Boost (I will open a separate 
issue about the problems I had with this).

> [Plasma] plasma_store has runtime dependency on Boost shared libraries when 
> ARROW_BOOST_USE_SHARED=on
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-2193
>                 URL: https://issues.apache.org/jira/browse/ARROW-2193
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Plasma (C++)
>            Reporter: Antoine Pitrou
>            Priority: Major
>             Fix For: 0.9.0
>
>
> I'm not sure why, but when I run the pyarrow test suite (for example 
> {{py.test pyarrow/tests/test_plasma.py}}), plasma_store forks endlessly:
> {code:bash}
>  $ ps fuwww
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> [...]
> antoine  27869 12.0  0.4 863208 68976 pts/7    S    13:41   0:01 
> /home/antoine/miniconda3/envs/pyarrow/bin/python 
> /home/antoine/arrow/python/pyarrow/plasma_store -s /tmp/plasma_store40209423 
> -m 100000000
> antoine  27885 13.0  0.4 863076 68560 pts/7    S    13:41   0:01  \_ 
> /home/antoine/miniconda3/envs/pyarrow/bin/python 
> /home/antoine/arrow/python/pyarrow/plasma_store -s /tmp/plasma_store40209423 
> -m 100000000
> antoine  27901 12.1  0.4 863076 68320 pts/7    S    13:41   0:01      \_ 
> /home/antoine/miniconda3/envs/pyarrow/bin/python 
> /home/antoine/arrow/python/pyarrow/plasma_store -s /tmp/plasma_store40209423 
> -m 100000000
> antoine  27920 13.6  0.4 863208 68868 pts/7    S    13:41   0:01          \_ 
> /home/antoine/miniconda3/envs/pyarrow/bin/python 
> /home/antoine/arrow/python/pyarrow/plasma_store -s /tmp/plasma_store40209423 
> -m 100000000
> [etc.]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to