https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78111
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- [...] > 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. Indeed: this correctly detects realpath support and fixes the failures, tested on i386-pc-solaris2.12. Thanks. Rainer