DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] dtc: Version bump 1.6.0 -> 1.7.0
@ 2023-05-30 10:20 Uwe Kleine-König
  2023-05-30 11:06 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2023-05-30 10:20 UTC (permalink / raw)
  To: distrokit

This fixes a FTBFS with gcc 12

	gcc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow  -DNO_YAML -o fdtoverlay.o -c fdtoverlay.c
	In file included from fdtdump.c:14:
	In function 'fdt_set_magic',
	    inlined from 'main' at fdtdump.c:220:3:
	libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
	  251 |                 fdth->name = cpu_to_fdt32(val); \
	      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
	libfdt/libfdt.h:253:1: note: in expansion of macro 'fdt_set_hdr_'
	  253 | fdt_set_hdr_(magic);
	      | ^~~~~~~~~~~~
	fdtdump.c: In function 'main':
	fdtdump.c:216:31: note: object 'smagic' of size 4
	  216 |                 unsigned char smagic[FDT_MAGIC_SIZE];
	      |                               ^~~~~~
	cc1: all warnings being treated as errors

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 configs/platform-mips/platformconfig       | 4 ++--
 configs/platform-mipsel/platformconfig     | 4 ++--
 configs/platform-rpi1/platformconfig       | 4 ++--
 configs/platform-v7a/platformconfig        | 4 ++--
 configs/platform-v7a_noneon/platformconfig | 4 ++--
 configs/platform-v8a/platformconfig        | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/configs/platform-mips/platformconfig b/configs/platform-mips/platformconfig
index 085b9c4da94a..6e086071506e 100644
--- a/configs/platform-mips/platformconfig
+++ b/configs/platform-mips/platformconfig
@@ -115,8 +115,8 @@ PTXCONF_KERNEL_VERSION="6.3"
 PTXCONF_KERNEL_MD5="df4f97e65bde4174dd8be2af836f28e1"
 PTXCONF_KERNEL_LZOP=y
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               
diff --git a/configs/platform-mipsel/platformconfig b/configs/platform-mipsel/platformconfig
index 8ffc452fa7bc..4e0a6b46919e 100644
--- a/configs/platform-mipsel/platformconfig
+++ b/configs/platform-mipsel/platformconfig
@@ -115,8 +115,8 @@ PTXCONF_KERNEL_VERSION="6.3"
 PTXCONF_KERNEL_MD5="df4f97e65bde4174dd8be2af836f28e1"
 PTXCONF_KERNEL_LZOP=y
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               
diff --git a/configs/platform-rpi1/platformconfig b/configs/platform-rpi1/platformconfig
index d10c1851f1fa..d7aee1e131e9 100644
--- a/configs/platform-rpi1/platformconfig
+++ b/configs/platform-rpi1/platformconfig
@@ -159,8 +159,8 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 #
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index a5fd92ee8fa2..634f4d4c6d9f 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -159,8 +159,8 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 #
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               
diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
index 031ba98c274a..48c1f11d6e56 100644
--- a/configs/platform-v7a_noneon/platformconfig
+++ b/configs/platform-v7a_noneon/platformconfig
@@ -158,8 +158,8 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 #
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index b15e30dfe9a0..c30553755a4a 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -156,8 +156,8 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 #
 PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_HOST_DTC=y
-PTXCONF_HOST_DTC_VERSION="1.6.0"
-PTXCONF_HOST_DTC_MD5="cd36ac756290597f3cf1c5b6cfe12e77"
+PTXCONF_HOST_DTC_VERSION="1.7.0"
+PTXCONF_HOST_DTC_MD5="58f007905843f6ed6cecf820eeada0ef"
 
 #
 # console options               

base-commit: 93cd112639abd4776a96acd0f517ce54ea9e354f
-- 
2.39.2




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

* Re: [DistroKit] [PATCH] dtc: Version bump 1.6.0 -> 1.7.0
  2023-05-30 10:20 [DistroKit] [PATCH] dtc: Version bump 1.6.0 -> 1.7.0 Uwe Kleine-König
@ 2023-05-30 11:06 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2023-05-30 11:06 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit

On Tue, May 30, 2023 at 12:20:26PM +0200, Uwe Kleine-König wrote:
> This fixes a FTBFS with gcc 12

Applied to next.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

end of thread, other threads:[~2023-05-30 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 10:20 [DistroKit] [PATCH] dtc: Version bump 1.6.0 -> 1.7.0 Uwe Kleine-König
2023-05-30 11:06 ` Robert Schwebel

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