You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2021/03/23 19:44:00 UTC

[jira] [Resolved] (ORC-765) Added build option to compile libraries with position independent code

     [ https://issues.apache.org/jira/browse/ORC-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved ORC-765.
-------------------------------
    Fix Version/s: 1.6.8
                   1.7.0
       Resolution: Fixed

I just committed this. Thanks, Ben!

> Added build option to compile libraries with position independent code
> ----------------------------------------------------------------------
>
>                 Key: ORC-765
>                 URL: https://issues.apache.org/jira/browse/ORC-765
>             Project: ORC
>          Issue Type: New Feature
>          Components: C++
>    Affects Versions: 1.6.7
>            Reporter: Ben Givertz
>            Assignee: Ben Givertz
>            Priority: Major
>             Fix For: 1.7.0, 1.6.8
>
>
> When building the ORC c++ library, it will compile itself and its third party dependencies as static libraries. However, on linux, it is not possible to link these libraries to a shared object unless they are compiled with position independent code.
> I have added a BUILD_POSITION_INDEPENDENT_LIB option to the CMake file which is turned OFF by default. However, if a user needs to compile the static libraries with PIC, they are able to specify so by turning the option ON. This will effect liborc and all of its external dependencies. 



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