Re: [PATCH v2 1/1] Check linker for --image-base support
Daniel Kiper <[email protected]> Wed, 19 Nov 2025 21:27:50 +0100
| Newsgroups | org.gnu.grub-devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 18, 2025 at 07:38:07PM -0500, Nicholas Vinson wrote: > In several scenarios, configure tests assume it's safe to use > '-Wl,-Ttext,<address>', but starting with ld.lld-21, blindly using that > flag may result in configure-test failures due to ld.lld failing to > link. The failure is because ld.lld-21 no longer allows the specified > address is less than the base address. > > However, ld.lld-21+ and ld.bfd-2.44+ both provide support for the > --image-base flag making it preferable over the older `-Ttext` flag. > > Fixes: 67662 > Signed-off-by: Nicholas Vinson <[email protected]> Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel