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 — Data Plane Development Kit 21.11.0-rc0 documentation (dpdk.org) <https://doc.dpdk.org/guides/bbdevs/turbo_sw.html>) 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(43): error: invalid redeclaration of type name "I16vec16" (declared at line 2528 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(153): error: invalid redeclaration of type name "I32vec8" (declared at line 2259 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/dvec.h") - FlexRAN-FEC-SDK-19-04/sdk/source/phy/lib_common/common_typedef_simd.hpp(191): error: invalid redeclaration of type name "I8vec32" (declared at line 2872 of "/opt/intel/oneapi/compiler/2021.4.0/linux/bin/intel64/../../compiler/include/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 <workspace> * ./FlexRAN-FEC-SDK19-04.sh * cd <workspace>/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és. El mié, 13 oct 2021 a las 17:30, Ginés García Avilés (< gines.gar...@i2cat.net>) escribió: > 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és. > > > El mar, 5 oct 2021 a las 22:57, Chautru, Nicolas (< > nicolas.chau...@intel.com>) escribió: > >> Hi Gines, >> >> I don’t see such issue, you probably have to make sure libstdc++ is >> installed and accessible by meson. >> >> >> >> *From:* Ginés García Avilés <gines.gar...@i2cat.net> >> *Sent:* Tuesday, October 5, 2021 12:03 AM >> *To:* Chautru, Nicolas <nicolas.chau...@intel.com> >> *Cc:* Thomas Monjalon <tho...@monjalon.net>; 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=xxx/build-avx512-icc/install >> >> - ninja >> >> >> >> Thanks in advance, >> >> Ginés. >> >> >> >> El lun, 4 oct 2021 a las 23:05, Chautru, Nicolas (< >> nicolas.chau...@intel.com>) escribió: >> >> 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=xxx/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 <tho...@monjalon.net> >> > Sent: Wednesday, September 29, 2021 3:41 AM >> > To: Ginés García Avilés <gines.gar...@i2cat.net> >> > Cc: users@dpdk.org; Chautru, Nicolas <nicolas.chau...@intel.com> >> > Subject: Re: [dpdk-users] SW Turbo Poll Mode Driver >> > >> > +Cc maintainer >> > >> > 14/09/2021 12:58, Ginés García Avilés: >> > > Hi all, >> > > After following the steps listed here (3. SW Turbo Poll Mode Driver — >> > > Data Plane Development Kit 21.08.0 documentation (dpdk.org) >> > > <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html# >> <http://doc.dpdk.org/guides/bbdevs/turbo_sw.html>>), 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="--vdev=baseband_turbo_sw,socket_id=0,max_nb_queues=8" -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 different >> > > components and everything seems to be correct. >> > > >> > > Any suggestions about how to solve this problem? >> > > >> > > Thanks a lot for your help, >> > > Ginés. >> > >> > >> >>