Bug#1122127: regression: grub2 FTBFS with binutils 2.45.50-20251201-1 due to gas change

Tj tj.iam.tj at proton.me
Sun Dec 7 17:37:32 GMT 2025


Package: grub2
Version: 2.14~git20250718.0e36779-2
Severity: normal
X-Debbugs-Cc: tj.iam.tj at proton.me

Due to binutils commit 5d0ac9ee8fd007e90ba3fef3b95fd756cc191401

"x86: constrain and fix use of the "nojumps" .arch modifier"

grub2 FTBFS (in sbuild not buildd currently) due to:

../../../grub-core/contrib/ntldr-img/grldrstart.S:2619: Error: `nojumps' only supported with 16-bit architectures

buildd has binutils_2.45-8 sbuild has binutils_2.45.50.20251201-1

The problem line is:

        .arch   i486, nojumps

I'm not entirely clear on the correct solution. Reading code up to line
3445:

        .arch   i586, jumps

There are further relative jumps that should be preserved. One option is
to simply remove the offending modifier, but the i486 architecture is
maybe required sans long jumps until i586.

There is no current fix for this in grub-extra upstream.



More information about the Pkg-grub-devel mailing list