]> 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>
Wed, 7 Mar 2018 14:33:59 +0000 (06:33 -0800)
commitcdeb3d530af6cec1959c986aff3d6906939c8918
tree48b144741fe0310ef4cc4f607b06ad40b0fee817
parent21924fdba286e5962b1680601664dc0491527e25
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

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.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