<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/valgrind, branch sumo</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=sumo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=sumo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-11-16T16:33:08+00:00</updated>
<entry>
<title>valgrind: fix compile ptest failure on mips32</title>
<updated>2018-11-16T16:33:08+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2018-07-27T14:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=118724e4642b399d204aa4a1226d8d7d8766a716'/>
<id>urn:sha1:118724e4642b399d204aa4a1226d8d7d8766a716</id>
<content type='text'>
- Pass mips32's CFLAGS to tests

- Fix broken inline asm in tests on mips32-linux

- Build mips n32 successfully, support it.

(From OE-Core rev: 23d9eba99d1180a0b859aadc23a10b391b8f6440)

(From OE-Core rev: 74308b2ca81bb7a3d294ce344ba6e8fdf7ebca5d)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: fix ptest compilation for PowerPC64</title>
<updated>2018-11-16T16:33:08+00:00</updated>
<author>
<name>Jagadeesh Krishnanjanappa</name>
<email>jkrishnanjanappa@mvista.com</email>
</author>
<published>2018-10-31T03:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c7d80dc8d793c26d06d383422eb273aa96c0e19d'/>
<id>urn:sha1:c7d80dc8d793c26d06d383422eb273aa96c0e19d</id>
<content type='text'>
The fix is similar to what was done for PowerPC32.
It solves below error, while compiling for PowerPC64,

-- snip --
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c: In function 'usage':
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
|    fprintf(stderr,
|    ^~~~~~~
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: incompatible implicit declaration of built-in function 'fprintf'
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: note: include '&lt;stdio.h&gt;' or provide a declaration of 'fprintf'
| ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:11: error: 'stderr' undeclared (first use in this function)
|    fprintf(stderr,
|            ^~~~~~
-- snip --

(From OE-Core rev: 9f82bb4bf3d0ded246eb252b3f9b4b618b22fc95)

Signed-off-by: Jagadeesh Krishnanjanappa &lt;jkrishnanjanappa@mvista.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: fix the shared object issue while prelink ptest</title>
<updated>2018-04-13T15:58:07+00:00</updated>
<author>
<name>Zhixiong Chi</name>
<email>zhixiong.chi@windriver.com</email>
</author>
<published>2018-04-11T08:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=18fd9004689060e23b6775881f0a20e173f20bea'/>
<id>urn:sha1:18fd9004689060e23b6775881f0a20e173f20bea</id>
<content type='text'>
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.

(From OE-Core rev: 1ec0c977c55ae2c38252e1807dc15c56007d30dc)

Signed-off-by: Zhixiong Chi &lt;zhixiong.chi@windriver.com&gt;
Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: Fix multilib header conflict - valgrind/config.h</title>
<updated>2018-03-15T13:27:19+00:00</updated>
<author>
<name>Zhang Xiao</name>
<email>xiao.zhang@windriver.com</email>
</author>
<published>2018-03-12T00:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1cab8ef694a323b68fa2c5533dbd3f4968f8b4d6'/>
<id>urn:sha1:1cab8ef694a323b68fa2c5533dbd3f4968f8b4d6</id>
<content type='text'>
Header file conflict between 32-bit and 64-bit versions.

(From OE-Core rev: 6084879306db61c347b6f01f3bb64de327a9052d)

Signed-off-by: Zhang Xiao &lt;xiao.zhang@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: Mask CPUID support in HWCAP on aarch64</title>
<updated>2018-03-07T14:34:52+00:00</updated>
<author>
<name>Manjukumar Matha</name>
<email>manjukumar.harthikote-matha@xilinx.com</email>
</author>
<published>2018-03-05T23:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1f9d6427f4e5af91050748f0c5f995298a1be85e'/>
<id>urn:sha1:1f9d6427f4e5af91050748f0c5f995298a1be85e</id>
<content type='text'>
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 &lt;manjukumar.harthikote-matha@xilinx.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: improvements for run-ptest</title>
<updated>2017-08-23T11:06:51+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2017-08-20T13:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e6b7734d769e25a0f37384d1e6d84fb350aa5a1c'/>
<id>urn:sha1:e6b7734d769e25a0f37384d1e6d84fb350aa5a1c</id>
<content type='text'>
* Add statistic summary for run-ptest
* Ensure the script can be run anywhere

(From OE-Core rev: 8a6f5a2bc55975f38ad285ddea7122643b303c53)

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: disable build for muslx32</title>
<updated>2017-08-18T22:46:38+00:00</updated>
<author>
<name>sweeaun</name>
<email>swee.aun.khor@intel.com</email>
</author>
<published>2017-08-17T02:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d654f4934d9c877167c69216aabb80ff75beff40'/>
<id>urn:sha1:d654f4934d9c877167c69216aabb80ff75beff40</id>
<content type='text'>
Disable build for muslx32.X32 isn't supported by valgrind at this
moment.

(From OE-Core rev: a945141062ac3d0736558be428f60af405b53a94)

Signed-off-by: sweeaun &lt;swee.aun.khor@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: enable on mips soft-float</title>
<updated>2017-08-13T08:27:37+00:00</updated>
<author>
<name>André Draszik</name>
<email>adraszik@tycoint.com</email>
</author>
<published>2017-08-03T08:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=80f82bc484d2e88d0d2afa517a0795495f6a5ea1'/>
<id>urn:sha1:80f82bc484d2e88d0d2afa517a0795495f6a5ea1</id>
<content type='text'>
Valgrind support for mips soft-float hosts has been fixed
in the 3.12 [1] and 3.13 [2] releases, so let's start
building it on those, too.

[1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=8f0070d31daea6f0ed18f8fe69498a67530bfcbb
[2] https://sourceware.org/git/?p=valgrind.git;a=commit;h=3172936d63da4b6257099bc05aee5793978269cb

(From OE-Core rev: 82dbad6aa1390668aa86d28c8a3125b68d6072fa)

Signed-off-by: André Draszik &lt;adraszik@tycoint.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: fix upstream version check</title>
<updated>2017-07-25T14:59:13+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2017-07-24T14:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f7eb49e5db69b4f75105434d427b1cf67719bb0a'/>
<id>urn:sha1:f7eb49e5db69b4f75105434d427b1cf67719bb0a</id>
<content type='text'>
(From OE-Core rev: f4e86314dac536755b2489a5b442b0f36909cae5)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: fix ptest compilation for PowerPC</title>
<updated>2017-07-17T13:01:38+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2017-07-14T18:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=27e5534f13cf9d1965c91c9724c2839e7a37270f'/>
<id>urn:sha1:27e5534f13cf9d1965c91c9724c2839e7a37270f</id>
<content type='text'>
(From OE-Core rev: cd1a123bd07016abcff218d4274161cd794a190b)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
