<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 --- - libcompiler_rt.a No such file or directory"
   href="https://llvm.org/bugs/show_bug.cgi?id=23063">23063</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libcompiler_rt.a No such file or directory
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>alexandre.f.demers@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>As encountered by Behem0th and myself since a couple of weeks, I am unable to
build LLVM 32bit libs (see comments at
<a href="https://aur.archlinux.org/pkgbase/lib32-llvm-svn/">https://aur.archlinux.org/pkgbase/lib32-llvm-svn/</a>).

I tried to build LLVM outside of the Archilinux package by following the steps
<a href="http://llvm.org/docs/GettingStarted.html">http://llvm.org/docs/GettingStarted.html</a> and by using autotools. I simplified
the configuration line as follow:
../src/llvm/configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc
--with-binutils-include=/usr/include --with-python=/usr/bin/python2
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --enable-optimized

Archlinux's lib32 LLVM 3.6 builds fine. So something must have changed between
3.6 an 3.7 dev. Anything I can help with to narrow down what is going on?

Here is the error:
...
make[4]: Entering directory
'/home/ademers/projects/llvm-debug/build/tools/clang/runtime/compiler-rt'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ademers/projects/llvm-debug/build/tools/clang/runtime/libcxx'
make[5]: Entering directory
'/home/ademers/projects/llvm-debug/src/llvm/projects/compiler-rt'
make[5]: Nothing to be done for 'clang_linux'.
make[5]: Leaving directory
'/home/ademers/projects/llvm-debug/src/llvm/projects/compiler-rt'
llvm[4]: Copying runtime library linux/profile-i386 to build dir
cp: cannot stat
‘/home/ademers/projects/llvm-debug/build/tools/clang/runtime/compiler-rt/clang_linux/profile-i386/libcompiler_rt.a’:
No such file or directory
Makefile:236: recipe for target
'/home/ademers/projects/llvm-debug/build/Release+Asserts/lib/clang/3.7.0/lib/linux/libclang_rt.profile-i386.a'
failed
make[4]: ***
[/home/ademers/projects/llvm-debug/build/Release+Asserts/lib/clang/3.7.0/lib/linux/libclang_rt.profile-i386.a]
Error 1
rm
/home/ademers/projects/llvm-debug/build/Release+Asserts/lib/clang/3.7.0/lib/linux/.dir
make[4]: Leaving directory
'/home/ademers/projects/llvm-debug/build/tools/clang/runtime/compiler-rt'
/home/ademers/projects/llvm-debug/src/llvm/Makefile.rules:939: recipe for
target 'compiler-rt/.makeall' failed
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory
'/home/ademers/projects/llvm-debug/build/tools/clang/runtime'
/home/ademers/projects/llvm-debug/src/llvm/Makefile.rules:880: recipe for
target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory
'/home/ademers/projects/llvm-debug/build/tools/clang'
/home/ademers/projects/llvm-debug/src/llvm/Makefile.rules:939: recipe for
target 'clang/.makeall' failed
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory '/home/ademers/projects/llvm-debug/build/tools'
/home/ademers/projects/llvm-debug/src/llvm/Makefile.rules:880: recipe for
target 'all' failed
make: *** [all] Error 1</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>