Re: [dpdk-dev] [PATCH v2] net/sfc: fix broken build with clang 3.4.x

2021-07-22 Thread David Marchand
On Thu, Jul 22, 2021 at 11:12 AM David Marchand wrote: > On Thu, Jul 22, 2021 at 9:49 AM Andrew Rybchenko > wrote: > > > > Old clang requires libatomic as well as gcc. Avoid compiler name and > > version based checks. Add custom test for 16-byte atomic operations > > to find out if libatomic is r

Re: [dpdk-dev] [PATCH v2] net/sfc: fix broken build with clang 3.4.x

2021-07-22 Thread David Marchand
Hi Andrew, On Thu, Jul 22, 2021 at 9:49 AM Andrew Rybchenko wrote: > > Old clanng requires libatomic as well as gcc. Avoid compiler name and s/nn/n/ > version based checks. Add custom test for 16-byte atomic operations > to find out if libatomic is required to build. > > Bugzilla ID: 760 > Fi

[dpdk-dev] [PATCH v2] net/sfc: fix broken build with clang 3.4.x

2021-07-22 Thread Andrew Rybchenko
Old clanng requires libatomic as well as gcc. Avoid compiler name and version based checks. Add custom test for 16-byte atomic operations to find out if libatomic is required to build. Fixes: 96fd2bd69b58 ("net/sfc: support flow action count in transfer rules") Bugzilla ID: 760 Signed-off-by: And