linux-zigbee: fix build with gcc 7
PATCH 1/1 linux-zigbee: fix build with gcc 7
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/
--- package/linux-zigbee/linux-zigbee.mk | 1 + 1 file changed, 1 insertion(+)
package/linux-zigbee/linux-zigbee.mk +1 -0
@@ -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)
Signature · 1 line
2.13.2
Thomas Petazzoni
AppliedPATCH 1/1 linux-zigbee: fix build with gcc 7
Hello,
Quoted 11 lines · Baruch Siach
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 <[email protected]>--- package/linux-zigbee/linux-zigbee.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 linux-zigbee: fix build with gcc 7
In reply to Baruch SiachQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> 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 <[email protected]>
Committed to 2017.02.x and 2017.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 linux-zigbee: fix build with gcc 7
Hi Peter,
Quoted 11 lines · Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> 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 <[email protected]>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
Signature · 3 lines
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 -PATCH 1/1 linux-zigbee: fix build with gcc 7
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Hi Peter,
Quoted 8 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> 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/
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Baruch Siach <[email protected]>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.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 linux-zigbee: fix build with gcc 7
Hi Peter,
Quoted 11 lines · Peter Korsgaard
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Quoted 8 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> 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/
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Baruch Siach <[email protected]>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
Signature · 3 lines
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 -