https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93421
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Rich Felker from comment #0) > Created attachment 47704 [details] > simple fix, not necessarily right for upstream I like this solution for upstream too. It's simple and it works. > This assumes that any system where the libc timespec type has been > changed for time64 will also have had its headers updated to define > SYS_futex_time64. The futex.cc file is only used for linux targets, so the range of possible implementations we need to handle is limited and the assumption seems safe. > Error handling for extreme out-of-bound values should probably be added. I've created PR 93456 for that.