[Bug libstdc++/93991] FAIL: 22_locale/time_get/get_time/char/2.cc execution test - 'errorstate == ios_base::eofbit' failed

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 2 14:43:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93991

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa-unknown-linux-gnu      |*-*-linux-gnu
               Host|hppa-unknown-linux-gnu      |*-*-linux-gnu
              Build|hppa-unknown-linux-gnu      |*-*-linux-gnu

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to John David Anglin from comment #1)
> Revision 275589 was okay.

I don't think it was, because I've been seeing these failures on recent Fedora
versions for much longer than that. I think what's changed since then is you've
updated your glibc.

IIRC the problem is that recent versions of glibc use multibyte UTF-8 strings
for some nl_langinfo strings, and libstdc++ can't handle them because it
expects a single byte. Something like that anyway.


More information about the Gcc-bugs mailing list