From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=c+8T2gUQ3NHNoGSVOs5E8lH0GqBqYeTfod67/ii/8y0=; b=pj3vsu3ER26omAf2SKMm1idDdO5ayrP8ogvr9Jm69KhRcvjwuHBWCjnVY53VzrBGVy 23V9KmckPVgfbvOs8R7YyOGoPXkHC3tkt+9MPr/H0UJndgCNqMX1eTf6msVaujlw105U p0Kqgt9NQW7ce+YZvgllektxp8uboiaD5N8rsMP+wQdjKl6fgTcz5U9ordHD9/7VMs8n pntRSLEOb2bCoHTm554fe31n5/QgMUXEtSHGDJ2DYm2ZhpRfU3P5tFgO9mXU73FJELBE vFe1cKgJqBrcjVxEXMw70tiK/RsrwbIAj/Hm41BPSrRMXt2pIoTqTf5ZmvqThQlW9V1g l+Ag== 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=c+8T2gUQ3NHNoGSVOs5E8lH0GqBqYeTfod67/ii/8y0=; b=PP+nqjRfBOfXFhlqb48muynPHnqtGHfBRPr/cQ/adNW3o9bFkKKiIVlvmaBvTQNhp4 OdMOKGHEQ1DW0VbM3f7DrveJT0lHOBUbPBAl8LaZP9nMBRyPTG9sswdaiAZ69do5ZFg2 +47f6Qjp7J3/Tc4gS12zceeomBGDeWL+YhPiv80W4c+fTifozg5uFh2a+5uAF171saoi wOkYgngL5W69jfVNaGrpm7xSXalpxNNItsaDQ9YQNUC/xKpWBu9QIgnjhrcFdu8WT7Ip w1DVeBzc0iZ55/LVLr9S/nB7tmWN2b/Idbd+Dab1WnoWxAh4xWgtlA0JusD2tURRV2ps JlKg== X-Gm-Message-State: ALyK8tLWmIymKk8YGcXURqdXfenLD55c9m+oFrhrqL6WMGWHeiL7l6b9Cg05Sy4FoQfNbPbV X-Received: by 10.28.18.2 with SMTP id 2mr2565323wms.83.1465304447877; Tue, 07 Jun 2016 06:00:47 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id k62sm19367002wmb.7.2016.06.07.06.00.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Jun 2016 06:00:46 -0700 (PDT) From: Thomas Monjalon To: Christian Ehrhardt Cc: Panu Matilainen , dev@dpdk.org, Ferruh Yigit , olivier.matz@6wind.com Date: Tue, 07 Jun 2016 15:00:45 +0200 Message-ID: <24422417.UYSFgAybK6@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <62da0f5f31b2ab9db2dcc16acd2f8425a575a26f.1465293714.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: generate internal library dependencies from DEPDIRS-y automatically 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: Tue, 07 Jun 2016 13:00:48 -0000 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.