Bug#1143658: grub2: FTBFS: ../../../include/grub/i386/pc/int.h:27:6: error: 'regparm' attribute ignored [-Werror=attributes]

Takahide Nojima <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>

Dear Maintainer,

This issue has been resolved upstream in the following commit:
- 9922ed133c2c754ec9f37198da2b3e3e8a4fd5ff

For your reference, the commit is available at:
https://gitlab.freedesktop.org/gnu-grub/grub/-/commit/9922ed133c2c754ec9f37198da2b3e3e8a4fd5ff

Additionally, further compilation issues arise when building with the
latest GCC in Debian sid. To fully resolve these, the following
upstream commits are also required:

- 9f4a586f1227a8287e1d6acd95893f6098756ee2
- ce6f2b57f5450a8239022dcbfb2d750f273b83cb
- 675d8581037dc8996cf6db21a61d26e28f7d44c

I have confirmed that cherry-picking these four commits into version
2.14-3 successfully resolves all build errors.

Cheers,
Takahide Nojima
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.