Re: [OE-core] [PATCH 13/18] valgrind: update 3.18.1 -> 3.19.0

2022-04-27 Thread Richard Purdie
On Wed, 2022-04-27 at 16:34 +0200, Alexander Kanavin wrote:
> On Wed, 27 Apr 2022 at 15:08, Richard Purdie
>  wrote:
> > Did that patch result in:
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176
> 
> A previous version of it, yes. I addressed the issues:
> 
> +   file://0001-Fix-drd-tests-shared_timed_mutex.cpp.patch \
> 
> +# https://bugs.kde.org/show_bug.cgi?id=445743
> +rm ${D}${PTEST_PATH}/drd/tests/pth_mutex_signal
> 

Great, thanks. I just wasn't 100% sure and I'm feeling a little paranoid! :)

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164925): 
https://lists.openembedded.org/g/openembedded-core/message/164925
Mute This Topic: https://lists.openembedded.org/mt/90726569/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 13/18] valgrind: update 3.18.1 -> 3.19.0

2022-04-27 Thread Alexander Kanavin
On Wed, 27 Apr 2022 at 15:08, Richard Purdie
 wrote:
> Did that patch result in:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176

A previous version of it, yes. I addressed the issues:

+   file://0001-Fix-drd-tests-shared_timed_mutex.cpp.patch \

+# https://bugs.kde.org/show_bug.cgi?id=445743
+rm ${D}${PTEST_PATH}/drd/tests/pth_mutex_signal

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164924): 
https://lists.openembedded.org/g/openembedded-core/message/164924
Mute This Topic: https://lists.openembedded.org/mt/90726569/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 13/18] valgrind: update 3.18.1 -> 3.19.0

2022-04-27 Thread Richard Purdie
On Wed, 2022-04-27 at 10:40 +0200, Alexander Kanavin wrote:
> Dropped patches are either backports, were merged upstream,
> or upstream fixed the issue differently.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  ...Fix-drd-tests-shared_timed_mutex.cpp.patch |  26 +++
>  ...against-__GLIBC_PREREQ-for-musl-libc.patch |  36 
>  ...plement-linux-rseq-syscall-as-ENOSYS.patch | 198 --
>  ...ster.c-Limit-rawmemchr-test-to-glibc.patch |  35 
>  .../0004-Fix-out-of-tree-builds.patch | 176 
>  ...wrap.c-Fake-__GLIBC_PREREQ-with-musl.patch |  28 ---
>  ...{valgrind_3.18.1.bb => valgrind_3.19.0.bb} |  14 +-
>  7 files changed, 33 insertions(+), 480 deletions(-)
>  create mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0001-Fix-drd-tests-shared_timed_mutex.cpp.patch
>  delete mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
>  delete mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch
>  delete mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch
>  delete mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
>  delete mode 100644 
> meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
>  rename meta/recipes-devtools/valgrind/{valgrind_3.18.1.bb => 
> valgrind_3.19.0.bb} (95%)

Did that patch result in:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3176

?

Cheers,

RIchard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164920): 
https://lists.openembedded.org/g/openembedded-core/message/164920
Mute This Topic: https://lists.openembedded.org/mt/90726569/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 13/18] valgrind: update 3.18.1 -> 3.19.0

2022-04-27 Thread Alexander Kanavin
Dropped patches are either backports, were merged upstream,
or upstream fixed the issue differently.

Signed-off-by: Alexander Kanavin 
---
 ...Fix-drd-tests-shared_timed_mutex.cpp.patch |  26 +++
 ...against-__GLIBC_PREREQ-for-musl-libc.patch |  36 
 ...plement-linux-rseq-syscall-as-ENOSYS.patch | 198 --
 ...ster.c-Limit-rawmemchr-test-to-glibc.patch |  35 
 .../0004-Fix-out-of-tree-builds.patch | 176 
 ...wrap.c-Fake-__GLIBC_PREREQ-with-musl.patch |  28 ---
 ...{valgrind_3.18.1.bb => valgrind_3.19.0.bb} |  14 +-
 7 files changed, 33 insertions(+), 480 deletions(-)
 create mode 100644 
