https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112963
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #3) > (In reply to Andreas Schwab from comment #1) > > How did that work before r14-4825-g6a6d3817afa02b? > > I suppose, unconditional adding of '-lm' is not a problem to the affected > bare metal targets but using the AC_CHECK_LIBM is, I still have to set up to > do the testing. For bare metal targets, -lm is ignored because shared libraries are not built ...