From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 1D708201 for ; Fri, 10 Mar 2017 13:40:21 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id v186so9609249wmd.0 for ; Fri, 10 Mar 2017 04:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=aio8ogfLzZHOTvlXpE6pE5xOYzotnZhFvNxjYF3NmLQ=; b=PdRlzCvTnTkxXJyDRLOun1od0r4mS/0roJ8+vGa2dkxSlu01ckyXTj/+eMErTRiXoa 25V0FIu/4RO6jvSICTr+nD1vzw91XWuAw4AwzvZGFP2lbZ4A11Eq9Fjg9hIMwcb50ys8 KGbcqD1F6lE4VW/W5ArvZTCkGBBivrIfBMCtiNFdk1mcOxkWcE+f5d5GE+2Yvv7+h9jc 5QZWnnzw4n2/PJz491mpur0WfV2PsRS25KOYfe+TIE2NU2Pofz6lgHGu20CGf7S1wkkw 8PVNe9KNeea52/FA8/p7BXYEJqd/+kmAZZCiq2jbJy5CtCzY86Y/LOn3429Uh0jUG/AT 1+2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=aio8ogfLzZHOTvlXpE6pE5xOYzotnZhFvNxjYF3NmLQ=; b=FP9lFloHaf0Dne39RprxeqwhLdK9dF+Paq9gCpmPQkOQfzlVuocG+YGdoEJjPqLnML gc0s68gFo4JsIGka9OUn4EIrXfsiaQ7CFPHrNlOxTGRAuBD0HnzW/z+QZ3SXFIV06ztf cfjWlrJEl1pQ3qiXe4LHZrc4lUIfBBbdI92HahMwqblud/qdxpOWyV4Xqmi0JIHZjrJr YrlBvgeWxJhBBnJjTisWM0FuyYlB4aCI6hWRckYBUNgth0TT471Ap82WnZ51aSo2TV8I B2G6mcyOPNkDjjW2zNVoienti7DktvcOD6pallJiVw7LQHHA2BAM8izJsFyZ9ugCNKTY oipg== X-Gm-Message-State: AFeK/H3Yiou2Xx84BWQXdIZMQbiRphwJtYDsFTnKeQItmbWcSmUOqxDpnL4Lu8ZJdW3ncpFK X-Received: by 10.28.165.147 with SMTP id o141mr2245455wme.67.1489149621546; Fri, 10 Mar 2017 04:40:21 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o2sm3145581wmb.28.2017.03.10.04.40.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Mar 2017 04:40:21 -0800 (PST) From: Thomas Monjalon To: Wei Dai Cc: dev@dpdk.org, john.mcnamara@intel.com, david.marchand@intel.com Date: Fri, 10 Mar 2017 13:40:20 +0100 Message-ID: <1517181.dliHzHtphb@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1489147132-40922-4-git-send-email-wei.dai@intel.com> References: <1489147132-40922-1-git-send-email-wei.dai@intel.com> <1489147132-40922-4-git-send-email-wei.dai@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 3/3] eal: remove references to execinfo.h for musl 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: Fri, 10 Mar 2017 12:40:22 -0000 2017-03-10 19:58, Wei Dai: > @@ -47,6 +50,7 @@ > /* dump the stack of the calling core */ > void rte_dump_stack(void) > { > +#ifndef RTE_LIBC_MUSL > void *func[BACKTRACE_SIZE]; > char **symb = NULL; > int size; > @@ -64,6 +68,7 @@ void rte_dump_stack(void) > } > > free(symb); > +#endif > } There are probably other libc implementations not supporting this feature. Instead of calling it "RTE_LIBC_MUSL", it should something like "ENABLE_BACKTRACE". Then you can add a musl section in the Linux quick start guide.