meta/recipes-devtools/valgrind/valgrind/0001-Fix-drd-tests-shared_timed_mutex.cpp.patch
 delete mode 100644 
meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
 delete mode 100644 
meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch
 delete mode 100644 
meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch
 delete mode 100644 
meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
 delete mode 100644 
meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
 rename meta/recipes-devtools/valgrind/{valgrind_3.18.1.bb => 
valgrind_3.19.0.bb} (95%)

diff --git 
a/meta/recipes-devtools/valgrind/valgrind/0001-Fix-drd-tests-shared_timed_mutex.cpp.patch
 
b/meta/recipes-devtools/valgrind/valgrind/0001-Fix-drd-tests-shared_timed_mutex.cpp.patch
new file mode 100644
index 00..738bf87c92
--- /dev/null
+++ 
b/meta/recipes-devtools/valgrind/valgrind/0001-Fix-drd-tests-shared_timed_mutex.cpp.patch
@@ -0,0 +1,26 @@
+From 900b3f9b0765488f0e1f457ff5d5d1e3efe897de Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 27 Apr 2022 10:01:22 +0200
+Subject: [PATCH] Fix drd/tests/shared_timed_mutex.cpp
+
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=453055]
+Signed-off-by: Alexander Kanavin 
+---
+ drd/tests/shared_timed_mutex.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drd/tests/shared_timed_mutex.cpp 
b/drd/tests/shared_timed_mutex.cpp
+index 9741169..dfd97a4 100644
+--- a/drd/tests/shared_timed_mutex.cpp
 b/drd/tests/shared_timed_mutex.cpp
+@@ -43,6 +43,7 @@ void g()
+ if (test_mutex.try_lock_shared_until(then))
+ {
+ test_mutex.unlock_shared();
++break;
+ }
+ }
+ if (i == 3)
+-- 
+2.30.2
+
diff --git 
a/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
 
b/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
deleted file mode 100644
index 81ab29f3be..00
--- 
a/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 1b5b6f827ac1153a41fc93e78bf34ccdf5720b9b Mon Sep 17 00:00:00 2001
-From: Randy MacLeod 
-Date: Fri, 19 Oct 2018 10:31:12 -0400
-Subject: [PATCH] Guard against __GLIBC_PREREQ for musl libc
-
-Upstream-Status: Submitted https://bugs.kde.org/show_bug.cgi?id=400162
-
-Signed-off-by: Randy MacLeod 

- memcheck/tests/linux/sys-statx.c | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/memcheck/tests/linux/sys-statx.c 
b/memcheck/tests/linux/sys-statx.c
-index fe9f9ba45..473c2cd7f 100644
 a/memcheck/tests/linux/sys-statx.c
-+++ b/memcheck/tests/linux/sys-statx.c
-@@ -7,11 +7,16 @@
- #include 
- #include 
- #include 
-+
-+#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
- #if __GLIBC_PREREQ(2,28)
- /* struct statx provided in sys/stat.h */
- #else
- #include 
- #endif
-+#else
-+#include 
-+#endif
- #include 
- 
- int check_stat2;
--- 
-2.17.0
-
diff --git 
a/meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch
 
b/meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch
deleted file mode 100644
index be1536980c..00
--- 
a/meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-From 1024237358f01009fe233cb1294f3b8211304eaa Mon Sep 17 00:00:00 2001
-From: Mark Wielaard 
-Date: Fri, 10 Dec 2021 17:41:59 +0100
-Subject: [PATCH] Implement linux rseq syscall as ENOSYS
-
-This implements rseq for amd64, arm, arm64, ppc32, ppc64,
-s390x and x86 linux as ENOSYS (without warning).
-
-glibc will start using rseq to accelerate sched_getcpu, if
-available. This would cause a warning from valgrind every
-time a new thread is started.
-
-Real rseq (restartable sequences) support is pretty hard, so
-for now just explicitly return ENOSYS (just like we do for clone3).
-
-Upstream-Status: Backport [ 1024237358f01009fe233cb1294f3b8211304eaa ]
-
-https://sourceware.org/pipermail/libc-alpha/2021-December/133656.html

- coregrind/m_syswrap/syswrap-amd64-linux.c | 2 ++
-