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

Update the docs about OS X build dependency on Xcode package

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      Fresh kudu build on my mac (OS X version 10.11.5) fails to compile during thirdparty/build-if-necessary.sh:

      ] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o
      [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/ffsdi2.c.o
      [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/ffsti2.c.o
      Scanning dependencies of target clang_rt.eprintf
      [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/fixdfdi.c.o
      [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/eprintf.c.o
      clang: warning: no such sysroot directory: '-mmacosx-version-min=10.5'
      /Users/dinesh/Documents/kudu_exp/kudu/thirdparty/llvm-3.8.0.src/projects/compiler-rt/lib/builtins/eprintf.c:14:10: fatal error: 'stdio.h' file not found
      #include <stdio.h>
               ^
      1 error generated.
      [ 25%] make[2]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/eprintf.c.o] Error 1
      make[1]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs….
      

      After installing Xcode, the builds succeeded.

      In discussion with mpercy, we thought it would be better to explicitly update the docs about OS X dependency on Xcode along with the xcode cmdline utilities. Mike mentioned something about not being able to recollect any extra dependency other than xcode-select utilities. However, as mentioned above, I had to install Xcode as well for a successfull build on latest OS X.

      Attachments

        Activity

          People

            dineshabbi Dinesh Bhat
            dineshabbi Dinesh Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: