From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2687AA0C55 for ; Wed, 13 Oct 2021 17:30:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5F3E410EB; Wed, 13 Oct 2021 17:30:25 +0200 (CEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mails.dpdk.org (Postfix) with ESMTP id 6950A410DA for ; Wed, 13 Oct 2021 17:30:25 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id u21so10356416lff.8 for ; Wed, 13 Oct 2021 08:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i2cat.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2yR5n8GFp0vBCYE462eE4/8zntSrDpNL2eYQYayr/qw=; b=Ek5UFuBCFLcvuY3uE9I3rtBu1+1q5EVxl3n+D4dIF3CsGEPCzJt/6BQBYVCBbMkOwx /roDgxrk6wHsF3t+l1NwV/oTxWGwbo0ALhv3w4oDwUQgbLBcEXy9sWiD+0jbbfTQeveQ O67edGtODm8lAKX8f3YZOtzW2fHMdp/CzftAUdUGqs4JFuBotBUC4va1HxBlXI272aWf ruMHjBOXUIBYk3JcIZKBAWuNjqK1cMWtrxfEODXIbmkOSfEms+i+lnhxJEWRtb4iM6RO +gqOdFReb9uN7dnJKObcYREQ67pw5Q4FADap91oOEokTZr6TNIG4t1KOQ8EMUs9wWuQ1 b6VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2yR5n8GFp0vBCYE462eE4/8zntSrDpNL2eYQYayr/qw=; b=BMqq4crvu5k6DJoFwhxaf9i9/AqYqiQv2O1HS4oiSom/MAeKB33d9mV+cs/utvrMVR N0hHJAijW3jkN2CUL+VNwyewv6qfQl/SYUC52e8mCBh0QvPMkO10enHcG5uYVFKJH2Um MOgrMS/a9VvP7Zy07EoayQNNPwOD7vZKQmRMICTzLmtMQea5MvYZE33HbvCDCRjbbmMT nYWNv6xKgCcOt5RnjL16FNNFrUaNPtViFEUvOpVctfky9N8N9rFHEPGiLYvPebaUU6tD kZRT0+MCIDAPC/iHg3vekl7HtfGfxosaqaaiETUzOghARWuLzQM5SEQN62BWDh3rzXMH pkug== X-Gm-Message-State: AOAM533E4wSXHYLfZU1CXKAKQ9w4r8uDQz9ohtaemLu9VAuZkKg8WNwV ZMbi73FbAii26/iZ4sLy2pY+VXqhyfe2Co4geTPr0A== X-Google-Smtp-Source: ABdhPJw/NrWVg6DUX/seVNjXqTTS0yg1H3+fU6ht3WEiUfwJ4kClzuWoFX+3Ql8l8XriF13UTyDhz3iCNO1MfJVHoZM= X-Received: by 2002:a05:6512:3192:: with SMTP id i18mr4267453lfe.135.1634139024889; Wed, 13 Oct 2021 08:30:24 -0700 (PDT) MIME-Version: 1.0 References: <2000939.xljJK12xEY@thomas> In-Reply-To: From: =?UTF-8?B?R2luw6lzIEdhcmPDrWEgQXZpbMOpcw==?= Date: Wed, 13 Oct 2021 17:30:13 +0200 Message-ID: Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver To: "Chautru, Nicolas" Cc: Thomas Monjalon , "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Nicolas, thanks a lot for your reply. I'm trying to build DPDK with ICC but I'm not sure why libstdc++ is not accessible for meson. As a workaround, I'm checking gcc in order to see whether the installation is correct or not (as far as I know icc takes some info from gcc). As an alternative, If I move to gcc as the compiler used by meson, I'm getting the following error for each operation provided by FlexRAN: - "libldpc_encoder_5gnr.a(phy_ldpc_encoder_5gnr.cpp.o): relocation R_X86_64_32S against `.rodata.str1.32' can not be used when making a shared object; recompile with -fPIC" I have checked the fPIC flag and it is already included when compiling the turbo_sw driver. - Versions: > FlexRAN 19.04 > DPDK 21.08 > gcc Ubuntu 9.3.0 > Ubuntu 20.04 Should I use gcc or icc for compiling dpdk? Any ideas about what could be the issue in the previous environments? Thanks a lot in advance, Gin=C3=A9s. El mar, 5 oct 2021 a las 22:57, Chautru, Nicolas () escribi=C3=B3: > Hi Gines, > > I don=E2=80=99t see such issue, you probably have to make sure libstdc++ = is > installed and accessible by meson. > > > > *From:* Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s > *Sent:* Tuesday, October 5, 2021 12:03 AM > *To:* Chautru, Nicolas > *Cc:* Thomas Monjalon ; users@dpdk.org > *Subject:* Re: [dpdk-users] SW Turbo Poll Mode Driver > > > > Hi Nicolas, > > thanks a lot for your help. > > > > However, with the latest version of DPDK I'm still facing the following > issue: > > - "drivers/baseband/turbo_sw/meson.build:13:4: ERROR: C library > 'libstdc++' not found" > > > > These are the steps I'm actually following for the whole process: > > - Set env vars (*ICC *compiler, FLEXRAN_SDK, DIR_WIRELESS_SDK, ...) > > - meson x86_64-native-linux-icc > > - cd x86_64-native-linux-icc > > - meson configure -Dflexran_sdk=3Dxxx/build-avx512-icc/install > > - ninja > > > > Thanks in advance, > > Gin=C3=A9s. > > > > El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (< > nicolas.chautru@intel.com>) escribi=C3=B3: > > Hi Gines, > The only thing is to make sure to set the meson option to point to the > right location > See https://doc.dpdk.org/guides/bbdevs/turbo_sw.html : for instance > something like this "meson configure > -Dflexran_sdk=3Dxxx/build-avx512-icc/install" > Then meson build framework will just link the libraries: see > drivers\baseband\turbo_sw\meson.build which uses cc.find_library to > dynamically find and link the libraries > > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Wednesday, September 29, 2021 3:41 AM > > To: Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s > > Cc: users@dpdk.org; Chautru, Nicolas > > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver > > > > +Cc maintainer > > > > 14/09/2021 12:58, Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s: > > > Hi all, > > > After following the steps listed here (3. SW Turbo Poll Mode Driver = =E2=80=94 > > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) > > > >), using the > > > specific versions of DPDK and FlexRAN, I'm facing an error while > > > trying to run one of the bbdev > > > tests: > > > - command: > > > > python2 test-bbdev.py > > > -e=3D"--vdev=3Dbaseband_turbo_sw,socket_id=3D0,max_nb_queues=3D8" -c > > > validation -v turbo_dec_default.data > > > - Error: > > > > "Device 0 (baseband_turbo_sw) does not support specified > > capabilities" > > > > > > which I think is due to an incorrect linkage of DPDK and FlexRAN. I > > > have checked all the environmental variables pointing to the differen= t > > > components and everything seems to be correct. > > > > > > Any suggestions about how to solve this problem? > > > > > > Thanks a lot for your help, > > > Gin=C3=A9s. > > > > > >