* compile error in scripts/dtc/libfdt/fdt.c
@ 2021-03-14 22:45 Pavel Machek
2021-03-22 20:34 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2021-03-14 22:45 UTC (permalink / raw)
To: robh, kernel list
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
Hi!
I get failure building ARM kernel. I can workaround it with. Are
system fdt headers used, or something like that?
I failed to copy the error message, but FDT_ERR_ALIGNMENT was
undefined symbol.
This is on 5.12-rc3.
BR,
Pavel
diff --git a/scripts/dtc/libfdt/fdt.c b/scripts/dtc/libfdt/fdt.c
index 3e893073da05..d15f437567d9 100644
--- a/scripts/dtc/libfdt/fdt.c
+++ b/scripts/dtc/libfdt/fdt.c
@@ -24,7 +24,7 @@ int32_t fdt_ro_probe_(const void *fdt)
/* The device tree must be at an 8-byte aligned address */
if ((uintptr_t)fdt & 7)
- return -FDT_ERR_ALIGNMENT;
+ return -FDT_ERR_INTERNAL;
if (fdt_magic(fdt) == FDT_MAGIC) {
/* Complete tree */
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: compile error in scripts/dtc/libfdt/fdt.c
2021-03-14 22:45 compile error in scripts/dtc/libfdt/fdt.c Pavel Machek
@ 2021-03-22 20:34 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-03-22 20:34 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list
On Sun, Mar 14, 2021 at 4:45 PM Pavel Machek <pavel@ucw.cz> wrote:
>
> Hi!
>
> I get failure building ARM kernel. I can workaround it with. Are
> system fdt headers used, or something like that?
>
> I failed to copy the error message, but FDT_ERR_ALIGNMENT was
> undefined symbol.
I had another report on this. A 'git clean' solved it. I'm not sure
what the underlying problem is though. None of the auto builders have
complained either.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-22 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-14 22:45 compile error in scripts/dtc/libfdt/fdt.c Pavel Machek
2021-03-22 20:34 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox