Closed paulfloyd closed 2 years ago
I looked at the test script that's supposed to check the libgomp.so exists and has signals. On FreeBSD we just fall off the end (which is a pass). In any case the omp tests for GCC builds succeed, but the script still fails (detects libgomp but no symbols).
I modified drd/tests/run_openmp_test and now these test run with GCC and not clang.
Will revisit if ever anyone asks for OMP support.
For a long time.
Some info with a debug build of libomp. Just the first error.
This just looks like a volatile (i.e., not inherently thread safe) thread counter.
I say that DRD is right and this is a thread hazard.
That might be debug-only.
Another one
DRD recognizes pthreadbarrier (and gompbarrier - not sure if they are just aliases?)
There is nothing for kmpbarrier*.
drd/tests/run_opmenmp_test seems quite picky, it requires a libgomp.so with symbols and to have gomp_barrier_init (built with --enable-linux-futex).