WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
224600
Avoid following warning: ld: warning: linking with (...) but not using any symbols from it
https://bugs.webkit.org/show_bug.cgi?id=224600
Summary
Avoid following warning: ld: warning: linking with (...) but not using any sy...
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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/77014346
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug