From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id D82692BA8 for ; Thu, 30 Jun 2016 13:38:16 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id r201so114449951wme.1 for ; Thu, 30 Jun 2016 04:38:16 -0700 (PDT) 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=rheVtyuYhymC738wZS8sdxnpO1xY1peC/Wd3yUM7l88=; b=Q0qcvndP129fIrlNsVEYeLJwt8+pVHc2PvGmwNS2W0J080uhkkyE7skScYeC8hQZly BflVYuZBSj5BA8XTz+y4089Wmw2xuxEQcRTbsFKEt6Q6M6UTkGq9qQcGu5CojWaFByV4 FiSQrMCnYCrKpn3PxW9PtgKpA9heWpVU3Y3uyChEVoG+r6Ta/Ewkx6xIR8hJhPWCd34V dHpM8b0nwiIECZESe0TrQmDbKe1wFABOiyw1OVlRh5/mPn0GEW0E1xOMCyj/kM5+Jmtm 15gWTN//OHJOKa5JHpqp7VWXzqTxva7N5WJ9YvoOxzhe3xJ2tFPFHkZkn9020PNEvDbS uKtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=rheVtyuYhymC738wZS8sdxnpO1xY1peC/Wd3yUM7l88=; b=iOxoRln0N3GT+kKsxB6TsBYUIjNQyPdMuLx+7TKRFEuZiU5bgsvId1daEHDnLr65Em m/EjWxZaPThsoomF0u52dvVCr6Vle5HxuVMNLnjxZa+0g5aYfYraf5jET7Y0IoUo6aGH 0jp8AMJJCTAHs7xwNGcfHCKJ3OFiz/+tSgXOQ79x6ExH6qn+F6PjCCCCuhgN8nSwRkvn nKkaOplaYqzONm3yHWNfFXR9nPbcN+wAUAu+zdoJOVqg43GvzfOsaUa9p0TL+bcJMlV8 5zx7k5bufFYZtkjGP6p7JpKCvfXDRfJQp2tOtrYwNdzRLrwjV0EnsWPzwjSPq+1dxCTu DM6Q== X-Gm-Message-State: ALyK8tJZV1sbcC9QnkwYmaF8+uEmyEO/1JFgc0FTP0MBZ/ZtcdRrH3wUTgBENy6k1Xwv8knC X-Received: by 10.194.5.40 with SMTP id p8mr13474176wjp.56.1467286696632; Thu, 30 Jun 2016 04:38:16 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id f189sm4375600wmf.19.2016.06.30.04.38.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 04:38:15 -0700 (PDT) From: Thomas Monjalon To: Sergio Gonzalez Monroy Cc: dev@dpdk.org Date: Thu, 30 Jun 2016 13:38:11 +0200 Message-ID: <5547616.scaE5dMnT7@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1467285021-103920-1-git-send-email-sergio.gonzalez.monroy@intel.com> References: <1467285021-103920-1-git-send-email-sergio.gonzalez.monroy@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: fix acl library static linking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 11:38:17 -0000 2016-06-30 12:10, Sergio Gonzalez Monroy: > Since below commit, ACL library is outside the scope of --whole-archive > and ACL autotest fails. > > RTE>>acl_autotest > ACL: allocation of 25166728 bytes on socket 9 for ACL_acl_ctx failed > ACL: rte_acl_add_rules(acl_ctx): rule #1 is invalid > Line 1584: SSE classify with zero categories failed! > Test Failed > > This is the result of the linker picking weak over non-weak functions. > > Fixes: 95dc3c3cf31c ("mk: reduce scope of whole-archive static linking") > > Signed-off-by: Sergio Gonzalez Monroy Please could you detail which symbol is missing? Does it need to be commented in rte.app.mk? The other libs are in whole-archive to support dlopen of drivers. But the problem here is not because of a driver use.