From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFD0BA0525; Fri, 21 Feb 2020 15:31:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1AFC91BFAC; Fri, 21 Feb 2020 15:31:50 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 127311BFA9 for ; Fri, 21 Feb 2020 15:31:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582295508; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j08dJztp35TLqDeVabgze2hIrBROqoeKo6y4ljV3Nac=; b=F0PUm+wteRXswviThOdw0POf97fj9SKxWCkclPYUXwcOlo2DJQxyXCPz4DyS+dXUCowqBw BooSTCjTufbVybBCXuAOH01Eo4FZ1Ot+rjxQQcYJsPB+IzrjvW6zpIrIBohf6jeogN5yDC FVfRrz1W7icdG3evZfoWQeSeTW/t1YE= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-11-8LoZM3DQOHamMSDAsHpCdg-1; Fri, 21 Feb 2020 09:31:46 -0500 X-MC-Unique: 8LoZM3DQOHamMSDAsHpCdg-1 Received: by mail-vs1-f71.google.com with SMTP id 123so178510vsg.2 for ; Fri, 21 Feb 2020 06:31:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yrFXakjUXWk3dhga30E0GuM6UsOiq+uM7+Q4iUjLrPs=; b=jCuio6HVnDnRGbfFquNLjGqYfWchd0qRjmGMQwPNGFsGkIwM3R6W7HYoJzJN4bQ8Wm M9YzC7kFA0G0USy2zUBkF6laCjunpu391VdAM1bHBv4C2y5TlF/diIlQ4zAtTpOXNt9j 682bHDVy6bxRrJEzxddBm3YwS5Q1QjUmL3d1TGxysOxxkcwVI43LMe8UTmXjEgH+98vP 2mGtxaJbA6LL1ZDie2ydcaBkPZPd4zBBkS4J501vH+k5smZ/CqvQokRWbGyoecRNa/j/ vv7O0dTV9t0qmIb+yzQPoqBZElLS4bAjJuYqrgocMz1J9qLMyB2K3ngPvKy7TsdhR79V KhSQ== X-Gm-Message-State: APjAAAXy8iC2ZZOduQJ7A2Uo5PVs0HRKtSX2vGOxdhJNdy4eRKSrNznu RaT4VnzGQwOrhwSXdkDqnrTo8VsfntzUcMlfsTVoDfatPuUC1BF9rTo80v4kt7RsEsPHLUwuZIo nmblssBEh2QRf4NlyP0M= X-Received: by 2002:a1f:5385:: with SMTP id h127mr17479762vkb.56.1582295505456; Fri, 21 Feb 2020 06:31:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxqKP2RrMEcL3JQqsTdz3WpT0Yo26wW+nL+R4k4i8YwsUq3g+FGmC25NCtHcHBBvs5cTvBMvgkIH63q3/p/h7o= X-Received: by 2002:a1f:5385:: with SMTP id h127mr17479731vkb.56.1582295504940; Fri, 21 Feb 2020 06:31:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Fri, 21 Feb 2020 15:31:33 +0100 Message-ID: To: Hemant Agrawal Cc: Nipun Gupta , dev X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] Dependency issue between event/dpaa and crypto/dpaa_sec 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Feb 13, 2020 at 1:16 PM David Marchand wrote: > > On Thu, Feb 13, 2020 at 1:07 PM Hemant Agrawal w= rote: > > > I could not find a dependency in the makefiles for this. > > > But meson has this dependency. > > > > > > drivers/event/dpaa/meson.build > > > deps +=3D ['pmd_dpaa', 'pmd_dpaa_sec'] > > > > > > > > [Hemant] Makefile do have dependency set, but at a different place. I h= ave done a small change. Please check if you can : > > I must have missed it then. > Can you describe how this dependency is expressed in the makefiles? > > > > > diff --git a/drivers/event/dpaa/Makefile b/drivers/event/dpaa/Makefile > > index 2f53efdf9e..093d3a38cf 100644 > > --- a/drivers/event/dpaa/Makefile > > +++ b/drivers/event/dpaa/Makefile > > @@ -21,8 +21,6 @@ CFLAGS +=3D -I$(RTE_SDK)/drivers/bus/dpaa/include/ > > CFLAGS +=3D -I$(RTE_SDK)/drivers/mempool/dpaa > > CFLAGS +=3D -I$(RTE_SDK)/drivers/common/dpaax > > CFLAGS +=3D -I$(RTE_SDK)/lib/librte_eal/common/include > > - > > -LDLIBS +=3D -lrte_pmd_dpaa_sec > > CFLAGS +=3D -I$(RTE_SDK)/drivers/crypto/dpaa_sec > > > > EXPORT_MAP :=3D rte_pmd_dpaa_event_version.map > > @@ -34,6 +32,7 @@ LDLIBS +=3D -lrte_bus_dpaa > > LDLIBS +=3D -lrte_mempool_dpaa > > LDLIBS +=3D -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring > > LDLIBS +=3D -lrte_ethdev -lrte_net -lrte_kvargs > > +LDLIBS +=3D -lrte_pmd_dpaa_sec > > LDLIBS +=3D -lrte_eventdev -lrte_pmd_dpaa -lrte_bus_vdev > > LDLIBS +=3D -lrte_common_dpaax > > I don't see how this would affect the building order between > drivers/event/dpaa and drivers/crypto/dpaa_sec. Just hit it again, on master. I am simply running ./devtools/test-builds.sh with: export DPDK_MAKE_JOBS=3D28 target i686-native-linux-gcc+shared+debug+default LD librte_pmd_dpaa2_event.so.20.0.1 LD dpaa_eventdev.o /usr/bin/ld: cannot find -lrte_pmd_dpaa2_sec collect2: error: ld returned 1 exit status gmake[4]: *** [/home/dmarchan/dpdk/mk/rte.lib.mk:100: librte_pmd_dpaa2_event.so.20.0.1] Error 1 gmake[3]: *** [/home/dmarchan/dpdk/mk/rte.subdir.mk:35: dpaa2] Error 2 gmake[3]: *** Waiting for unfinished jobs.... LD librte_pmd_sw_event.so.20.0.1 LD librte_pmd_dpaa_event.so.20.0.1 /usr/bin/ld: cannot find -lrte_pmd_dpaa_sec collect2: error: ld returned 1 exit status gmake[4]: *** [/home/dmarchan/dpdk/mk/rte.lib.mk:100: librte_pmd_dpaa_event.so.20.0.1] Error 1 gmake[3]: *** [/home/dmarchan/dpdk/mk/rte.subdir.mk:35: dpaa] Error 2 INSTALL-LIB librte_pmd_sw_event.so.20.0.1 LD librte_pmd_octeontx_ssovf.so.20.0.1 INSTALL-LIB librte_pmd_octeontx_ssovf.so.20.0.1 PMDINFO dpaa_sec.o.pmd.c CC dpaa_sec.o.pmd.o LD dpaa_sec.o PMDINFO dpaa2_sec_dpseci.o.pmd.c CC dpaa2_sec_dpseci.o.pmd.o LD librte_pmd_dpaa_sec.so.20.0.1 LD dpaa2_sec_dpseci.o INSTALL-LIB librte_pmd_dpaa_sec.so.20.0.1 LD librte_pmd_dpaa2_sec.so.20.0.1 INSTALL-LIB librte_pmd_dpaa2_sec.so.20.0.1 LD librte_pmd_ccp.so.20.0.1 INSTALL-LIB librte_pmd_ccp.so.20.0.1 LD librte_pmd_opdl_event.so.20.0.1 --=20 David Marchand