On 8/7/23 04:32, Arsen Arsenović via Gcc-patches wrote:
From: Alan Modra <amo...@gmail.com>

Apparently some distros have a nagging egrep that helpfully tells you
egrep is deprecated and to use "grep -E".  The nag message causes a ld
testsuite failure.  What's more the advice isn't that good.  The "-E"
flag may not be available with older versions of grep.

This patch fixes bare invocation of egrep within binutils, replacing
it with the autoconf $EGREP or with grep.

config/ChangeLog:

        * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Require AC_PROG_EGREP and
        invoke $EGREP.
        (AC_LIB_PROG_LD): Likewise.

gcc/ChangeLog:

        * configure: Regenerate.

intl/ChangeLog:

        * configure: Regenerate.

libcpp/ChangeLog:

        * configure: Regenerate.

libgcc/ChangeLog:

        * configure: Regenerate.

libstdc++-v3/ChangeLog:

        * configure: Regenerate.
OK. Yea, some distros nag. Probably at least one of the Fedora releases does.

jeff

Reply via email to