https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126111
--- Comment #4 from Sebastian Jude <sebastian.jude at st dot ovgu.de> --- (In reply to Jonathan Wakely from comment #2) > (In reply to Sebastian Jude from comment #1) > > Just stumbled upon a very similar issue with > > > > using std::stold; > > > > which might need a #if (_GLIBCXX_HAVE_STRTOLD && ! > > _GLIBCXX_HAVE_BROKEN_STRTOLD) guard. > > Or don't try to use C++20 modules on broken operating systems that don't > support C99. The target is an ancient i386 without FPU using picolibc. I totally understand you don't want to directly support such configurations, so i'll look into why the corresponding libc function is not generated or detected. I wasn't aware that _GLIBCXX_HAVE_STRTOLD is sort of deprecated. But maybe you're pleased to hear that aside from this minor problem, modules and libstdc++ still work just fine, even for such museum pieces ;-)
