DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64
@ 2019-04-18  1:40 Yongseok Koh
  2019-04-18  1:40 ` Yongseok Koh
  2019-04-18  1:43 ` Yongseok Koh
  0 siblings, 2 replies; 4+ messages in thread
From: Yongseok Koh @ 2019-04-18  1:40 UTC (permalink / raw)
  To: bruce.richardson, jerinj, pbhagavatula, shahafs
  Cc: dev, thomas, gavin.hu, Honnappa.Nagarahalli, stable

Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler
error" for aarch64

Fixes: bd77f2d64c44 ("event/octeontx: build with meson")
Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers")
Fixes: f3af3e44a444 ("mk: disable OcteonTx for buggy compilers only on arm64")
Cc: pbhagavatula@marvell.com
Cc: jerinj@marvell.com
Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
---

v2:
* fix bug - enable octeontx unless comipler is buggy

 drivers/event/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/event/meson.build b/drivers/event/meson.build
index 836ecbb74b..fb723f727b 100644
--- a/drivers/event/meson.build
+++ b/drivers/event/meson.build
@@ -1,7 +1,11 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-drivers = ['dpaa', 'dpaa2', 'octeontx', 'opdl', 'skeleton', 'sw', 'dsw']
+drivers = ['dpaa', 'dpaa2', 'opdl', 'skeleton', 'sw', 'dsw']
+if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and
+	dpdk_conf.has('RTE_ARCH_ARM64'))
+	drivers += 'octeontx'
+endif
 std_deps = ['eventdev', 'kvargs']
 config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD'
 driver_name_fmt = 'rte_pmd_@0@_event'
-- 
2.11.0

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

