|
From: | John Paul Adrian Glaubitz |
Subject: | GRUB no longer builds on sparc64 after recent binutils changes |
Date: | Tue, 7 Aug 2018 12:24:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hi! binutils upstream recently dropped support for a.out and COFF on sparc [1] which now causes GRUB failing to build on sparc64-linux [2]: if test x0 = x1; then ../grub-macho2img diskboot.image diskboot.img; else objcopy -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .ARM.exidx diskboot.image diskboot.img; fi objcopy:boot.img: invalid bfd target make[5]: *** [Makefile:42941: boot.img] Error 1 make[5]: *** Waiting for unfinished jobs.... objcopy:cdboot.img: invalid bfd target make[5]: *** [Makefile:42950: cdboot.img] Error 1 Does anyone know how we can resolve this issue? Can SPARC's OpenFirmware handle ELF files? Aren't COFF or a.out binaries often required by firmware loaders or similar? Thanks, Adrian > [1] > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=c9098af41e3246586a30f4f0bdb0ee4367e9a5e7#patch1 > [2] > https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=sparc64&ver=2.02%2Bdfsg1-5&stamp=1533001924&raw=0 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - address@hidden `. `' Freie Universitaet Berlin - address@hidden `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
[Prev in Thread] | Current Thread | [Next in Thread] |