Comment 14 for bug 1578118

Revision history for this message
Jean Prince MELLO NGUIE (melloprince) wrote :

Hello everybody,

I had faced the similar issue but only when I had tried to compile my application.
Below the VM 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.