https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Created attachment 44406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44406&action=edit Undefine macros for long double math functions Does this fix the build? This isn't really a proper fix, as it just allows the file to build. Code including <cmath> will still see those macros and won't use the stubs defined in math_stubs_long_double.cc Maybe that's good enough though - I'm not sure precisely what the stubs are for.