https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92616
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can reproduce it, but I think this has to be a glibc problem. Libstdc++ simply calls clock_gettime(3), and both that and time(3) come from glibc.