It seems like risc-v EFI loads the core high, and restricting dynamic
allocations <=4GB causes modules to be loaded low.

Then the module loader tries to patch up some relocations with the delta
between some symbols in the core and the module, but it fails due to the
large offset.

Modules should be compiled with -mcmodel=large, and this _should
not_happen, but it does.

The root cause is probably somewhere in the GRUB ELF module loader, or
the compiler options used for building modules.

Good news if arm64 works fine, for risc-v we can revert the 4gb limit
today i guess, and investigate the root cause next week.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103864

Title:
  grub-efi-riscv64-bin 2.12-5ubuntu9 fails with "relocation overflow"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2103864/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to