Thanks Huake. Let me try to fix this issue. Best regards, Yangbo Lu
> -----Original Message----- > From: Hauke Mehrtens <[email protected]> > Sent: Sunday, July 5, 2020 6:34 PM > To: Y.b. Lu <[email protected]> > Cc: LEDE Development List <[email protected]> > Subject: build problems in layerscape target kernel > > Hi Yangbo Lu, > > I see some build problem with the layerscape target in the OpenWrt build > bots recently. > > 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: > HDRINST usr/include/linux/fmd/integrations/integration_ioctls.h > HDRINST usr/include/linux/fmd/Peripherals/fm_port_ioctls.h > error: include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h: leak > CONFIG_COMPAT to user-space > scripts/Makefile.headersinst:63: recipe for target > 'usr/include/linux/fmd/Peripherals/fm_port_ioctls.h' failed > make[5]: *** [usr/include/linux/fmd/Peripherals/fm_port_ioctls.h] Error 1 > Makefile:1198: recipe for target 'headers' failed > make[4]: *** [headers] Error 2 > > https://buildbot.openwrt.org/master/images/builders/layerscape%2Farmv7/b > uilds/349 > > It is happening since: > https://git.openwrt.org/68d9cb82143b864d70e4fb3d7cbb7068f82216a1 > > ---------------------- > > Before we saw this problem the layerscape target in the linking of the > kernel image. It shows this error message. > > LD vmlinux > SORTEX vmlinux > SYSMAP System.map > Inconsistent kallsyms data > Try make KALLSYMS_EXTRA_PASS=1 as a workaround > Makefile:1081: recipe for target 'vmlinux' failed > make[4]: *** [vmlinux] Error 1 > > This is happening since this build bot run, the changes since the > previous build are listed in the log: > https://buildbot.openwrt.org/master/images/builders/layerscape%2Farmv8_6 > 4b/builds/422 > > I haven't looked closer into this problem. > > > Hauke _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
