[LLVMbugs] [Bug 19214] New: Building of compiler-rt fails in trunk
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 20 13:52:51 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19214
Bug ID: 19214
Summary: Building of compiler-rt fails in trunk
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: nenad at intrepid.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I tried to follow these instructions http://clang.llvm.org/get_started.html 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.
--
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/20140320/c50f91d4/attachment.html>
More information about the llvm-bugs
mailing list