DistroKit Mailinglist
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: distrokit@pengutronix.de
Subject: [DistroKit] [PATCH] dtc: Version bump 1.6.0 -> 1.7.0
Date: Tue, 30 May 2023 12:20:26 +0200	[thread overview]
Message-ID: <20230530102026.2288273-1-u.kleine-koenig@pengutronix.de> (raw)

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




             reply	other threads:[~2023-05-30 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 10:20 Uwe Kleine-König [this message]
2023-05-30 11:06 ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230530102026.2288273-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox