Re: [PATCH] powerpc/boot: Fix build failure since GCC 4.9 removal

2021-09-14 Thread Guenter Roeck
On Tue, Sep 14, 2021 at 10:17:23PM +1000, Michael Ellerman wrote: > Stephen reported that the build was broken since commit > 6d2ef226f2f1 ("compiler_attributes.h: drop __has_attribute() support for > gcc4"), with errors such as: > > include/linux/compiler_attributes.h:296:5: warning:

[PATCH] powerpc/boot: Fix build failure since GCC 4.9 removal

2021-09-14 Thread Michael Ellerman
Stephen reported that the build was broken since commit 6d2ef226f2f1 ("compiler_attributes.h: drop __has_attribute() support for gcc4"), with errors such as: include/linux/compiler_attributes.h:296:5: warning: "__has_attribute" is not defined, evaluates to 0 [-Wundef] 296 | #if