Bug 170385 - [Xcode] In engineering builds, linker warns about libwebrtc.dylib’s install name being invalid
Summary: [Xcode] In engineering builds, linker warns about libwebrtc.dylib’s install n...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-01 14:34 PDT by mitz
Modified: 2017-04-01 15:57 PDT (History)
2 users (show)

See Also:


Attachments
Have the linker know that engineering builds are not destined for the shared cache (5.34 KB, patch)
2017-04-01 14:47 PDT, mitz
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2017-04-01 14:34:23 PDT
In engineering builds, ld emits this warning when linking WebCore and WebKit:

ld: warning: invalid -install_name (@loader_path/../../../libwebrtc.dylib) in dependent dylib (/symroot/Debug/libwebrtc.dylib). Dylibs/frameworks which might go in dyld shared cache cannot link with dylib that uses @rpath, @loader_path, etc.

Patch forthcoming.
Comment 1 mitz 2017-04-01 14:47:52 PDT
Created attachment 306051 [details]
Have the linker know that engineering builds are not destined for the shared cache
Comment 2 mitz 2017-04-01 15:57:59 PDT
Fixed in <https://trac.webkit.org/r214718>.