Re: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-15 Thread Ilya Maximets
; Ilya Maximets >> ; sta...@dpdk.org >> Subject: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on >> armv8 >> >> In case DPDK built using GCC, RTE_TOOLCHAIN_CLANG is not defined. >> But 'rte_atomic.h' is a generic header that included to the e

Re: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-14 Thread Thomas Monjalon
14/01/2019 17:50, Honnappa Nagarahalli: > > > > In case DPDK built using GCC, RTE_TOOLCHAIN_CLANG is not defined. > > But 'rte_atomic.h' is a generic header that included to the external apps > > like > > OVS while building with DPDK. As a result, clang build of OVS fails on ARMv8 >

Re: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-14 Thread Honnappa Nagarahalli
> > In case DPDK built using GCC, RTE_TOOLCHAIN_CLANG is not defined. > But 'rte_atomic.h' is a generic header that included to the external apps like > OVS while building with DPDK. As a result, clang build of OVS fails on ARMv8

Re: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-14 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ilya Maximets > Sent: Monday, January 14, 2019 4:15 PM > To: dev@dpdk.org; Thomas Monjalon > Cc: Pavan Nikhilesh ; Ilya Maximets > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] eal: fix b

Re: [dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-14 Thread Thomas Monjalon
14/01/2019 17:14, Ilya Maximets: > In case DPDK built using GCC, RTE_TOOLCHAIN_CLANG is not defined. > But 'rte_atomic.h' is a generic header that included to the > external apps like OVS while building with DPDK. As a result, > clang build of OVS fails on ARMv8 if DPDK built using gcc: > > in

[dpdk-dev] [PATCH] eal: fix build of external apps with clang on armv8

2019-01-14 Thread Ilya Maximets
In case DPDK built using GCC, RTE_TOOLCHAIN_CLANG is not defined. But 'rte_atomic.h' is a generic header that included to the external apps like OVS while building with DPDK. As a result, clang build of OVS fails on ARMv8 if DPDK built using gcc: include/generic/rte_atomic.h:215:9: error: