]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: fix the shared object issue while prelink ptest
authorZhixiong Chi <zhixiong.chi@windriver.com>
Wed, 11 Apr 2018 08:26:18 +0000 (16:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 15:55:26 +0000 (16:55 +0100)
commit1ec0c977c55ae2c38252e1807dc15c56007d30dc
treea5fcb12e9f7dcf06b89b5b55e09f3f6f192f711f
parentc5b5055d2dc04317a7a64c150046a6435a6805c2
valgrind: fix the shared object issue while prelink ptest

If valgrind-ptest is installed, we will get the some prelink error
like below at do_image:

  .../usr/sbin/prelink: /usr/lib64/valgrind/ptest/memcheck/tests/wrap7:\
  Could not find one of the dependencies: \
  .../usr/sbin//prelink-rtld: error   \
  while loading shared libraries: wrap7so.so: cannot open shared  \
  object file: No such file or directory

The wrap7 needs to link the shared object in the path
/usr/lib64/valgrind/ptest/memcheck/tests, but it fails.
So we correct the path for ptest.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/valgrind/valgrind/0002-remove-rpath.patch [deleted file]
meta/recipes-devtools/valgrind/valgrind_3.13.0.bb