* [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64
  2019-04-18  1:40 [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64 Yongseok Koh
@ 2019-04-18  1:40 ` Yongseok Koh
  2019-04-18  1:43 ` Yongseok Koh
  1 sibling, 0 replies; 4+ messages in thread
From: Yongseok Koh @ 2019-04-18  1:40 UTC (permalink / raw)
  To: bruce.richardson, jerinj, pbhagavatula, shahafs
  Cc: dev, thomas, gavin.hu, Honnappa.Nagarahalli, stable

Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler
error" for aarch64

Fixes: bd77f2d64c44 ("event/octeontx: build with meson")
Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers")
Fixes: f3af3e44a444 ("mk: disable OcteonTx for buggy compilers only on arm64")
Cc: pbhagavatula@marvell.com
Cc: jerinj@marvell.com
Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
---

v2:
* fix bug - enable octeontx unless comipler is buggy

 drivers/event/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/event/meson.build b/drivers/event/meson.build
index 836ecbb74b..fb723f727b 100644
--- a/drivers/event/meson.build
+++ b/drivers/event/meson.build
@@ -1,7 +1,11 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-drivers = ['dpaa', 'dpaa2', 'octeontx', 'opdl', 'skeleton', 'sw', 'dsw']
+drivers = ['dpaa', 'dpaa2', 'opdl', 'skeleton', 'sw', 'dsw']
+if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and
+	dpdk_conf.has('RTE_ARCH_ARM64'))
+	drivers += 'octeontx'
+endif
 std_deps = ['eventdev', 'kvargs']
 config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD'
 driver_name_fmt = 'rte_pmd_@0@_event'
-- 
2.11.0


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

* Re: [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64
  2019-04-18  1:40 [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64 Yongseok Koh
  2019-04-18  1:40 ` Yongseok Koh
@ 2019-04-18  1:43 ` Yongseok Koh
  2019-04-18  1:43   ` Yongseok Koh
  1 sibling, 1 reply; 4+ messages in thread
From: Yongseok Koh @ 2019-04-18  1:43 UTC (permalink / raw)
  To: Bruce Richardson, Jerin Jacob Kollanukkaran,
	Pavan Nikhilesh Bhagavatula, Shahaf Shuler
  Cc: dev, Thomas Monjalon, Gavin Hu, Honnappa Nagarahalli, stable

Please disregard this one.
Sent by mistake.

Thanks,
Yongseok

> On Apr 17, 2019, at 6:40 PM, Yongseok Koh <yskoh@mellanox.com> wrote:
> 
> Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler
> error" for aarch64
> 
> Fixes: bd77f2d64c44 ("event/octeontx: build with meson")
> Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers")
> Fixes: f3af3e44a444 ("mk: disable OcteonTx for buggy compilers only on arm64")
> Cc: pbhagavatula@marvell.com
> Cc: jerinj@marvell.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> ---
> 
> v2:
> * fix bug - enable octeontx unless comipler is buggy
> 
> drivers/event/meson.build | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/event/meson.build b/drivers/event/meson.build
> index 836ecbb74b..fb723f727b 100644
> --- a/drivers/event/meson.build
> +++ b/drivers/event/meson.build
> @@ -1,7 +1,11 @@
> # SPDX-License-Identifier: BSD-3-Clause
> # Copyright(c) 2017 Intel Corporation
> 
> -drivers = ['dpaa', 'dpaa2', 'octeontx', 'opdl', 'skeleton', 'sw', 'dsw']
> +drivers = ['dpaa', 'dpaa2', 'opdl', 'skeleton', 'sw', 'dsw']
> +if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and
> +	dpdk_conf.has('RTE_ARCH_ARM64'))
> +	drivers += 'octeontx'
> +endif
> std_deps = ['eventdev', 'kvargs']
> config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD'
> driver_name_fmt = 'rte_pmd_@0@_event'
> -- 
> 2.11.0
> 

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

* Re: [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64
  2019-04-18  1:43 ` Yongseok Koh
@ 2019-04-18  1:43   ` Yongseok Koh
  0 siblings, 0 replies; 4+ messages in thread
From: Yongseok Koh @ 2019-04-18  1:43 UTC (permalink / raw)
  To: Bruce Richardson, Jerin Jacob Kollanukkaran,
	Pavan Nikhilesh Bhagavatula, Shahaf Shuler
  Cc: dev, Thomas Monjalon, Gavin Hu, Honnappa Nagarahalli, stable

Please disregard this one.
Sent by mistake.

Thanks,
Yongseok

> On Apr 17, 2019, at 6:40 PM, Yongseok Koh <yskoh@mellanox.com> wrote:
> 
> Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler
> error" for aarch64
> 
> Fixes: bd77f2d64c44 ("event/octeontx: build with meson")
> Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers")
> Fixes: f3af3e44a444 ("mk: disable OcteonTx for buggy compilers only on arm64")
> Cc: pbhagavatula@marvell.com
> Cc: jerinj@marvell.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> ---
> 
> v2:
> * fix bug - enable octeontx unless comipler is buggy
> 
> drivers/event/meson.build | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/event/meson.build b/drivers/event/meson.build
> index 836ecbb74b..fb723f727b 100644
> --- a/drivers/event/meson.build
> +++ b/drivers/event/meson.build
> @@ -1,7 +1,11 @@
> # SPDX-License-Identifier: BSD-3-Clause
> # Copyright(c) 2017 Intel Corporation
> 
> -drivers = ['dpaa', 'dpaa2', 'octeontx', 'opdl', 'skeleton', 'sw', 'dsw']
> +drivers = ['dpaa', 'dpaa2', 'opdl', 'skeleton', 'sw', 'dsw']
> +if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and
> +	dpdk_conf.has('RTE_ARCH_ARM64'))
> +	drivers += 'octeontx'
> +endif
> std_deps = ['eventdev', 'kvargs']
> config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD'
> driver_name_fmt = 'rte_pmd_@0@_event'
> -- 
> 2.11.0
> 


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

end of thread, other threads:[~2019-04-18  1:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-18  1:40 [dpdk-dev] [PATCH 1/4] meson: disable octeontx for buggy compilers on arm64 Yongseok Koh
2019-04-18  1:40 ` Yongseok Koh
2019-04-18  1:43 ` Yongseok Koh
2019-04-18  1:43   ` Yongseok Koh

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