From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla@dpdk.org
Subject: [Bug 82] Failure to compile l3fwd example on ARM
Date: Wed, 15 Aug 2018 11:09:30 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
To: dev@dpdk.org
Return-path:
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
https://bugs.dpdk.org/show_bug.cgi?id=3D82
Bug ID: 82
Summary: Failure to compile l3fwd example on ARM
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: CONFIRMED
Severity: major
Priority: Normal
Component: examples
Assignee: dev@dpdk.org
Reporter: rasland@mellanox.com
Target Milestone: ---
we can't compile l3fwd example application on ARM machines:
export RTE_SDK=3D~/dpdk/
export RTE_TARGET=3Darm64-armv8a-linuxapp-gcc
make
CC main.o
CC l3fwd_lpm.o
CC l3fwd_em.o
~/dpdk/examples/l3fwd/l3fwd_em.c:244:2: error: #error No vector engine (SSE,
NEON, ALTIVEC) available, check your toolchain
#error No vector engine (SSE, NEON, ALTIVEC) available, check your toolcha=
in
^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function =E2=80=98em_get_ipv4_dst_port=
=E2=80=99:
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: implicit declaration of func=
tion
=E2=80=98em_mask_key=E2=80=99 [-Werror=3Dimplicit-function-declaration]
key.xmm =3D em_mask_key(ipv4_hdr, mask0.x);
^
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: nested extern declaration of
=E2=80=98em_mask_key=E2=80=99 [-Werror=3Dnested-externs]
~/dpdk/examples/l3fwd/l3fwd_em.c:261:10: error: incompatible types when
assigning to type =E2=80=98xmm_t=E2=80=99 from type =E2=80=98int=E2=80=99
key.xmm =3D em_mask_key(ipv4_hdr, mask0.x);
^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function =E2=80=98em_get_ipv6_dst_port=
=E2=80=99:
~/dpdk/examples/l3fwd/l3fwd_em.c:282:13: error: incompatible types when
assigning to type =E2=80=98xmm_t=E2=80=99 from type =E2=80=98int=E2=80=99
key.xmm[0] =3D em_mask_key(data0, mask1.x);
^
~/dpdk/examples/l3fwd/l3fwd_em.c:294:13: error: incompatible types when
assigning to type =E2=80=98xmm_t=E2=80=99 from type =E2=80=98int=E2=80=99
key.xmm[2] =3D em_mask_key(data2, mask2.x);
^
cc1: all warnings being treated as errors
make[1]: *** [l3fwd_em.o] Error 1
make: *** [all] Error 2
--=20
You are receiving this mail because:
You are the assignee for the bug.=