https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861
--- Comment #3 from Samuel Thibault <samuel.thiba...@ens-lyon.org> --- Created attachment 47446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47446&action=edit fix duplicate definition Ah, sorry, _CLOCK_REALTIME is actually already getting defined in the generated libgo/runtime_sysinfo.go file, the attached patch is needed on top of what was already committed.