<html>
    <head>
      <base href="http://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 --- - Building of compiler-rt fails in trunk"
   href="http://llvm.org/bugs/show_bug.cgi?id=19214">19214</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Building of compiler-rt fails in trunk
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nenad@intrepid.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>I tried to follow these instructions <a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> to
build llvm/clang/compiler-rt.  If I configure with 'configure' I get the
following error:

make[3]: Entering directory `[..]/bld-trunk/tools/clang/runtime'
/usr/bin/cp: cannot stat â€˜compiler-rt/Makefile’: No such file or directory
make[4]: Entering directory `[...]/bld-trunk/tools/clang/runtime/compiler-rt'
make[4]: *** No rule to make target `all'.  Stop.
make[4]: Leaving directory `[...]/bld-trunk/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2

If I try to cmake I get the following:

Linking C static library /clang/3.4/lib/linux/libclang_rt.x86_64.a
/usr/bin/ar: /clang/3.4/lib/linux/libclang_rt.x86_64.a: No such file or
directory
make[2]: *** [/clang/3.4/lib/linux/libclang_rt.x86_64.a] Error 1
make[1]: ***
[projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.x86_64.dir/all] Error 2

Withe verbose I see:

cd [...]/bld/projects/compiler-rt/lib/builtins && /usr/bin/cmake -E
cmake_link_script CMakeFiles/clang_rt.x86_64.dir/link.txt --verbose=yes
/usr/bin/ar cr /clang/3.4/lib/linux/libclang_rt.x86_64.a 
CMakeFiles/clang_rt.x86_64.[...]

Somehow it is missing the prefix for the path of the archive.

The same happens on 3.4.</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>