[Buildroot] [PATCH] configs/qemu_m68k: add Linux kernel patch to fix build with binutils >= 2.41

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Aug 7 22:03:39 UTC 2023


On Sun,  6 Aug 2023 12:23:05 +0200
Thomas Petazzoni via buildroot <buildroot at buildroot.org> wrote:

> The m68k Linux kernel build is broken with binutils >= 2.41 with:
> 
> arch/m68k/fpsp040/skeleton.S: Assembler messages:
> arch/m68k/fpsp040/skeleton.S:502: Error: junk at end of line, first unrecognized character is `#'
> arch/m68k/fpsp040/skeleton.S:508: Error: junk at end of line, first unrecognized character is `#'
> 
> This commit adds a backport from the upstream Linux kernel which fixes
> this issue. Many thanks to Romain Naour for the issue investigation
> and the identification of the kernel commit fixing this.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
>  ...001-m68k-Fix-invalid-.section-syntax.patch | 97 +++++++++++++++++++
>  ...001-m68k-Fix-invalid-.section-syntax.patch | 97 +++++++++++++++++++
>  configs/qemu_m68k_mcf5208_defconfig           |  1 +
>  configs/qemu_m68k_q800_defconfig              |  1 +
>  4 files changed, 196 insertions(+)
>  create mode 100644 board/qemu/m68k-mcf5208/0001-m68k-Fix-invalid-.section-syntax.patch
>  create mode 100644 board/qemu/m68k-q800/0001-m68k-Fix-invalid-.section-syntax.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list