http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #4 from Jeremy Huddleston Sequoia <jeremyhu at macports dot org> 2012-10-07 18:35:24 UTC --- (In reply to comment #3) > As far as Darwin is concerned, simply, somebody knowing the target well has to > work out the details. So far, we only made sure that things work reasonably > well on GNU/Linux machines. Patches are welcome, as usual. I know the target, and I'm willing to answer any questions you may have. Unfortunately as gcc is GPL3, I can't look at the code or offer services beyond that. Is there a particular reason why the check for nanosleep and sched_yield check for _POSIX_TIMERS > 0? That seems peculiar to me.