I think NUMA here is just causing the memory map to have big enough
holes in it, and the allocator to behave in such a way that some
relocations will have addends that overflow a 32-bit signed slot.

We had the same issue exposed by a 4GB memory limit here:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2103864

I think we should investigate why GRUB modules are not relocatable to
any absolute 64-bit address on RISC-V, which is how they are usually
expected to behave. (They are ELF object files built with
-mcmodel=large)

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

Title:
  Relocation overflow in GRUB when booting with RISC-V EDK II and
  emulating NUMA.

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to