Re: [PATCH] disable lock annotation with clang 3.4.2

2023-02-14 Thread Thomas Monjalon
13/02/2023 17:36, Raslan Darawsheh: > From: Morten Brørup > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > On Mon, Feb 13, 2023 at 03:44:55PM +0100, David Marchand wrote: > > > > Venerable RHEL7 clang 3.4.2 has (at least) two issues with lock > > > > annotations. > > > > > > >

RE: [PATCH] disable lock annotation with clang 3.4.2

2023-02-13 Thread Raslan Darawsheh
> -Original Message- > From: Morten Brørup > Sent: Monday, February 13, 2023 6:09 PM > To: Bruce Richardson ; David Marchand > > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Raslan Darawsheh ; > Chenbo Xia ; Maxime Coquelin > > Sub

RE: [PATCH] disable lock annotation with clang 3.4.2

2023-02-13 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 13 February 2023 15.55 > > On Mon, Feb 13, 2023 at 03:44:55PM +0100, David Marchand wrote: > > Venerable RHEL7 clang 3.4.2 has (at least) two issues with lock > > annotations. > > > > A first one with regards to the attri

Re: [PATCH] disable lock annotation with clang 3.4.2

2023-02-13 Thread Bruce Richardson
On Mon, Feb 13, 2023 at 03:44:55PM +0100, David Marchand wrote: > Venerable RHEL7 clang 3.4.2 has (at least) two issues with lock > annotations. > > A first one with regards to the attribute position: > ../lib/vhost/vhost.h:518:2: error: GCC does not allow > assert_exclusive_lock attribute i