[libcamera-devel] [PATCH 2/4] meson: enable no-psabi for gcc 9+

Tomi Valkeinen tomi.valkeinen at iki.fi
Wed Oct 7 15:45:04 CEST 2020


On 07/10/2020 16:29, Laurent Pinchart wrote:
> Hi Tomi and Kieran,
> 
> On Wed, Oct 07, 2020 at 10:45:40AM +0100, Kieran Bingham wrote:
>> On 07/10/2020 10:22, Tomi Valkeinen wrote:
>>> I get the warnings related to psabi with:
>>>
>>> gcc 9.3.0 "arm-buildroot-linux-gnueabihf-g++.br_real (Buildroot 2020.08-24-gc5c5f1fa46) 9.3.0"
>>>
>>> Remove the check for gcc-9, so that -Wno-psabi is used on all gcc
>>> versions over 7.1.
>>
>> It doesn't seem unreasonable to keep this disabled for now.
>>
>> Should it be < 10 instead though?
> 
> I was going to suggest the same, for the exact same reasons :-)

So what is the reason, I didn't quite get that.

Do we not get the warnings on gcc 10?

Why not just enable -Wno-psabi if the compiler supports it?

 Tomi


More information about the libcamera-devel mailing list