<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 - "LLVM ERROR: MD_associated operand is not ValueAsMetadata" while building compiler-rt tests with lto and lld"
href="https://bugs.llvm.org/show_bug.cgi?id=32577">32577</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"LLVM ERROR: MD_associated operand is not ValueAsMetadata" while building compiler-rt tests with lto and lld
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matthias.krueger@famsik.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>llvm @ R299811
ldd @ R299812
compiler-rt @ R299804
since a few days llvm fails to compile check-all here, it looks like the actual
error happens when building the the compiler-rt checks.
For building I use lto O3, and lld as linker and stage-1 clang (clang-dev
compiler by clang 4.0 release). (build script:
<a href="https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh">https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh</a> )
[ 0%/7/1/961,84.828] cd
/home/matthias/LLVM/LLVM_dev/stage_2/build/projects/compiler-rt/lib/asan/tests
&&
/home/matthias/LLVM/LLVM_dev/stage_2/bu...s/LLVM/LLVM_dev/stage_1/build/bin/ld.lld
-Wl,-color-diagnostics -flto=full -Wl,-allow-shlib-undefined -g
--driver-mode=g++ -fsanitize=address -m32
FAILED:
projects/compiler-rt/lib/asan/tests/CMakeFiles/Asan-i386-with-calls-Test
cd
/home/matthias/LLVM/LLVM_dev/stage_2/build/projects/compiler-rt/lib/asan/tests
&& /home/matthias/LLVM/LLVM_dev/stage_2/build/./bin/clang
ASAN_INST_TEST_OBJECTS.gtest-all.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_asm_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_globals_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_interface_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_internal_interface_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_oob_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_mem_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_str_test.cc.i386-with-calls.o
ASAN_INST_TEST_OBJECTS.asan_test_main.cc.i386-with-calls.o -o
/home/matthias/LLVM/LLVM_dev/stage_2/build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-with-calls-Test
-fuse-ld=/home/matthias/LLVM/LLVM_dev/stage_1/build/bin/ld.lld
-Wl,-color-diagnostics -flto=full -Wl,-allow-shlib-undefined -g
--driver-mode=g++ -fsanitize=address -m32
LLVM ERROR: MD_associated operand is not ValueAsMetadata
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.</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>