Skip to contentSkip to conversation

package/ltrace: do not enable libunwind support for MIPS

PATCH New Vicente Olivert Riera 2 participants 2 messages Aug 16, 2015 – Aug 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ltrace: do not enable libunwind support for MIPS

Currently libunwind support in ltrace is broken for MIPS. I'm working with upstream to fix this issue, but it's not yet ready, so let's disable it by now.

Fixes:

http://autobuild.buildroot.net/results/79b/79b51941ed57b0564c68112489b03cac39a04e9a/

---
 package/ltrace/ltrace.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/ltrace/ltrace.mk +2 -1
index 73ae28e..eac42be 100644
@@ -19,8 +19,9 @@ LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
 
 # ltrace can use libunwind only if libc has backtrace() support
 # We don't normally do so for uClibc and we can't know if it's external
+# Also ltrace with libunwind support is broken for MIPS so we disable it
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
-ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_mips)$(BR2_mipsel),)
 # --with-elfutils only selects unwinding support backend. elfutils is a
 # mandatory dependency regardless.
 LTRACE_CONF_OPTS += --with-libunwind=yes --with-elfutils=no
Signature · 1 line
2.4.6
#1 lore raw

PATCH 1/1 package/ltrace: do not enable libunwind support for MIPS

Dear Vicente Olivert Riera,

Quoted 4 lines · Vicente Olivert Riera

Currently libunwind support in ltrace is broken for MIPS. I'm working with upstream to fix this issue, but it's not yet ready, so let's disable it by now.

Quoted 8 lines

Fixes:

http://autobuild.buildroot.net/results/79b/79b51941ed57b0564c68112489b03cac39a04e9a/

---
 package/ltrace/ltrace.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com