[llvm-bugs] [Bug 32577] New: "LLVM ERROR: MD_associated operand is not ValueAsMetadata" while building compiler-rt tests with lto and lld
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 8 04:23:28 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32577
Bug ID: 32577
Summary: "LLVM ERROR: MD_associated operand is not
ValueAsMetadata" while building compiler-rt tests with
lto and lld
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: matthias.krueger at famsik.de
CC: llvm-bugs at lists.llvm.org
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:
https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh )
[ 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.
--
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/20170408/848e7217/attachment.html>
More information about the llvm-bugs
mailing list