Re: [Buildroot] [PATCH] boot/grub2: fix build issue since 2.14 version bump
Julien Olivain via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
On 08/08/2026 15:00, Thomas Petazzoni via buildroot wrote: > Since the bump of grub2 to version 2.14, the build fails on some > configurations with: > > /home/autobuild/autobuild/instance-8/output-1/host/bin/grub-mkimage: > error: > `/home/autobuild/autobuild/instance-8/output-1/build/grub2-2.14/build-i386-pc/grub-core//kernel.img' > is miscompiled: its start address is 0x9074 instead of 0x9000: ld.gold > bug?. > > We are not the only ones affected: OpenEmbedded has the issue as well, > addressed in commit > https://github.com/openembedded/openembedded-core/commit/66aefeca482e2985fef5b936ff611ba8b7f81b85, > and this commit points that libreboot and Gentoo have also adopted the > same temporary fix: revert two upstream commits. > > So to fix the issue in Buildroot, we take the same approach. It is > temporary, and there is an upstream patch series under discussion to > really fix the problem. But as this series has 9 patches still under > discussion, we take the simpler approach of reverting two simpler > patches for the time being. > > host-pkgconf is needed as an additional dependency because > configure.ac using m4 macros provided by host-pkgconf. > > Fixes: > > > https://autobuild.buildroot.net/results/89b/89b907278cada3d7ca1fee2d08d66921ffb4d7cc/build-end.log > > Signed-off-by: Thomas Petazzoni <[email protected]> Applied to master, thanks. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot