[PATCH 20.11] config/ppc: fix build with GCC >= 10

David Christensen drc at linux.vnet.ibm.com
Thu Jan 20 19:00:35 CET 2022



On 1/20/22 3:02 AM, luca.boccassi at gmail.com wrote:
> From: David Marchand <david.marchand at redhat.com>
> 
> [ backported from upstream commit dfb1ad1e7a070926c9bd9fdf38e6b944a21f1d49 ]
> 
> Like for python, multiline statements in meson must either use a
> backslash character (explicit continuation) or be enclosed in ()
> (implicit continuation).
> 
> python PEP8 recommends the latter [1], and it looks like meson had
> an issue with backslash before 0.50 [2].
> 
> 1: https://www.python.org/dev/peps/pep-0008/#multiline-if-statements
> 2: https://github.com/mesonbuild/meson/commit/90c9b868b20b
> 
> Fixes: 394407f50c90 ("config/ppc: ignore GCC 11 psabi warnings")
> 
> Reported-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> Required to fix build on ppc64el with gcc 10+

Reviewed-by: David Christensen <drc at linux.vnet.ibm.com>


More information about the stable mailing list