From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: generate internal library dependencies from DEPDIRS-y automatically Date: Tue, 07 Jun 2016 15:00:45 +0200 Message-ID: <24422417.UYSFgAybK6@xps13> References: <62da0f5f31b2ab9db2dcc16acd2f8425a575a26f.1465293714.git.pmatilai@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Panu Matilainen , dev@dpdk.org, Ferruh Yigit , olivier.matz@6wind.com To: Christian Ehrhardt Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 26DD68EA0 for ; Tue, 7 Jun 2016 15:00:48 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id m124so113329401wme.1 for ; Tue, 07 Jun 2016 06:00:48 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-07 14:36, Christian Ehrhardt: > But I still struggle to see how to fix the circular dependency between > librte_eal and librte_mempool. Why is there a circular dependency? Only because of logs using mempool? > Maybe now is a time to look at this part of the original threads again to > eventually get apps less overlinked? > => http://www.dpdk.org/ml/archives/dev/2016-May/039441.html > My naive suggestions in generalized form can be found there (no answer yet): > => > http://stackoverflow.com/questions/37351699/how-to-create-both-so-files-for-two-circular-depending-libraries I would prefer removing the circular dependency. Maybe we can rewrite the code to not use mempool or move it outside of EAL.