Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 3.0.0-alpha1
    • native
    • None

    Description

      On switching from CMake 2.8.6 to 3.3.2 a couple of minor issues popped up:

      • There's a syntax error in hadoop-common-project/hadoop-common/src/CMakeLists.txt that generates a warning in 3.X
      • CMAKE_SHARED_LINKER_FLAGS is being incorrectly set in hadoop-common-project/hadoop-common/HadoopCommon.cmake - despite the name it contains the flags passed to ar not to the linker. 2.8.6 ignores the incorrect flags, 3.3.2 doesn't and building static libraries fails as a result. See http://public.kitware.com/pipermail/cmake/2016-January/062447.html

      Patch to follow.

      Attachments

        1. HADOOP-12727.001.patch
          2 kB
          Alan Burlison

        Activity

          People

            alanburlison Alan Burlison
            alanburlison Alan Burlison
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: