[Webkit-unassigned] [Bug 236205] New: [CMake] REGRESSION(r288994): Linker does not get passed --disable-new-dtags
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 6 12:00:56 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236205
Bug ID: 236205
Summary: [CMake] REGRESSION(r288994): Linker does not get
passed --disable-new-dtags
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: aperez at igalia.com
After switching from ld.gold to ld.bfd in r288994, the --disable-new-dtags
option is no longer passed to the linker. This can be an issue because without
it ELF headers will contain a DT_RUNPATH entry instead of a DT_RPATH one. The
issue is that DT_RUNPATH can be overriden by the LD_LIBRARY_PATH environment
variable, which can easily result in running binaries straight from the build
directory accidentally using libraries from outside the build directory if
the variable is defined. With DT_RPATH libraries from the lib/ subdirectory
will be used, which is desirable during testing.
--
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/20220206/1f03db2e/attachment.htm>
More information about the webkit-unassigned
mailing list