Page MenuHomeFreeBSD

bootstrap: No need to disabled shared libraries
ClosedPublic

Authored by imp on Oct 10 2021, 5:22 PM.
Tags
None
Referenced Files
F82069578: D32443.diff
Thu, Apr 25, 5:35 AM
Unknown Object (File)
Mar 7 2024, 3:51 PM
Unknown Object (File)
Jan 28 2024, 1:22 AM
Unknown Object (File)
Jan 12 2024, 8:42 AM
Unknown Object (File)
Dec 20 2023, 6:55 AM
Unknown Object (File)
Dec 13 2023, 12:15 PM
Unknown Object (File)
Sep 30 2023, 7:55 PM
Unknown Object (File)
Jul 9 2023, 1:25 PM
Subscribers

Details

Summary

There's no need to disable shared libraries when building the bootstrap
tools. This was added on 2000 (commit ad879ce9552c) when the perl
bootstrap was added (libperl and miniperl) and saved a fair amount of
time. However, these days we rarely build any libraries when
bootstrapping, so the optimization isn't all that much, and shared
libraries are more robust accross versions that static libraries due to
creaping dependencies. In addition, linux and macos have been building
like this for some time because static binaries on those systems are
difficult to impossible.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable