[LLVMbugs] [Bug 23620] New: Absolute paths included within share/llvm/cmake/LLVMConfig.cmake crashing Compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 09:54:22 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23620

            Bug ID: 23620
           Summary: Absolute paths included within
                    share/llvm/cmake/LLVMConfig.cmake crashing Compilation
           Product: clang
           Version: 3.6
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lewis.mcgibbney at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When I attempt to use the clang binary for 3.6.0 on MacOSX 10.9.5 I have
experienced a major bug which relates to absolute paths (namely
/Users/sebastiandressler/llvm-3.6-testing/final/Phase3/Release/llvmCore-3.6.0-final.install/...)
being included within numerous files.

An example of this crashing the compiler is pasted below. I have easily fixed
this, but I am not sure if it is fixed in trunk. I'm also not either able to
locate a previous issue which has been logged for this.

Please advise if this has been fixed, if not then I will submit a patch against
trunk.

Thanks


lmcgibbn at LMC-032857 /usr/local/CastXML(master) $ cmake
-DLLVM_DIR=/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake
-DCLANG_RESOURCE_DIR=/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/lib/clang/3.6.0/
.

CMake Error at
/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake/LLVMConfig.cmake:52
(include):

  include could not find load file:

   
/Users/sebastiandressler/llvm-3.6-testing/final/Phase3/Release/llvmCore-3.6.0-final.install/share/llvm/cmake/LLVMExports.cmake

Call Stack (most recent call first):

  CMakeLists.txt:54 (find_package)

CMake Error at
/usr/local/clang+llvm-3.6.0-x86_64-apple-darwin/share/llvm/cmake/LLVMConfig.cmake:55
(include):

  include could not find load file:

   
/Users/sebastiandressler/llvm-3.6-testing/final/Phase3/Release/llvmCore-3.6.0-final.install/share/llvm/cmake/LLVM-Config.cmake

Call Stack (most recent call first):

  CMakeLists.txt:54 (find_package)

CMake Error at src/CMakeLists.txt:46 (llvm_map_components_to_libnames):

  Unknown CMake command "llvm_map_components_to_libnames".

-- Configuring incomplete, errors occurred!

See also "/usr/local/CastXML/CMakeFiles/CMakeOutput.log".

See also "/usr/local/CastXML/CMakeFiles/CMakeError.log”.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150521/bd180274/attachment.html>


More information about the llvm-bugs mailing list