Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] board/qemu/sh4-r2d: fix sh4 kernel bug with Binutils 2.33
Date: Mon, 30 Dec 2019 14:53:24 +0100	[thread overview]
Message-ID: <20191230145324.4eb78299@windsurf> (raw)
In-Reply-To: <20191230133640.9702-1-romain.naour@gmail.com>

Hello Romain,

On Mon, 30 Dec 2019 14:36:40 +0100
Romain Naour <romain.naour@gmail.com> wrote:

> Remove the Binutils patch reverting [1] that trigger a sh4 kernel bug
> with Binutils >= 2.33.
> Add two kernel patch provided by Alan Modra [2] that fix alignment of rodata.
> 
> [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebd2263ba9a9124d93bbc0ece63d7e0fae89b40e
> [2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>

Thanks a lot for those fixes. Have the kernel patches been submitted
upstream, and accepted?

One issue with your change is of course that now the fix only works
when building the specific qemu_sh4 defconfigs. When not using one of
those defconfigs, but simply building the regular Linux kernel for SH4,
will lead to a kernel that no longer boots.

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

  reply	other threads:[~2019-12-30 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30 13:36 [Buildroot] [PATCH] board/qemu/sh4-r2d: fix sh4 kernel bug with Binutils 2.33 Romain Naour
2019-12-30 13:53 ` Thomas Petazzoni [this message]
2019-12-30 14:16   ` Romain Naour
2020-03-15 20:46     ` Romain Naour
2020-06-02 21:21       ` Romain Naour
2020-06-24 21:05 ` Thomas Petazzoni

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=20191230145324.4eb78299@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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