-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.4.0] Do not wrap object files in
--start-lib/--end-lib
for nodep…
…s libraries (#23437) When linking a nodeps dynamic library that contains object files produced from tree artifact sources, the library may not contain any references to the symbols in those files. In this case, when wrapping the files in `--start-lib/--end-lib`, they may end up being dropped by the linker, which results in missing symbols compared to a build with `--dynamic_mode=off`. This is fixed by not wrapping object files into `--start-lib/--end-lib` for the nodeps dynamic library link action. Fixes bazelbuild/rules_cc#230 Closes #23084. PiperOrigin-RevId: 667945814 Change-Id: Iec148ad1b86626bb5263fecc9b98b0db89f81ad6 Commit 164ffa5 Co-authored-by: Fabian Meumertzheim <[email protected]>
- Loading branch information
Showing
2 changed files
with
169 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters