From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 320DB69C5 for ; Mon, 13 Mar 2017 10:06:19 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2017 02:06:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,158,1486454400"; d="scan'208";a="833928738" Received: from dpdk6.bj.intel.com ([172.16.182.81]) by FMSMGA003.fm.intel.com with ESMTP; 13 Mar 2017 02:06:17 -0700 From: Wei Dai To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, john.mcnamara@intel.com, david.marchand@6wind.com, raymond.tan@intel.com, Wei Dai Date: Mon, 13 Mar 2017 16:59:27 +0800 Message-Id: <1489395568-4664-3-git-send-email-wei.dai@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489395568-4664-1-git-send-email-wei.dai@intel.com> References: <1489395568-4664-1-git-send-email-wei.dai@intel.com> Subject: [dpdk-dev] [PATCH v2 2/3] config: add a marco to enable backtrace or not X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2017 09:06:19 -0000 When building DPDK with musl, there is need not to generate the MACRO named RTE_EAL_ENABLE_BACKTRACE in rte_config.h 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( ). Got more details about musl from http://www.musl-libc.org . Signed-off-by: Wei Dai --- config/common_linuxapp | 1 + 1 file changed, 1 insertion(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 00ebaac..16e0064 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -37,6 +37,7 @@ CONFIG_RTE_EXEC_ENV_LINUXAPP=y CONFIG_RTE_EAL_IGB_UIO=y CONFIG_RTE_EAL_VFIO=y +CONFIG_RTE_EAL_ENABLE_BACKTRACE=y CONFIG_RTE_KNI_KMOD=y CONFIG_RTE_LIBRTE_KNI=y CONFIG_RTE_LIBRTE_VHOST=y -- 2.7.4