diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-20 23:19:54 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-27 09:01:16 +0100 |
| commit | 7882108234d240c59a46ebcb6781cb3933106c5a (patch) | |
| tree | bd933bf1efd491b1435fda037e6c478dce6616f9 /meta | |
| parent | a9ac218e832e3f8d33c910037e7acadc544d3f96 (diff) | |
| download | poky-7882108234d240c59a46ebcb6781cb3933106c5a.tar.gz | |
valgrind: Use gcc to compile on riscv64
clang does not yet support __builtin_longjmp on riscv64
(From OE-Core rev: 9ad32f5482665ba121e2083c1a1d9cd3a00f3ac4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.25.1.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb index 8e27212a0f..a8b0be5767 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb | |||
| @@ -106,3 +106,11 @@ INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck- | |||
| 106 | # valgrind needs debug information for ld.so at runtime in order to | 106 | # valgrind needs debug information for ld.so at runtime in order to |
| 107 | # redirect functions like strlen. | 107 | # redirect functions like strlen. |
| 108 | RRECOMMENDS:${PN} += "${TCLIBC}-dbg" | 108 | RRECOMMENDS:${PN} += "${TCLIBC}-dbg" |
| 109 | |||
| 110 | # Valgrind needs intrinsics which are not provided by clang | ||
| 111 | # m_signals.c:2213:7: error: __builtin_longjmp is not supported for the current target | ||
| 112 | # 2213 | VG_MINIMAL_LONGJMP(tst->sched_jmpbuf); | ||
| 113 | # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 114 | # | ||
| 115 | # It needs something like - https://bugs.kde.org/show_bug.cgi?id=369723 | ||
| 116 | TOOLCHAIN:riscv64 = "gcc" | ||
