Created attachment 549482 [details, diff] patch to fully disable PIE After applying the build fix from bug 667850, GRUB fails to boot on my Sun Fire T2000, with error "ERROR: Last Trap: Fast Data Access MMU Miss". Found an upstream issue [1] which suggests that PIE is to blame. A patch was provided by floppym to more completely disable PIE on the build, it has fixed boot for me. [1] https://github.com/esnowberg/grub2-sparc/issues/8
I would greatly appreciate it if you could report this upstream, and/or send a patch to the grub-devel mailing list. https://www.gnu.org/software/grub/grub-bugs.html https://lists.gnu.org/mailman/listinfo/grub-devel
I will do that. There is an open github issue [1] at the grub2-sparc project from the oracle dev who contributes most of the grub sparc fixes, I'll follow up there too. [1] https://github.com/esnowberg/grub2-sparc/issues/8
Patch sent upstream.
Patch is now upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88479552ab4e2e28ee122fa7efac6193219c386 commit b88479552ab4e2e28ee122fa7efac6193219c386 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-01 19:27:32 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-01 19:28:32 +0000 sys-boot/grub-2.05_alpha20200228: add ~sparc Closes: https://bugs.gentoo.org/667850 Closes: https://bugs.gentoo.org/667852 Signed-off-by: Matt Turner <mattst88@gentoo.org> sys-boot/grub/grub-2.05_alpha20200228.ebuild | 2 +- sys-boot/grub/grub-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)