Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Glibc 2.34 Will Provide More Helpful Linker Diagnostics
Merging this week for the dynamic link (ld.so) in Glibc 2.34 is a --list-diagnostics option. This new option will provide a system dump of information around the glibc-hwcaps sub-directory selection as well as IFUNC resolver operation and other CPU/system details. This can be useful for ensuring the desired HWCAPS path is actually being used on a given system and other information for diagnosing bugs or other problems with this more complicated handling but performance beneficial HWCAPS feature. The IFUNC "indirect function" resolver behavior is similarly important at run-time.
Long story short, Glibc 2.34's "--list-diagnostics" feature should come in handy with reporting various system/CPU information. More details on the diagnostics within this commit and this commit that added more CPU diagnostics information.
Now here's to hoping we see more Glibc-HWCAPS adoption in the months to come for helping squeeze more performance out-of-the-box on modern Linux systems...