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

Antoine Pitrou commented on ARROW-3857:
---------------------------------------

I think it's less {{-fPIC}} but the interposability requirement that produces 
suboptimal code.

(AFAIU, x86-64 was designed for performant position-indepent code, as it has 
RIP-relative addressing)

> [C++] Experiment non-interposable symbols on Linux
> --------------------------------------------------
>
>                 Key: ARROW-3857
>                 URL: https://issues.apache.org/jira/browse/ARROW-3857
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++
>    Affects Versions: 0.11.1
>            Reporter: Antoine Pitrou
>            Priority: Minor
>
> See performance issues with dynamic linking: 
> https://www.macieira.org/blog/2012/01/sorry-state-of-dynamic-libraries-on-linux/
> (for example, CPython is significantly faster when compiled as a single 
> executable rather than a shared library)
> We might want to try enabling the {{-Bsymbolic}} or {{-Bsymbolic-functions}} 
> linker flag. It might make performance slightly better.



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

Reply via email to