https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Dimitar Dimitrov from comment #4) > If I remove the "AC_CHECK_LIBM" line from libquadmath/configure.ac, and > re-generate autoconf there, then the build passes. > > I don't understand why that line was added. Just a few lines below I see > checks for specific functions from libm. That was what I was expecting - that line should not be there (it is a rebase glitch that did not get picked up in either reviews or testing) I am just trying to reproduce the problem and that fix..