config: make backtrace optional
authorWei Dai <wei.dai@intel.com>
Mon, 13 Mar 2017 08:59:27 +0000 (16:59 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 May 2017 13:13:29 +0000 (15:13 +0200)
commit4d8b986bfece500b343704dd1b508a98d9a96f3c
tree65eb57ad7e01158a3348cf4608955153e071aea2
parent232dc830f2cdd9d3614772f5446bc91954cb65ca
config: make backtrace optional

When building DPDK with musl, there is need not to disable
backtrace to remove some references to execinfo.h which is
not supported by musl now.
This also applies to some other libc implementation which
doesn't support backtrace() and backtrace_symbols().

musl is an implementation of the userspace portion
of the standard library functionality described in
the ISO C and POSIX standards, plus common extensions.
Got more details about musl from http://www.musl-libc.org .

Signed-off-by: Wei Dai <wei.dai@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
config/common_base
lib/librte_eal/bsdapp/eal/eal_debug.c
lib/librte_eal/linuxapp/eal/eal_debug.c