https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110180
Bug ID: 110180 Summary: On Fedora 38, egrep is now obsolescent Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Fedora 38 has decided that egrep is obsolescent and grep -E is preferred. I tried a gcc trunk build of c, c++ and fortran. $ grep -E "^Config|egrep is obsolescent" mk.out Configuring in build-x86_64-pc-linux-gnu/libiberty Configuring in ./fixincludes Configuring in ./libiberty Configuring in ./libcody Configuring in build-x86_64-pc-linux-gnu/fixincludes Configuring in build-x86_64-pc-linux-gnu/libcpp Configuring in ./zlib Configuring in ./intl Configuring in ./c++tools Configuring in ./libdecnumber Configuring in ./lto-plugin Configuring in ./libbacktrace checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsol escent; using grep -E checking for shared library run path origin... egrep: warning: egrep is obsolesc ent; using grep -E checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsol escent; using grep -E checking for shared library run path origin... egrep: warning: egrep is obsolesc ent; using grep -E Configuring in ./libcpp Configuring in ./gcc checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsol escent; using grep -E checking whether clang++ accepts -g... egrep: warning: egrep is obsolescent; usi ng grep -E checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsol escent; using grep -E checking for shared library run path origin... egrep: warning: egrep is obsolesc ent; using grep -E Configuring in ./libcc1 Configuring in x86_64-pc-linux-gnu/libgcc checking if the linker (/home/dcb38/gcc/working/./gcc/collect-ld) is GNU ld... e grep: warning: egrep is obsolescent; using grep -E Configuring in x86_64-pc-linux-gnu/libgomp Configuring in x86_64-pc-linux-gnu/libbacktrace Configuring in x86_64-pc-linux-gnu/libssp Configuring in x86_64-pc-linux-gnu/libatomic Configuring in x86_64-pc-linux-gnu/libquadmath Configuring in x86_64-pc-linux-gnu/libstdc++-v3 Configuring in x86_64-pc-linux-gnu/libgfortran checking if the linker (/home/dcb38/gcc/working/./gcc/collect-ld) is GNU ld... e grep: warning: egrep is obsolescent; using grep -E checking for shared library run path origin... egrep: warning: egrep is obsolesc ent; using grep -E Configuring in x86_64-pc-linux-gnu/libsanitizer Configuring in x86_64-pc-linux-gnu/libvtv Configuring in x86_64-pc-linux-gnu/libitm $ This might be worth fixing. OTOH, I am sure there are many systems where egrep is very much not obsolescent.