[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-11-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #38 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08 17:03:39 UTC --- I assume the option of using... Index: libstdc++-v3/config/os/bsd/darwin/os_defines.h

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #39 from Jonathan Wakely redi at gcc dot gnu.org 2012-10-08 17:16:13 UTC --- Yes, but why do you want to disable it? Why does that patch define _GLIBCXX_USE_SCHED_YIELD? That is correctly detected anyway by configure, without

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread jeremyhu at macports dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #40 from Jeremy Huddleston Sequoia jeremyhu at macports dot org 2012-10-08 18:33:37 UTC --- (In reply to comment #25) N.B. prior to POSIX 2008 nanosleep was part of the Timers option, if OS X supports that it should define

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #41 from Jonathan Wakely redi at gcc dot gnu.org 2012-10-08 19:50:21 UTC --- (In reply to comment #40) I still don't see why the _POSIX_TIMERS 0 check exists at all. On systems that don't have it, the tests will simply fail

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread jeremyhu at macports dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #42 from Jeremy Huddleston Sequoia jeremyhu at macports dot org 2012-10-08 20:10:26 UTC --- (In reply to comment #41) (In reply to comment #40) I still don't see why the _POSIX_TIMERS 0 check exists at all. On systems

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #43 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08 20:31:01 UTC --- Both OpenBSD and FreeBSD seem to have nanosleep calls documented as... The nanosleep() function conforms to IEEE Std 1003.1b-1993 (``POSIX'')

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #44 from Jonathan Wakely redi at gcc dot gnu.org 2012-10-08 20:42:22 UTC --- (In reply to comment #42) You want to find an test such that: (your test) = (nanosleep is the one you want) That's why I was asking about

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #45 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-08 22:27:08 UTC --- I can confirm the existence of sched_yield() back to Libc-166 in 1997 on darwin.

[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the function nanosleep() on darwin

2012-10-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847 --- Comment #46 from Jack Howarth howarth at nitro dot med.uc.edu 2012-10-09 00:46:08 UTC --- Revised patch posted to libstdc++ mailing list... http://gcc.gnu.org/ml/libstdc++/2012-10/msg00047.html