build problems in layerscape target kernel
hauke at hauke-m.de
Sun Jul 5 06:33:52 EDT 2020
Hi Yangbo Lu,
I see some build problem with the layerscape target in the OpenWrt build
Since the update to kernel 5.4.50 the scripts/headers_install.sh script
complains that include/linux/fmd/Peripherals/fm_port_ioctls.h includes
CONFIG_COMPAT. This is a problem when some user space application
includes this file, because user space applications do not know of the
kernel configuration and normally none of these CONFIG_ symbols is set.
This happens when changing the Linux kernel from version 45.4.48 to
5.4.49, but I do not know why this change is triggering this error and
why it did not happen before.
This is the error message:
error: include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h: leak
CONFIG_COMPAT to user-space
scripts/Makefile.headersinst:63: recipe for target
make: *** [usr/include/linux/fmd/Peripherals/fm_port_ioctls.h] Error 1
Makefile:1198: recipe for target 'headers' failed
make: *** [headers] Error 2
It is happening since:
Before we saw this problem the layerscape target in the linking of the
kernel image. It shows this error message.
Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaround
Makefile:1081: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
This is happening since this build bot run, the changes since the
previous build are listed in the log:
I haven't looked closer into this problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the openwrt-devel