patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [PATCH] config: fix meson build failure on ThunderX2
@ 2019-07-12 11:20 Jerin Jacob Kollanukkaran
  2019-07-12 16:39 ` Honnappa Nagarahalli
  2019-07-15 22:20 ` Thomas Monjalon
  0 siblings, 2 replies; 8+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-07-12 11:20 UTC (permalink / raw)
  To: Gavin Hu, dev
  Cc: nd, thomas, Pavan Nikhilesh Bhagavatula, Honnappa.Nagarahalli, stable

> -----Original Message-----
> From: Gavin Hu <gavin.hu@arm.com>
> Sent: Friday, July 12, 2019 3:29 PM
> To: dev@dpdk.org
> Cc: nd@arm.com; thomas@monjalon.net; Jerin Jacob Kollanukkaran
> <jerinj@marvell.com>; Pavan Nikhilesh Bhagavatula
> <pbhagavatula@marvell.com>; Honnappa.Nagarahalli@arm.com;
> gavin.hu@arm.com; stable@dpdk.org
> Subject: [EXT] [PATCH] config: fix meson build failure on ThunderX2
> 
> Since gcc-8.3(I tried 8.3 and 9.1), the meson build failed on ThunderX2.
> It got the following compiling errors:
> /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_neon.h:26493:1: error:
> inlining failed in call to always_inline ‘vmull_p64’: target specific option
> mismatch 26493 | vmull_p64 (poly64_t a, poly64_t b)
> 
> Fixes: 7286c9d7234f ("config: add thunderx2 machine")
> Cc: jerinj@marvell.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Gavin Hu <gavin.hu@arm.com>
> Reviewed-by: Phil Yang <phil.yang@arm.com>
> Reviewed-by: Jingzhao Ni <jingzhao.ni@arm.com>

Thanks Gavin.
Able to reproduce this issue with gcc 9.1 and proposed patch fixing the issue as well.

Acked-by: Jerin Jacob <jerinj@marvell.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [dpdk-stable] [PATCH] config: fix meson build failure on ThunderX2
@ 2019-07-12  9:58 Gavin Hu
  0 siblings, 0 replies; 8+ messages in thread
From: Gavin Hu @ 2019-07-12  9:58 UTC (permalink / raw)
  To: dev
  Cc: nd, thomas, jerinj, pbhagavatula, Honnappa.Nagarahalli, gavin.hu, stable

Since gcc-8.3(I tried 8.3 and 9.1), the meson build failed on ThunderX2.
It got the following compiling errors:
/usr/lib/gcc/aarch64-linux-gnu/9/include/arm_neon.h:26493:1: error:
inlining failed in call to always_inline ‘vmull_p64’: target specific
option mismatch 26493 | vmull_p64 (poly64_t a, poly64_t b)

Fixes: 7286c9d7234f ("config: add thunderx2 machine")
Cc: jerinj@marvell.com
Cc: stable@dpdk.org

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Jingzhao Ni <jingzhao.ni@arm.com>
---
 config/arm/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 6fa06a1..979018e 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -95,7 +95,7 @@ machine_args_cavium = [
 	['0xa1', ['-mcpu=thunderxt88'], flags_thunderx_extra],
 	['0xa2', ['-mcpu=thunderxt81'], flags_thunderx_extra],
 	['0xa3', ['-mcpu=thunderxt83'], flags_thunderx_extra],
-	['0xaf', ['-mcpu=thunderx2t99'], flags_thunderx2_extra],
+	['0xaf', ['-march=armv8.1-a+crc+crypto','-mcpu=thunderx2t99'], flags_thunderx2_extra],
 	['0xb2', ['-mcpu=octeontx2'], flags_octeontx2_extra]]
 
 ## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321)
-- 
2.7.4


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

end of thread, other threads:[~2019-07-15 22:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 11:20 [dpdk-stable] [PATCH] config: fix meson build failure on ThunderX2 Jerin Jacob Kollanukkaran
2019-07-12 16:39 ` Honnappa Nagarahalli
2019-07-15  3:57   ` Jerin Jacob Kollanukkaran
2019-07-15 14:24     ` Honnappa Nagarahalli
2019-07-15 14:34       ` Jerin Jacob Kollanukkaran
2019-07-15 16:04         ` Honnappa Nagarahalli
2019-07-15 22:20 ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2019-07-12  9:58 Gavin Hu

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