DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 813] Linking error with DPDK 17.11.4 during compilation
Date: Thu, 23 Sep 2021 19:01:56 +0000	[thread overview]
Message-ID: <bug-813-3@http.bugs.dpdk.org/> (raw)

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: dev@dpdk.org
          Reporter: jeanprincemello@gmail.com
  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2021-09-23 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 19:01 bugzilla [this message]
2023-03-14  8:26 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-813-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).