Hi all, When using grub-install with binutils 2.31, the following error will occur: grub-install: error: relocation 0x4 is not implemented yet. It looks like this is caused by a change in binutils 2.31, as per below: https://git.savannah.gnu.org/cgit/grub.git/commit/util?id=842c390469e2c2e10b5aa36700324cd3bde25875 I originally found the patch from the below discussion: https://patchwork.openembedded.org/patch/152725/ I am using ~amd64. The above grub patch fixed the issue for me and allowed grub-install to complete successfully. Is it possible to backport the patch so others don't run into this issue? Thanks! Sarnex
Confirmed, thanks for the report.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9f20b6a3b8d98097de02d997defcbda65edc50 commit 3a9f20b6a3b8d98097de02d997defcbda65edc50 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-09-01 22:06:36 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-01 22:06:51 +0000 sys-boot/grub: treat R_X86_64_PLT32 as R_X86_64_PC32 Closes: https://bugs.gentoo.org/665066 Package-Manager: Portage-2.3.48, Repoman-2.3.10 RepoMan-Options: --force sys-boot/grub/files/2.02-X86_64_PLT32.patch | 75 +++++++ sys-boot/grub/grub-2.02-r3.ebuild | 313 ++++++++++++++++++++++++++++ 2 files changed, 388 insertions(+)