From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] boot/grub: fix grub-mkimage with binutils >= 2.31
Date: Thu, 13 Dec 2018 21:37:26 +0100 [thread overview]
Message-ID: <20181213213726.124fd185@windsurf> (raw)
In-Reply-To: <1544694457-13704-1-git-send-email-romain.naour@smile.fr>
Hello,
On Thu, 13 Dec 2018 10:47:37 +0100, Romain Naour wrote:
> While using pc_x86_64_efi_defconfig with a bleeding-edge x86_64 toolchain
> based on binutils 2.31, the grub-mkimage command return this error:
>
> grub-mkimage: error: relocation 0x4 is not implemented yet.
>
> Backport an upstream patch [1] as suggested on openembedded mailing list [2].
>
> [1] http://git.savannah.gnu.org/cgit/grub.git/commit/?id=842c390469e2c2e10b5aa36700324cd3bde25875
> [2] http://lists.openembedded.org/pipermail/openembedded-core/2018-July/153054.html
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
> ...-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch | 74 ++++++++++++++++++++++
> 1 file changed, 74 insertions(+)
> create mode 100644 boot/grub2/0001-x86-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-12-13 20:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 9:47 [Buildroot] [PATCH] boot/grub: fix grub-mkimage with binutils >= 2.31 Romain Naour
2018-12-13 20:37 ` Thomas Petazzoni [this message]
2018-12-16 21:27 ` Peter Korsgaard
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=20181213213726.124fd185@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