Bug#1140751: trixie-pu: package grub2/2.12-9+deb13u3
Jonathan Wiltshire <[email protected]>
| Newsgroups | gmane.linux.debian.devel.release |
|---|---|
| Message-ID | <alaR1KqqG3vIbOvm__1528.76301888085$1784058451$gmane$org@powdarrmonkey.net> |
Control: tag -1 moreinfo d-i On Fri, Jun 26, 2026 at 01:42:11AM +0800, Han Gao wrote: > [ Reason ] > When `cmodel=large` is not used, GRUB2 uses R_RISCV_CALL/R_RISCV_CALL_PLT > for jumps, which are limited to a ±2 GiB range,however, this is > insufficient for (monolithic)grub.efi. > The solution for GRUB is to use `mcmodel=large`. > On RISC-V, GCC does not allow the simultaneous use of `-fPIE` > and `-mcmodel=large`, issuing an error indicating that this > combination is unimplemented. > - cc1: sorry, unimplemented: code model ‘large’ with ‘-fPIC’ > This causes `cmodel=large` to stop working if PIE is detected first. > In addition to the bug described in 1140542, > GRUB must also be prevented from generating `R_RISCV_ALIGN` relocations, > as GRUB cannot ignore them. Do the grub2 maintainers know about and approve of this update? There seems to be no response to Aurelien's question on #1140542. Thanks,