[bug #67662] GRUB 2.14_rc1 configure fails with LLVM >=21: cannot link at address 0x2000
Arkadiusz Miskiewicz <[email protected]> Tue, 3 Mar 2026 06:22:03 -0500 (EST)
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-424238335-1772536923=:597254 Content-Type: TEXT/plain; CHARSET=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Disposition: inline Follow-up Comment #1, bug #67662 (group grub):=0A=0AThere seem to be a fix = for this in 2.14=0A=0Acommit 1a5417f39a0ccefcdd5440f2a67f84d2d2e26960=0AAut= hor: Nicholas Vinson <[email protected]>=0ADate: Tue Nov 18 19:38:07 2= 025 -0500=0A=0A configure: Check linker for --image-base support=0A=0A = In several scenarios, configure tests assume it's safe to use=0A "-Wl,= -Ttext,<address>", but starting with ld.lld-21, blindly using that=0A fl= ag may result in configure-test failures due to ld.lld failing to=0A lin= k. The failure is because ld.lld-21 no longer allows the specified=0A ad= dress is less than the base address.=0A=0A However, ld.lld-21+ and ld.bf= d-2.44+ both provide support for the=0A --image-base flag making it pref= erable over the older -Ttext flag.=0A=0A Fixes: https://savannah.gnu.org= /bugs/?67662=0A=0A Signed-off-by: Nicholas Vinson <[email protected]>= =0A Reviewed-by: Daniel Kiper <[email protected]>=0A=0A=0Abut it s= eem to cause regression=0A=0Ahttps://www.mail-archive.com/grub-devel%40gnu.= org/msg42915.html=0A=0A=0A _____________________________________________= __________=0A=0AReply to this item at:=0A=0A <https://savannah.gnu.org/bug= s/?67662>=0A=0A_______________________________________________=0AMessage se= nt via Savannah=0Ahttps://savannah.gnu.org/=0A --8323329-424238335-1772536923=:597254 Content-Type: APPLICATION/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaabEWwAKCRCqLAuaBUf3 TngjAP41bHmMUn1QJzj/gnOvO48DnLaaPZdupUJCTA9jt8ocGwEAy4ucwAEO6O+8 NIYDIxGb4wPKsMBDo4gzJ6LD2aAUfg4= =p9YZ -----END PGP SIGNATURE----- --8323329-424238335-1772536923=:597254--