[Webkit-unassigned] [Bug 224600] New: Avoid following warning: ld: warning: linking with (...) but not using any symbols from it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 05:27:10 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224600

            Bug ID: 224600
           Summary: Avoid following warning: ld: warning: linking with
                    (...) but not using any symbols from it
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com

ld: warning: linking with (/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio) but not using any symbols from it
ld: warning: linking with (/System/Library/PrivateFrameworks/URLFormatting.framework/Versions/A/URLFormatting) but not using any symbols from it
ld: warning: linking with (/usr/lib/libAccessibility.dylib) but not using any symbols from it

Maybe it would be good to avoid the warnings such as above? Would it be possible?

The excessive and constant warnings seem to cause problem where warnings are ignored by humans, hiding real bugs.

If I understand correctly, they come from the fact that we use "softlinking", e.g. define all the symbols as weak manually, but still link to the library in a normal way?

Is there a reason for this, as opposed to fully linking weakly?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210415/9dd5fc92/attachment-0001.htm>


More information about the webkit-unassigned mailing list