The new 1.6.1 version is more gcc11 ready and
it fixes the following error when build on fedora.

In file included from fdtdump.c:14:
fdtdump.c: In function 'main':
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:216:31: note: while referencing 'smagic'
  216 |                 unsigned char smagic[FDT_MAGIC_SIZE];
      |                               ^~~~~~

Signed-off-by: Bruno Thomsen <[email protected]>
---
 platforms/host-dtc.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platforms/host-dtc.in b/platforms/host-dtc.in
index 4567464c3..00a2c7ffb 100644
--- a/platforms/host-dtc.in
+++ b/platforms/host-dtc.in
@@ -12,12 +12,12 @@ if HOST_DTC
 
 config HOST_DTC_VERSION
        string "Device tree compiler version"
-       default "1.6.0"
+       default "1.6.1"
        help
          Specify the DTC version number to be used
 
 config HOST_DTC_MD5
        string "dtc source md5sum"
-       default "cd36ac756290597f3cf1c5b6cfe12e77"
+       default "380e536cdad51ec0e90c9a8c28df5aac"
 
 endif

base-commit: cf777f9ebc8ae074b2c78ff297662ce25aec2e8f
-- 
2.31.1


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to