mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 22:24:53 +00:00
An error message is now printed if DRD is started with a client program that loads a version of libgomp.so that has been compiled with --enable-linux-futex.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7702
This commit is contained in:
@@ -261,6 +261,16 @@ void barrier_pre_wait(const DrdThreadId tid, const Addr barrier,
|
||||
const UWord word_tid = tid;
|
||||
|
||||
p = barrier_get(barrier);
|
||||
if (p == 0 && barrier_type == gomp_barrier)
|
||||
{
|
||||
VG_(message)(Vg_UserMsg, "");
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"Please verify whether gcc has been configured"
|
||||
" with option --disable-linux-futex.");
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"See also the section about OpenMP in the DRD manual.");
|
||||
VG_(message)(Vg_UserMsg, "");
|
||||
}
|
||||
tl_assert(p);
|
||||
|
||||
if (s_trace_barrier)
|
||||
|
||||
Reference in New Issue
Block a user