[PATCH v2] libstdc++: Introduce GLIBCXX_3.4.37 version for symbols not backported to GCC-16.

H.J. Lu hjl.tools@gmail.com
Wed Jul 22 06:12:28 GMT 2026


On Mon, Jul 20, 2026 at 8:10 PM Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On Mon, 20 Jul 2026 at 13:04, Tomasz Kamiński <tkaminsk@redhat.com> wrote:
> >
> > As part of the backport of r17-471-ge79f0f818c0e42 and r17-2193-g50cbacfaa1e776),
> > the corresponding exports of chrono::__detail::__recent_leap_second_info and
> > specializations of basic_format_arg::_M_handle_unrecognized also need to be
> > introduced. This also require bump of the libtool_VERSION to 3.4.36.
> >
> > This patch bumps version again to 3.4.37 and moves remaining symbols defined
> > in GCC 17 (basic_string's _S_allocate_at_least and _M_create_plus) to it.
> >
> > libstdc++-v3/ChangeLog:
> >
> >         * acinclude.m4 (libtool_VERSION): Bump version.
> >         * config/abi/pre/gnu.ver (GLIBCXX_3.4.37): Add new symbol
> >         version and move basic_string's _S_allocate_at_least and
> >         _M_create_plus symbols to it.
> >         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt:
> >         Regenereate include new 3.4.36 symbols.
>
> OK with "Regenerate" fixed above.
>
>
> >         * config/abi/post/powerpc64le-linux-gnu/baseline_symbols.txt:
> >         Likewise.
> >         * configure: Regenerate.
> >         * testsuite/util/testsuite_abi.cc: Update known_versions
> >         and latestp.
> >

I got

Running target unix/-m32
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running /export/gnu/import/git/sources/gcc/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
FAIL: libstdc++-abi/abi_check

=== libstdc++ Summary for unix/-m32 ===

# of unexpected failures 1

on Linux/x86-64.

-- 
H.J.


More information about the Libstdc++ mailing list