https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78111
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Uroš Bizjak from comment #2) > Created attachment 39884 [details] > Configure patch to correctly detect realpath > > You will need at least the attached patch that includes <limits.h> for > PATH_MAX. > > PATH_MAX is used as a bypass in configure check for realpath. Thanks, I'll make that change. I think this failure was latent until r241484 fixed the error-handling for filesystem::read_symlink().