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
Unknown Object (File)
Mon, May 11, 11:04 AM
Unknown Object (File)
Tue, May 5, 10:28 PM
Unknown Object (File)
Mon, Apr 27, 3:43 PM
Unknown Object (File)
Sun, Apr 26, 6:31 PM
Unknown Object (File)
Sun, Apr 26, 11:18 AM
Unknown Object (File)
Sat, Apr 25, 1:22 AM
Unknown Object (File)
Apr 5 2026, 4:28 AM
Unknown Object (File)
Dec 20 2025, 4:25 PM
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.