Bug#921249: grub2: Please include patch to fix build on sparc64
Colin Watson
cjwatson at debian.org
Sat Feb 9 09:55:14 GMT 2019
On Sun, Feb 03, 2019 at 04:03:13PM +0100, John Paul Adrian Glaubitz wrote:
> Recent versions of binutils no longer support a.out or COFF as
> output formats on SPARC. Since GRUB used a.out on SPARC as the
> executable format for the stage2 loader, the build currently
> fails with:
>
> objcopy:boot.img: invalid bfd target
> make[5]: *** [Makefile:45616: boot.img] Error 1
> make[5]: *** Waiting for unfinished jobs....
> objcopy:cdboot.img: invalid bfd target
>
> We have decided that the easiest solution to fix this problem is
> by just writing the a.out header for the stage2 binary ourselves.
Thanks for the patch! I've applied it to master.
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-grub-devel
mailing list