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 E141FA0C43 for ; Tue, 19 Oct 2021 11:02:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A856040142; Tue, 19 Oct 2021 11:02:32 +0200 (CEST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id 88FD94003E for ; Tue, 19 Oct 2021 11:02:30 +0200 (CEST) Received: by mail-lf1-f52.google.com with SMTP id u21so5887529lff.8 for ; Tue, 19 Oct 2021 02:02:30 -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=CY/coLe1Imcvl36HclaavApORV+PkeRrTfSEpJqnt0U=; b=B2p5fvlWKMGJ6LODVCZrWBdqsLF9uVxXpwxPxaFt+oaJOT5ty/m9uARF8jEXv/XFmU wD95LXO1AWO496L2KeK5iUSUbGWV0r4sim27/O+QGvNyJ7nSTYDQ9K72UwMeA9fOgp9F FMu/kycjc58rjvdAjezNXSMSmrvH2eA1Oz0q3blc/ufcg86XZq2U0JvULzuN3gd97T58 2/JbZvRVxfXm1+DyoJA6k/pgetd//FMttpG8Dt5ny/bibEoiCnpu9My4asd6vPrIWlDB yM+LbU+lQAZ8JAW/HjKCT9hCp4+f8dDIpiMjKSUIXdTvI8VkaxaRFePHTlsrntwK3LHG l4ng== 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=CY/coLe1Imcvl36HclaavApORV+PkeRrTfSEpJqnt0U=; b=OPuvlhjSAliyTPD5pBEw5e6rdCMmSl38dGNLtRvrMTYSM3Bz+9wnPNBfW+kc99PpYa LbnheAr1Eav5BUTPZzK0wxGezkAFpK2CiR/2wCEwywJ0epe1gJKAEVwtRIBlUBJ/jezs LZXIzMXMieXqkxheQrATZAZbXMl+PyH3tqcfMA8IzM1gxvIeKX9q+bneNXs1OPPnRgxK K06//LGu8EnhM3ckqGBAkGw1DmwkW5Bshu5oSoJ9M9MH0K/ASIN88jBmpFPZsJXHuqwy tp5c5++kUxdCEsMcZICf/cNHImrTZwcPbdsMSBDbAHs5u9A2g3mS/8y9QwP/4udjls3V qhuQ== X-Gm-Message-State: AOAM533Q9/RQhTS3Z+S3+QRtPgxi0iczhiZFTMphu7FLNX+1FsnOS+tR +nr+DzdWTgnMUgqyOu60jzGoc0xE9tAgvTYHlyjbaygilxxvsA== X-Google-Smtp-Source: ABdhPJyBqbRkDUWgNr3OfWP5bR9gkhKfOWUc0q3N1ta1U/uGEPfHNLWcZ/25aImF6genZzfJ83QmOQbhN1iooMq4J0w= X-Received: by 2002:ac2:4c14:: with SMTP id t20mr4505403lfq.343.1634634149984; Tue, 19 Oct 2021 02:02:29 -0700 (PDT) MIME-Version: 1.0 References: <2000939.xljJK12xEY@thomas> In-Reply-To: From: =?UTF-8?B?R2luw6lzIEdhcmPDrWEgQXZpbMOpcw==?= Date: Tue, 19 Oct 2021 11:02:18 +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 again Nicolas, Looking for a workaround trying to solve the previous issue, I moved to Centos 7 (as suggested here 3. SW Turbo Poll Mode Driver =E2=80= =94 Data Plane Development Kit 21.11.0-rc0 documentation (dpdk.org) ) and after having everything installed I found an *earlier issue* when compiling FlexRAN: - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(4= 3): error: invalid redeclaration of type name "I16vec16" (declared at line 2528 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/inclu= de/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(1= 53): error: invalid redeclaration of type name "I32vec8" (declared at line 2259 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/inclu= de/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(1= 91): error: invalid redeclaration of type name "I8vec32" (declared at line 2872 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/inclu= de/dvec.h") Versions: > icc (ICC) 2021.4.0 20210910 > icpc (ICC) 2021.4.0 20210910 > gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) > g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Steps: * Install Centos ICC dependencies * yum install intel-basekit intel-hpckit * . /opt/intel/oneapi/setvars.sh * cd * ./FlexRAN-FEC-SDK19-04.sh * cd /FlexRAN-FEC-SDK-19-04/sdk/ * ./create-makefiles-linux.sh * cd build-avx512-icc * make Am I missing something to compile flexRAN SDK? Regards, Gin=C3=A9s. El mi=C3=A9, 13 oct 2021 a las 17:30, Gin=C3=A9s Garc=C3=ADa Avil=C3=A9s (< gines.garcia@i2cat.net>) escribi=C3=B3: > 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 shar= ed > object; recompile with -fPIC" > > I have checked the fPIC flag and it is already included when compiling th= e > 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 (< > nicolas.chautru@intel.com>) 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 differe= nt >> > > components and everything seems to be correct. >> > > >> > > Any suggestions about how to solve this problem? >> > > >> > > Thanks a lot for your help, >> > > Gin=C3=A9s. >> > >> > >> >>