[LLVMbugs] [Bug 23063] New: libcompiler_rt.a No such file or directory

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 29 11:05:32 PDT 2015


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

            Bug ID: 23063
           Summary: libcompiler_rt.a No such file or directory
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: alexandre.f.demers at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

As encountered by Behem0th and myself since a couple of weeks, I am unable to
build LLVM 32bit libs (see comments at
https://aur.archlinux.org/pkgbase/lib32-llvm-svn/).

I tried to build LLVM outside of the Archilinux package by following the steps
http://llvm.org/docs/GettingStarted.html 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

-- 
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/20150329/0c5d2a41/attachment.html>


More information about the llvm-bugs mailing list