Strace supports two unwinders: libdw and libunwind, but libdw is
preferred as a more featureful one.

Signed-off-by: Michal Sieron <[email protected]>
---
 meta/recipes-devtools/strace/strace_7.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/strace/strace_7.2.bb 
b/meta/recipes-devtools/strace/strace_7.2.bb
index 6ae1de7c0b..451ffa6f88 100644
--- a/meta/recipes-devtools/strace/strace_7.2.bb
+++ b/meta/recipes-devtools/strace/strace_7.2.bb
@@ -29,7 +29,9 @@ COMPATIBLE_HOST:riscv32 = "null"
 # bluez is not enabled by default due to build dependency creep in smaller 
builds
 # like core-image-minimal leading to significantly more tasks being executed
 PACKAGECONFIG[bluez] = 
"ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
-PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
+# Stack unwinders - mutually exclusive
+PACKAGECONFIG[libdw]     = "--with-libdw,--without-libdw,elfutils,,,libunwind"
+PACKAGECONFIG[libunwind] = 
"--with-libunwind,--without-libunwind,libunwind,,,libdw"
 
 EXTRA_OECONF += "--enable-mpers=no --disable-gcc-Werror"
 

-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245804): 
https://lists.openembedded.org/g/openembedded-core/message/245804
Mute This Topic: https://lists.openembedded.org/mt/121253969/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to