[Buildroot] [PATCH] linux-zigbee: fix build with gcc 7

Baruch Siach baruch at tkos.co.il
Wed Jul 26 14:25:45 UTC 2017


Hi Peter,

On Wed, Jul 26, 2017 at 09:12:28AM +0200, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
> 
>  > On Wed, Jul 26, 2017 at 12:03:02AM +0200, Peter Korsgaard wrote:
>  >> >>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
>  >> 
>  >> > Disable -Werror to avoid the fatal result of new gcc 7 format string warnings.
>  >> > Fixes:
>  >> > http://autobuild.buildroot.net/results/29c/29c72bc38042305310576be945c721b2fad95894/
>  >> > http://autobuild.buildroot.net/results/a7d/a7d38d72834b94291eaff159da277b11e2f9d63a/
>  >> > http://autobuild.buildroot.net/results/cfe/cfed5176075f0cb9e2f56ebef10f5d6c352baf10/
>  >> 
>  >> > Signed-off-by: Baruch Siach <baruch at tkos.co.il>
>  >> 
>  >> Committed to 2017.02.x and 2017.05.x, thanks.
> 
>  > It doesn't hurt I guess, but gcc 7 was only introduced after 2017.05.
> 
> Yes, I've added it in case somebody uses an external toolchain.

Said user will also need to add BR2_TOOLCHAIN_EXTERNAL_GCC_7 somehow. Setting 
BR2_TOOLCHAIN_EXTERNAL_GCC_6 (or anything else) should also work, since we 
don't enforce the correctness of the gcc version selection.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


More information about the buildroot mailing list