Linking error with DPDK 17.11.4 during compilation
https://bugs.dpdk.org/show_bug.cgi?id=813
Bug ID: 813
Summary: Linking error with DPDK 17.11.4 during compilation
Product: DPDK
Version: 17.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: mk
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Hello everybody,
Just in case where you are still facing to below issue and you are still wondering how to solve that ?
I had faced to below linking error but only when I had tried to compile my application with DPDK 17.11.4
Below the Virtual Machine configuration I had used :
Platform : VM
Architecture : x86_64 bits
Distrib : Ubuntu 18.04
GCC : 7.5.0
GLIBC : 2.27
Linux kernel version : 4.18.0-25-generic
/usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS): In function `_ZGVbN2v___log_finite':
(.text+0x0): multiple definition of `_ZGVbN2v___log_finite' /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS):(.text+0x0):
first defined here /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS): In function `_ZGVcN4v___log_finite':
/usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS):(.text+0x20):
first defined here /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS): In function `_ZGVeN8v___log_finite':
(.text+0x30): multiple definition of `_ZGVeN8v___log_finite' /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS):(.text+0x30):
first defined here /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS): In function `_ZGVbN4v___logf_finite':
(.text+0x40): multiple definition of `_ZGVbN4v___logf_finite'
...
...
/usr/lib/x86_64-linux-gnu/libmvec_nonshared.a(svml_finite_alias.oS):(.text+0x170):
first defined here
collect2: error: ld returned 1 exit status
GNUmakefile:84: recipe for target 'my_app' failed
make: *** [my_app] Error 1
To solve that, I had proceeded as below :
***********************************************************************************************
cd dpdk-stable-17.11.4
rm -rf build/.config*
echo "CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=n" >>
config/defconfig_x86_64-native-linuxapp-gcc
make config T=x86_64-native-linuxapp-gcc
make
***********************************************************************************************
And when I had recompiled my app, it was working well.
Hoping it will be helpful.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=813
David Marchand ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |[email protected]
Resolution|--- |WONTFIX--- Comment #1 from David Marchand ([email protected]) --- Hello, this does not look like an issue in DPDK itself, but rather an issue in the "libmvec" library code or compilation.
In any case, dpdk 17.11 is not supported anymore.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.