]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: Mask CPUID support in HWCAP on aarch64
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Mon, 5 Mar 2018 23:58:02 +0000 (15:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Nov 2018 16:02:08 +0000 (16:02 +0000)
commite6cb66399f6ba874a7954d3212157576030dda34
treeb7804ba93d0949ea26897832e3c8dca0550e95cb
parentd4657ac24542967ecd241726063da2d2dc3e9e23
valgrind: Mask CPUID support in HWCAP on aarch64

valgrind currently does not know anything about the CPUID flag added to
the HWCAP auxv entry in kernel 4.11+

At runtime it will fails like this:

ARM64 front end: branch_etc
disInstr(arm64): unhandled instruction 0xD5380001
disInstr(arm64): 1101'0101 0011'1000 0000'0000 0000'0001 ==2082==
valgrind: Unrecognised instruction at address 0x4014e64.

This patch is a workaround by masking all HWCAP. This patch is dervied
from https://bugzilla.redhat.com/show_bug.cgi?id=1464211

(From OE-Core rev: cdeb3d530af6cec1959c986aff3d6906939c8918)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/valgrind/valgrind/mask-CPUID-support-in-HWCAP-on-aarch64.patch [new file with mode: 0644]
meta/recipes-devtools/valgrind/valgrind_3.13.0.bb