[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210112175958.GA7444@duo.ucw.cz>
Date: Tue, 12 Jan 2021 18:59:58 +0100
From: Pavel Machek <pavel@....cz>
To: kernel list <linux-kernel@...r.kernel.org>, masahiroy@...nel.org,
rmk+kernel@...linux.org.uk
Subject: 5.11-rc3: build error in arm/boot/compressed/.../fdt_ro.c
Hi!
I can't build for 32-bit arm:
CC arch/arm/boot/compressed/fdt_wip.o
In file included from arch/arm/boot/compressed/../../../../lib/fdt_ro.c:2,
from arch/arm/boot/compressed/fdt_ro.c:2:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_generate_phandle’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:151:13: error: ‘FDT_MAX_PHANDLE’ undeclared (first use in this function); did you mean ‘FDT_MAX_NCELLS’?
if (max == FDT_MAX_PHANDLE)
^~~~~~~~~~~~~~~
FDT_MAX_NCELLS
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:151:13: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_get_mem_rsv’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:184:13: error: implicit declaration of function ‘fdt64_ld’ [-Werror=implicit-function-declaration]
*address = fdt64_ld(&re->address);
^~~~~~~~
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_get_property_by_offset_’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:373:11: error: implicit declaration of function ‘fdt32_ld’ [-Werror=implicit-function-declaration]
*lenp = fdt32_ld(&prop->len);
^~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: arch/arm/boot/compressed/fdt_ro.o] Error 1
Ideas?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists