https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74755
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |RESOLVED Resolution|--- |INVALID CC| |fxcoudert at gcc dot gnu.org --- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- > I suppose that needs to be fixed in nvptx-newlib, unless this (localtime_r > prototype present, but definition not) is a configuration that needs to be > supported in libgfortran? I totally agree that the target libc/system headers providing a localtime_r prototype without implementation is the real issue. That's how we detect a lot of functions, breaking that assumption will lead to a lot more trouble.