Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-765

Added build option to compile libraries with position independent code

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.7
    • 1.7.0, 1.6.8
    • C++
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              bgivertz Ben Givertz
              bgivertz Ben Givertz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: