<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 - Need a way to disable "warning: symbol scopes are not balanced in" for system libraries"
href="https://bugs.llvm.org/show_bug.cgi?id=35014">35014</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Need a way to disable "warning: symbol scopes are not balanced in" for system libraries
</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>Windows NT
</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>COFF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>If I build chromium with lld, virtually every link prints this:
[15895/50568] LINK(DLL) swiftshader/libGLESv2.dll swiftshader/libGLESv2.dll.lib
swiftshader/libGLESv2.dll.pdb
../../third_party/llvm-build/Release+Asserts/bin/lld-link: warning: symbol
scopes are not balanced in
f:\binaries\Intermediate\vctools\libconcrt.nativeproj__2086454777\objr\x86\InternalContextBase.obj
../../third_party/llvm-build/Release+Asserts/bin/lld-link: warning: symbol
scopes are not balanced in
f:\binaries\Intermediate\vctools\libconcrt.nativeproj__2086454777\objr\x86\InternalContextBase.obj
../../third_party/llvm-build/Release+Asserts/bin/lld-link: warning: symbol
scopes are not balanced in
f:\binaries\Intermediate\vctools\libconcrt.nativeproj__2086454777\objr\x86\ThreadScheduler.obj
../../third_party/llvm-build/Release+Asserts/bin/lld-link: warning: symbol
scopes are not balanced in
f:\binaries\Intermediate\vctools\libconcrt.nativeproj__2086454777\objr\x86\ThreadScheduler.obj
../../third_party/llvm-build/Release+Asserts/bin/lld-link: warning: symbol
scopes are not balanced in
f:\binaries\Intermediate\vctools\libconcrt.nativeproj__2086454777\objr\x86\ThreadScheduler.obj
This is not interesting and actionable for application developers (...unless
some flag we uses causes this?). So it shouldn't be printed.
Also, it'd be good if there was a way to consistently enable warnings-as-errors
for lld. In Chromium, our philosophy about warnings is in general "if it's an
interesting warning, it deserves to be made an error, else it shouldn't be
printed at all".</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>