GCC 13 Lands Support For Zstd-Compressed Debug Sections

Written by Michael Larabel in GNU on 29 September 2022 at 06:12 AM EDT. 2 Comments
GNU
Following LLVM adding Zstd compressed ELF debug sections support, GCC 13 in conjunction with newer Binutils has also introduced support for Zstd-compressed debug sections.

With the latest GCC 13 Git development code, -gz=zstd is now supported if wanting Zstd-compressed debug sections for a greater compression ratio over the default Zlib-based compression. The code integrated into GCC 13 depends upon GNU Binutils 2.40 or newer where --compress-debug-sections=zstd is supported with Gas.

This patch was merged today into GCC 13 by Martin Liska of SUSE for both linker and assembler -gz=zstd debug section compression support.

GCC 13 will be out in the early months of next year with this change and a ton of other open-source compiler improvements as we have been covering the past number of months.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week