Page MenuHomeFreeBSD

libcrypto, libssl: link .so's with -Bsymbolic for upstream parity
Needs ReviewPublic

Authored by ngie on Apr 21 2024, 5:44 PM.
Tags
None
Referenced Files
F176086548: D44894.id137468.diff
Thu, Oct 15, 11:58 PM
F176086389: D44894.id137463.diff
Thu, Oct 15, 11:56 PM
Unknown Object (File)
Thu, Oct 1, 11:14 AM
Unknown Object (File)
Sat, Sep 19, 1:25 AM
Unknown Object (File)
Sep 15 2026, 8:52 PM
Unknown Object (File)
Sep 11 2026, 7:11 PM
Unknown Object (File)
Sep 4 2026, 5:40 PM
Unknown Object (File)
Aug 21 2026, 11:13 AM
Subscribers

Details

Reviewers
cy
emaste
Summary

This change modifies libcrypto, libssl, and dependent .so files to use
-Wl,-Bsymbolic to prefer locally defined symbols over globally defined
symbols in order to have parity with the upstream OpenSSL build process.

Test Plan

TODO: run tinderbox build

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57263
Build 54151: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Apr 21 2024, 5:44 PM
ngie added reviewers: cy, emaste.

-Wl,-Bsymbolic should be added to SOLINKOPTS instead of LDFLAGS

This avoids breaking the static object build case.