Bug 224600

Summary: Avoid following warning: ld: warning: linking with (...) but not using any symbols from it
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Kimmo Kinnunen
Reported 2021-04-15 05:27:10 PDT
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?
Attachments
Alexey Proskuryakov
Comment 1 2021-04-15 15:28:45 PDT
Which project is producing these warnings? > If I understand correctly, they come from the fact that we use "softlinking" I don't see any soft linked symbols for CoreAudio in Sources/, so this is likely something else. Unless it's a 3rd party project that does it in a different way.
Kimmo Kinnunen
Comment 2 2021-04-18 22:59:17 PDT
These are WebCore, I believe with iosmac build. However, The variation of these are output during normal JSC, WebCore, WebKit normal macOS builds.
Radar WebKit Bug Importer
Comment 3 2021-04-22 05:28:13 PDT
Note You need to log in before you can comment on or make changes to this bug.