https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126452

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jonathan Wakely
<[email protected]>:

https://gcc.gnu.org/g:83876d9d6b3249376f80c8c7d6156a912dc8dea0

commit r15-11483-g83876d9d6b3249376f80c8c7d6156a912dc8dea0
Author: Jonathan Wakely <[email protected]>
Date:   Wed Jul 29 16:55:39 2026 +0100

    libstdc++: Fix grep for linker warning about --gc-sections [PR126452]

    Current versions of GNU ld print "warning" with a lowercase 'w' so
    adjust the grep patter. Also use LC_ALL=C to ensure the warning isn't
    translated.

    Because m4 uses square brackets as quotes, we need to use double
    brackets in the grep pattern to expand to "[Ww]" in the configure
    script.

    libstdc++-v3/ChangeLog:

            PR libstdc++/126452
            * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Use LC_ALL_C and
            match both "Warning" and "warning" in ld output.
            * configure: Regenerate.

    Reviewed-by: Jakub Jelinek <[email protected]>
    (cherry picked from commit b7ce998a967639b955159eeeae940cb069c518d8)

Reply via email to