<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/valgrind, branch master-test</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-test</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-test'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-12-18T22:52:24+00:00</updated>
<entry>
<title>valgrind: exclude bar_bad/bar_bad_xml from ptests</title>
<updated>2020-12-18T22:52:24+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2020-12-14T09:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c4c6bb89cfd083a294a5f760f9b8542b1d5e6715'/>
<id>urn:sha1:c4c6bb89cfd083a294a5f760f9b8542b1d5e6715</id>
<content type='text'>
The tests' output is non-deterministic and sometimes
doesn't match the sample output. This has been reported at
https://bugs.kde.org/show_bug.cgi?id=430321
(see also an earlier related bug https://bugs.kde.org/show_bug.cgi?id=358213)

Until upstream figures out how to fix this, let's not run the tests.

(From OE-Core rev: 7f7d2fa18267090891754d976cbc3e628324d3dd)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: helgrind: Intercept libc functions</title>
<updated>2020-11-24T10:27:45+00:00</updated>
<author>
<name>Stacy Gaikovaia</name>
<email>Stacy.Gaikovaia@windriver.com</email>
</author>
<published>2020-11-20T19:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1d41061b3ff928cb066b256651ffc84c0b2818d6'/>
<id>urn:sha1:1d41061b3ff928cb066b256651ffc84c0b2818d6</id>
<content type='text'>
PTH_FUNC definition needs to be modified in order to
intercept posix thread functions in both libc and libpthread.
In order to handle this in helgrind, weak alias the pthread functions in glibc.
Include a special case for musl.

See https://bugs.kde.org/show_bug.cgi?id=428909 for additional
discussion.

Upstream-Status: Submitted

(From OE-Core rev: 5da46a552d54de34a5243e1d90dcc6f52b7af746)

Signed-off-by: Paul Floyd &lt;paulf@free.fr&gt;
Signed-off-by: Stacy Gaikovaia &lt;Stacy.Gaikovaia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: Fix build on musl after drd fixes</title>
<updated>2020-10-26T22:08:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-10-26T12:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad818f8b23ad9317a7e7d5daa6958ff9054e93f6'/>
<id>urn:sha1:ad818f8b23ad9317a7e7d5daa6958ff9054e93f6</id>
<content type='text'>
(From OE-Core rev: 6a74caa115298e594ae22a9de91b132db62e4b5d)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: drd: fix pthread intercept test failures</title>
<updated>2020-10-26T22:08:36+00:00</updated>
<author>
<name>Stacy Gaikovaia</name>
<email>Stacy.Gaikovaia@windriver.com</email>
</author>
<published>2020-10-13T14:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6dddb2345b91a4701ccaa85eecb3ce8261d3780b'/>
<id>urn:sha1:6dddb2345b91a4701ccaa85eecb3ce8261d3780b</id>
<content type='text'>
After glibc uprev 2.31 -&gt; 2.32, the following drd ptests
fail with the error "condition variable has not been initialized".

drd/tests/annotate_hb_err
drd/tests/annotate_sem
drd/tests/annotate_rwlock
drd/tests/annotate_order_2
drd/tests/annotate_smart_pointer
drd/tests/annotate_spinlock
drd/tests/monitor_example
drd/tests/pth_cond_race
drd/tests/pth_inconsistent_cond_wait

In glibc 2.32, the POSIX thread functions are in both
libc and libpthread, causing valgrind to misinterpert
test behaviour. This patch tells valgrind to intercept
both the libc and the libpthread functions, resolving
these ptest failures.

Here are the latest test results on qemux86-64:
=== Test Summary ===
TOTAL: 728
PASSED: 688
FAILED: 1
SKIPPED: 39

The failed test is in helgrind:
FAIL: helgrind/tests/pth_destroy_cond

Patch can be removed once we uprev valgrind.
See valgrind commit 15330adf7c2471fbaa6a0818db07078d81dbff97.

(From OE-Core rev: e8f265e957e187b4f84f566aaeec8f514e3044d6)

Signed-off-by: Stacy Gaikovaia &lt;Stacy.Gaikovaia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: fix memcheck vgtests remove fullpath-after flags</title>
<updated>2020-09-17T08:47:46+00:00</updated>
<author>
<name>Stacy Gaikovaia</name>
<email>Stacy.Gaikovaia@windriver.com</email>
</author>
<published>2020-09-16T23:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=14ccd72b3fb551784069bfce94d294f44cdf240a'/>
<id>urn:sha1:14ccd72b3fb551784069bfce94d294f44cdf240a</id>
<content type='text'>
Previously in:
    f75792b28e valgrind: make a few more ptests pass
the vagrind test runner was adjusted to suppress part
of a path that only exists when run in the yocto ptest
environment. Unfortunately this change includes the
valgrind version and when valgrind was last updated,
the patch was not changed. Rather than continually updating
the patch or even generating the version dynamically,
we can simply change the expected output for two tests.

The reason the option: --fullpath-after=foo was
introduced into the effected valgrind ptests was to
deal with builds where ccache is used. Compiling with
ccache enabled sometimes causes the source file absolute
name to be found in a full path that is not the same as $PWD.

See commit c80f32e662dfa2a4f046960a25d5b8b7a8821bea in
valgrind for more information about changes to the
arguments that test badfree3 and varinfo5 run with.

There is also a minor fix to add the missing overloading.pm
perl package and put the dependencies in alphabetic order.

(From OE-Core rev: 9c82b9302c6ee84864e9a9cc870729395804e794)

Signed-off-by: Stacy Gaikovaia &lt;Stacy.Gaikovaia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: upgrade 3.16.0 -&gt; 3.16.1</title>
<updated>2020-06-25T09:23:37+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@cn.fujitsu.com</email>
</author>
<published>2020-06-24T09:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0c4cf4b7e15b31bd8be4a87a5b48992e7191ee43'/>
<id>urn:sha1:0c4cf4b7e15b31bd8be4a87a5b48992e7191ee43</id>
<content type='text'>
??Signed-off-by: Wang Mingyu &lt;wangmy@cn.fujitsu.com&gt;

(From OE-Core rev: faaebe0df4f8e0b742a6c1a32ea5579210559ab9)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: disable it for powerpc soft-float</title>
<updated>2020-06-23T11:31:03+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin@longchamp.me</email>
</author>
<published>2020-06-20T13:10:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=18ce5582eac5633c622ac82770567390c03020bd'/>
<id>urn:sha1:18ce5582eac5633c622ac82770567390c03020bd</id>
<content type='text'>
valgrind doesn't build for powerpc soft-float. It is thus disabled for
such architectures.

(From OE-Core rev: effd1434a6ca6afcc358bea64053a7bf805633c7)

Signed-off-by: Valentin Longchamp &lt;valentin@longchamp.me&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: upgrade 3.15.0 -&gt; 3.16.0</title>
<updated>2020-06-04T12:27:32+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@cn.fujitsu.com</email>
</author>
<published>2020-06-03T10:52:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=82b89e732c7ef746d32d3c196fcba0867127c3ec'/>
<id>urn:sha1:82b89e732c7ef746d32d3c196fcba0867127c3ec</id>
<content type='text'>
0001-gcc10-arm64-build-needs-__getauxval-for-linking-with.patch
0001-tests-Make-pthread_detatch-call-portable-across-plat.patch
0004-pth_atfork1.c-Define-error-API-for-musl.patch
removed since they are included in 3.16.0

refresh 0004-Fix-out-of-tree-builds.patch

-License-Update:
before:
   You should have received a copy of the GNU General Public
   License along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307, USA.
after:
   You should have received a copy of the GNU General Public License
   along with this program; if not, see &lt;http://www.gnu.org/licenses/&gt;.

(From OE-Core rev: a627a350cf3db99a63d6be2701957e3de0654370)

Signed-off-by: Wang Mingyu &lt;wangmy@cn.fujitsu.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: Backport upstream patch to fix __getauxval needs</title>
<updated>2020-05-18T05:33:36+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-05-15T15:19:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b62b82c02dae3af2a85cddbb5e37461144680339'/>
<id>urn:sha1:b62b82c02dae3af2a85cddbb5e37461144680339</id>
<content type='text'>
Drop disabling outline-atomics since that was added to fix this issue in
particular

(From OE-Core rev: 702a1ae29c6a0f920bd67b7a7a41b886ac52a751)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>valgrind: Do not use outline-atomics on aarch64</title>
<updated>2020-05-15T15:31:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-05-14T17:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3799c960c24b2bed74320df9dc8525821c8e1477'/>
<id>urn:sha1:3799c960c24b2bed74320df9dc8525821c8e1477</id>
<content type='text'>
This avoids the __getauxval undefined reference error seen with gcc10 on
doing static linking with -nodefaultlibs, which is uncommon usecase
anyway, disabling outline-atomics is not a huge deal for OE in terms of
performance as we already use -mcpu which is tuned enough to the SOC the
code is being generated for

(From OE-Core rev: 3952738d083b888e5b898ed3d63a0ed9a4dd3712)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
