[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-09 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Ian Lance Taylor  ---
Patch committed.

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-09 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

--- Comment #6 from ian at gcc dot gnu.org  ---
Author: ian
Date: Mon Dec  9 18:03:53 2019
New Revision: 279136

URL: https://gcc.gnu.org/viewcvs?rev=279136=gcc=rev
Log:
PR go/92861
runtime: don't define CLOCK_REALTIME in os_hurd.go

It's already defined in sysinfo.go.

Patch by Samuel Thibault.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210538

Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/runtime/os_hurd.go

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-09 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

--- Comment #5 from Ian Lance Taylor  ---
You can also just send patches to gcc-patc...@gcc.gnu.org and/or
gofrontend-...@googlegroups.com.

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-09 Thread samuel.thiba...@ens-lyon.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

Samuel Thibault  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |---

--- Comment #4 from Samuel Thibault  ---
Reopening the bug for the fix to be commited

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-09 Thread samuel.thiba...@ens-lyon.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

--- Comment #3 from Samuel Thibault  ---
Created attachment 47446
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47446=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.

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-08 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Ian Lance Taylor  ---
Thanks, committed.

[Bug go/92861] Passes relative time to sem_timedwait on GNU/Hurd

2019-12-08 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92861

--- Comment #1 from ian at gcc dot gnu.org  ---
Author: ian
Date: Mon Dec  9 03:43:33 2019
New Revision: 279106

URL: https://gcc.gnu.org/viewcvs?rev=279106=gcc=rev
Log:
PR go/92861
runtime: use absolute time for sem_timedwait

Patch by Samuel Thibault.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210457

Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/runtime/os_hurd.go