https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78111
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- I fixed the detection of realpath, but also fixed the problem with the fallback code that was being used when realpath is not available.