GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
libstdc++

libstdc++: Fix Build Failures After acfdad706d8

This commit fixes build failures in libstdc++ caused by a recent commit.

This commit addresses build failures in libstdc++ introduced by commit acfdad706d8. It removes a symbol that was inadvertently included in GLIBCXX_3.4.21 and adds a guard to quiet a warning related to exception handling. This ensures that the library builds correctly after the previous changes.

In Details

This commit reverts a symbol swept up in GLIBCXX_3.4.21 in config/abi/pre/gnu.ver and guards a declaration under #if __cpp_exceptions in include/bits/basic_string.tcc. This is a straightforward fix for build breakage, of interest to libstdc++ maintainers and those tracking ABI stability.

For Context

This commit resolves build errors in the C++ standard library (libstdc++) that arose from a recent update. The changes involve adjusting the library's versioning information and adding a conditional check to prevent a compiler warning. These fixes ensure that the library can be built successfully, allowing developers to use the latest version of GCC without encountering build-related issues.

Filed Under: libstdc++buildbugfix