From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
masahiroy@kernel.org, rmk+kernel@armlinux.org.uk
Subject: 5.11-rc3: build error in arm/boot/compressed/.../fdt_ro.c
Date: Tue, 12 Jan 2021 18:59:58 +0100 [thread overview]
Message-ID: <20210112175958.GA7444@duo.ucw.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
reply other threads:[~2021-01-12 18:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210112175958.GA7444@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=rmk+kernel@armlinux.org.uk \
/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
all inboxes | Powered by JetHome®