mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
@@ -106,3 +106,11 @@ INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-
|
||||
# valgrind needs debug information for ld.so at runtime in order to
|
||||
# redirect functions like strlen.
|
||||
RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
|
||||
|
||||
# Valgrind needs intrinsics which are not provided by clang
|
||||
# m_signals.c:2213:7: error: __builtin_longjmp is not supported for the current target
|
||||
# 2213 | VG_MINIMAL_LONGJMP(tst->sched_jmpbuf);
|
||||
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# It needs something like - https://bugs.kde.org/show_bug.cgi?id=369723
|
||||
TOOLCHAIN:riscv64 = "gcc"
|
||||
|
||||
Reference in New Issue
Block a user