<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - Absolute paths included within share/llvm/cmake/LLVMConfig.cmake crashing Compilation" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23620&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=1nYwGaoyRC0ZjZ5OyPNc0Tv6L-P9CZUHddGuvuXEuOU&s=AS1coSE9JyO8s9Y5BmWzl5gRlXTeVi63n2W-DDcXAUk&e=">23620</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Absolute paths included within share/llvm/cmake/LLVMConfig.cmake crashing Compilation
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lewis.mcgibbney@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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”.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>