[OSS-Fuzz] Stop Static Linking after migrating to ubuntu 24.04 runner#42567
Conversation
…s since the static version of many of the libraries is not available easily
There was a problem hiding this comment.
Code Review
This pull request removes the static linking logic for OSS-Fuzz builds. The change is a direct response to the migration to Ubuntu 24.04 runners, which lack static versions of some system libraries. By deleting the special handling for oss_fuzz builds in build/config/linux/pkg_config.gni, the build system will now default to dynamic linking. This is a clean and correct solution to adapt to the new build environment. The change is well-contained and I have no further comments.
There was a problem hiding this comment.
Pull request overview
This PR removes static linking logic for OSS-Fuzz builds in response to the migration to Ubuntu 24.04 runners, where many system static libraries (like libmount-dev) are no longer provided.
Key Changes:
- Removed the conditional static linking block for OSS-Fuzz builds from the pkg_config template
- OSS-Fuzz builds will now use dynamic linking instead of static linking
|
PR #42567: Size comparison from 371b821 to 4825fb9 Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
|
Summary
Stop static linking of libraries after migrating to Ubuntu 24.04 runners, as static versions of many system libraries are no longer provided by the distribution, increasing maintenance cost and build complexity.
For example, the libmount-dev package no longer includes a static
.alibrary.Testing