DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 82] Failure to compile l3fwd example on ARM
@ 2018-08-15 11:09 bugzilla
  2018-08-15 22:42 ` Honnappa Nagarahalli
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2018-08-15 11:09 UTC (permalink / raw)
  To: dev

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

            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=~/dpdk/
export RTE_TARGET=arm64-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 toolchain
  ^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function ‘em_get_ipv4_dst_port’:
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: implicit declaration of function
‘em_mask_key’ [-Werror=implicit-function-declaration]
  key.xmm = em_mask_key(ipv4_hdr, mask0.x);
  ^
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: nested extern declaration of
‘em_mask_key’ [-Werror=nested-externs]
~/dpdk/examples/l3fwd/l3fwd_em.c:261:10: error: incompatible types when
assigning to type ‘xmm_t’ from type ‘int’
  key.xmm = em_mask_key(ipv4_hdr, mask0.x);
          ^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function ‘em_get_ipv6_dst_port’:
~/dpdk/examples/l3fwd/l3fwd_em.c:282:13: error: incompatible types when
assigning to type ‘xmm_t’ from type ‘int’
  key.xmm[0] = em_mask_key(data0, mask1.x);
             ^
~/dpdk/examples/l3fwd/l3fwd_em.c:294:13: error: incompatible types when
assigning to type ‘xmm_t’ from type ‘int’
  key.xmm[2] = em_mask_key(data2, mask2.x);
             ^
cc1: all warnings being treated as errors
make[1]: *** [l3fwd_em.o] Error 1
make: *** [all] Error 2

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [Bug 82] Failure to compile l3fwd example on ARM
  2018-08-15 11:09 [dpdk-dev] [Bug 82] Failure to compile l3fwd example on ARM bugzilla
@ 2018-08-15 22:42 ` Honnappa Nagarahalli
  0 siblings, 0 replies; 2+ messages in thread
From: Honnappa Nagarahalli @ 2018-08-15 22:42 UTC (permalink / raw)
  To: bugzilla, dev

Thanks for raising the bug. Can you please provide the GCC version you are using?

Thanks,
Honnappa

-----Original Message-----
From: dev <dev-bounces@dpdk.org> On Behalf Of bugzilla@dpdk.org
Sent: Wednesday, August 15, 2018 6:10 AM
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 82] Failure to compile l3fwd example on ARM

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

            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=~/dpdk/
export RTE_TARGET=arm64-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 toolchain
  ^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function ‘em_get_ipv4_dst_port’:
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: implicit declaration of function ‘em_mask_key’ [-Werror=implicit-function-declaration]
  key.xmm = em_mask_key(ipv4_hdr, mask0.x);
  ^
~/dpdk/examples/l3fwd/l3fwd_em.c:261:2: error: nested extern declaration of ‘em_mask_key’ [-Werror=nested-externs]
~/dpdk/examples/l3fwd/l3fwd_em.c:261:10: error: incompatible types when assigning to type ‘xmm_t’ from type ‘int’
  key.xmm = em_mask_key(ipv4_hdr, mask0.x);
          ^
~/dpdk/examples/l3fwd/l3fwd_em.c: In function ‘em_get_ipv6_dst_port’:
~/dpdk/examples/l3fwd/l3fwd_em.c:282:13: error: incompatible types when assigning to type ‘xmm_t’ from type ‘int’
  key.xmm[0] = em_mask_key(data0, mask1.x);
             ^
~/dpdk/examples/l3fwd/l3fwd_em.c:294:13: error: incompatible types when assigning to type ‘xmm_t’ from type ‘int’
  key.xmm[2] = em_mask_key(data2, mask2.x);
             ^
cc1: all warnings being treated as errors
make[1]: *** [l3fwd_em.o] Error 1
make: *** [all] Error 2

--
You are receiving this mail because:
You are the assignee for the bug.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-15 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15 11:09 [dpdk-dev] [Bug 82] Failure to compile l3fwd example on ARM bugzilla
2018-08-15 22:42 ` Honnappa Nagarahalli

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).