<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Run the testsuite"
href="https://bugs.llvm.org/show_bug.cgi?id=43327">43327</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Run the testsuite
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fkladdu@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22510" name="attach_22510" title="Bug found log.">attachment 22510</a> <a href="attachment.cgi?id=22510&action=edit" title="Bug found log.">[details]</a></span>
Bug found log.
1> I have build clang tool with those steps.
2> Got face an issue when i Run make check-clang
step1: git clone --recursive <a href="https://github.com/riscv/riscv-gnu-toolchain">https://github.com/riscv/riscv-gnu-toolchain</a>
step2: mkdir Exe-linux Build
cd ${PWD}/Build && ${PWD}/riscv-gnu-toolchain/configure
--prefix=$(INSTALL_DIR) --enable-multilib && make linux -j`nproc`>
make_linux.log
step3: cd $(PWD)/llvm-project && mkdir build && cd build && \
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" \
-DBUILD_SHARED_LIBS=True -DLLVM_USE_SPLIT_DWARF=True \
-DCMAKE_INSTALL_PREFIX="$(INSTALL_DIR)" \
-DLLVM_OPTIMIZED_TABLEGEN=True -DLLVM_BUILD_TESTS=False \
-DDEFAULT_SYSROOT="$(INSTALL_DIR)/sysroot" \
-DLLVM_DEFAULT_TARGET_TRIPLE="riscv64-unknown-linux-gnu" \
-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="RISCV"
\
../llvm && make -j`nproc` && make install && cd ../../
step4 : $ (PWD)/llvm-project/build/make
output: Got an Error as follows,
--------------------------------
fatal error: error in backend: RISC-V backend can't currently handle functions
that need stack realignment and have variable sized objects
clang-10: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
ce74c3b19f5b60d427977f21e506c26a3f40bd7f)
Target: riscv64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/khan/work-space/Tools/llvm/Baisc-llvm/Exe-linux/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/frame_layout-a383b8.cpp
clang-10: note: diagnostic msg: /tmp/frame_layout-a383b8.sh
clang-10: note: diagnostic msg:
********************
MultiSource/UnitTests/C++11/frame_layout/CMakeFiles/frame_layout.dir/build.make:86:
recipe for target
'MultiSource/UnitTests/C++11/frame_layout/CMakeFiles/frame_layout.dir/frame_layout.cpp.o'
failed
make[2]: ***
[MultiSource/UnitTests/C++11/frame_layout/CMakeFiles/frame_layout.dir/frame_layout.cpp.o]
Error 70
CMakeFiles/Makefile2:14860: recipe for target
'MultiSource/UnitTests/C++11/frame_layout/CMakeFiles/frame_layout.dir/all'
failed
make[1]: ***
[MultiSource/UnitTests/C++11/frame_layout/CMakeFiles/frame_layout.dir/all]
Error 2
Makefile:127: recipe for target 'all' failed
* Can anyone help me to sort this issue.
Thanks,
ghalib khan.</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>