aboutsummaryrefslogtreecommitdiff
path: root/package/ltrace
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2014-12-09 08:11:48 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-09 12:32:44 +0100
commit2c81e8e779b42d81bb3f05b764e9654a0feef64b (patch)
treea7d1ab637c63576991b265d75225b09f7a9f7822 /package/ltrace
parent66eece01cfbce2da44a9d28ce7d4a26149f5e078 (diff)
downloadbuildroot-2c81e8e779b42d81bb3f05b764e9654a0feef64b.tar.gz
buildroot-2c81e8e779b42d81bb3f05b764e9654a0feef64b.tar.bz2
ltrace: disable elfutils unwinding when libunwind is used
ltrace can't use both. Use --with-elfutils=no to disable use of elfutils (libdwfl) for unwinding. Note that elfutils (libelf) is still a mandatory dependency regardless of --with-elfutils. Fixes: http://autobuild.buildroot.net/results/a3c/a3c1647578cdeda3aaf672084a9a893f06dbad26/ http://autobuild.buildroot.net/results/fdb/fdb7e760faeda77b263a6dac3e322a25b53e67ff/ http://autobuild.buildroot.net/results/70a/70a0614ca7baf6a46898834a87cd46865f6e3385/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ltrace')
-rw-r--r--package/ltrace/ltrace.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index 5c9549f401..7f00ce324e 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -21,7 +21,9 @@ LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
# We don't normally do so for uClibc and we can't know if it's external
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
-LTRACE_CONF_OPTS += --with-libunwind=yes
+# --with-elfutils only selects unwinding support backend. elfutils is a
+# mandatory dependency regardless.
+LTRACE_CONF_OPTS += --with-libunwind=yes --with-elfutils=no
LTRACE_DEPENDENCIES += libunwind
else
LTRACE_CONF_OPTS += --with-libunwind=no