Change History (11)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Applying the above patch, and running autogen.sh (otherwise one needed program from the patch is not compiled), I get:
== 662 tests, 12 stderr failures, 3 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
Note that the stdout failures are in the same tests as 3 of the stderr failures. This means there are 12 failures out of 662.
Now I think the patch is overkill. To remove the faulty test:
sed -e 's@prereq:.*@prereq : ! ../../tests/true@' \ -i {helgrind,drd}/tests/pth_cond_destroy_busy.vgtest
comment:4 by , 8 years ago
Even easier:
sed -e 's@prereq:.*@prereq: false@' \ -i {helgrind,drd}/tests/pth_cond_destroy_busy.vgtest
comment:5 by , 8 years ago
- One test is skipped if the host command is not there, so bind-utils may be used...
- The openmp page tells that GCC is fully supporting openmp. But the openmp tests are skipped anyway. Not sure about those.
- Apparently, my processor does not have avx: some tests are skipped.
- for the tests who report errors, I am not sure we should worry. They are the same as reported by Bruce in October...
comment:6 by , 8 years ago
According to the shell script drd/tests/run_openmp_test, openmp tests are run only if the symbol gomp_barrier_init is found by nm on the libgomp library, and the presence or absence of that symbol is governed by the --enable-linux-futex switch. IIUC, the symbol exists only if disabled. Note that openmp should not be listed in the optional dependencies: we have it with gcc...
follow-up: 8 comment:7 by , 8 years ago
So here is what I plan to do:
- Add instructions to show how to disable a test, with example for pth_cond_destroy_busy.
- remove openmp from optional deps, and mention that to run openmp tests, libgomp needs to be recompiled with --disable-linux-futex (should I tell how?).
- update the comment about documentation (off topic for this ticket, but it'll go into the same commit).
Will wait until tonight in case somebody wants to comment.
comment:8 by , 8 years ago
Replying to pierre.labastie:
So here is what I plan to do:
- Add instructions to show how to disable a test, with example for pth_cond_destroy_busy.
Sounds reasonable.
- remove openmp from optional deps, and mention that to run openmp tests, libgomp needs to be recompiled with --disable-linux-futex (should I tell how?).
I don't think an explanation is needed. By the time users build valgrind they should know how to do that.
- update the comment about documentation (off topic for this ticket, but it'll go into the same commit).
OK.
comment:9 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
What I came up with is at r18468
For the "pth_cond_destroy_busy" test, it seems there is a patch at https://sourceforge.net/p/valgrind/mailman/message/35440900/