https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861
Bug ID: 92861 Summary: Passes relative time to sem_timedwait on GNU/Hurd Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: samuel.thiba...@ens-lyon.org CC: cmang at google dot com Target Milestone: --- Created attachment 47442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47442&action=edit proposed fix In src/libgo/go/runtime/os_hurd.go, a relative time is set in var ts, and &ts is passed to sem_timedwait. But sem_timedwait expects an absolute time, not a relative time. The attached patch fixes this by using the time from clock_gettime(CLOCK_REALTIME), like is done in os_aix.go.