[bug #67662] GRUB 2.14_rc1 configure fails with LLVM >=21: cannot link at address 0x2000
LinuxUserGD <[email protected]> Mon, 3 Nov 2025 07:27:32 -0500 (EST)
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-297819819-1762172852=:3923479
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?67662>=0A=0A Summa=
ry: GRUB 2.14_rc1 configure fails with LLVM >=3D21: cannot=0Alink at addres=
s 0x2000=0A Group: GNU GRUB=0A Submitter: l=
inuxusergd=0A Submitted: Mon 03 Nov 2025 12:27:25 PM UTC=0A =
Category: Compilation=0A Severity: Major=0A =
Priority: 5 - Normal=0A Item Group: Software Erro=
r=0A Status: None=0A Privacy: Public=0A =
Assigned to: None=0A Originator Name:=0A Originato=
r Email:=0A Open/Closed: Open=0A Discussion Lock: Any=
=0A Release: Git master=0A Release:=0A =
Reproducibility: Every Time=0A Planned Release: None=0A=0A=0A =
_______________________________________________________=0A=0AFollow-up Co=
mments:=0A=0A=0A-------------------------------------------------------=0AD=
ate: Mon 03 Nov 2025 12:27:25 PM UTC By: LinuxUserGD <linuxusergd>=0AI get =
the following configure error compiling GRUB with LLVM >=3D 21:=0A=0Achecki=
ng for target linking format... -melf_x86_64=0Achecking whether option -mcm=
odel=3Dlarge works... yes=0Achecking whether option -mno-red-zone works... =
yes=0Achecking whether option -Qn works... yes=0Achecking whether `clang' h=
as `-fPIE' as default... yes=0Achecking whether linker accepts -no-pie... y=
es=0Achecking whether linker accepts -nopie... no=0Achecking whether linker=
needs disabling of PIE to work... no=0Achecking whether `clang' has `-fPIC=
' as default... no=0Achecking whether `clang' accepts `-fstack-protector'..=
. yes=0Achecking whether `clang' accepts `-fstack-protector-strong'... yes=
=0Achecking whether `clang' accepts `-mstack-protector-guard=3Dglobal'... y=
es=0Achecking whether `clang' accepts `-mstack-arg-probe'... no=0Achecking =
for grep that handles long lines and -e... /usr/bin/grep=0Achecking for egr=
ep... /usr/bin/grep -E=0Achecking if C symbols get an underscore after comp=
ilation... no=0Achecking whether target compiler is working... yes=0Achecki=
ng whether x86_64-pc-linux-musl-objcopy works for absolute addresses...=0Ac=
onfigure: error: clang cannot link at address 0x2000=0A=0A!!! Please attach=
the following file when seeking support:=0A!!!=0A/var/tmp/portage/sys-boot=
/grub-2.14_rc1/work/grub-2.14~rc1-efi-64/config.log=0A=0AThe behaviour of l=
ld has been changed in=0Ahttps://github.com/llvm/llvm-project/pull/140187=
=0A=0ASee: https://bugs.gentoo.org/965424=0A=0A=0A=0A=0A=0A=0A _________=
______________________________________________=0AFile Attachments:=0A=0Acon=
fig.log=0A=0AName: config.log Size: 543KiB=0A <https=
://file.savannah.gnu.org/file/config.log?file_id=3D57764>=0A=0A=0A=0A AG=
PL NOTICE=0A=0AThese attachments are served by Savane. You can download the=
corresponding=0Asource code of Savane at=0Ahttps://savannah.gnu.org/source=
/savane-617ea5df01d753693c126fee1cb8b23ce917ea5d.tar.gz=0A=0A __________=
_____________________________________________=0A=0AReply to this item at:=
=0A=0A <https://savannah.gnu.org/bugs/?67662>=0A=0A_______________________=
________________________=0AMessage sent via Savannah=0Ahttps://savannah.gnu=
.org/=0A
--8323329-297819819-1762172852=:3923479
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaQiftAAKCRCqLAuaBUf3
TskAAQDfBDZhyfH7rd6rDCca2VwNjuFP2tYgWc46oOwx5ecwiwEAp1MU00UhK9MH
vIDVvODVyFMRYVbdtxCVttlN2gNbXAo=
=hWgT
-----END PGP SIGNATURE-----
--8323329-297819819-1762172852=:3923479--