<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - lld does not implement --dynamic-list (used by sanitizers)"
href="https://llvm.org/bugs/show_bug.cgi?id=26693">26693</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld does not implement --dynamic-list (used by sanitizers)
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>In clang/lib/Driver/Tools.cpp addSanitizerDynamicList(), clang uses the
--dynamic-list option, and my so check-asan in my self-hosted llvm/clang/lld
test fails.
FAILED: cd
/tank/emaste/src/llvm/build-nodebug/projects/compiler-rt/lib/asan/tests &&
/tank/emaste/src/llvm/build-nodebug/./bin/clang
ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_asm_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_globals_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_interface_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_oob_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_mem_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_str_test.cc.x86_64-inline.o
ASAN_INST_TEST_OBJECTS.asan_test_main.cc.x86_64-inline.o -o
/tank/emaste/src/llvm/build-nodebug/projects/compiler-rt/lib/asan/tests/default/Asan-x86_64-inline-Test
-Wl,-z,origin -Wl,-allow-shlib-undefined --driver-mode=g++ -fsanitize=address
-m64
warning: unknown argument:
--dynamic-list=/tank/emaste/src/llvm/build-nodebug/bin/../lib/clang/3.9.0/lib/freebsd/libclang_rt.asan-x86_64.a.syms
>From the ld man page --dynamic-list is documented as:
--dynamic-list=dynamic-list-file
Specify the name of a dynamic list file to the linker. This is
typically used when creating shared libraries to specify a list of
global symbols whose references shouldn't be bound to the
definition within the shared library, or creating dynamically
linked executables to specify a list of symbols which should be
added to the symbol table in the executable. This option is only
meaningful on ELF platforms which support shared libraries.</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>