From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 428A4106B for ; Wed, 4 Mar 2015 11:42:18 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 04 Mar 2015 02:40:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,687,1418112000"; d="scan'208";a="674948791" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.24]) by fmsmga001.fm.intel.com with SMTP; 04 Mar 2015 02:42:14 -0800 Received: by (sSMTP sendmail emulation); Wed, 04 Mar 2015 10:42:13 +0025 Date: Wed, 4 Mar 2015 10:42:13 +0000 From: Bruce Richardson To: Thomas Monjalon Message-ID: <20150304104213.GE1468@bricha3-MOBL3> References: <1534932.rt5IAT3UZl@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534932.rt5IAT3UZl@xps13> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] config: default to shared library 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: Wed, 04 Mar 2015 10:42:18 -0000 On Wed, Mar 04, 2015 at 10:24:44AM +0100, Thomas Monjalon wrote: > Hi Panu, > > 2015-03-04 08:17, Panu Matilainen: > > With symbol versioning its vital that developers test their code in > > shared library mode, otherwise we'll be playing "add the forgotten > > symbol export" from here to eternity. > > Yes we must improve the sanity checks. > A lot of options must be tested (or removed) and not only shared libs. > But the error you reported before (missing export of rte_eth_dev_release_port) > cannot be seen even with this patch. > It means we need more tools. > Though, default configuration is not a tool. > > > By defaulting to shared we should catch more of these cases early, > > but without taking away anybodys ability to build static. > > Shared libraries are convenient for distributions but have a performance > impact. I think that static build must remain the default choice. > +1