Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
@ 2017-07-20 22:04 Baruch Siach
  2017-07-21  7:00 ` Thomas Petazzoni
  2017-07-25 22:03 ` Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: Baruch Siach @ 2017-07-20 22:04 UTC (permalink / raw)
  To: buildroot

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@tkos.co.il>
---
 package/linux-zigbee/linux-zigbee.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/linux-zigbee/linux-zigbee.mk b/package/linux-zigbee/linux-zigbee.mk
index 9450ca4b2196..8d3248f2e1f7 100644
--- a/package/linux-zigbee/linux-zigbee.mk
+++ b/package/linux-zigbee/linux-zigbee.mk
@@ -15,6 +15,7 @@ LINUX_ZIGBEE_AUTORECONF = YES
 
 LINUX_ZIGBEE_CONF_OPTS = \
 	--disable-manpages \
+	--disable-werror \
 	--with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))"
 
 ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y)
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
  2017-07-20 22:04 [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7 Baruch Siach
@ 2017-07-21  7:00 ` Thomas Petazzoni
  2017-07-25 22:03 ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2017-07-21  7:00 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 21 Jul 2017 01:04:32 +0300, Baruch Siach wrote:
> 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@tkos.co.il>
> ---
>  package/linux-zigbee/linux-zigbee.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
  2017-07-20 22:04 [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7 Baruch Siach
  2017-07-21  7:00 ` Thomas Petazzoni
@ 2017-07-25 22:03 ` Peter Korsgaard
  2017-07-26  3:49   ` Baruch Siach
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2017-07-25 22:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@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@tkos.co.il>

Committed to 2017.02.x and 2017.05.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
  2017-07-25 22:03 ` Peter Korsgaard
@ 2017-07-26  3:49   ` Baruch Siach
  2017-07-26  7:12     ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach @ 2017-07-26  3:49 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Wed, Jul 26, 2017 at 12:03:02AM +0200, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@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@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.

baruch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
  2017-07-26  3:49   ` Baruch Siach
@ 2017-07-26  7:12     ` Peter Korsgaard
  2017-07-26 14:25       ` Baruch Siach
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2017-07-26  7:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Hi Peter,
 > On Wed, Jul 26, 2017 at 12:03:02AM +0200, Peter Korsgaard wrote:
 >> >>>>> "Baruch" == Baruch Siach <baruch@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@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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7
  2017-07-26  7:12     ` Peter Korsgaard
@ 2017-07-26 14:25       ` Baruch Siach
  0 siblings, 0 replies; 6+ messages in thread
From: Baruch Siach @ 2017-07-26 14:25 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Wed, Jul 26, 2017 at 09:12:28AM +0200, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> 
>  > On Wed, Jul 26, 2017 at 12:03:02AM +0200, Peter Korsgaard wrote:
>  >> >>>>> "Baruch" == Baruch Siach <baruch@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@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 -

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-26 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 22:04 [Buildroot] [PATCH] linux-zigbee: fix build with gcc 7 Baruch Siach
2017-07-21  7:00 ` Thomas Petazzoni
2017-07-25 22:03 ` Peter Korsgaard
2017-07-26  3:49   ` Baruch Siach
2017-07-26  7:12     ` Peter Korsgaard
2017-07-26 14:25       ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox