Skip to contentSkip to conversation

Check linker for --image-base support

PATCH Hustler One via Grub-devel 3 participants 3 messages Jan 18 – Jan 19

lore
Share & tools
lore
#0 lore raw

I had to revert the commit when updating GRUB to 2.14 on [nixpkgs](https://github.com/NixOS/nixpkgs/pull/481112).

Also, Leah Rowe has also done the same on [Libreboot](https://codeberg.org/libreboot/lbmk/src/branch/master/config/grub/nvme/patches/0010-Revert-configure-Check-linker-for-image-base-support.patch ).

For me, at least, behavior was universally broken on both clang (LLVM21) and GCC.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#1 lore raw

Hi,

Adding Nicholas and Mike...

Quoted 10 lines · Hustler One via Grub-devel

I had to revert the commit when updating GRUB to 2.14 on [nixpkgs](https:// github.com/NixOS/nixpkgs/pull/481112).

Also, Leah Rowe has also done the same on [Libreboot](https://codeberg.org/ libreboot/lbmk/src/branch/master/config/grub/nvme/patches/0010-Revert- configure-Check-linker-for-image-base-support.patch
).

For me, at least, behavior was universally broken on both clang (LLVM21) and GCC.

It looks it is related to newer linker versions. Older ones work without any issue. Anyway, sorry for the issues...

Nicholas, may I ask you to investigate this breakage and post a fix?

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw
Quoted 13 lines · Daniel Kiper

Hi,

Adding Nicholas and Mike...

Quoted 8 lines · Hustler One via Grub-devel

I had to revert the commit when updating GRUB to 2.14 on [nixpkgs](https:// github.com/NixOS/nixpkgs/pull/481112).

Also, Leah Rowe has also done the same on [Libreboot](https://codeberg.org/ libreboot/lbmk/src/branch/master/config/grub/nvme/patches/0010-Revert- configure-Check-linker-for-image-base-support.patch
).

Quoted 7 lines
Quoted 2 lines

For me, at least, behavior was universally broken on both clang (LLVM21) and GCC.

It looks it is related to newer linker versions. Older ones work without any issue. Anyway, sorry for the issues...

Nicholas, may I ask you to investigate this breakage and post a fix?

I've already started looking.

I'll let you know when I have something.

Thanks,
Nicholas Vinson

Quoted 2 lines

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel