On Sun, Nov 16, 2025 at 02:02:04PM -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]>
Your patch breaks ./bootstrap in the following way: autoreconf: running: /usr/bin/autoconf --force configure.ac:1796: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:61: AX_CHECK_LINK_FLAG is expanded from... configure.ac:1796: the top level Please fix it... Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
