https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217
--- Comment #22 from James K. Lowden <jklowden at gcc dot gnu.org> --- I removed use of glob(3) entirely. The code is actually simpler because there never was any wildcard; we just iterate over variations on the name. I also converted all stdio.h to cstdio, etc, for all such files. The commit is in our development branch. When applied, I believe this issue can be closed, because other parts have been addressed already.