Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1870

Kudu thirdparty boost build doesn't respect external compilation options

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: build
    • Labels:
    • Target Version/s:

      Description

      Impala's toolchain builds Kudu using its toolchain compiler and libraries. The compiler and options are set in the standard environment variables CC, CXX, etc., but the boost build results in the system compiler being used. However, the CFLAGS/CXXFLAGS do get picked up, so the combination is not guaranteed to be supported, and Impala toolchain builds do end up failing.

      I believe the project-config.jam needs to be set for boost to pick up the right compiler. It is only being set for *san builds currently (to use clang).

        Attachments

          Activity

            People

            • Assignee:
              mjacobs Matthew Jacobs
              Reporter:
              mjacobs Matthew Jacobs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: