https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81690
Bug ID: 81690 Summary: libgomp.c/{target-32,thread-limit-2}.c fail for nvptx: missing usleep Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Failures mentioned before here ( https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00972.html ): ... With OpenMP/PTX offloading there are 5 additional failures in check-target-libgomp: Two due to tests using 'usleep' in a target region: FAIL: libgomp.c/target-32.c (test for excess errors) FAIL: libgomp.c/thread-limit-2.c (test for excess errors) <SNIP> for the 'usleep' issues, while I think it's not good to have tests with that, eventually I'd like to provide a port of musl libc for PTX which would also provide usleep (either a no-op stub, or based on a busy loop). ...