Page MenuHomeFreeBSD

bootstrap: No need to disabled shared libraries
ClosedPublic

Authored by imp on Oct 10 2021, 5:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 1:24 PM
Unknown Object (File)
Tue, Nov 5, 8:01 PM
Unknown Object (File)
Thu, Oct 17, 6:13 AM
Unknown Object (File)
Thu, Oct 17, 6:13 AM
Unknown Object (File)
Thu, Oct 17, 6:13 AM
Unknown Object (File)
Thu, Oct 17, 5:53 AM
Unknown Object (File)
Oct 5 2024, 3:59 AM
Unknown Object (File)
Oct 4 2024, 7:37 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