From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 974DCA0C43;
	Thu, 23 Sep 2021 21:01:58 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6189441260;
	Thu, 23 Sep 2021 21:01:58 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 1709241257
 for <dev@dpdk.org>; Thu, 23 Sep 2021 21:01:57 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id EDB83A0C45; Thu, 23 Sep 2021 21:01:56 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Date: Thu, 23 Sep 2021 19:01:56 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: mk
X-Bugzilla-Version: 17.11
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: major
X-Bugzilla-Who: jeanprincemello@gmail.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 target_milestone
Message-ID: <bug-813-3@http.bugs.dpdk.org/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
Subject: [dpdk-dev] [Bug 813] Linking error with DPDK 17.11.4 during
 compilation
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

https://bugs.dpdk.org/show_bug.cgi?id=3D813

            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=3Dn" >>
config/defconfig_x86_64-native-linuxapp-gcc
make config T=3Dx86_64-native-linuxapp-gcc
make
***************************************************************************=
********************

And when I had recompiled my app, it was working well.

Hoping it will be helpful.

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