https://bugs.llvm.org/show_bug.cgi?id=35014

            Bug ID: 35014
           Summary: Need a way to disable "warning: symbol scopes are not
                    balanced in" for system libraries
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@lists.llvm.org

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".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to