[PATCH] build: detect backtrace availability

Bruce Richardson bruce.richardson at intel.com
Mon Jan 9 10:08:04 CET 2023


On Sun, Jan 08, 2023 at 10:59:20AM +0100, Thomas Monjalon wrote:
> Backtrace dump is available:
> 	- always on Windows
> 	- on Linux/BSD if execinfo.h is available (not anymore on Alpine)
> 
> The flag RTE_BACKTRACE was set unconditionnaly in rte_config.h.
> It is now set only if the feature is available.
> 
> Note: Alpine Linux has decided to remove libexecinfo support,
> so this change will allow to compile DPDK on recent Alpine Linux.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list