https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55821
--- Comment #8 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- (In reply to Sandra Loosemore from comment #7) > Trying to build an arm-none-linux-gnueabi cross from mainline head, I'm > getting this error now: > > /scratch/sandra/arm-fsf/src/gcc-mainline/libquadmath/libquadmath.texi:369: > @include `libquadmath-vers.texi': No such file or directory. > /scratch/sandra/arm-fsf/src/gcc-mainline/libquadmath/libquadmath.texi:374: > warning: undefined flag: BUGURL. What is your configure line? Does the following patch (untested for now) fix the issue for you? Index: Makefile.am =================================================================== --- Makefile.am (revision 216036) +++ Makefile.am (working copy) @@ -163,11 +163,11 @@ MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/ if BUILD_LIBQUADMATH info_TEXINFOS = libquadmath.texi -libquadmath_TEXINFOS = libquadmath-vers.texi else info_TEXINFOS = -libquadmath_TEXINFOS = endif +libquadmath_TEXINFOS = libquadmath-vers.texi + libquadmath-vers.texi: echo "@set BUGURL $(REPORT_BUGS_TEXI)" > $@